/* ============================================
   RadioSite - Base Styles
   Mobile-first responsive framework
   ============================================ */

/* --- CSS Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-hover); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- CSS Custom Properties (Defaults) --- */
:root {
  /* Colors - overridden by themes and config */
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-rgb: 99, 102, 241;
  --secondary: #ec4899;
  --secondary-rgb: 236, 72, 153;
  --accent: #06b6d4;
  --accent-rgb: 6, 182, 212;
  --background: #0f172a;
  --background-rgb: 15, 23, 42;
  --surface: #1e293b;
  --surface-rgb: 30, 41, 59;
  --surface-alt: #334155;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --overlay: rgba(0, 0, 0, 0.6);

  /* Typography */
  --font-heading: 'Montserrat', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15), 0 5px 10px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 20px rgba(var(--primary-rgb), 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Layout */
  --header-height: 64px;
  --max-width: 1280px;
  --sidebar-width: 280px;

  /* Z-index layers */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal-backdrop: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-player-mini: 250;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: var(--space-md);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: var(--space-md); color: var(--text-secondary); }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--text-secondary); }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Container & Grid --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* --- Section Base --- */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p { max-width: 600px; margin: 0 auto; }
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: var(--space-md) auto;
  border-radius: var(--radius-full);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: white;
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}
.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(var(--primary-rgb), 0.1);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-full);
}
.btn-icon.btn-lg { width: 56px; height: 56px; font-size: 1.3rem; }

/* --- Cards --- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.3);
}
.card-body { padding: var(--space-lg); }
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-glass {
  background: rgba(var(--surface-rgb), 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* --- Site Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
  background: rgba(var(--background-rgb), 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  flex-wrap: wrap;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}
.header-brand img {
  height: 40px;
  width: auto;
  border-radius: var(--radius-sm);
}
.header-nav {
  display: none;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}
.header-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--text);
}
.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.header-listen-btn {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--background);
  z-index: var(--z-modal-backdrop);
  padding: var(--space-xl);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  display: block;
  padding: var(--space-md) 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.mobile-menu .social-links a {
  font-size: 1.5rem;
  border: none;
  padding: var(--space-sm);
}

/* Mini Player (in header when scrolled past hero) */
.mini-player {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  max-width: 300px;
}
.mini-player.visible {
  display: flex;
}
.mini-player-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.mini-player-info {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Hero / Player Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(var(--primary-rgb), 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(var(--secondary-rgb), 0.1) 0%, transparent 60%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--background-rgb), 0.3) 0%, var(--background) 100%);
}
.hero-content {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  max-width: 800px;
  width: 100%;
}
.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  margin: 0 auto var(--space-xl);
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255,255,255,0.1);
}
.hero-station-name {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}
.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  font-weight: 300;
}

/* --- Main Player --- */
.player-container {
  background: rgba(var(--surface-rgb), 0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  margin: 0 auto;
}
.player-now-playing {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.player-artwork {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-lg);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}
.player-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.player-live-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--danger);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}
.player-live-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.player-track-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  min-height: 1.4em;
}
.player-track-artist {
  font-size: 0.95rem;
  color: var(--text-secondary);
  min-height: 1.2em;
}
.player-show-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* Player Controls */
.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.play-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.play-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: -1;
  opacity: 0;
  animation: none;
}
.play-btn.playing::before {
  opacity: 1;
  animation: play-pulse 2s infinite;
}
@keyframes play-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
}
.play-btn:hover {
  transform: scale(1.08);
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.volume-control i {
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  flex-shrink: 0;
}
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  outline: none;
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(var(--primary-rgb), 0.4);
}
.volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
}

/* Equalizer Animation */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  justify-content: center;
  margin-top: var(--space-md);
}
.eq-bars.active .eq-bar {
  animation-play-state: running;
}
.eq-bar {
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  animation: eq-bounce 1s ease-in-out infinite;
  animation-play-state: paused;
}
.eq-bar:nth-child(1) { height: 60%; animation-delay: 0s; }
.eq-bar:nth-child(2) { height: 40%; animation-delay: 0.1s; }
.eq-bar:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 50%; animation-delay: 0.3s; }
.eq-bar:nth-child(5) { height: 70%; animation-delay: 0.15s; }
.eq-bar:nth-child(6) { height: 45%; animation-delay: 0.25s; }
.eq-bar:nth-child(7) { height: 65%; animation-delay: 0.05s; }
@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* Recently Played */
.recently-played {
  margin-top: var(--space-xl);
}
.recently-played-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}
.recently-played-header h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}
.recently-played-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.rp-track {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.rp-track:hover {
  background: rgba(var(--primary-rgb), 0.05);
}
.rp-track-art {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  overflow: hidden;
}
.rp-track-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rp-track-info {
  flex: 1;
  min-width: 0;
}
.rp-track-info .track-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rp-track-info .track-artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rp-track-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* --- Schedule Section --- */
.schedule-section { background: var(--background); }
.schedule-tabs {
  display: flex;
  overflow-x: auto;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-sm);
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
}
.schedule-tabs::-webkit-scrollbar { display: none; }
.schedule-tab {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: all var(--transition-base);
  cursor: pointer;
}
.schedule-tab:hover,
.schedule-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.schedule-day { display: none; }
.schedule-day.active { display: block; }
.schedule-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  align-items: center;
}
.schedule-item:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-md);
}
.schedule-item.current-show {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-glow);
  position: relative;
}
.schedule-item.current-show::before {
  content: 'ON AIR';
  position: absolute;
  top: -10px;
  right: var(--space-md);
  background: var(--danger);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.schedule-time {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  min-width: 110px;
  flex-shrink: 0;
}
.schedule-show-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--surface-alt);
  flex-shrink: 0;
}
.schedule-show-info { flex: 1; }
.schedule-show-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2px;
}
.schedule-presenter {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.schedule-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* --- News Section --- */
.news-section { background: var(--surface); }
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.news-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--surface-alt);
}
.news-card-body {
  padding: var(--space-lg);
}
.news-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.news-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}
.news-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}
.news-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}
.news-read-more i { transition: transform var(--transition-fast); }
.news-read-more:hover i { transform: translateX(4px); }

/* News Modal */
.news-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}
.news-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.news-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--surface);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}
.news-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.news-modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all var(--transition-fast);
}
.news-modal-close:hover { background: rgba(0,0,0,0.8); }
.news-modal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.news-modal-body {
  padding: var(--space-xl);
}
.news-modal-body h2 { margin-bottom: var(--space-md); }
.news-modal-body .date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}
.news-modal-body .content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.news-modal-body .content p {
  margin-bottom: var(--space-md);
}

/* --- Contact Section --- */
.contact-section { background: var(--background); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-text h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.contact-info-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}
.contact-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}
.social-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.contact-form { width: 100%; }
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  transition: border-color var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* --- Footer --- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.footer-brand img {
  height: 32px;
  width: auto;
  border-radius: var(--radius-sm);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.footer-links a:hover { color: var(--text); }
.footer-social {
  display: flex;
  gap: var(--space-sm);
}
.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-powered {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* --- Utility Classes --- */
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
.loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: slideInRight 0.3s ease-out;
  min-width: 280px;
  max-width: 400px;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--accent); }
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Scroll to top */
.scroll-top-btn {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  transform: translateY(-4px);
}

/* --- Responsive Breakpoints --- */

/* Tablet (768px+) */
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero-logo {
    width: 150px;
    height: 150px;
  }
  .player-artwork {
    width: 200px;
    height: 200px;
  }
  .header-nav { display: none; }
  .header-listen-btn { display: none; }
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-section { min-height: 100vh; }
  .player-container {
    padding: var(--space-2xl);
  }
  .header-nav { display: flex; }
  .header-listen-btn { display: inline-flex; }
  .mobile-menu-toggle { display: none; }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-2xl) 0; }
  .player-container { padding: var(--space-lg); }
  .hero-logo {
    width: 80px;
    height: 80px;
  }
  .player-artwork {
    width: 120px;
    height: 120px;
  }
  .play-btn {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }
  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .schedule-show-img {
    width: 100%;
    height: 150px;
  }
  .toast { min-width: unset; width: calc(100vw - 2rem); }
  .scroll-top-btn {
    bottom: var(--space-md);
    right: var(--space-md);
  }
}

/* Print styles */
@media print {
  .site-header,
  .player-controls,
  .volume-control,
  .scroll-top-btn,
  .mobile-menu,
  .contact-form { display: none !important; }
  body { color: #000; background: #fff; }
  .section { page-break-inside: avoid; }
}

/* ============================================
   Extended Features
   ============================================ */

/* --- Album Art --- */
.player-artwork-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  margin: 0 auto var(--space-md);
}
.player-artwork-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.player-artwork-wrap .artwork-placeholder {
  font-size: 2.5rem;
  color: var(--text-muted);
}
.playing .player-artwork-wrap img {
}

/* --- Audio Visualizer --- */
.audio-visualizer-wrap {
  width: 100%;
  height: 60px;
  margin: var(--space-sm) 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.audio-visualizer-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Sleep Timer --- */
.sleep-timer {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}
.sleep-timer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.sleep-timer-btn:hover { background: rgba(var(--primary-rgb), 0.2); color: var(--text); }
.sleep-timer-btn.active { background: var(--primary); color: white; }
.sleep-timer-dropdown {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  display: none;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  min-width: 140px;
}
.sleep-timer-dropdown.open { display: block; }
.sleep-timer-dropdown button {
  display: block;
  width: 100%;
  padding: 0.4rem 0.75rem;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.sleep-timer-dropdown button:hover { background: rgba(var(--primary-rgb), 0.1); color: var(--text); }
.sleep-countdown {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 600;
  margin-left: 0.3rem;
}

/* --- Listener Count --- */
.listener-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}
.listener-count .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* --- Song Voting --- */
.song-voting {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.vote-btn:hover { background: rgba(var(--primary-rgb), 0.18); color: var(--text); }
.vote-btn.voted-up { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.vote-btn.voted-down { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.vote-btn .vote-count { font-weight: 600; font-size: 0.75rem; }

/* Small vote buttons for recently played */
.rp-vote-btns { display: flex; gap: 0.25rem; align-items: center; margin-left: auto; padding: 0 0.3rem; flex-shrink: 0; }
.vote-btn-sm {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; border: none;
  background: rgba(var(--primary-rgb), 0.08); color: var(--text-secondary);
  font-size: 0.7rem; cursor: pointer; transition: all var(--transition-fast);
}
.vote-btn-sm:hover { background: rgba(var(--primary-rgb), 0.2); color: var(--text); }
.vote-btn-sm.voted-up { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.vote-btn-sm.voted-down { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

/* --- Song History (panel in player) --- */
.song-history {
  margin-top: var(--space-lg);
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}
.song-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}
.song-history-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.song-history-list {
  max-height: 300px;
  overflow-y: auto;
}
.sh-track {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.sh-track:hover { background: rgba(var(--primary-rgb), 0.05); }
.sh-track-art {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow: hidden;
}
.sh-track-art img { width: 100%; height: 100%; object-fit: cover; }
.sh-track-info { flex: 1; min-width: 0; }
.sh-track-info .track-name { font-size: 0.85rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-track-info .track-artist { font-size: 0.75rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-track-time { font-size: 0.7rem; color: var(--text-muted); }

/* --- Dark Mode Toggle --- */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}
.dark-mode-toggle:hover { background: rgba(var(--primary-rgb), 0.15); color: var(--text); }

/* =============================================
   Light Mode Override
   Applied to dark-default themes (Elegant, Neon, Bold, base)
   and as a reinforcement for light themes
   ============================================= */
body.light-mode {
  --background: #f8fafc;
  --background-rgb: 248, 250, 252;
  --surface: #ffffff;
  --surface-rgb: 255, 255, 255;
  --surface-alt: #f1f5f9;
  --text: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --overlay: rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 5px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 20px rgba(var(--primary-rgb), 0.15);
}
body.light-mode .site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.light-mode .hero-bg::after {
  background: linear-gradient(180deg, rgba(248,250,252,0.3) 0%, #f8fafc 100%);
}
body.light-mode .player-container {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .card-glass {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.06);
}
body.light-mode .mobile-menu { background: #ffffff; }
body.light-mode .news-modal { background: #ffffff; }
body.light-mode .toast {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
body.light-mode .site-footer {
  background: #1e293b;
  color: #f1f5f9;
}
body.light-mode .site-footer .footer-brand { color: #f1f5f9; }
body.light-mode .site-footer .footer-links a { color: #cbd5e1; }
body.light-mode .site-footer .footer-links a:hover { color: #f1f5f9; }
body.light-mode .site-footer .footer-copyright { color: #94a3b8; }
body.light-mode .dark-mode-toggle {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-secondary);
}
body.light-mode .dark-mode-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text);
}
body.light-mode .sleep-timer-dropdown {
  background: #ffffff;
  border-color: var(--border);
}
body.light-mode .stream-selector-dropdown {
  background: #ffffff;
}

/* =============================================
   Dark Mode Override
   Applied to light-default themes (Classic, Starter)
   when user toggles to dark mode
   ============================================= */
body.dark-mode {
  --background: #0f172a;
  --background-rgb: 15, 23, 42;
  --surface: #1e293b;
  --surface-rgb: 30, 41, 59;
  --surface-alt: #334155;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --overlay: rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.2), 0 5px 10px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}
body.dark-mode .site-header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.dark-mode .hero-bg::after {
  background: linear-gradient(180deg, rgba(15,23,42,0.3) 0%, #0f172a 100%);
}
body.dark-mode .player-container {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .card-glass {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .mobile-menu { background: #0f172a; }
body.dark-mode .news-modal { background: #1e293b; }
body.dark-mode .toast {
  background: #1e293b;
}
body.dark-mode .site-footer {
  background: #1e293b;
  color: #f1f5f9;
}
body.dark-mode .site-footer .footer-brand { color: #f1f5f9; }
body.dark-mode .site-footer .footer-links a { color: #cbd5e1; }
body.dark-mode .site-footer .footer-links a:hover { color: #f1f5f9; }
body.dark-mode .site-footer .footer-copyright { color: #94a3b8; }
body.dark-mode .dark-mode-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}
body.dark-mode .dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
}
body.dark-mode .sleep-timer-dropdown {
  background: #1e293b;
}
body.dark-mode .stream-selector-dropdown {
  background: #1e293b;
}

/* --- Weather Widget --- */
.weather-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(var(--primary-rgb), 0.08);
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.weather-widget .weather-icon { font-size: 1.1rem; }
.weather-widget .weather-temp { font-weight: 600; color: var(--text); }

/* --- Multi-Stream Selector --- */
.stream-selector {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-md);
}
.stream-option {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}
.stream-option:hover { background: rgba(var(--primary-rgb), 0.15); color: var(--text); }
.stream-option.active { background: var(--primary); color: white; border-color: var(--primary); }

/* --- DJ / Presenter Profiles --- */
.dj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.dj-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.dj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dj-card-img {
  width: 100%;
  height: 200px;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}
.dj-card-img img { width: 100%; height: 100%; object-fit: cover; }
.dj-card-body { padding: var(--space-lg); }
.dj-card-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.dj-card-role { font-size: 0.85rem; color: var(--primary); font-weight: 500; margin-bottom: var(--space-sm); }
.dj-card-bio { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: var(--space-sm); }
.dj-card-shows { font-size: 0.8rem; color: var(--text-muted); margin-bottom: var(--space-sm); }
.dj-card-shows i { color: var(--primary); margin-right: 0.25rem; }
.dj-card-social { display: flex; gap: var(--space-sm); }
.dj-card-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}
.dj-card-social a:hover { background: var(--primary); color: white; }

/* --- Photo Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-sm);
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-alt);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-base); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-sm);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption { color: white; font-size: 0.8rem; }
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  justify-content: center;
}
.gallery-tab {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.gallery-tab:hover, .gallery-tab.active { background: var(--primary); color: white; }

/* Gallery Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background var(--transition-fast);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: var(--space-lg); }
.lightbox-next { right: var(--space-lg); }
.lightbox-caption {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9rem;
  text-align: center;
  max-width: 600px;
}

/* --- Video / Webcam --- */
.webcam-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
}
.webcam-container iframe,
.webcam-container video {
  width: 100%;
  height: 100%;
  border: none;
}
.webcam-status {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  background: rgba(0,0,0,0.6);
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}
.webcam-status .pulse-dot { background: #ef4444; }

/* --- About / Team --- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}
.about-mission {
  padding: var(--space-xl);
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  margin-bottom: var(--space-2xl);
}
.about-mission h3 { color: var(--primary); margin-bottom: var(--space-sm); font-family: var(--font-heading); }
.about-mission p { color: var(--text-secondary); line-height: 1.7; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
}
.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--transition-base);
}
.team-card:hover { transform: translateY(-3px); }
.team-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-muted);
  overflow: hidden;
}
.team-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card-name { font-family: var(--font-heading); font-weight: 700; margin-bottom: 0.2rem; }
.team-card-role { font-size: 0.85rem; color: var(--primary); margin-bottom: var(--space-sm); }
.team-card-bio { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* --- Song Request --- */
.request-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.request-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 480px) {
  .request-form .form-row { grid-template-columns: 1fr; }
}

/* --- Dedication Messages --- */
.dedication-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* --- Polls --- */
.polls-list {
  max-width: 600px;
  margin: 0 auto;
}
.poll-card {
  background: var(--surface);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: var(--space-lg);
}
.poll-question {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}
.poll-option {
  position: relative;
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-fast);
}
.poll-option:hover { border-color: var(--primary); }
.poll-option.selected { border-color: var(--primary); background: rgba(var(--primary-rgb), 0.1); }
.poll-option-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: rgba(var(--primary-rgb), 0.12);
  border-radius: var(--radius-md);
  transition: width var(--transition-slow);
}
.poll-option-text {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.poll-option-pct { font-weight: 700; color: var(--primary); font-size: 0.85rem; }
.poll-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: var(--space-sm); }

/* --- Most Played Charts --- */
.charts-list {
  max-width: 700px;
  margin: 0 auto;
}
.chart-track {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-fast);
}
.chart-track:hover { background: rgba(var(--primary-rgb), 0.05); }
.chart-track:last-child { border-bottom: none; }
.chart-position {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.chart-position.top-3 { color: var(--accent); font-size: 1.2rem; }
.chart-track-art {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  overflow: hidden;
}
.chart-track-art img { width: 100%; height: 100%; object-fit: cover; }
.chart-track-info { flex: 1; min-width: 0; }
.chart-track-info .track-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chart-track-info .track-artist { font-size: 0.85rem; color: var(--text-secondary); }
.chart-track-plays { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

/* --- Donation / Tip Jar --- */
.donation-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.donation-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}
.donation-methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}
.donation-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.donation-btn-paypal { background: #0070ba; color: white; }
.donation-btn-paypal:hover { background: #005ea6; color: white; }
.donation-btn-stripe { background: #635bff; color: white; }
.donation-btn-stripe:hover { background: #4f46e5; color: white; }
.donation-btn-custom { background: var(--primary); color: white; }
.donation-btn-custom:hover { opacity: 0.9; color: white; }

/* --- Widget Embeds (Chat, Voicenote, Listen Again) --- */
.widget-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.chat-embed { min-height: 500px; }
.chat-embed #autopo-chat { width: 100%; min-height: 500px; }
.voicenote-embed { max-width: 480px; margin: 0 auto; }
.listenagain-embed { min-height: 400px; }
.listenagain-embed #listen-again-widget { width: 100%; min-height: 400px; }

/* --- Sponsor / Ad Banners --- */
.ad-banner {
  display: block;
  max-width: 728px;
  margin: var(--space-lg) auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
}
.ad-banner img { width: 100%; height: auto; border-radius: var(--radius-md); }
.ad-banner-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.ad-banner-header { margin-bottom: var(--space-sm); }
.ad-banner-sidebar {
  margin-bottom: var(--space-lg);
  max-width: 300px;
}

/* --- Multi-Stream Responsive --- */
@media (max-width: 480px) {
  .stream-selector { gap: var(--space-xs); }
  .stream-option { font-size: 0.75rem; padding: 0.35rem 0.7rem; }
  .dj-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .team-grid { grid-template-columns: 1fr; }
  .lightbox-nav { width: 36px; height: 36px; font-size: 1.2rem; }
}
