:root {
  --bg: #0a0c10;
  --surface: #13161d;
  --border: #1e2231;
  --text: #ffffff;
  /* --muted lightened from #8b92a5 → #b0b6c5 so secondary copy on the dark
     background clears WCAG AA (4.5:1). Audited 2026-05-17. */
  --muted: #b0b6c5;
  --accent: #f15b2b;
  --accent-hover: #e04d1f;
  --live: #22c55e;
  --autodj: #3b82f6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 0 4rem;
}

.logo { margin-bottom: 2rem; }
.logo img { width: 180px; height: auto; }

h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta {
  display: inline-block;
  padding: 0.95rem 2.5rem;
  background: var(--accent);
  color: white;
  /* 1.2rem = 19.2px qualifies as "large bold" for WCAG 1.4.3, so white on the
     orange accent passes AA at the 3:1 large-text threshold. */
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.cta:hover { background: var(--accent-hover); transform: translateY(-2px); }
.cta:active { transform: translateY(0); }
.cta.secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.cta.secondary:hover { background: var(--accent); color: white; }

.now-playing {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--muted);
}
.np-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--autodj);
  flex-shrink: 0;
}
.np-dot.live { background: var(--live); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}
.feature:hover { border-color: var(--accent); }

.feature-icon {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent);
}
.feature-icon svg { width: 100%; height: 100%; }

.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Streams */
.streams {
  padding: 3rem 0;
  text-align: center;
}

.streams h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.stream-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stream-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stream-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.stream-card.primary { border-color: var(--accent); background: rgba(241,91,43,0.08); }

.sc-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.stream-card.primary .sc-label { color: var(--accent); }

.sc-detail {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Artists */
.artists {
  padding: 3rem 0;
  text-align: center;
}

.artists h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.artists > p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
}

.artist-cta { margin-top: 1.5rem; }
.artist-cta .small {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.artist-cta .small a { color: var(--accent); text-decoration: underline; }
.artist-cta .small a:hover { color: var(--accent-hover); }

/* Footer */
footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.footer-logo { width: 100px; margin-bottom: 0.8rem; opacity: 0.6; }
footer p { color: var(--muted); font-size: 0.8rem; }
/* opacity removed (was 0.5) — combined with muted it dropped below AA. */
footer .small { margin-top: 0.3rem; font-size: 0.75rem; color: var(--muted); }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  .features { grid-template-columns: 1fr; }
  .stream-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  .hero { padding: 3rem 0 2rem; }
  .stream-grid { grid-template-columns: 1fr; }
}
