/* Vice City Radio — unofficial GTA 6 music guide
   Palette: midnight indigo chassis, brushed aluminum, electric sky neon, rose-coral accents.
   Intentionally distinct from teal/orange, magenta/gold, graphite/lime, red/black, ivory/charcoal, cream/pine, and cobalt catalogs. */

:root {
  --bg: #0a0e1c;
  --bg-2: #101628;
  --panel: #161d33;
  --inset: #080b16;
  --bezel: #b7becf;
  --bezel-dim: #6f7890;
  --neon: #7ec8ff;
  --neon-deep: #3a8fd0;
  --coral: #ff7a8a;
  --dial: #f3f0e4;
  --text: #eef2f8;
  --muted: #a3adc4;
  --line: #2a3350;
  --line-soft: #222a44;
  --confirmed: #7ec8ff;
  --rumored: #e2c27a;
  --unconfirmed: #ff7a8a;
  --focus: #7ec8ff;
  --font-sans: "Avenir Next", "Segoe UI", "Trebuchet MS", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  --max: 70rem;
  --header-h: 4.25rem;
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(circle at 80% -10%, rgba(126, 200, 255, 0.08), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(255, 122, 138, 0.06), transparent 36%),
    var(--bg);
  min-height: 100%;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--neon); text-underline-offset: 0.15em; }
a:hover { color: #c8e7ff; }
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--neon);
  color: #0a0e1c;
  padding: 0.5rem 0.85rem;
  z-index: 100;
  font-weight: 700;
}
.skip:focus { top: 0.75rem; }

/* Header — radio faceplate */
.site-header {
  background: linear-gradient(180deg, #1a2138 0%, #12182a 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(183, 190, 207, 0.12), inset 0 1px 0 rgba(255,255,255,0.04);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--dial);
  min-width: 0;
}
.brand:hover { color: #fff; }

.brand-dial {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-mark .name {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.brand-mark .freq {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--neon);
  text-transform: uppercase;
}

.nav-toggle {
  margin-left: auto;
  background: var(--inset);
  color: var(--dial);
  border: 1px solid var(--bezel-dim);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--neon); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.2rem;
}
.site-nav a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--bg);
  background: var(--neon);
}

@media (max-width: 64rem) {
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #12182a;
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 0.55rem 0.4rem; }
}
@media (min-width: 64.01rem) {
  .nav-toggle { display: none; }
  .site-nav { margin-left: auto; }
}

.disclaimer-bar,
.legend,
.updated-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.1rem;
}

.disclaimer-bar {
  background: var(--inset);
  border-bottom: 1px solid var(--line);
  max-width: none;
  padding: 0.8rem 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}
.disclaimer-bar strong { color: var(--dial); font-weight: 700; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}
.legend-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--bezel);
}

.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 0.2rem;
  border: 1px solid currentColor;
  vertical-align: 0.1em;
  margin-right: 0.15rem;
}
.stamp-confirmed { color: var(--confirmed); }
.stamp-rumored { color: var(--rumored); }
.stamp-unconfirmed { color: var(--unconfirmed); }

.updated-bar {
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 0.4rem;
  padding-bottom: 0.2rem;
}

main { padding-bottom: 3rem; }

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

/* Hero */
.hero {
  position: relative;
  margin: 0 0 2rem;
  padding: 1.75rem 1.1rem 2rem;
  background:
    linear-gradient(180deg, rgba(126,200,255,0.07), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 52rem) {
  .hero-inner { grid-template-columns: 1.3fr 0.9fr; align-items: center; }
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.75rem;
  color: var(--dial);
}
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon);
  margin: 0 0 0.55rem;
}
.lede, .hero .lede {
  font-size: 1.12rem;
  color: #c9d2e6;
  margin: 0 0 1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--neon);
  color: var(--bg);
  background: var(--neon);
}
.btn:hover { background: #c8e7ff; color: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--neon);
}
.btn-ghost:hover { background: rgba(126,200,255,0.12); color: #fff; }

.tuner {
  background: linear-gradient(180deg, #2a3148, #161b2c);
  border: 2px solid var(--bezel-dim);
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 16px 40px rgba(0,0,0,0.35);
}
.tuner-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.on-air {
  color: var(--coral);
  font-weight: 700;
}
.on-air::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--coral);
  border-radius: 50%;
  margin-right: 0.4rem;
  box-shadow: 0 0 8px var(--coral);
  vertical-align: 0.05rem;
}
.tuner-scale {
  height: 4.2rem;
  background: var(--inset);
  border-radius: 0.5rem;
  border: 1px solid #2e3654;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.8rem;
}
.tuner-scale svg { width: 100%; height: 100%; display: block; }
.vu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.vu {
  height: 0.45rem;
  background: #0d1220;
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid #2e3654;
}
.vu span {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--neon-deep), var(--neon));
}
.vu.right span { width: 54%; }

/* Cards and prose */
.card-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}
@media (min-width: 40rem) {
  .card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60rem) {
  .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.station-card .freq-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
  margin: 0 0 0.35rem;
}

.prose h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.2;
  color: var(--dial);
  margin: 0.3rem 0 0.8rem;
}
.prose h2 {
  font-size: 1.35rem;
  margin: 1.8rem 0 0.6rem;
  color: var(--dial);
  letter-spacing: 0.01em;
}
.prose h3 {
  font-size: 1.12rem;
  margin: 1.3rem 0 0.45rem;
  color: #f3f0e4;
}
.prose p, .prose li { color: #d5dcec; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }
.prose blockquote {
  margin: 1rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--neon);
  color: #c9d2e6;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0 1.4rem;
}
.prose th, .prose td {
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.prose tr:hover td { background: rgba(126,200,255,0.04); }
.table-wrap { overflow-x: auto; }

.source-note {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--bezel-dim);
  padding: 0.35rem 0 0.35rem 0.85rem;
  margin: 1rem 0 1.4rem;
}

.embed-slot {
  background: var(--inset);
  border: 1px dashed var(--bezel-dim);
  border-radius: var(--radius);
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 1rem;
  margin: 0.8rem 0 1.2rem;
}
.embed-slot strong { color: var(--dial); display: block; margin-bottom: 0.35rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 1rem 0;
}
.filter-bar label { font-size: 0.9rem; color: var(--muted); }
.filter-bar select, .filter-bar input {
  background: var(--inset);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.4rem 0.6rem;
  font: inherit;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.7rem 1rem;
  margin: 0.55rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--dial);
}
.faq details p { margin: 0.6rem 0 0.2rem; }

/* Footer */
.site-footer {
  background: #0c101c;
  border-top: 1px solid var(--line);
  padding: 2rem 1.1rem 1.5rem;
  margin-top: 1rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto 1.4rem;
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 48rem) {
  .footer-inner { grid-template-columns: 1.4fr 0.9fr 0.9fr; }
}
.site-footer h2 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bezel);
  margin: 0 0 0.6rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.site-footer a { color: #c9d2e6; text-decoration: none; }
.site-footer a:hover { color: var(--neon); text-decoration: underline; }
.footer-note {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--muted);
}

/* 404 */
.not-found {
  text-align: center;
  padding: 3rem 1rem 4rem;
}
.not-found .dead-air {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  font-size: 0.8rem;
}
.not-found h1 { font-size: 2rem; color: var(--dial); }

/* Sibling GTA 6 guide links */
.sibling-guides a {
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .site-footer nav.sibling-guides,
  .site-footer ul.sibling-guides {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
  }
  .site-footer ul.sibling-guides {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .site-footer ul.sibling-guides li {
    margin: 0;
  }
}

/* Keep exploring / return module (added Nov 10, 2026) */
.keep-exploring{margin:2.5rem 0 1.75rem;padding:1.25rem 0 0;border-top:1px solid rgba(127,127,127,.4)}
.keep-exploring h2{margin:0 0 .6rem}
.keep-exploring p{margin:.5rem 0}
.keep-exploring ul{margin:.35rem 0 .8rem;padding-left:1.2rem}
.keep-exploring li{margin:.2rem 0}
.keep-exploring .ke-return{font-size:.95em}
