:root {
  --bg: #0b1020;
  --surface: #12192b;
  --surface-2: #1b2440;
  --text: #f6f8fb;
  --muted: #b8c2d6;
  --accent: #ffd34f;
  --accent-2: #5fd3bc;
  --border: rgba(255,255,255,.08);
  --shadow: 0 18px 40px rgba(0, 0, 0, .24);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(95, 211, 188, .10), transparent 35%),
    radial-gradient(circle at top right, rgba(255, 211, 79, .12), transparent 28%),
    linear-gradient(180deg, #08111f 0%, #0d1424 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 13, 23, .82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.header-row, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.site-logo, .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .2px;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 12px;
  height: 12px;
  color: var(--accent);
}
.site-nav, .main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-nav a, .main-nav a, .section-link {
  color: var(--muted);
  transition: color .2s ease, transform .2s ease;
}
.site-nav a:hover, .main-nav a:hover, .section-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}
.site-search, .search-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}
.site-search input, .search-form input {
  width: min(290px, 65vw);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 11px 14px;
}
.site-search input::placeholder, .search-form input::placeholder { color: #93a0ba; }
.site-search button, .search-form button,
.play-btn, .fav-btn {
  border: 0;
  border-radius: 14px;
  padding: 11px 15px;
}
.site-search button, .search-form button, .play-btn {
  background: var(--accent);
  color: #101010;
  font-weight: 800;
}
.play-btn:hover, .site-search button:hover, .search-form button:hover { filter: brightness(1.03); }
.fav-btn {
  background: rgba(255,255,255,.08);
  color: white;
  min-width: 44px;
}
.fav-btn.active { background: #db506a; }

.main-content { padding-bottom: 16px; }
.hero, .page-head {
  padding: 34px 0 10px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero h1, .page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}
.hero p:not(.eyebrow), .page-head p, .meta-row, .desc, .site-footer p {
  color: var(--muted);
}
.hero {
  padding-top: 44px;
  padding-bottom: 22px;
}
.hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.03rem;
}
section { padding: 14px 0 26px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.section-head h2 { margin: 0; font-size: 1.35rem; }
.grid {
  display: grid;
  gap: 18px;
}
.category-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.radio-grid { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.category-card, .card, .detail-card, .content-block {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.category-card, .radio-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.category-card:hover, .radio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.14);
}
.category-card img, .radio-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #09101c;
}
.category-card span, .category-card small {
  display: block;
  padding: 0 14px;
}
.category-card span { padding-top: 14px; font-weight: 800; }
.category-card small { padding-bottom: 14px; color: var(--muted); }
.card-body { padding: 14px; }
.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card-title-row h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.meta-row {
  margin: 10px 0 10px;
  font-size: .95rem;
}
.meta-row a:hover { color: var(--text); }
.desc {
  min-height: 68px;
  margin: 0 0 14px;
  line-height: 1.55;
  font-size: .95rem;
}
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  color: var(--muted);
  font-size: .9rem;
}
.detail-card {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
}
.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  background: #09101c;
}
.detail-body {
  padding: 24px;
}
.detail-body h1 { margin-top: 0; }
.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}
.large { padding: 13px 18px; }
.content-block {
  padding: 22px;
  line-height: 1.7;
}
.content-block p:first-child { margin-top: 0; }
.breadcrumb {
  color: var(--muted);
  font-size: .95rem;
}
.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--border);
  background: rgba(7, 10, 16, .7);
}
.footer-brand {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--text);
}
.footer-copy {
  margin: 0;
  color: var(--muted);
}
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-links a,
.player-open-link {
  color: var(--muted);
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
}
.player-open-link { display: inline-flex; width: fit-content; }
.player-shell {
  position: sticky;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, 92%);
  margin: 0 auto 16px;
  padding: 12px 16px;
  background: rgba(17, 24, 39, .96);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.player-shell audio { width: min(620px, 100%); }
.player-shell.is-hidden { display: none; }
.player-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#player-title { font-size: 1rem; }
#player-status { color: var(--muted); font-size: .92rem; }

@media (max-width: 900px) {
  .detail-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-row { align-items: stretch; }
  .site-nav, .main-nav, .site-search, .search-form { width: 100%; }
  .site-search input, .search-form input { flex: 1 1 auto; width: auto; }
  .player-shell {
    width: calc(100% - 24px);
    flex-direction: column;
    align-items: stretch;
  }
  .player-shell audio { width: 100%; }
}
