/* zingu.ai — Radio AI site */
:root {
  --bg: #0b0e14;
  --bg-2: #121826;
  --card: #161e2e;
  --line: #26304a;
  --text: #e8ecf4;
  --muted: #9aa5bd;
  --accent: #18e4f0;      /* logo teal — brand accent */
  --accent-2: #6ee7ff;    /* signal cyan */
  --brand: #18e4f0;       /* logo teal — master Zingu brand accent */
  --live: #ff5d5d;
  --radius: 14px;
  --max: 980px;
}
/* per-channel accent palettes — keyed on the station name so each channel page
   carries its own color identity (mirrors the homepage channel cards). The nav
   "zingu.ai" mark stays the master teal (--brand), only page content recolors. */
body[data-station="The Lead"]    { --accent: #56d6a4; --accent-2: #8ff0c7; }
body[data-station="Cyber Radio"] { --accent: #4aa3ff; --accent-2: #9cc8ff; }
body[data-station="Robot Radio"] { --accent: #22d3ee; --accent-2: #7ce7f7; }
body[data-station="Groundwork"]  { --accent: #f01063; --accent-2: #ff6b9c; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* nav */
nav {
  border-bottom: 1px solid var(--line);
  background: rgba(11,14,20,.85); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
nav .wrap { display: flex; align-items: center; gap: 22px; height: 58px; }
nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; color: var(--text); }
nav .brand:hover { text-decoration: none; }
nav .brand-logo { width: 32px; height: 32px; border-radius: 8px; display: block; }
nav .brand-word span { color: var(--brand); }
nav .links { margin-left: auto; display: flex; gap: 18px; font-size: 14.5px; }
nav .links a { color: var(--muted); }
nav .links a:hover, nav .links a.active { color: var(--text); text-decoration: none; }

/* hero */
.hero { padding: 56px 0 30px; display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.hero img.logo {
  width: 190px; height: 190px; border-radius: 24px;
  box-shadow: 0 8px 40px color-mix(in srgb, var(--accent) 22%, transparent), 0 2px 10px rgba(0,0,0,.5);
}
.hero .lede { flex: 1; min-width: 280px; }
.kicker {
  color: var(--accent); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em; margin-bottom: 10px;
}
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin-bottom: 12px; }
.sub { color: var(--muted); font-size: 17.5px; max-width: 46ch; }
/* homepage tagline is a short single sentence — let it use the full hero width
   so it wraps like the headline instead of breaking early at 46ch */
.home .hero .sub { max-width: none; }
/* the intro paragraph sits BELOW the player (mobile feedback 2026-09-22:
   above it, it pushed the play button under the fold) */
.sub-below { margin: -18px 0 44px; }

/* Phones: the desktop hero (190px logo above headline + full lede) pushes the
   player below the fold. Shrink the logo to an inline mark beside the text and
   tighten spacing so the LIVE button is visible without scrolling. */
@media (max-width: 640px) {
  .hero { padding: 18px 0 4px; gap: 14px; flex-wrap: nowrap; align-items: flex-start; }
  .hero img.logo { width: 64px; height: 64px; border-radius: 14px; }
  .hero .lede { min-width: 0; }
  .kicker { font-size: 11px; margin-bottom: 6px; }
  h1 { font-size: 21px; }
  .sub { font-size: 14.5px; }
  .sub-below { margin: -12px 0 32px; }
  .player { margin: 14px 0 28px; padding: 16px; }
}

/* player card */
.player {
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin: 26px 0 40px;
}
.player .row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* big custom play button */
.listen {
  display: flex; align-items: center; gap: 20px;
  background: none; border: none; padding: 6px; cursor: pointer;
  color: var(--text); font: inherit; text-align: left;
}
.listen .disc {
  width: 92px; height: 92px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 30%, color-mix(in srgb, var(--accent) 22%, #fff), var(--accent) 58%, color-mix(in srgb, var(--accent) 68%, #000));
  box-shadow: 0 6px 30px color-mix(in srgb, var(--accent) 40%, transparent), 0 2px 8px rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.listen:hover .disc { transform: scale(1.06); box-shadow: 0 8px 38px color-mix(in srgb, var(--accent) 55%, transparent), 0 2px 8px rgba(0,0,0,.5); }
.listen .disc::before {
  content: ""; display: block;
  width: 0; height: 0; margin-left: 8px;
  border-left: 34px solid #14181f;
  border-top: 21px solid transparent;
  border-bottom: 21px solid transparent;
}
.listen.playing .disc::before {
  width: 12px; height: 36px; margin-left: 0;
  border: none; background: #14181f;
  box-shadow: 20px 0 0 #14181f;
  transform: translateX(-10px);
}
.listen-text { display: flex; flex-direction: column; gap: 2px; }
.listen-text .label { font-size: 22px; font-weight: 700; letter-spacing: .01em; }
.listen-text .hint { font-size: 13.5px; color: var(--muted); }
.live-dot {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--live);
}
.live-dot::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--live); animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,93,93,.55); } 100% { box-shadow: 0 0 0 10px rgba(255,93,93,0); } }
.now { margin-top: 14px; font-size: 15px; color: var(--muted); }
.now b { color: var(--text); font-weight: 600; }
.now .show-tag {
  display: inline-block; margin-left: 8px; padding: 1px 9px;
  border: 1px solid var(--line); border-radius: 99px;
  font-size: 12px; color: var(--accent);
}
.now .interlude { margin-left: 6px; font-size: 13px; color: var(--muted); opacity: .8; }

/* share button + fallback menu (growth lane) */
.share-wrap { position: relative; display: inline-flex; }
.share {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 99px;
  padding: 7px 15px; font: inherit; font-size: 13.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.share:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.share::before {
  content: ""; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 8 6h3v8h2V6h3zM5 10v10h14V10h-2v8H7v-8z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 8 6h3v8h2V6h3zM5 10v10h14V10h-2v8H7v-8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* prominent variant — the home-hero "Share the station" call to action */
.share.primary {
  background: var(--accent); color: #06222a; border-color: transparent;
  padding: 11px 20px; font-size: 15px;
}
.share.primary:hover {
  background: color-mix(in srgb, var(--accent) 86%, #fff);
  color: #06222a; border-color: transparent;
}
.hero-share { margin-top: 22px; }
@media (max-width: 640px) { .hero-share { margin-top: 14px; } }
.share-menu {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0;
  min-width: 172px; padding: 6px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 14px 38px rgba(0,0,0,.55);
  display: flex; flex-direction: column;
}
.share-menu.right { left: auto; right: 0; }
.share-menu a, .share-menu button {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; border-radius: 8px;
  background: none; border: none; color: var(--text);
  font: inherit; font-size: 14px; cursor: pointer; text-decoration: none;
}
.share-menu a:hover, .share-menu button:hover { background: var(--bg-2); text-decoration: none; color: var(--text); }

/* channel guide (homepage) — rectangular card per station */
.channels {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px; margin: 6px 0 46px;
}
.channel-card {
  padding: 0; margin: 0; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.channel-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ch) 55%, var(--line));
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}
.channel-card .art {
  position: relative; height: 150px; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 16% 8%, color-mix(in srgb, var(--ch) 42%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--ch) 24%, var(--bg-2)), var(--bg));
}
.channel-card .ch-logo {
  max-height: 112px; max-width: 50%; width: auto; object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.55));
  transition: transform .16s ease;
}
/* the logo links to the station page (like the card title). display:contents
   keeps the <img> laid out exactly as before — the anchor adds only the click
   target and cursor, no box of its own. */
.channel-card .ch-logo-link { display: contents; cursor: pointer; }
.channel-card .ch-logo-link:hover .ch-logo { transform: scale(1.04); }
/* coming-soon cards have no play button — keep their logo centered */
.channel-card.coming .art { justify-content: center; }
.channel-card.coming .ch-logo { max-width: 82%; }
.channel-card .glyph { font-size: 58px; line-height: 1; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.channel-card .art .live-dot {
  position: absolute; top: 12px; left: 14px;
  padding: 3px 10px 3px 9px; border-radius: 99px;
  background: rgba(11,14,20,.62); backdrop-filter: blur(4px);
}
.ch-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ch-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 0 0 6px;
}
.ch-name { font-size: 21px; margin: 0; }
.ch-name a { color: inherit; text-decoration: none; }
.ch-name a:hover { text-decoration: underline; }
.ch-head .go { font-size: 14px; font-weight: 600; white-space: nowrap; }
/* station-page player: the share sits under the now-playing line */
.player > .share-wrap { margin-top: 16px; }
.ch-head .soon-badge { padding: 4px 13px; font-size: 13px; }
.ch-desc { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.channel-card .now { margin-top: 0; }

/* per-channel play disc + label in the art strip, beside the logo, tinted with --ch */
.channel-card .art .listen {
  flex: none; padding: 0; gap: 9px;
  flex-direction: column; align-items: center; text-align: center;
}
.channel-card .listen .disc {
  width: 66px; height: 66px;
  background: radial-gradient(circle at 32% 30%,
    color-mix(in srgb, var(--ch) 35%, #fff), var(--ch) 58%,
    color-mix(in srgb, var(--ch) 55%, #000));
  box-shadow: 0 6px 26px color-mix(in srgb, var(--ch) 40%, transparent), 0 2px 8px rgba(0,0,0,.5);
}
.channel-card .listen:hover .disc { transform: scale(1.06); }
.channel-card .listen .disc::before {
  margin-left: 6px;
  border-left: 24px solid #14181f;
  border-top: 15px solid transparent; border-bottom: 15px solid transparent;
}
.channel-card .listen.playing .disc::before {
  width: 9px; height: 26px; margin-left: 0;
  border: none; background: #14181f;
  box-shadow: 15px 0 0 #14181f; transform: translateX(-7px);
}
.channel-card .art .listen-text { align-items: center; text-align: center; gap: 1px; }
.channel-card .art .listen-text .label { font-size: 15px; }
.channel-card .art .listen-text .hint { font-size: 12px; }

/* coming-soon channel cards */
.channel-card.coming { opacity: .82; }
.channel-card.coming:hover { transform: none; box-shadow: none; border-color: var(--line); }
.channel-card.coming .art { filter: saturate(.7); }
.channel-card.coming .glyph { opacity: .8; }
.soon-dot {
  position: absolute; top: 12px; left: 14px;
  padding: 3px 10px; border-radius: 99px;
  background: rgba(11,14,20,.62); backdrop-filter: blur(4px);
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: color-mix(in srgb, var(--ch) 70%, var(--text));
}
.soon-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 99px;
  border: 1px solid color-mix(in srgb, var(--ch) 40%, var(--line));
  background: color-mix(in srgb, var(--ch) 12%, transparent);
  color: color-mix(in srgb, var(--ch) 70%, var(--text));
  font-size: 15px; font-weight: 600;
}

/* section cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 10px 0 50px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.card .go { font-size: 14px; font-weight: 600; }

h2 { font-size: 22px; margin: 34px 0 14px; }
.prose p { color: var(--muted); max-width: 68ch; margin-bottom: 12px; }
.prose b { color: var(--text); }

/* programme lists */
.queue { list-style: none; margin: 6px 0 30px; }
.queue li {
  display: flex; gap: 14px; padding: 10px 4px;
  border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline;
}
.queue li .pos { color: var(--accent); font-weight: 700; min-width: 62px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; }
.queue li .dek { display: block; color: var(--muted); font-size: 13.5px; }
.queue li.music { color: var(--muted); font-size: 13.5px; }
.showblock { margin: 26px 0; }
.showblock h3 {
  font-size: 15px; color: var(--accent);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px;
}
.showblock ol { list-style: none; }
.showblock ol li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.showblock ol li span.d { color: var(--muted); font-size: 13px; margin-left: 8px; }

footer {
  border-top: 1px solid var(--line); margin-top: 60px;
  padding: 26px 0 40px; color: var(--muted); font-size: 13.5px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; }
