/* ================= RhythmHaus — brand system =================
   Ring gradient: orange → magenta → blue (matches channel avatar)
   Display: Unbounded · Body: Inter
=============================================================== */
:root {
  --bg: #08080d;
  --bg-raise: #0e0e16;
  --bg-card: #12121c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eceaf2;
  --text-dim: #9b98a8;
  --orange: #ff6a00;
  --magenta: #ff2d78;
  --blue: #2d7dff;
  --grad: linear-gradient(100deg, var(--orange), var(--magenta) 52%, var(--blue));
  --ring: conic-gradient(from 210deg, var(--orange), var(--magenta), var(--blue), var(--orange));
  --radius: 18px;
  --display: "Unbounded", sans-serif;
  --body: "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- wordmark ---------- */
.wordmark {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
}
.wordmark em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark.small { font-size: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(255, 45, 120, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255, 45, 120, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }
.btn-yt {
  background: #f00;
  color: #fff;
  padding: 0.6rem 1.2rem;
}
.btn-yt:hover { background: #ff2222; transform: translateY(-1px); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(8, 8, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 0.7rem; font-size: 1.05rem; }
.nav-brand img { border-radius: 50%; }
.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
}
.nav-links a:hover { color: #fff; }
.nav-cta { flex-shrink: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 12vh, 9rem) 1.5rem 4.5rem;
  overflow: hidden;
}
.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(150vw, 1100px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--ring);
  -webkit-mask: radial-gradient(closest-side, transparent 78%, #000 79%, #000 84%, transparent 85%);
  mask: radial-gradient(closest-side, transparent 78%, #000 79%, #000 84%, transparent 85%);
  opacity: 0.5;
  filter: blur(1px);
  animation: ring-spin 60s linear infinite;
  pointer-events: none;
}
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(255, 45, 120, 0.14), transparent 65%),
    radial-gradient(ellipse 45% 38% at 18% 90%, rgba(45, 125, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 45% 38% at 85% 85%, rgba(255, 106, 0, 0.09), transparent 60%);
  pointer-events: none;
}
.hero > :not(.hero-ring) { position: relative; }
.hero-kicker {
  font-family: var(--display);
  font-size: clamp(0.62rem, 1.4vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--text-dim);
  margin-bottom: 1.4rem;
}
.hero-wordmark {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 8.5vw, 5.6rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: #fff;
}
.hero-wordmark em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-tagline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
  font-family: var(--display);
  font-size: clamp(0.7rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.hero-tagline i {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 620px;
  margin: 1.6rem auto 0;
  color: var(--text-dim);
  font-size: 1.02rem;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}
.stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.4rem, 5vw, 3.5rem);
  flex-wrap: wrap;
  list-style: none;
  margin-top: 3.4rem;
}
.stats li { display: flex; flex-direction: column; gap: 0.15rem; }
.stats strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- sections ---------- */
.section { padding: 4.5rem clamp(1rem, 4vw, 3rem); max-width: 1240px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 2.6rem; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  margin-bottom: 0.6rem;
}
.section-head p { color: var(--text-dim); }

/* ---------- stations ---------- */
.stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.1rem;
}
.station {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.station:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 120, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 45, 120, 0.2);
}
.station img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.station-meta { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.station-count {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.station-meta h3 { font-family: var(--display); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.station-meta p { color: var(--text-dim); font-size: 0.88rem; }
.tune-in {
  margin-top: auto;
  padding-top: 0.7rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.featured-station { grid-column: span 2; }
@media (min-width: 861px) {
  .featured-station img { aspect-ratio: 2.35 / 1; object-position: center 38%; }
}
.series-station { grid-column: 1 / -1; }
@media (min-width: 861px) {
  .series-station { display: grid; grid-template-columns: 1.15fr 1fr; }
  .series-station img { height: 100%; aspect-ratio: auto; min-height: 260px; }
  .series-station .station-meta { justify-content: center; padding: 2rem 2.4rem; gap: 0.6rem; }
  .series-station h3 { font-size: 1.5rem; letter-spacing: 0.04em; }
  .series-station p { font-size: 1rem; max-width: 42ch; }
}
.series-badge {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

/* ---------- now playing ---------- */
.player-wrap { max-width: 880px; margin: 0 auto; }
.lite-yt {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #000;
  padding: 0;
}
.lite-yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: opacity 0.2s, transform 0.4s ease; }
.lite-yt:hover img { opacity: 1; transform: scale(1.015); }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(8, 8, 13, 0.55);
  backdrop-filter: blur(6px);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 2px rgba(255, 45, 120, 0.75), 0 8px 40px rgba(255, 45, 120, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lite-yt:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.9), 0 8px 48px rgba(255, 106, 0, 0.55);
}
.player-caption { text-align: center; margin-top: 1.4rem; }
.player-caption h3 { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.player-caption p { color: var(--text-dim); font-size: 0.92rem; margin-top: 0.3rem; }

/* ---------- process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.process-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.step {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.6rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-card h3 { font-family: var(--display); font-weight: 700; margin: 0.7rem 0 0.5rem; }
.process-card p { color: var(--text-dim); font-size: 0.92rem; }
.rights-note {
  margin-top: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  background: linear-gradient(100deg, rgba(255, 106, 0, 0.07), rgba(255, 45, 120, 0.07), rgba(45, 125, 255, 0.07));
}
.rights-note h3 { font-family: var(--display); font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.rights-note p { color: var(--text-dim); font-size: 0.92rem; }
.rights-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- signal ---------- */
.signal-card {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 3.2rem clamp(1.2rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, rgba(255, 45, 120, 0.13), transparent 70%),
    var(--bg-raise);
}
.signal-card h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.signal-card > p { color: var(--text-dim); margin-top: 0.6rem; }
.signal-form {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.signal-form input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  width: min(320px, 100%);
  outline: none;
  transition: border-color 0.15s;
}
.signal-form input:focus { border-color: var(--magenta); }
.signal-note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--text-dim); }
.signal-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 3rem; }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.6rem clamp(1rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-inner p { color: var(--text-dim); font-size: 0.88rem; }
.footer-groups { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; margin-top: 0.4rem; }
.footer-group { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-label {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-links { display: flex; gap: 1.4rem; font-size: 0.88rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 0.78rem !important; opacity: 0.7; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .featured-station, .series-station { grid-column: span 1; }
}
@media (max-width: 720px) {
  .nav { gap: 1rem; }
  .nav-links { display: none; }
  .stats { gap: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ring { animation: none; }
  html { scroll-behavior: auto; }
}
