/* CCBR — palette carried over from the original site */
:root {
  --bg: #0a0a0c;
  --fg: #e8e8ec;
  --muted: #9aa0ae;
  --accent: #1db954;
  --glow: rgba(120, 150, 255, 0.35);
  --stack: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--stack);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- background scene ---------- */

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  /* Visible while WebGL boots, and the permanent look if it never does. */
  background:
    radial-gradient(circle at 50% 38%, #1d2c47 0%, #16223a 34%, #0d1424 46%, rgba(10,10,12,0) 62%),
    radial-gradient(circle at 50% 38%, rgba(90,130,200,.14) 46%, rgba(10,10,12,0) 66%),
    var(--bg);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, rgba(10,10,12,0) 40%, rgba(10,10,12,.55) 100%);
}

/* ---------- chrome ---------- */

.nav, main, .footer { position: relative; z-index: 2; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 5vw, 3.5rem);
}

.wordmark {
  font-weight: 800;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: .38em;
  color: var(--fg);
  text-decoration: none;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  letter-spacing: .06em;
  transition: color .2s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--fg); }

/* ---------- hero ---------- */

.hero {
  min-height: min(78svh, 44rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 4rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  font-weight: 900;
  letter-spacing: .15em;
  text-indent: .15em; /* balance the trailing letter-space */
  line-height: 1;
  color: rgba(232, 232, 236, .88);
  text-shadow: 0 0 70px var(--glow);
}

.tagline {
  margin: 1.1rem 0 0;
  font-size: clamp(.82rem, 2vw, 1.05rem);
  font-weight: 300;
  letter-spacing: .52em;
  text-indent: .52em;
  text-transform: uppercase;
  color: rgba(232, 232, 236, .62);
}

.cta {
  margin-top: clamp(2rem, 5vw, 3.25rem);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #0a0a0c;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(29, 185, 84, .28);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.cta:hover, .cta:focus-visible {
  background: #23d365;
  transform: translateY(-2px);
  box-shadow: 0 14px 46px rgba(29, 185, 84, .38);
}
.cta:active { transform: translateY(0); }
.cta-icon { flex: none; color: #0a0a0c; }
.cta:hover .cta-icon, .cta:focus-visible .cta-icon { color: #0a0a0c; }

/* the icon's disc is currentColor, so invert it against the green pill */
.cta .cta-icon circle { fill: #0a0a0c; }
.cta .cta-icon path { fill: var(--accent); }
.cta:hover .cta-icon path { fill: #23d365; }

/* ---------- releases ---------- */

.releases {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem) clamp(3rem, 8vw, 6rem);
  text-align: center;
}

.releases h2 {
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  font-size: clamp(.72rem, 1.6vw, .85rem);
  font-weight: 600;
  letter-spacing: .42em;
  text-indent: .42em;
  text-transform: uppercase;
  color: var(--muted);
}

.player {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}
.player iframe { display: block; border: 0; }

/* ---------- footer ---------- */

.footer {
  display: flex;
  justify-content: center;
  gap: .6rem;
  padding: 0 1.25rem clamp(2rem, 5vw, 3rem);
  font-size: .8rem;
  letter-spacing: .08em;
  color: rgba(154, 160, 174, .8);
}
.footer .dot { opacity: .5; }

:focus-visible { outline: 2px solid #6f9bff; outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover { transform: none; }
}
