/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep: #050a14;
  --gold-light: #f5e6c8;
  --gold-mid: #d4af6a;
  --text-muted: rgba(245, 230, 200, 0.55);
  --text-body: rgba(245, 230, 200, 0.82);
  --gold-gradient: linear-gradient(135deg, #f5e6c8 0%, #d4af6a 40%, #b8924a 70%, #8a6a2e 100%);
  --font-serif: 'Cinzel', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;
  --glass: rgba(8, 16, 32, 0.55);
  --glass-border: rgba(212, 175, 106, 0.18);
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

.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;
}

/* ── Background ───────────────────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-base {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #020610 0%, #050a14 35%, #0a1424 65%, #061018 100%);
}

.bg-nebula {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 55% 45% at 15% 20%, rgba(26, 58, 92, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 15%, rgba(61, 46, 16, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 55%, rgba(15, 35, 65, 0.3) 0%, transparent 60%);
  animation: nebulaDrift 25s ease-in-out infinite alternate;
}

.bg-aurora {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  mix-blend-mode: screen;
}

.aurora {
  position: absolute;
  width: 140%;
  height: 45%;
  left: -20%;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.aurora--1 {
  top: -5%;
  background: linear-gradient(105deg, transparent 0%, rgba(212, 175, 106, 0.18) 30%, rgba(100, 160, 200, 0.14) 55%, transparent 100%);
  animation: auroraWave 18s ease-in-out infinite;
}

.aurora--2 {
  top: 12%;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 106, 0.12) 50%, transparent 100%);
  animation: auroraWave 22s ease-in-out infinite reverse;
}

.bg-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
}

.bg-mountains svg {
  width: 100%;
  height: 100%;
}

.bg-horizon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
}

.horizon-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 45%;
  background: radial-gradient(ellipse 55% 100% at 50% 100%, rgba(212, 175, 106, 0.2) 0%, rgba(180, 130, 60, 0.08) 35%, transparent 75%);
  animation: horizonPulse 8s ease-in-out infinite;
}

.horizon-line {
  position: absolute;
  bottom: 32%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 230, 200, 0.35) 50%, transparent 100%);
  box-shadow: 0 0 40px rgba(212, 175, 106, 0.2);
}

.bg-orbs {
  position: absolute;
  inset: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 20s ease-in-out infinite;
}

.orb--1 { width: 450px; height: 450px; top: 3%; left: -10%; background: rgba(26, 58, 92, 0.4); }
.orb--2 { width: 380px; height: 380px; top: 40%; right: -12%; background: rgba(61, 46, 16, 0.35); animation-delay: -7s; }
.orb--3 { width: 300px; height: 300px; bottom: 20%; left: 25%; background: rgba(212, 175, 106, 0.1); animation-delay: -14s; }

#stars,
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#particles { z-index: 1; }

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 60% at 50% 45%, transparent 0%, rgba(3, 8, 16, 0.5) 70%, rgba(3, 8, 16, 0.9) 100%);
}

@keyframes nebulaDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, -1.5%) scale(1.04); }
}

@keyframes auroraWave {
  0%, 100% { transform: translateX(-3%) skewY(-2deg); opacity: 0.35; }
  50% { transform: translateX(3%) skewY(2deg); opacity: 0.55; }
}

@keyframes horizonPulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.03); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(18px, -22px); }
  66% { transform: translate(-12px, 18px); }
}

@keyframes badgeShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Layout ───────────────────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.card {
  position: relative;
  width: 100%;
  max-width: 620px;
  padding: 2.75rem 3rem 2rem;
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(212, 175, 106, 0.05) inset,
    0 24px 80px rgba(0, 0, 0, 0.5);
}

.card-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(212, 175, 106, 0.4);
  border-style: solid;
}

.card-corner--tl { top: 12px; left: 12px; border-width: 1.5px 0 0 1.5px; }
.card-corner--tr { top: 12px; right: 12px; border-width: 1.5px 1.5px 0 0; }
.card-corner--bl { bottom: 12px; left: 12px; border-width: 0 0 1.5px 1.5px; }
.card-corner--br { bottom: 12px; right: 12px; border-width: 0 1.5px 1.5px 0; }

.logo-img {
  width: min(340px, 72vw);
  max-height: 38vh;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 8px 32px rgba(212, 175, 106, 0.25));
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-mid);
  border: 1px solid rgba(212, 175, 106, 0.3);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 106, 0.05) 0%, rgba(212, 175, 106, 0.12) 50%, rgba(212, 175, 106, 0.05) 100%);
  background-size: 200% auto;
  animation: badgeShimmer 4s linear infinite;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-mid);
  animation: dotPulse 2s ease-in-out infinite;
}

.badge-dot:last-child { animation-delay: 1s; }

.headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.headline em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.description {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.notify-form {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.input-wrap {
  flex: 1;
  min-width: 0;
}

.notify-form input {
  width: 100%;
  padding: 1rem 1.15rem;
  background: rgba(5, 10, 20, 0.6);
  border: 1px solid rgba(212, 175, 106, 0.2);
  border-radius: 2px;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gold-light);
  transition: border-color 0.3s ease;
}

.notify-form input::placeholder {
  color: rgba(245, 230, 200, 0.25);
}

.notify-form input:focus {
  border-color: rgba(212, 175, 106, 0.5);
}

.notify-form button {
  flex-shrink: 0;
  padding: 1rem 1.75rem;
  background: var(--gold-gradient);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-deep);
  transition: opacity 0.25s ease;
}

.notify-form button:hover {
  opacity: 0.9;
}

.form-message {
  font-size: 0.82rem;
  min-height: 1em;
  margin-bottom: 1.5rem;
}

.form-message.success { color: var(--gold-mid); }
.form-message.error { color: #c97a6a; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 175, 106, 0.25);
  border-radius: 50%;
  color: rgba(212, 175, 106, 0.55);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  color: var(--gold-mid);
  border-color: rgba(212, 175, 106, 0.5);
  background: rgba(212, 175, 106, 0.08);
  transform: translateY(-2px);
}

.footer-text {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(245, 230, 200, 0.22);
  text-transform: uppercase;
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fade-up--delay-1 { animation-delay: 0.15s; }

@media (max-width: 480px) {
  .card {
    padding: 2rem 1.5rem 1.5rem;
    max-width: 100%;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form button {
    width: 100%;
    padding: 1rem;
  }

  .logo-img {
    width: min(260px, 68vw);
    max-height: 32vh;
  }

  .headline {
    font-size: 1.6rem;
  }
}

@media (max-height: 700px) {
  .logo-img {
    max-height: 30vh;
    width: min(280px, 65vw);
    margin-bottom: 1rem;
  }

  .coming-soon-badge {
    margin-bottom: 1.25rem;
  }

  .description {
    margin-bottom: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .bg-nebula, .aurora, .horizon-glow, .orb, .coming-soon-badge, .badge-dot {
    animation: none;
  }

  .social-link {
    transition: none;
  }
}
