:root {
  --bg: #060816;
  --bg-deep: #0b1228;
  --surface: rgba(10, 16, 36, 0.78);
  --text: #f8fbff;
  --muted: #b7c1d8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #5865f2;
  --accent-strong: #8791ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 40px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(88, 101, 242, 0.36), transparent 28%),
    radial-gradient(circle at 80% 25%, rgba(135, 145, 255, 0.2), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(88, 101, 242, 0.18), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
  pointer-events: none;
}

body::before {
  top: 10%;
  right: -6rem;
  width: 20rem;
  height: 20rem;
  background: rgba(88, 101, 242, 0.28);
}

body::after {
  bottom: 8%;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(135, 145, 255, 0.16);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 1.5rem), var(--max-width));
  margin: 0 auto;
  padding: 0.75rem 0;
}

.background-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.background-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(6, 8, 22, 0.1), rgba(6, 8, 22, 0.58)),
    linear-gradient(180deg, rgba(6, 8, 22, 0.08), rgba(6, 8, 22, 0.42));
}

.background-announcement {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: saturate(1.08) contrast(1.02) brightness(0.92);
}

.corner-logo {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 5;
  width: clamp(92px, 14vw, 170px);
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.42));
}

.music-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 16, 36, 0.78);
  color: #ffffff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.music-toggle:hover,
.music-toggle:focus-visible {
  transform: translateY(-2px);
  background: rgba(18, 28, 61, 0.92);
  border-color: rgba(135, 145, 255, 0.42);
}

.music-player {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 320px;
  height: 180px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  z-index: 4;
  border-radius: 18px;
  background: rgba(8, 12, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.music-player.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.music-frame {
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  min-height: calc(100vh - 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(10, 16, 36, 0.44);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 3rem 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 3.5rem;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  font-family: "Newsreader", serif;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.hero-center {
  text-align: center;
}

.hero-copy-center {
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-copy-center h1 {
  margin-bottom: 0;
  font-size: clamp(3.4rem, 12vw, 8.8rem);
  text-wrap: balance;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.8rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px) scale(1.01);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 18px 40px rgba(88, 101, 242, 0.32);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.is-visible,
  .button {
    transition: none;
    transform: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1.2rem), var(--max-width));
    padding: 0.6rem 0;
  }

  .music-toggle {
    top: auto;
    bottom: 0.8rem;
    left: 0.8rem;
    font-size: 0.82rem;
    padding: 0.75rem 1rem;
  }

  .music-player {
    width: 240px;
    height: 135px;
    right: 0.4rem;
    bottom: 4.6rem;
  }

  .corner-logo {
    top: max(0.8rem, env(safe-area-inset-top));
    right: max(0.8rem, env(safe-area-inset-right));
    width: 88px;
  }

  .hero {
    min-height: calc(100vh - 1.2rem);
  }

  .hero-copy {
    padding: 2rem 1.2rem;
  }

  .hero-copy-center {
    gap: 1.2rem;
  }
}
