:root {
  --bg: #000;
  --text: #f6fbff;
  --muted: rgba(235, 247, 255, 0.72);
  --cyan: #00d4ff;
  --cyan-soft: rgba(0, 212, 255, 0.2);
  --line: rgba(255, 255, 255, 0.22);
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: 'Orbitron', 'Inter', system-ui, sans-serif;
  --font-signature: 'lindsey-signature', cursive;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.coming-soon {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.splash-video,
.veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.splash-video {
  object-fit: cover;
  z-index: -3;
  background: #000 url("/assets/splash/jazmine_splash_1440x1440.webp") center / cover no-repeat;
}

.veil {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 52%, rgba(0, 212, 255, 0.12), transparent 34rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
}

.centerpiece {
  width: min(92vw, 980px);
  min-height: min(72svh, 780px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vh, 34px);
  padding: clamp(28px, 6vw, 72px) 18px;
  text-align: center;
}

.soon {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.8vw, 1.04rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(0, 0, 0, 0.75);
}

.signature {
  margin: 0;
  color: #fff;
  font-family: var(--font-signature);
  font-size: clamp(7.4rem, 21vw, 16rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.9),
    0 0 36px rgba(255, 255, 255, 0.5),
    0 0 84px rgba(0, 212, 255, 0.45);
  animation: signature-pulse 2.9s ease-in-out infinite;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: min(100%, 560px);
}

.social-link {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.05) inset,
    0 12px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.social-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.7);
  background: var(--cyan-soft);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.24) inset,
    0 0 28px rgba(0, 212, 255, 0.28);
  outline: none;
}

.sound-toggle {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 2;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.26);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.04) inset,
    0 14px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.62);
  background: rgba(0, 212, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.22) inset,
    0 0 26px rgba(0, 212, 255, 0.24);
  outline: none;
}

.sound-toggle[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.sound-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.sound-icon-on {
  display: none;
}

.sound-toggle[aria-pressed="true"] .sound-icon-on {
  display: block;
}

.sound-toggle[aria-pressed="true"] .sound-icon-off {
  display: none;
}

@keyframes signature-pulse {
  0%,
  100% {
    opacity: 0.9;
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.72),
      0 0 30px rgba(255, 255, 255, 0.36),
      0 0 70px rgba(0, 212, 255, 0.3);
  }

  50% {
    opacity: 1;
    text-shadow:
      0 0 18px rgba(255, 255, 255, 1),
      0 0 48px rgba(255, 255, 255, 0.62),
      0 0 104px rgba(0, 212, 255, 0.5);
  }
}

@media (max-width: 720px) {
  .centerpiece {
    min-height: 80svh;
    gap: 18px;
  }

  .soon {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
  }

  .signature {
    font-size: clamp(6.4rem, 28vw, 9rem);
  }

  .socials {
    gap: 10px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .sound-toggle {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-video {
    display: none;
  }

  .signature {
    animation: none;
  }

  .social-link {
    transition: none;
  }

  .sound-toggle {
    transition: none;
  }
}
