:root {
  --bg: #05070c;
  --gold: #d9b46a;
  --gold-bright: #f4d78c;
  --gold-dim: #7a6338;
  --text: #f2efe9;
  --text-dim: #9099a8;
  --glass-hi: rgba(255, 255, 255, 0.9);
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  position: relative;
  /* dark navy vignette, brighter glow drifting in from the top */
  background:
    radial-gradient(ellipse 70% 55% at 50% 8%, rgba(48, 66, 92, 0.55) 0%, rgba(20, 30, 44, 0) 70%),
    radial-gradient(ellipse 120% 90% at 50% 20%, #131c29 0%, #0a0f17 45%, #05070c 75%, #020306 100%);
}

/* subtle film grain */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
}

/* ---------- Glass card (reference: convex glossy lens panel, full-bleed) ---------- */
.glass-card {
  position: absolute;
  inset: 22px;
  border-radius: 46px;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    rgba(198, 214, 232, 0.16) 0%,
    rgba(120, 140, 165, 0.09) 32%,
    rgba(35, 46, 62, 0.32) 68%,
    rgba(10, 14, 22, 0.5) 100%
  );
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 60px 100px -60px rgba(255, 255, 255, 0.35),
    inset 0 -90px 130px -70px rgba(0, 0, 0, 0.65),
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 160px rgba(90, 120, 160, 0.12);
}

/* glossy corner glints, like light catching the curved glass edge — heavily diffused */
.glass-card::before {
  content: '';
  position: absolute;
  inset: -80px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(280px 200px at 12% 10%, rgba(255, 255, 255, 0.42), transparent 75%),
    radial-gradient(320px 220px at 90% 12%, rgba(255, 255, 255, 0.38), transparent 75%),
    radial-gradient(340px 180px at 14% 96%, rgba(255, 255, 255, 0.14), transparent 75%),
    radial-gradient(320px 190px at 92% 95%, rgba(255, 255, 255, 0.1), transparent 75%);
  filter: blur(70px);
  mix-blend-mode: screen;
  opacity: 0.85;
  z-index: 1;
}

/* faint outer rim so the edge reads against the dark backdrop */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.glass-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 48px;
}

@media (max-width: 600px) {
  .wrap { padding: 12px; }
  .glass-card { border-radius: 28px; }
  .glass-card__content { padding: 40px 22px; gap: 32px; }
}

/* brand mark */
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.brand-mark__text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

.brand-mark .dot { color: var(--gold); }

/* hero */
.hero {
  max-width: 720px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.logo {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 auto 30px;
  opacity: 0;
  animation: logo-reveal 1s ease-out forwards;
  animation-delay: 0s;
}

@keyframes logo-reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 900px);
  height: auto;
  max-width: none;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(242, 239, 233, 0.92);
  margin-bottom: 10px;
  opacity: 0;
  animation: reveal-up 1s ease-out forwards;
  animation-delay: 0.15s;
}

.eyebrow .dot--blink {
  animation: dot-blink 1.1s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.22;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: reveal-up 1.1s ease-out forwards;
  animation-delay: 0.45s;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.headline__text {
  display: block;
  color: rgba(242, 239, 233, 0.85);
}

.headline__text .ch {
  display: inline-block;
  color: rgba(242, 239, 233, 0.85);
  transition: color 0.12s ease, text-shadow 0.12s ease;
}

/* snake trail: glow-0 is the head, higher numbers fade toward the tail */
.headline__text .ch.glow-0 {
  color: #eaf5ff;
  text-shadow:
    0 0 6px rgba(150, 200, 255, 1),
    0 0 18px rgba(100, 170, 255, 0.9),
    0 0 38px rgba(70, 130, 255, 0.55);
}
.headline__text .ch.glow-1 {
  color: #d3e9ff;
  text-shadow:
    0 0 5px rgba(140, 190, 255, 0.85),
    0 0 14px rgba(90, 160, 255, 0.6);
}
.headline__text .ch.glow-2 {
  color: #bcdcff;
  text-shadow:
    0 0 4px rgba(120, 175, 255, 0.6),
    0 0 10px rgba(90, 155, 255, 0.4);
}
.headline__text .ch.glow-3 {
  color: #a6cdf2;
  text-shadow: 0 0 4px rgba(110, 165, 255, 0.4);
}
.headline__text .ch.glow-4 {
  color: #93bfe6;
  text-shadow: 0 0 3px rgba(100, 155, 255, 0.25);
}
.headline__text .ch.glow-5 {
  color: #80b1d9;
  text-shadow: 0 0 2px rgba(90, 145, 255, 0.12);
}

.sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 44px;
  font-weight: 300;
}

/* form */
.notify-form { margin-bottom: 48px; }

.input-shell {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid rgba(217, 180, 106, 0.25);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-shell:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 180, 106, 0.08);
}

.input-shell input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  padding: 10px 0;
}

.input-shell input::placeholder { color: #67635d; }

.input-shell button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-dim));
  color: #14110a;
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.input-shell button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.input-shell button:active { transform: translateY(0); }
.input-shell button svg { transition: transform 0.25s ease; }
.input-shell button:hover svg { transform: translateX(2px); }

.form-note {
  margin-top: 14px;
  font-size: 0.76rem;
  color: #63605a;
  letter-spacing: 0.02em;
  min-height: 16px;
  transition: color 0.3s ease;
}

.form-note.success { color: var(--gold-bright); }
.form-note.error { color: #d98a6a; }

/* countdown */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.cd-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.cd-label {
  margin-top: 8px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

.cd-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--gold-dim);
  transform: translateY(-8px);
}

/* footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(217, 180, 106, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.3s ease;
}

.socials a:hover {
  color: #08090b;
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.copyright {
  font-size: 0.72rem;
  color: #55524c;
  letter-spacing: 0.03em;
}

@media (max-width: 520px) {
  .countdown { gap: 10px; }
  .cd-block { min-width: 44px; }
  .cd-sep { transform: translateY(-6px); font-size: 1.2rem; }
  .input-shell {
    flex-direction: column;
    border-radius: 20px;
    padding: 16px;
    gap: 12px;
  }
  .input-shell input { width: 100%; text-align: center; padding: 4px 0; }
  .input-shell button { width: 100%; justify-content: center; }
}
