/* ============================================
   RADIOHIPHOP.com — Est. 2000
   25 Years of Hip Hop Radio
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Heritage palette (from 2000-era site) */
  --heritage-blue: #0066CC;
  --heritage-gold: #CC9900;

  /* Modern palette */
  --bg: #08080a;
  --bg-elevated: #101012;
  --bg-card: #16161a;
  --bg-card-hover: #1c1c22;
  --border: #25252b;
  --border-light: #2e2e36;

  --text: #f0f0f2;
  --text-secondary: #9999a0;
  --text-muted: #5a5a62;

  --gold: #FFB800;
  --gold-dim: #cc9300;
  --blue: #2d7fff;
  --red: #FF2D55;
  --red-glow: rgba(255, 45, 85, 0.4);
  --green: #00e676;

  --gradient-gold: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
  --gradient-dark: linear-gradient(180deg, #16161a 0%, #08080a 100%);

  --nav-height: 64px;
  --player-height: 80px;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--player-height); /* Space for player bar */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: #000; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* ===================== TYPOGRAPHY ===================== */
.display { font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.mono { font-family: 'JetBrains Mono', monospace; }

h1, h2, h3 { line-height: 1.1; }

.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* ===================== LAYOUT ===================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }
.section-header .badge { margin-bottom: 16px; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 54px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(255, 184, 0, 0.2));
  transition: transform 0.2s ease;
}
.logo:hover .logo-img {
  transform: scale(1.05);
}
/* Legacy logo-mark/text kept for reference but unused */
.logo-mark { display: none; }
.logo-text { display: none; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-card); }
.nav-links a.active { color: var(--gold); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-search {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  gap: 8px;
  transition: border-color 0.2s;
}
.nav-search:focus-within { border-color: var(--gold-dim); }
.nav-search input {
  background: none; border: none; outline: none;
  color: var(--text); font-size: 0.85rem; width: 160px;
}
.nav-search input::placeholder { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--gradient-gold); color: #000; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255, 184, 0, 0.4); }
.btn-outline { border: 1px solid var(--border-light); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 6px 16px; font-size: 0.75rem; }

/* Mobile menu toggle */
.nav-toggle { display: none; font-size: 1.5rem; padding: 4px; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 60px 0 80px;
  background: radial-gradient(ellipse at top, rgba(0, 102, 204, 0.08), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(255, 184, 0, 0.06), transparent 50%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero logo */
.hero-logo {
  width: 100%;
  max-width: 340px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 24px rgba(255, 184, 0, 0.15));
}

/* On-air badge */
.onair-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 45, 85, 0.12);
  border: 1px solid rgba(255, 45, 85, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.onair-dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-live 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--red);
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 .gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

/* Heritage line */
.heritage-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.heritage-line .est { color: var(--gold); font-weight: 700; }

/* Hero player card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 184, 0, 0.03), transparent, rgba(0, 102, 204, 0.03), transparent);
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-card-content { position: relative; z-index: 1; }

.now-playing-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.now-playing-track {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.now-playing-dj {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 24px;
}

/* Equalizer animation */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin-bottom: 24px;
}
.equalizer .bar {
  flex: 1;
  background: var(--gradient-gold);
  border-radius: 2px;
  min-height: 4px;
  animation: eq-bounce 0.8s ease-in-out infinite;
}
.equalizer.paused .bar { animation-play-state: paused; opacity: 0.3; }
@keyframes eq-bounce {
  0%, 100% { height: 20%; }
  50% { height: 100%; }
}
.equalizer .bar:nth-child(1) { animation-delay: 0s; }
.equalizer .bar:nth-child(2) { animation-delay: 0.1s; }
.equalizer .bar:nth-child(3) { animation-delay: 0.2s; }
.equalizer .bar:nth-child(4) { animation-delay: 0.15s; }
.equalizer .bar:nth-child(5) { animation-delay: 0.05s; }
.equalizer .bar:nth-child(6) { animation-delay: 0.25s; }
.equalizer .bar:nth-child(7) { animation-delay: 0.1s; }
.equalizer .bar:nth-child(8) { animation-delay: 0.3s; }
.equalizer .bar:nth-child(9) { animation-delay: 0.18s; }
.equalizer .bar:nth-child(10) { animation-delay: 0.08s; }
.equalizer .bar:nth-child(11) { animation-delay: 0.22s; }
.equalizer .bar:nth-child(12) { animation-delay: 0.12s; }

/* Channel selector pills */
.channel-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.channel-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.channel-pill:hover { border-color: var(--gold-dim); background: var(--bg-card-hover); }
.channel-pill.active { background: var(--gold); color: #000; border-color: var(--gold); }
.channel-pill .live-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.channel-pill.active .live-dot { background: #000; }

/* ===================== STATS BAR ===================== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===================== CHANNEL CARDS ===================== */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}
.channel-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.channel-card-banner {
  height: 160px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel-card-banner.gold { background: linear-gradient(135deg, #1a1207, #3d2a00); }
.channel-card-banner.blue { background: linear-gradient(135deg, #06101f, #0a2540); }
.channel-card-banner.purple { background: linear-gradient(135deg, #12061a, #2a0a40); }
.channel-card-banner.red { background: linear-gradient(135deg, #1a0606, #400a0a); }

.channel-card-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,184,0,0.1), transparent 70%);
}
.channel-card-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  text-align: center;
  z-index: 1;
  letter-spacing: 0.03em;
}
.channel-card-banner.gold .channel-card-name { color: var(--gold); text-shadow: 0 2px 20px rgba(255,184,0,0.3); }
.channel-card-banner.blue .channel-card-name { color: var(--blue); text-shadow: 0 2px 20px rgba(45,127,255,0.3); }

.channel-card-live {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.channel-card-body { padding: 20px; }
.channel-card-dj {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.channel-card-dj img {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
}
.channel-card-dj-name { font-weight: 600; font-size: 0.9rem; }
.channel-card-dj-role { font-size: 0.75rem; color: var(--text-muted); }

.channel-card-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 16px; }

.channel-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.channel-card-meta span { display: flex; align-items: center; gap: 4px; }

.channel-card-play {
  width: 100%;
  padding: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}
.channel-card-play:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* Add channel card */
.channel-card-add {
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  min-height: 340px;
  transition: all 0.2s;
}
.channel-card-add:hover { border-color: var(--gold-dim); background: var(--bg-card); }
.channel-card-add .plus { font-size: 3rem; color: var(--text-muted); margin-bottom: 12px; }
.channel-card-add h3 { font-size: 1.1rem; margin-bottom: 8px; }
.channel-card-add p { font-size: 0.85rem; color: var(--text-secondary); }

/* ===================== VIDEO GRID ===================== */
.video-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.video-tab {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.video-tab:hover { color: var(--text); border-color: var(--border-light); }
.video-tab.active { background: var(--gold); color: #000; border-color: var(--gold); }

.video-featured {
  margin-bottom: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-featured iframe { width: 100%; aspect-ratio: 16/9; border: none; display: block; }
.video-featured-info { padding: 16px 20px; }
.video-featured-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.video-featured-info p { font-size: 0.85rem; color: var(--text-secondary); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}
.video-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-thumb .duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}
.video-thumb .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.video-card:hover .video-thumb .play-overlay { opacity: 1; }
.video-thumb .play-overlay svg { width: 48px; height: 48px; fill: var(--gold); }

.video-info { padding: 12px 14px; }
.video-info h4 { font-size: 0.9rem; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-info .meta { font-size: 0.75rem; color: var(--text-muted); display: flex; gap: 8px; }
.video-info .source-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}
.source-youtube { background: rgba(255,0,0,0.15); color: #ff4444; }
.source-worldstar { background: rgba(255,184,0,0.15); color: var(--gold); }

/* ===================== SCHEDULE ===================== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.schedule-day {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  min-height: 200px;
}
.schedule-day-header {
  font-family: 'Anton', sans-serif;
  font-size: 0.9rem;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  color: var(--gold);
}
.schedule-day.today .schedule-day-header { color: var(--red); }
.schedule-slot {
  padding: 8px;
  background: var(--bg-elevated);
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 3px solid var(--gold);
}
.schedule-slot.blue { border-left-color: var(--blue); }
.schedule-slot .time { font-size: 0.7rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.schedule-slot .show { font-size: 0.8rem; font-weight: 600; margin-top: 2px; }

/* ===================== DJ PORTAL CTA ===================== */
.dj-portal {
  background: linear-gradient(135deg, #0c0c10, #14141a);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.dj-portal::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(circle, rgba(255,184,0,0.05), transparent 60%);
}
.dj-portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.dj-portal h2 { font-size: 2.2rem; margin-bottom: 16px; }
.dj-portal p { color: var(--text-secondary); margin-bottom: 24px; }

.how-it-works { display: flex; flex-direction: column; gap: 16px; }
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.how-step-num {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--gradient-gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
}
.how-step-content h4 { font-size: 0.95rem; margin-bottom: 4px; }
.how-step-content p { font-size: 0.8rem; color: var(--text-secondary); margin: 0; }

/* Upload zone preview */
.upload-preview {
  background: var(--bg-card);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.upload-preview:hover { border-color: var(--gold-dim); }
.upload-icon { font-size: 2.5rem; margin-bottom: 12px; }
.upload-preview h4 { margin-bottom: 8px; }
.upload-preview p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 16px; }

/* Login form */
.dj-login-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.dj-login-form h3 { margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--gold-dim); }

/* ===================== COMMUNITY ===================== */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.chat-preview, .forum-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.preview-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.preview-header h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.preview-body { padding: 16px 20px; max-height: 300px; overflow-y: auto; }

.chat-msg {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.chat-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.chat-content { flex: 1; }
.chat-name { font-size: 0.8rem; font-weight: 600; }
.chat-name .badge-dj { font-size: 0.6rem; background: var(--gold); color: #000; padding: 1px 6px; border-radius: 3px; margin-left: 4px; vertical-align: middle; }
.chat-text { font-size: 0.85rem; color: var(--text-secondary); }

.forum-thread {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.forum-thread:last-child { border-bottom: none; }
.forum-thread h4 { font-size: 0.9rem; margin-bottom: 4px; }
.forum-thread .meta { font-size: 0.75rem; color: var(--text-muted); display: flex; gap: 12px; }

/* ===================== HERITAGE BANNER ===================== */
.heritage-banner {
  background: linear-gradient(135deg, #0a0a0e 0%, #14141a 50%, #0a0a0e 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.heritage-banner::before {
  content: '26';
  position: absolute;
  font-family: 'Anton', sans-serif;
  font-size: 30rem;
  color: rgba(255, 184, 0, 0.03);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.heritage-banner-content { position: relative; z-index: 1; }
.heritage-banner h2 {
  font-family: 'Anton', sans-serif;
  font-size: 3rem;
  margin-bottom: 16px;
}
.heritage-banner h2 .years {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.heritage-timeline {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.timeline-item { text-align: center; }
.timeline-year {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
}
.timeline-desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer .logo-img { height: 64px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-secondary); margin-top: 12px; max-width: 300px; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.85rem; color: var(--text-secondary); }
.footer-col a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--gold); color: #000; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================== PLAYER BAR ===================== */
.player-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--player-height);
  background: rgba(16, 16, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
}

.player-channel-select {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  cursor: pointer;
  min-width: 160px;
}
.player-channel-select:hover { border-color: var(--gold-dim); }
.player-channel-select .ch-name { font-size: 0.8rem; font-weight: 600; }
.player-channel-select .ch-live { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }

.player-controls { display: flex; align-items: center; gap: 12px; }
.player-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.player-btn:hover { background: var(--bg-card-hover); }
.player-btn svg { width: 18px; height: 18px; fill: var(--text); }

.player-btn.play-btn {
  width: 48px; height: 48px;
  background: var(--gradient-gold);
  border: none;
}
.player-btn.play-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(255,184,0,0.4); }
.player-btn.play-btn svg { fill: #000; }

.player-info {
  flex: 1;
  min-width: 0;
}
.player-track-name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-track-dj {
  font-size: 0.75rem;
  color: var(--gold);
}

.player-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
}
.player-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}
.player-progress-fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: width 0.1s linear;
}
.player-time { font-size: 0.7rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; min-width: 70px; text-align: right; }

.player-volume { display: flex; align-items: center; gap: 8px; }
.player-volume input[type=range] {
  -webkit-appearance: none;
  width: 80px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
.player-volume input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
}

/* Equalizer in player */
.player-eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
}
.player-eq .bar {
  width: 3px;
  background: var(--gold);
  border-radius: 1px;
  min-height: 3px;
  animation: eq-bounce 0.8s ease-in-out infinite;
}
.player-eq.paused .bar { animation-play-state: paused; opacity: 0.3; }

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1;
}
.modal-close:hover { background: var(--red); color: #fff; }
.modal iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal-body { padding: 24px; }
.modal-body h2 { margin-bottom: 8px; }
.modal-body p { color: var(--text-secondary); margin-bottom: 16px; }

/* ===================== BADGE ===================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 100px;
}
.badge-gold { background: rgba(255,184,0,0.12); border: 1px solid rgba(255,184,0,0.3); color: var(--gold); }
.badge-blue { background: rgba(45,127,255,0.12); border: 1px solid rgba(45,127,255,0.3); color: var(--blue); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .dj-portal-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .schedule-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-search { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn-outline { display: none; }

  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.8rem; }

  .hero { padding: 32px 0 48px; }
  .stats-bar { gap: 24px; flex-wrap: wrap; }
  .stat-num { font-size: 1.8rem; }

  .channels-grid { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr 1fr; }
  .heritage-timeline { gap: 24px; }
  .heritage-banner h2 { font-size: 2rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .player-bar { padding: 0 12px; gap: 8px; }
  .player-channel-select { min-width: auto; }
  .player-channel-select .ch-name { display: none; }
  .player-progress { display: none; }
  .player-volume { display: none; }
  .player-track-name { font-size: 0.75rem; }

  .dj-portal { padding: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .schedule-grid { grid-template-columns: 1fr; }
}

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  padding: 12px 16px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}
.nav-drawer a:hover { background: var(--bg-card); color: var(--text); }

/* ===================== MERCH CUSTOMIZER ===================== */
.merch-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.merch-preview { position: sticky; top: 90px; }
.merch-stage {
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px; display: flex; align-items: center; justify-content: center;
  min-height: 360px; position: relative; overflow: hidden;
}
.merch-stage::before {
  content: ''; position: absolute; top: -40%; left: -20%; width: 80%; height: 80%;
  background: radial-gradient(ellipse, rgba(255,184,0,0.06) 0%, transparent 60%); pointer-events: none;
}
.merch-frame { position: relative; display: inline-block; max-width: 320px; width: 100%; line-height: 0; }
.merch-price-badge {
  position: absolute; top: 8px; right: 8px; font-family: 'Anton', sans-serif;
  font-size: 1.8rem; color: var(--gold); z-index: 10; text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.merch-logo-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.merch-logo-overlay img {
  position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%);
  width: 40%; opacity: 0.92; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  transition: width 0.15s ease, top 0.15s ease;
}
.merch-slider-group { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.merch-slider-header {
  font-family: 'Anton', sans-serif; font-size: 1.1rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text); display: block; margin-bottom: 4px;
}
.merch-slider-hint { font-size: 0.75rem; color: var(--text-muted); margin: 0 0 10px; font-style: italic; }
.merch-slider-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.merch-slider-label { font-size: 0.85rem; font-weight: 600; color: var(--text); min-width: 65px; }
.merch-slider-val { font-family: 'Anton', sans-serif; font-size: 0.85rem; color: var(--gold); min-width: 40px; text-align: right; }
.rhh-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 8px; background: var(--bg-card); border-radius: 4px; outline: none; }
.rhh-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold) url('../assets/logo/rhh-logo-thumb.png') center/28px 28px no-repeat;
  cursor: grab; border: 2px solid var(--bg); box-shadow: 0 0 8px rgba(255,184,0,0.5);
}
.rhh-slider::-webkit-slider-thumb:active {
  cursor: grabbing; box-shadow: 0 0 18px rgba(255,184,0,0.8), 0 0 6px rgba(0,0,0,0.3); transform: scale(1.1);
}
.rhh-slider::-moz-range-thumb {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold) url('../assets/logo/rhh-logo-thumb.png') center/28px 28px no-repeat;
  cursor: grab; border: 2px solid var(--bg); box-shadow: 0 0 8px rgba(255,184,0,0.5);
}
.merch-controls { display: flex; flex-direction: column; gap: 28px; }
.merch-control-group { display: flex; flex-direction: column; gap: 12px; }
.merch-control-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-secondary);
}
.merch-color-count { color: var(--gold); font-weight: 400; margin-left: 8px; }
.product-type-grid { display: flex; gap: 12px; }
.product-type {
  flex: 1; padding: 16px; background: var(--bg-card); border: 2px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.product-type:hover { border-color: var(--gold-dim); }
.product-type.active { border-color: var(--gold); background: rgba(255,184,0,0.08); box-shadow: 0 0 12px rgba(255,184,0,0.25); }
.merch-color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.merch-color-swatch {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden;
  cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s, transform 0.15s;
  display: flex; flex-direction: column;
}
.merch-color-swatch:hover { transform: scale(1.08); border-color: rgba(255,255,255,0.3); }
.merch-color-swatch.active { border-color: var(--gold); box-shadow: 0 0 12px rgba(255,184,0,0.4); }
.merch-color-swatch > span:first-child { flex: 1; display: block; }
.merch-swatch-name { background: rgba(0,0,0,0.8); color: #fff; font-size: 0.6rem; text-align: center; padding: 2px; }
.merch-add-row { flex-direction: row; align-items: center; gap: 16px; margin-top: 8px; }
.merch-qty-wrap { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.merch-qty-btn { background: var(--bg-card); color: var(--text); border: none; width: 40px; height: 44px; font-size: 1.2rem; cursor: pointer; transition: background 0.2s; }
.merch-qty-btn:hover { background: var(--bg-card-hover); }
.merch-qty-input { background: var(--bg); color: var(--text); border: none; width: 50px; height: 44px; text-align: center; font-size: 1rem; font-weight: 600; outline: none; }
.merch-add-cart { flex: 1; }
@media (max-width: 1024px) { .merch-wrap { grid-template-columns: 1fr; } .merch-preview { position: static; } }
@media (max-width: 768px) { .merch-stage { padding: 24px; min-height: 280px; } .merch-add-row { flex-direction: column; } }

/* ==================== INTRO OVERLAY ==================== */
.intro-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: radial-gradient(ellipse at center, #0d0d10 0%, #050507 100%);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.intro-overlay.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-bg-pulse {
  position: absolute; top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,184,0,0.08) 0%, transparent 70%);
  animation: intro-pulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes intro-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
.intro-content {
  position: relative; z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 500px;
}
.intro-logo {
  width: 100%; max-width: 340px;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 4px 30px rgba(255,184,0,0.2));
}
.intro-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem; color: var(--text-secondary);
  margin-bottom: 8px; letter-spacing: 0.5px;
}
.intro-est {
  font-family: 'Anton', sans-serif;
  font-size: 0.9rem; color: var(--gold);
  letter-spacing: 3px; margin-bottom: 40px;
}
.intro-enter-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #FF8C00 100%);
  color: #000; border: none;
  padding: 16px 40px;
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem; letter-spacing: 2px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(255,184,0,0.35);
}
.intro-enter-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 40px rgba(255,184,0,0.5);
}
.intro-enter-btn:active { transform: translateY(0) scale(0.98); }
.intro-enter-btn svg { fill: #000; }
.intro-skip-btn {
  display: block; margin: 20px auto 0;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 0.8rem; cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.intro-skip-btn:hover { color: var(--text-secondary); }
.intro-hint {
  margin-top: 16px;
  font-size: 0.75rem; color: var(--text-muted);
}
@media (max-width: 768px) {
  .intro-logo { max-width: 240px; }
  .intro-tagline { font-size: 0.9rem; }
  .intro-enter-btn { padding: 14px 32px; font-size: 1rem; }
}

/* ==================== HAT PRODUCT IMAGES ==================== */
.merch-product-img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-sm);
}
.merch-product-svg {
  width: 100%; height: auto; display: block;
}
/* Color grid: scrollable for 22 colors */
.merch-color-grid {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.merch-color-grid::-webkit-scrollbar { width: 6px; }
.merch-color-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.merch-color-swatch > span:first-child {
  background-size: cover !important;
  background-position: center !important;
}

/* ===================== VINYL RECORD ===================== */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.vinyl-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    #1a1a1a 0%, #1a1a1a 28%,
    #0d0d0d 28.5%, #1a1a1a 29%,
    #111 30%, #0a0a0a 45%,
    #111 46%, #0a0a0a 60%,
    #111 61%, #0a0a0a 75%,
    #111 76%, #0a0a0a 90%,
    #111 91%, #08080a 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 8px 32px rgba(0,0,0,0.8),
    inset 0 0 60px rgba(0,0,0,0.5);
  position: relative;
  animation: vinyl-spin 3s linear infinite;
  animation-play-state: paused;
}

.vinyl-wrap.spinning .vinyl-disc {
  animation-play-state: running;
}

@keyframes vinyl-spin {
  to { transform: rotate(360deg); }
}

.vinyl-grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 3px
  );
}

.vinyl-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.5);
}

.vinyl-logo {
  width: 80%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

.vinyl-hole {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
  z-index: 2;
}

.vinyl-tonearm {
  position: absolute;
  top: -10px;
  right: -5px;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #555, #888, #aaa);
  border-radius: 2px;
  transform-origin: right center;
  transform: rotate(35deg);
  z-index: 3;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.vinyl-tonearm::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #888;
  box-shadow: 0 0 0 2px #555;
}

@media (max-width: 768px) {
  .vinyl-wrap { width: 140px; height: 140px; }
  .hero-right { gap: 12px; }
}
