*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #080808;
  --white: #f0ede8;
  --cream: #d9d0c0;
  --gold: #c8a96e;
  --gold-dim: #8a6e3e;
  --red: #9b1c1c;
  --gray: #2a2a2a;
  --gray-light: #444;
}

html,
body {
  height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 100;
}

/* Film strip borders */
.film-strip {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 28px;
  background: var(--black);
  border: 1px solid #1c1c1c;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
  z-index: 10;
}
.film-strip.left {
  left: 0;
}
.film-strip.right {
  right: 0;
}
.film-hole {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  flex-shrink: 0;
}

/* Main layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 60px;
  position: relative;
  text-align: center;
}

/* Vignette */
.page::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: 100%;
}

/* Top bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.2s;
}
.top-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.top-line.right {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.top-label {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Logo / Brand */
.brand {
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.4s;
}
.brand-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(64px, 12vw, 120px);
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: var(--white);
  text-shadow: 0 0 80px rgba(200, 169, 110, 0.08);
}
.brand-name span {
  color: var(--gold);
}
.brand-sub {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.5em;
  color: var(--gray-light);
  text-transform: uppercase;
  margin-top: 8px;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray));
}
.divider-line.right {
  background: linear-gradient(90deg, var(--gray), transparent);
}
.divider-icon {
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold-dim);
  transform: rotate(45deg);
}

/* Tagline */
.tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.7s;
}

/* Countdown */
.countdown-wrap {
  margin: 40px 0;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.85s;
}
.countdown-label {
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.4em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 0;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.countdown-unit:not(:last-child)::after {
  content: ":";
  position: absolute;
  right: -2px;
  top: 4px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(32px, 6vw, 52px);
  color: var(--gray-light);
  line-height: 1;
}
.countdown-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(40px, 7vw, 64px);
  color: var(--white);
  line-height: 1;
  min-width: clamp(60px, 10vw, 90px);
  text-align: center;
  letter-spacing: 0.02em;
}
.countdown-unit-label {
  font-family: "Space Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.3em;
  color: var(--gray-light);
  text-transform: uppercase;
  margin-top: 6px;
}
.countdown-complete {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
}

/* Social */
.social-wrap {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.1s;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.2s;
}
.social-link:hover {
  color: var(--gold);
}
.social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Footer */
.footer {
  margin-top: 60px;
  font-family: "Space Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.3em;
  color: #2e2e2e;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.2s;
}

/* Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 840px) {
  .page {
    padding: 48px 28px;
  }
  .content {
    max-width: 680px;
  }
  .top-bar,
  .divider,
  .social-wrap {
    flex-wrap: wrap;
  }
  .top-bar {
    gap: 12px;
  }
  .divider {
    gap: 8px;
  }
}

@media (max-width: 660px) {
  .page {
    padding: 36px 24px;
  }
  .brand-name {
    font-size: clamp(48px, 14vw, 90px);
  }
  .tagline {
    font-size: clamp(15px, 3vw, 20px);
    max-width: 100%;
  }
  .countdown {
    flex-wrap: wrap;
    gap: 10px;
  }
  .countdown-unit {
    min-width: 60px;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 28px 18px;
  }
  .film-strip {
    width: 14px;
  }
  .film-hole {
    width: 7px;
    height: 6px;
  }
  .social-wrap {
    gap: 16px;
  }
  .countdown-unit:not(:last-child)::after {
    display: none;
  }
  .countdown {
    gap: 8px;
  }
  .countdown-unit {
    min-width: 52px;
  }
  .brand-sub,
  .top-label,
  .countdown-unit-label,
  .social-link {
    font-size: 7px;
  }
}

@media (max-width: 420px) {
  .page {
    padding: 20px 12px;
  }
  .film-strip {
    display: none;
  }
  .top-bar,
  .divider,
  .social-wrap {
    justify-content: center;
  }
  .divider {
    flex-wrap: wrap;
  }
  .social-wrap {
    gap: 12px;
  }
}
