:root {
  --bg: #14081a;
  --bg-2: #1d0c26;
  --ink: #fbeefb;
  --muted: #c9a9cf;
  --accent: #ff5ca0;
  --accent-2: #b06bff;
  --line: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.04);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 70% -10%, #2a0f37 0%, var(--bg) 55%) fixed,
              var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Animated aurora glow */
.aurora {
  position: fixed;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(40% 35% at 20% 30%, rgba(255, 92, 160, 0.30), transparent 60%),
    radial-gradient(45% 40% at 80% 25%, rgba(176, 107, 255, 0.28), transparent 60%),
    radial-gradient(50% 45% at 50% 90%, rgba(255, 92, 160, 0.18), transparent 60%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.05); }
  100% { transform: translate3d(4%, 3%, 0) scale(1.12); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: screen;
}

.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  width: min(720px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 0 4vh;
  gap: 1.1rem;
}

.kicker {
  margin: 0;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.brand {
  font-family: "Syne", "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 11vw, 6.5rem);
  line-height: 0.95;
  margin: 0;
  background: linear-gradient(120deg, #fff 0%, var(--accent) 45%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(255, 92, 160, 0.25);
}

.tagline {
  margin: 0;
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  font-weight: 600;
  color: var(--ink);
}

.lede {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Countdown */
.countdown {
  display: flex;
  gap: clamp(0.6rem, 3vw, 1.4rem);
  margin: 0.4rem 0 0;
}
.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 0.7rem 0.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}
.unit .num {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 6vw, 2.4rem);
  line-height: 1;
  color: var(--ink);
}
.unit .lbl {
  margin-top: 0.35rem;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.opening {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Notify form */
.notify {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  width: min(460px, 92vw);
  margin-top: 0.6rem;
}
.notify input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.95rem 1.1rem;
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.notify input::placeholder { color: rgba(201, 169, 207, 0.7); }
.notify input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 92, 160, 0.18);
}
.notify button {
  flex: 0 0 auto;
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1a0717;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, filter 0.2s;
}
.notify button:hover { filter: brightness(1.06); }
.notify button:active { transform: translateY(1px); }
.notify button:disabled { opacity: 0.6; cursor: default; }

.form-note {
  flex: 1 1 100%;
  margin: 0.2rem 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-note.ok { color: #8ff0c0; }
.form-note.err { color: #ff9bbf; }

/* Socials */
.socials {
  display: flex;
  gap: 1.4rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.socials a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.socials a:hover { color: var(--ink); border-color: var(--accent); }

.foot {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.4rem;
  font-size: 0.8rem;
  color: rgba(201, 169, 207, 0.6);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .aurora { animation: none; }
}
