/* ============================================
   TUNE UP FM — Premium Design System
   Blue/Purple gradient brand palette
   Dark mode, glassmorphism, broadcast-grade UI
   ============================================ */

/* --- Imports & Variables --- */
:root {
  --brand-1: #5b6ef5;
  --brand-2: #8b5cf6;
  --brand-3: #a78bfa;
  --brand-grad: linear-gradient(135deg, #5b6ef5 0%, #8b5cf6 50%, #c084fc 100%);
  --brand-grad-h: linear-gradient(135deg, #6b7ef8 0%, #9b6cf9 50%, #d094ff 100%);
  --bg-base: #08080f;
  --bg-deep: #040408;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --bg-glass: rgba(11,11,20,0.85);
  --border: rgba(255,255,255,0.08);
  --border-brand: rgba(91,110,245,0.4);
  --text-primary: #f0f0ff;
  --text-secondary: #9090b8;
  --text-muted: #4a4a70;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-glow: 0 0 40px rgba(91,110,245,0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-player: 0 -4px 40px rgba(0,0,0,0.6);
  --player-h: 72px;
  --header-h: 64px;
  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  padding-top: var(--header-h);
  padding-bottom: var(--player-h);
  overflow-x: hidden;
}

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { color: var(--text-secondary); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(91,110,245,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(91,110,245,0.5); }

/* ============================================
   HEADER
   ============================================ */
.app-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}
.app-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.header-container {
  max-width: 1400px; margin: 0 auto;
  height: 100%; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.brand-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-favicon { width: 32px; height: 32px; object-fit: contain; }
.brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 18px; font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
.brand-fm {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 3px;
}
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-menu .nav-link {
  padding: 7px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.nav-menu .nav-link.active { color: var(--brand-3); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
.nav-search-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition), background var(--transition);
  font-size: 15px;
}
.nav-search-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }

/* Mobile toggle */
.mobile-nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; padding: 6px; cursor: pointer;
}
.mobile-nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .mobile-nav-toggle { display: flex; }
}

/* --- Mobile Drawer --- */
.mobile-drawer {
  position: fixed; top: 0; right: -100%; width: min(340px, 100vw);
  height: 100vh; z-index: 1100;
  background: var(--bg-deep);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  backdrop-filter: blur(20px);
}
.mobile-drawer.open { right: 0; }
.drawer-backdrop {
  display: none; position: fixed; inset: 0;
  z-index: 1050; background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.drawer-backdrop.show { display: block; }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.drawer-close {
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--text-secondary); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.drawer-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.drawer-nav { display: flex; flex-direction: column; padding: 16px; gap: 4px; flex: 1; }
.drawer-link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.drawer-link i { width: 20px; text-align: center; font-size: 14px; }
.drawer-link:hover, .drawer-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.drawer-link.active { color: var(--brand-3); background: rgba(91,110,245,0.1); }

/* --- Search Overlay --- */
.search-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(4,4,8,0.96); backdrop-filter: blur(20px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10vh;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-inner { width: min(680px, 90vw); }
.search-input {
  width: 100%; padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-lg);
  color: var(--text-primary); font-size: 18px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-input:focus { border-color: var(--brand-1); box-shadow: 0 0 0 3px rgba(91,110,245,0.2); }
.search-close {
  position: fixed; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.search-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.1); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 600;
  transition: all var(--transition); cursor: pointer;
  border: none; text-decoration: none;
}
.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(91,110,245,0.35);
}
.btn-primary:hover {
  background: var(--brand-grad-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(91,110,245,0.5);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-brand);
  color: var(--brand-3);
}
.btn-outline:hover { background: rgba(91,110,245,0.1); border-color: var(--brand-1); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ============================================
   CARDS / GLASS
   ============================================ */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.glass-card:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.12); }
.glass-card.glow:hover { border-color: var(--border-brand); box-shadow: var(--shadow-glow); }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.page-wrapper { max-width: 1400px; margin: 0 auto; padding: 0 24px 60px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-title { margin-bottom: 40px; }
.section-title h2 { margin-bottom: 8px; }
.section-title p { color: var(--text-secondary); max-width: 540px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(91,110,245,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(139,92,246,0.12) 0%, transparent 50%),
              var(--bg-base);
}
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 80px 0; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(91,110,245,0.12);
  border: 1px solid rgba(91,110,245,0.3);
  color: var(--brand-3); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-kicker .live-dot { animation: pulse 1.5s infinite; }
.hero h1 { margin-bottom: 20px; color: var(--text-primary); }
.hero h1 .grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 18px; color: var(--text-secondary); max-width: 560px; margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 64px; }
.hero-stat-val { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; }
.hero-stat-val span {
  background: var(--brand-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* ============================================
   LIVE NOW MODULE
   ============================================ */
.live-now-module {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  max-width: 600px;
  transition: border-color var(--transition);
}
.live-now-module:hover { border-color: var(--border-brand); }
.ln-artwork { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: rgba(91,110,245,0.2); }
.ln-meta { flex: 1; min-width: 0; }
.ln-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-3); margin-bottom: 4px; }
.ln-track { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-artist { font-size: 13px; color: var(--text-secondary); }
.ln-play { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 16px rgba(91,110,245,0.4); transition: transform var(--transition), box-shadow var(--transition); }
.ln-play:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(91,110,245,0.6); }

/* ============================================
   PLAYER BAR
   ============================================ */
.player-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  height: var(--player-h);
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(1.5);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-player);
  display: flex; align-items: center; gap: 20px;
  padding: 0 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.player-bar.visible { transform: translateY(0); }
.player-artwork-wrap { position: relative; flex-shrink: 0; }
.player-artwork { width: 46px; height: 46px; border-radius: var(--radius-sm); object-fit: cover; background: rgba(91,110,245,0.15); }
.player-artwork-pulse {
  position: absolute; inset: -3px; border-radius: 10px;
  border: 2px solid transparent;
}
.player-artwork-pulse.playing {
  border-color: var(--brand-1);
  animation: pulse-border 2s linear infinite;
}
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(91,110,245,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(91,110,245,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,110,245,0); }
}
.player-meta { min-width: 160px; max-width: 220px; }
.player-track { display: block; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-artist { display: block; font-size: 12px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.player-btn {
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--text-secondary); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.player-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.player-btn.player-play {
  width: 44px; height: 44px; font-size: 16px;
  background: var(--brand-grad); color: #fff;
  box-shadow: 0 4px 16px rgba(91,110,245,0.4);
}
.player-btn.player-play:hover { transform: scale(1.06); }
.player-waveform { flex: 1; min-width: 0; opacity: 0.7; }
#waveform-canvas { display: block; width: 100%; max-width: 300px; }
.player-vol-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.player-mute-btn { color: var(--text-secondary); font-size: 14px; transition: var(--transition); }
.player-mute-btn:hover { color: var(--text-primary); }
.player-vol {
  -webkit-appearance: none; appearance: none;
  width: 90px; height: 3px;
  background: rgba(255,255,255,0.15); border-radius: 2px; outline: none; cursor: pointer;
}
.player-vol::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px;
  border-radius: 50%; background: var(--brand-1); cursor: pointer;
  transition: transform var(--transition);
}
.player-vol::-webkit-slider-thumb:hover { transform: scale(1.3); }
.player-live-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-3); flex-shrink: 0;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5b6ef5;
  animation: pulse-live 1.8s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91,110,245,0.7); }
  50% { box-shadow: 0 0 0 6px rgba(91,110,245,0); }
}
@media (max-width: 768px) {
  .player-waveform, .player-prev, .player-next { display: none; }
  .player-meta { max-width: 140px; }
}

/* ============================================
   SCHEDULE GRID
   ============================================ */
.schedule-grid-wrap { overflow-x: auto; }
.schedule-grid {
  display: grid; grid-template-columns: 60px repeat(7, 1fr);
  min-width: 900px; gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.sg-cell { background: var(--bg-card); padding: 10px; min-height: 48px; }
.sg-header { background: rgba(91,110,245,0.08); font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; text-align: center; color: var(--text-primary); }
.sg-time { font-size: 11px; color: var(--text-muted); text-align: center; display: flex; align-items: center; justify-content: center; }
.sg-show {
  border-radius: 6px; padding: 8px 10px;
  font-size: 12px; font-weight: 600; font-family: 'Outfit', sans-serif;
  cursor: pointer; transition: var(--transition); line-height: 1.3;
}
.sg-show.genre-pop { background: rgba(91,110,245,0.25); color: #a5afff; border: 1px solid rgba(91,110,245,0.3); }
.sg-show.genre-hiphop { background: rgba(236,72,153,0.2); color: #f9a8d4; border: 1px solid rgba(236,72,153,0.3); }
.sg-show.genre-rnb { background: rgba(245,158,11,0.2); color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.sg-show.genre-dance { background: rgba(16,185,129,0.2); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.sg-show.genre-mixed { background: rgba(139,92,246,0.25); color: #c4b5fd; border: 1px solid rgba(139,92,246,0.3); }
.sg-show:hover { transform: scale(1.04); filter: brightness(1.2); }

/* ============================================
   PRESENTER CARDS
   ============================================ */
.presenter-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.presenter-card:hover { border-color: var(--border-brand); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.presenter-photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: linear-gradient(135deg, rgba(91,110,245,0.2), rgba(139,92,246,0.2)); }
.presenter-info { padding: 18px; }
.presenter-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.presenter-show { font-size: 13px; color: var(--brand-3); font-weight: 500; margin-bottom: 8px; }
.presenter-bio { font-size: 12px; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.presenter-socials { display: flex; gap: 10px; margin-top: 14px; }
.presenter-socials a { color: var(--text-muted); font-size: 14px; transition: color var(--transition); }
.presenter-socials a:hover { color: var(--brand-3); }

/* ============================================
   MUSIC SECTION
   ============================================ */
.chart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition); cursor: pointer;
}
.chart-item:hover { background: var(--bg-card-hover); border-color: var(--border-brand); }
.chart-rank { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; color: var(--text-muted); width: 36px; text-align: center; flex-shrink: 0; }
.chart-rank.top3 { background: var(--brand-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.chart-artwork { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; background: rgba(91,110,245,0.2); flex-shrink: 0; }
.chart-meta { flex: 1; min-width: 0; }
.chart-title { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-artist { font-size: 12px; color: var(--text-secondary); }
.chart-actions { display: flex; align-items: center; gap: 10px; }
.chart-preview-btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(91,110,245,0.15); color: var(--brand-3); font-size: 12px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.chart-preview-btn:hover { background: rgba(91,110,245,0.3); transform: scale(1.1); }

/* ============================================
   ARTICLES
   ============================================ */
.article-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: var(--transition); cursor: pointer;
  display: flex; flex-direction: column;
}
.article-card:hover { border-color: var(--border-brand); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.article-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: linear-gradient(135deg, rgba(91,110,245,0.15), rgba(139,92,246,0.15)); }
.article-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-3); margin-bottom: 10px; }
.article-title { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.article-excerpt { font-size: 13px; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 12px; color: var(--text-muted); }
.article-meta img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: rgba(91,110,245,0.2); }

/* ============================================
   STAFF PORTAL
   ============================================ */
.staff-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.staff-tab {
  padding: 10px 18px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: var(--transition); border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.staff-tab:hover { color: var(--text-secondary); }
.staff-tab.active { color: var(--brand-3); border-bottom-color: var(--brand-1); }
.staff-panel { display: none; }
.staff-panel.active { display: block; }
.stat-card { padding: 24px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); }
.stat-val { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 800; }
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.request-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border); }
.request-meta { flex: 1; }
.request-song { font-weight: 600; font-size: 14px; }
.request-from { font-size: 12px; color: var(--text-secondary); }
.request-actions { display: flex; gap: 8px; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; letter-spacing: 0.03em; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--text-primary); font-size: 14px; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--brand-1);
  box-shadow: 0 0 0 3px rgba(91,110,245,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ============================================
   FOOTER
   ============================================ */
.app-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-bottom: var(--player-h);
}
.footer-container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 12px; line-height: 1.7; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.05); color: var(--text-muted);
  font-size: 15px; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); border: 1px solid var(--border);
}
.footer-social-btn:hover { color: var(--text-primary); background: rgba(91,110,245,0.15); border-color: var(--border-brand); }
.footer-col h4 { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-primary); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--brand-3); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--text-secondary); }

/* ============================================
   TAGS / BADGES
   ============================================ */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-brand { background: rgba(91,110,245,0.15); color: var(--brand-3); border: 1px solid rgba(91,110,245,0.25); }
.badge-green { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.25); }
.badge-red { background: rgba(239,68,68,0.15); color: #fca5a5; border: 1px solid rgba(239,68,68,0.25); }
.badge-yellow { background: rgba(245,158,11,0.15); color: #fcd34d; border: 1px solid rgba(245,158,11,0.25); }

/* ============================================
   UTILITY / ANIMATIONS
   ============================================ */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0%{background-position:-400px 0} 100%{background-position:400px 0} }

.animate-in { animation: fadeInUp 0.5s ease both; }
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
.spinner { width: 32px; height: 32px; border: 2px solid rgba(91,110,245,0.2); border-top-color: var(--brand-1); border-radius: 50%; animation: spin 0.7s linear infinite; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.text-grad { background: var(--brand-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { 
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .section { padding: 44px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-wrapper { padding: 0 16px 60px; }
}
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } .btn-lg { padding: 13px 24px; font-size: 15px; } }
