/* ==========================================================================
   TOP HITS — The Sound of Now (tophits.live)
   Brand Palette:
     Hits Red: #F8022C | Ink: #0B0B0B | Paper: #F4F1EB | White: #FFFFFF
   ========================================================================== */

:root {
  --red: #F8022C;
  --red-hover: #ff1f45;
  --red-soft: rgba(248, 2, 44, 0.14);
  --red-glow: rgba(248, 2, 44, 0.35);
  --ink: #0B0B0B;
  --ink-raised: #141416;
  --ink-card: #18181B;
  --ink-border: rgba(255, 255, 255, 0.1);
  --paper: #F4F1EB;
  --white: #FFFFFF;
  --line: rgba(11, 11, 11, 0.12);
  --muted: #5C5852;
  --muted-dark: rgba(255, 255, 255, 0.62);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Impact, "Arial Black", Haettenschweiler, "Franklin Gothic Heavy", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, "Cascadia Mono", monospace;
  --max-w: 1160px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 0 88px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max-w), calc(100% - 40px));
  margin: 0 auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-border);
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  height: 30px;
  width: auto;
}

.brand-Divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.brand-slogan-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.nav-links a {
  padding: 6px 2px;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 16px var(--red-glow);
}

.nav-cta-btn:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.nav-cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: livePulse 1.6s infinite ease-in-out;
}

/* ==========================================================================
   HERO STAGE — PLAYER FIRST
   ========================================================================== */
.hero-stage {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 40px 0 44px;
  overflow: hidden;
  border-bottom: 4px solid var(--red);
}

.hero-ambient {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(85px) saturate(1.6);
  opacity: 0.24;
  transform: scale(1.15);
  pointer-events: none;
  transition: background-image 0.6s ease;
}

.hero-ambient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(248, 2, 44, 0.22), transparent 52%),
    linear-gradient(180deg, rgba(11, 11, 11, 0.55) 0%, rgba(11, 11, 11, 0.94) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.on-air-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(248, 2, 44, 0.16);
  border: 1px solid rgba(248, 2, 44, 0.45);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: livePulse 1.5s infinite ease-in-out;
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.55; }
}

.hero-station-headline {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero-station-headline strong {
  color: var(--red);
}

/* MAIN PLAYER CARD */
.player-spotlight {
  background: rgba(22, 22, 26, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 36px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.player-artwork-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: #121214;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.player-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.28s ease, transform 0.5s ease;
}

.player-spotlight.is-playing .player-artwork {
  transform: scale(1.03);
}

.player-artwork.is-changing {
  opacity: 0.35;
}

.artwork-station-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.artwork-play-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(11, 11, 11, 0.32);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.player-artwork-wrap:hover .artwork-play-overlay,
.artwork-play-overlay:focus-visible {
  opacity: 1;
}

.artwork-play-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px var(--red-glow);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.player-artwork-wrap:hover .artwork-play-circle {
  transform: scale(1.05);
}

/* PLAYER MAIN CONTENT */
.player-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.player-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.player-hero-logo {
  height: 40px;
  width: auto;
}

.player-slogan-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  line-height: 1.1;
}

.now-playing-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

/* Equalizer Bars */
.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 13px;
}

.eq-bars span {
  width: 3px;
  background: var(--red);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.player-spotlight.is-playing .eq-bars span:nth-child(1) {
  animation: eqBounce 0.7s infinite ease-in-out;
}
.player-spotlight.is-playing .eq-bars span:nth-child(2) {
  animation: eqBounce 0.55s infinite ease-in-out 0.15s;
}
.player-spotlight.is-playing .eq-bars span:nth-child(3) {
  animation: eqBounce 0.8s infinite ease-in-out 0.3s;
}
.player-spotlight.is-playing .eq-bars span:nth-child(4) {
  animation: eqBounce 0.62s infinite ease-in-out 0.1s;
}

@keyframes eqBounce {
  0%, 100% { height: 3px; }
  50% { height: 13px; }
}

.now-track-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 6px;
  color: var(--white);
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.now-track-artist {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Progress Bar */
.now-progress {
  margin-bottom: 22px;
}

.now-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.now-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), #ff5974);
  border-radius: 999px;
  transition: width 0.9s linear;
}

.now-progress-times {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

/* Primary Controls Row */
.player-controls-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-play-giant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--red);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 16px 34px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 32px var(--red-glow);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-play-giant:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(248, 2, 44, 0.5);
}

.btn-play-giant:active {
  transform: translateY(0);
}

.btn-play-giant svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.player-secondary-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 16px;
}

.icon-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.icon-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.icon-btn.is-voted {
  color: var(--red);
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 88px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--red);
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.quality-select {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.quality-select option {
  background: var(--ink);
  color: var(--white);
}

/* Quick Platform Links inside Hero */
.player-platforms-bar {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.player-platforms-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 4px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.platform-chip:hover {
  background: rgba(248, 2, 44, 0.18);
  border-color: var(--red);
  color: var(--white);
}

/* Hero Recent Strip (Last 3 tracks right below player) */
.hero-recent-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-mini-track {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hero-mini-track img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-mini-meta {
  min-width: 0;
  flex: 1;
}

.hero-mini-time {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.hero-mini-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-mini-artist {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   EDITORIAL SECTIONS (BRAND SHEET INSPIRED)
   ========================================================================== */
.section-block {
  padding: 72px 0;
}

.section-block.alt-dark {
  background: var(--ink);
  color: var(--white);
}

.kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-block.alt-dark .kicker {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
}

.kicker span:first-child {
  color: var(--red);
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.display-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0;
}

.display-title span {
  color: var(--red);
}

.section-lead {
  max-width: 46rem;
  margin: 12px 0 0;
  font-size: 17px;
  color: var(--muted);
}

.section-block.alt-dark .section-lead {
  color: rgba(255, 255, 255, 0.68);
}

/* Filter Input */
.history-filter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.history-search {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--ink);
  min-width: 240px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.history-search:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

/* ==========================================================================
   RECENTLY PLAYED GRID
   ========================================================================== */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.track-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.track-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 11, 11, 0.07);
  border-color: rgba(248, 2, 44, 0.35);
}

.track-card-art {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ink);
}

.track-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-card-body {
  min-width: 0;
  flex: 1;
}

.track-card-time {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2px;
}

.track-card-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-card-artist {
  display: block;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.preview-btn:hover,
.preview-btn.is-playing {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: scale(1.06);
}

.section-footer-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-outline:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ==========================================================================
   MOST PLAYED CHART & TOP ARTISTS (DARK SECTION)
   ========================================================================== */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.chart-row {
  background: var(--ink-card);
  border: 1px solid var(--ink-border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.chart-row:hover {
  border-color: rgba(248, 2, 44, 0.5);
  transform: translateY(-1px);
}

.chart-rank {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: var(--red);
  width: 34px;
  flex-shrink: 0;
}

.chart-cover {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #222;
}

.chart-info {
  min-width: 0;
  flex: 1;
}

.chart-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-artist {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-plays {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.chart-row .preview-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.chart-row .preview-btn:hover,
.chart-row .preview-btn.is-playing {
  background: var(--red);
  border-color: var(--red);
}

/* Top Artists Strip */
.top-artists-block {
  margin-top: 44px;
}

.top-artists-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px;
}

.artists-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.artist-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink-card);
  border: 1px solid var(--ink-border);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.artist-pill img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.artist-pill small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
}

/* ==========================================================================
   WAYS TO LISTEN GRID
   ========================================================================== */
.listen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.listen-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.listen-card.featured-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.listen-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.listen-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
}

.listen-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.listen-card.featured-dark p {
  color: rgba(255, 255, 255, 0.68);
}

.listen-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.listen-card.featured-dark .chip-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

.chip-btn:hover,
.chip-btn.primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ==========================================================================
   SEO EDITORIAL & FAQ SECTION
   ========================================================================== */
.seo-columns {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.seo-copy h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 28px 0 8px;
  letter-spacing: -0.01em;
}

.seo-copy h3:first-child {
  margin-top: 0;
}

.seo-copy p {
  margin: 0 0 16px;
  color: #2c2a27;
  font-size: 16px;
  line-height: 1.65;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   STICKY MINI-PLAYER BAR
   ========================================================================== */
.sticky-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.sticky-player.is-visible {
  transform: translateY(0);
}

.sticky-progress-line {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.sticky-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  transition: width 0.9s linear;
}

.sticky-player-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-now {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.sticky-cover {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #222;
}

.sticky-meta {
  min-width: 0;
}

.sticky-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-artist {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sticky-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--red-glow);
  transition: transform 0.15s ease, background 0.15s ease;
}

.sticky-play-btn:hover {
  background: var(--red-hover);
  transform: scale(1.06);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 44px;
  border-top: 1px solid var(--ink-border);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 12px;
}

.footer-slogan {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  margin: 0 0 10px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   YEAR SELECTOR BAR & CHART BADGES
   ========================================================================== */
.year-pills-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.year-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.section-block.alt-dark .year-pill {
  background: var(--ink-card);
  color: rgba(255, 255, 255, 0.85);
  border-color: var(--ink-border);
}

.year-pill:hover {
  border-color: var(--red);
  transform: translateY(-1px);
}

.year-pill.is-active {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: var(--white) !important;
  box-shadow: 0 6px 20px var(--red-glow);
}

/* Movement Badges for Weekly Top 40 */
.move-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.move-badge.is-new {
  background: var(--red);
  color: var(--white);
}

.move-badge.is-up {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}

.move-badge.is-down {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.move-badge.is-same {
  background: rgba(11, 11, 11, 0.06);
  color: var(--muted);
}

/* Light-background Chart Rows (for /charts, /todays-top-hits, /top-hits-YYYY) */
.chart-list-light {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.chart-card-light {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.chart-card-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 11, 11, 0.06);
  border-color: rgba(248, 2, 44, 0.35);
}

.chart-card-light .chart-rank {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--red);
  width: 36px;
  text-align: center;
}

.chart-card-light .chart-title {
  color: var(--ink);
}

.chart-card-light .chart-artist {
  color: var(--muted);
}

.chart-meta-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.meta-stat-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  background: var(--paper);
  padding: 2px 7px;
  border-radius: 4px;
}

.stream-ext-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ext-link-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ext-link-pill:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Compact Hero Mode on Subpages */
.hero-stage.is-compact {
  padding: 24px 0 28px;
}

.hero-stage.is-compact .player-spotlight {
  grid-template-columns: 150px 1fr;
  padding: 22px 26px;
  gap: 24px;
}

.hero-stage.is-compact .player-artwork-wrap {
  width: 150px;
  height: 150px;
  border-radius: 14px;
}

.hero-stage.is-compact .artwork-station-chip {
  width: 34px;
  height: 34px;
  bottom: 8px;
  right: 8px;
}

.hero-stage.is-compact .player-brand-row {
  margin-bottom: 8px;
}

.hero-stage.is-compact .player-hero-logo {
  height: 28px;
}

.hero-stage.is-compact .now-track-title {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 2px;
}

.hero-stage.is-compact .now-track-artist {
  font-size: 15px;
  margin-bottom: 10px;
}

.hero-stage.is-compact .now-progress {
  margin-bottom: 14px;
}

.hero-stage.is-compact .player-platforms-bar,
.hero-stage.is-compact .hero-recent-strip {
  display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 980px) {
  .player-spotlight {
    grid-template-columns: 220px 1fr;
    gap: 28px;
    padding: 28px;
  }
  .player-artwork-wrap {
    width: 220px;
    height: 220px;
  }
  .tracks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chart-list-light,
  .chart-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .listen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .seo-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .brand-Divider,
  .brand-slogan-pill {
    display: none;
  }
  .hero-stage {
    padding: 24px 0 32px;
  }
  .player-spotlight,
  .hero-stage.is-compact .player-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }
  .player-artwork-wrap,
  .hero-stage.is-compact .player-artwork-wrap {
    width: min(220px, 68vw);
    height: min(220px, 68vw);
    margin: 0 auto;
  }
  .player-brand-row,
  .now-playing-kicker,
  .player-controls-row,
  .player-platforms-bar {
    justify-content: center;
  }
  .btn-play-giant {
    width: 100%;
  }
  .hero-recent-strip,
  .tracks-grid,
  .chart-grid,
  .chart-list-light,
  .listen-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-block {
    padding: 48px 0;
  }
  .history-search {
    width: 100%;
    min-width: 0;
  }
  .sticky-volume-wrap {
    display: none;
  }
}
