:root {
  --bg-main: #080a10;
  --bg-surface: #0e121a;
  --bg-card: #111622;
  --bg-card-hover: #171e2e;
  
  /* TOXIC ACID METAL & FIERY ROCK ACCENTS (+50% BRIGHTNESS & CLARITY) */
  --toxic-green: #00ff66;
  --toxic-green-bright: #39ff14;
  --toxic-green-glow: rgba(0, 255, 102, 0.80);
  --toxic-green-subtle: rgba(0, 255, 102, 0.22);
  
  --metal-red: #ff003c;
  --metal-red-glow: rgba(255, 0, 60, 0.80);
  --metal-gold: #ffc107;
  --metal-cyan: #00f0ff;
  --metal-purple: #b026ff;

  --border-thick: 2px solid var(--toxic-green);
  --border-card: 1.5px solid rgba(0, 255, 102, 0.35);
  --border-card-hover: 2px solid var(--toxic-green);

  --text-primary: #ffffff;
  --text-secondary: #c2d1e0;
  --text-muted: #8598a8;

  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 255, 102, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 40%, rgba(255, 0, 60, 0.08) 0%, transparent 50%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.008) 0px, rgba(255, 255, 255, 0.008) 2px, transparent 2px, transparent 8px);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
  user-select: none;
}

/* Background Animated Canvas & Stage Lights */
#stageCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  opacity: 0.85;
}

.ambient-glow {
  position: fixed;
  top: -15vh;
  left: 15vw;
  width: 70vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.35) 0%, rgba(255, 0, 60, 0.22) 45%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  animation: floatAmbient 10s ease-in-out infinite alternate;
}

@keyframes floatAmbient {
  0% { transform: translate(-10%, -10%) scale(1); }
  50% { transform: translate(12%, 8%) scale(1.2); }
  100% { transform: translate(-5%, 5%) scale(0.9); }
}

/* Crowd Reactions Floating Container */
.reaction-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.floating-particle {
  position: absolute;
  font-size: 2.4rem;
  bottom: 0;
  pointer-events: none;
  animation: floatUp 2.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  filter: drop-shadow(0 0 16px var(--toxic-green));
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(0.6) rotate(0deg);
    opacity: 1;
  }
  70% {
    opacity: 0.95;
  }
  100% {
    transform: translateY(-90vh) scale(1.4) rotate(var(--rot, 25deg));
    opacity: 0;
  }
}

/* App Header - Aggressive Metal Styling */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(25px);
  background: rgba(10, 14, 20, 0.95);
  border-bottom: 2.5px solid var(--toxic-green);
  box-shadow: 0 4px 30px rgba(0, 255, 102, 0.40);
  padding: 14px 24px;
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00ff66 0%, #ff003c 100%);
  border-radius: 12px;
  border: 2px solid #00ff66;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.6);
}

.logo-emoji {
  font-size: 1.6rem;
  animation: rockNod 1s ease-in-out infinite alternate;
}

@keyframes rockNod {
  0% { transform: rotate(-10deg) scale(1); }
  100% { transform: rotate(12deg) scale(1.15); }
}

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2.5px;
  background: linear-gradient(90deg, #ffffff 20%, #00ff66 60%, #ff003c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(0, 255, 102, 0.70));
}

.brand-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a0aec0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-live {
  background: var(--toxic-green);
  color: #000;
  font-weight: 900;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1.5px;
  box-shadow: 0 0 12px var(--toxic-green);
  animation: pulseLive 1.2s infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.crowd-reactions {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--toxic-green);
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.crowd-label {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--toxic-green);
  letter-spacing: 1px;
}

.reaction-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.35rem;
  padding: 3px 6px;
  border-radius: 6px;
  transition: transform 0.15s ease;
}

.reaction-btn:hover {
  transform: scale(1.4) rotate(-8deg);
  filter: drop-shadow(0 0 10px var(--toxic-green));
}

.reaction-btn:active {
  transform: scale(0.9);
}

.btn-stage {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00ff66, #ff003c);
  color: #000000;
  border: 2px solid #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.5);
  transition: all var(--transition-fast);
}

.btn-stage:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.8);
  color: #ffffff;
}

/* Main Layout */
.main-layout {
  max-width: 1380px;
  margin: 28px auto 90px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* HERO PLAYER CARD - HEAVY METAL AMPLIFIER / STAGE ARMOR */
.hero-player-card {
  position: relative;
  background: 
    radial-gradient(circle at 50% 0%, rgba(0, 255, 102, 0.22) 0%, rgba(7, 8, 12, 0.98) 75%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 2px, transparent 2px, transparent 6px),
    #0a0d13;
  border: 2.5px solid var(--toxic-green);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 
    0 0 35px rgba(0, 255, 102, 0.35),
    inset 0 0 30px rgba(0, 255, 102, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.85);
}

/* Subtle non-muddy backdrop glow */
.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  filter: blur(50px) saturate(2.5);
  z-index: 0;
  pointer-events: none;
  transition: background-image 0.8s ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 36px;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 40px;
  align-items: center;
}

/* Vinyl / Disc Showcase - Heavy Chrome & Neon Strobe Halo */
.vinyl-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.vinyl-plate {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1e28 25%, #050608 75%);
  border: 4px solid #334155;
  box-shadow: 
    0 0 45px rgba(0, 255, 102, 0.6),
    0 0 90px rgba(0, 255, 102, 0.25),
    inset 0 0 25px rgba(0, 255, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.vinyl-grooves {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 255, 102, 0.2);
  background: repeating-radial-gradient(
    circle,
    rgba(0, 0, 0, 0.85) 0px,
    rgba(20, 30, 25, 0.7) 2px,
    rgba(0, 0, 0, 0.85) 4px
  );
  pointer-events: none;
}

.vinyl-center-art {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.95);
  border: 4px solid var(--toxic-green);
}

.vinyl-spindle {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 20%, #ff003c 70%, #000 100%);
  border: 3px solid #00ff66;
  box-shadow: 0 0 12px #ff003c;
  z-index: 3;
}

.vinyl-plate.spinning {
  animation: spinVinyl 4s linear infinite;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.live-eq-badge {
  display: none;
}
.live-eq-badge-old-unused {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid var(--toxic-green);
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: var(--toxic-green);
}

.eq-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--toxic-green);
  box-shadow: 0 0 12px var(--toxic-green);
}

.vinyl-plate.spinning + .live-eq-badge .eq-dot {
  animation: blinkDot 0.6s infinite alternate;
}

@keyframes blinkDot {
  0% { transform: scale(0.8); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 1; filter: drop-shadow(0 0 8px #fff); }
}

/* Track Center & Metadata */
.track-center {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* THICK BOLD HEAVY METAL TAGS */
.tag {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 1.2px;
  background: #050608;
}

.tag-model {
  border: 2px solid var(--toxic-green);
  color: var(--toxic-green);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.35);
  text-shadow: 0 0 8px var(--toxic-green);
}

.tag-genre {
  border: 2px solid var(--metal-red);
  color: #ff3366;
  box-shadow: 0 0 12px rgba(255, 0, 60, 0.35);
  text-shadow: 0 0 8px var(--metal-red);
}

.tag-dur {
  border: 2px solid var(--metal-gold);
  color: var(--metal-gold);
  box-shadow: 0 0 12px rgba(255, 183, 0, 0.35);
  text-shadow: 0 0 8px var(--metal-gold);
}

.track-title {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.2;
  background: linear-gradient(180deg, #ffffff 15%, #a8ffcc 60%, #00ff66 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 255, 102, 0.7)) drop-shadow(0 4px 6px #000);
}

.track-genres {
  font-size: 1rem;
  font-weight: 700;
  color: #a0aec0;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Visualizer Area - Thick Neon Arena Box */
.visualizer-wrapper {
  position: relative;
  background: #040508;
  border: 2.5px solid var(--toxic-green);
  box-shadow: 0 0 28px rgba(0, 255, 102, 0.40), inset 0 0 25px rgba(0, 0, 0, 0.95);
  border-radius: var(--radius-md);
  padding: 0 !important;
  overflow: hidden;
  height: 230px;
  display: flex;
  align-items: center;
}

#audioVisualizer {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: calc(var(--radius-md) - 2px);
}

.vis-controls {
  position: absolute;
  top: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 5;
  background: rgba(4, 6, 10, 0.78);
  padding: 4px 6px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 255, 102, 0.35);
}

.vis-switch {
  background: #000000;
  border: 1.5px solid rgba(0, 255, 102, 0.4);
  color: #a0aec0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vis-switch:hover, .vis-switch.active {
  background: var(--toxic-green);
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 16px var(--toxic-green);
}

/* Progress & Scrubber */
.scrubber-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.time-label {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--toxic-green);
  min-width: 44px;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
}

.progress-bar-container {
  position: relative;
  flex: 1;
  height: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: height var(--transition-fast);
}

.progress-bar-container:hover {
  height: 12px;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #00ff66 0%, #ffff00 50%, #ff003c 100%);
  box-shadow: 0 0 18px var(--toxic-green);
}

.progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #000000;
  box-shadow: 0 0 12px var(--toxic-green);
  transform: translate(-50%, -50%) scale(0);
  transition: transform var(--transition-fast);
}

.progress-bar-container:hover .progress-handle {
  transform: translate(-50%, -50%) scale(1);
}

/* Controls Row */
.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ctrl-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn, .icon-btn-lg, .play-btn-huge {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.icon-btn {
  width: 42px;
  height: 42px;
  color: #a0aec0;
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.icon-btn:hover {
  color: #ffffff;
  border-color: var(--toxic-green);
  box-shadow: 0 0 12px var(--toxic-green);
}

.icon-btn.active {
  color: #000000;
  background: var(--toxic-green);
  border-color: #ffffff;
  box-shadow: 0 0 18px var(--toxic-green);
}

.icon-btn-lg {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--toxic-green);
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.3);
}

.icon-btn-lg:hover {
  background: var(--toxic-green);
  color: #000000;
  transform: scale(1.12);
  box-shadow: 0 0 25px var(--toxic-green);
}

.play-btn-huge {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #00ff66 0%, #ff003c 100%);
  border: 3px solid #ffffff;
  color: #ffffff;
  box-shadow: 0 0 35px var(--toxic-green), 0 0 50px rgba(255, 0, 60, 0.5);
}

.play-btn-huge:hover {
  transform: scale(1.12);
  box-shadow: 0 0 45px var(--toxic-green), 0 0 70px #ff003c;
}

.play-btn-huge:active {
  transform: scale(0.95);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: 1.5px solid var(--toxic-green);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

#volumeSlider {
  width: 85px;
  accent-color: var(--toxic-green);
  cursor: pointer;
}

.pill-btn {
  background: #000000;
  border: 2px solid var(--toxic-green);
  color: var(--toxic-green);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
  transition: all var(--transition-fast);
}

.pill-btn:hover {
  color: #000000;
  background: var(--toxic-green);
  box-shadow: 0 0 18px var(--toxic-green);
}

/* Actions Strip */
.actions-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 2px solid rgba(0, 255, 102, 0.25);
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(0, 255, 102, 0.35);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.15);
  transition: all var(--transition-fast);
}

.action-btn:hover {
  color: #000000;
  background: var(--toxic-green);
  border-color: #ffffff;
  box-shadow: 0 0 20px var(--toxic-green);
  transform: translateY(-2px);
}

.action-btn.active {
  color: #000000;
  background: var(--toxic-green);
  border-color: #ffffff;
  box-shadow: 0 0 22px var(--toxic-green);
}

/* CATALOG & PLAYLIST SECTION */
.catalog-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Toolbar */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--bg-card);
  border: 2px solid rgba(0, 255, 102, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
  padding: 16px 22px;
  border-radius: var(--radius-md);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 260px;
  max-width: 560px;
  background: #040508;
  border: 2px solid var(--toxic-green);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  gap: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
}

.search-box svg {
  color: var(--toxic-green);
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: white;
  font-size: 0.92rem;
  font-weight: 600;
  width: 100%;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.clear-btn {
  background: none;
  border: none;
  color: var(--toxic-green);
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
}

.sort-and-view {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--toxic-green);
}

.sort-wrap select {
  background: #000000;
  border: 2px solid var(--toxic-green);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}

.view-toggle {
  display: flex;
  background: #000000;
  border-radius: var(--radius-sm);
  border: 2px solid var(--toxic-green);
  overflow: hidden;
}

.view-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 7px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.view-btn.active {
  background: var(--toxic-green);
  color: #000000;
}

/* Genre Pills */
.genre-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.pill-tab {
  white-space: nowrap;
  background: #07090e;
  border: 2px solid rgba(0, 255, 102, 0.35);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.1);
  transition: all var(--transition-fast);
}

.pill-tab:hover {
  border-color: var(--toxic-green);
  color: white;
  box-shadow: 0 0 15px var(--toxic-green);
}

.pill-tab.active {
  background: var(--toxic-green);
  border-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 22px var(--toxic-green);
}

/* Results Info */
.results-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--toxic-green);
}

.keyboard-tips {
  color: #94a3b8;
}

.keyboard-tips b {
  color: var(--toxic-green);
}

/* Songs Grid Layout */
.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* Song Card */
.song-card {
  position: relative;
  min-width: 0;
  background: var(--bg-card);
  border: 2px solid rgba(0, 255, 102, 0.22);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
  transition: all var(--transition-smooth);
}

.song-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--toxic-green);
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.4), 0 16px 36px rgba(0, 0, 0, 0.9);
}

.song-card.now-playing {
  border: 2.5px solid var(--toxic-green);
  box-shadow: 0 0 35px var(--toxic-green), inset 0 0 20px rgba(0, 255, 102, 0.2);
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.15) 0%, rgba(13, 16, 23, 0.95) 100%);
}

.card-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(0, 255, 102, 0.3);
  background: #000;
}

.card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.song-card:hover .card-cover {
  transform: scale(1.06);
}

.card-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.song-card:hover .card-play-overlay,
.song-card.now-playing .card-play-overlay {
  opacity: 1;
}

.card-play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--toxic-green);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  box-shadow: 0 0 20px var(--toxic-green);
}

.card-dur-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--toxic-green);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--toxic-green);
}

.card-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.card-fav-btn.favorited {
  color: var(--metal-red);
  border-color: var(--metal-red);
  box-shadow: 0 0 12px var(--metal-red);
}

.card-fav-btn:hover {
  transform: scale(1.2);
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  letter-spacing: 0.5px;
}

.card-genres {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--toxic-green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 255, 102, 0.18);
}

.card-model-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
}

.card-actions-quick {
  display: flex;
  gap: 8px;
}

.card-quick-btn {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 102, 0.25);
  color: #cbd5e1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.card-quick-btn:hover {
  color: #000000;
  background: var(--toxic-green);
  border-color: #ffffff;
  box-shadow: 0 0 12px var(--toxic-green);
}

/* LIST VIEW MODE */
.songs-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.songs-grid.list-view .song-card {
  flex-direction: row;
  align-items: center;
  padding: 10px 20px;
  gap: 18px;
}

.songs-grid.list-view .card-cover-wrap {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 6px;
}

.songs-grid.list-view .card-play-icon {
  width: 36px;
  height: 36px;
}

.songs-grid.list-view .card-info {
  flex: 1;
}

.songs-grid.list-view .card-footer {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
  gap: 18px;
}

.songs-grid.list-view .card-dur-badge {
  position: static;
  background: none;
  border: none;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-content {
  background: #0c0f16;
  border: 2.5px solid var(--toxic-green);
  box-shadow: 0 0 45px rgba(0, 255, 102, 0.4);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 2px solid rgba(0, 255, 102, 0.3);
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-badge {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--toxic-green);
  letter-spacing: 1.5px;
}

.modal-header h3 {
  font-size: 1.4rem;
  color: white;
  font-weight: 900;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pill-btn-sm {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #000000;
  border: 2px solid var(--toxic-green);
  color: var(--toxic-green);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.pill-btn-sm:hover {
  background: var(--toxic-green);
  color: #000000;
  box-shadow: 0 0 16px var(--toxic-green);
}

.close-modal-btn {
  background: none;
  border: none;
  color: var(--toxic-green);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.close-modal-btn:hover {
  color: #ffffff;
  filter: drop-shadow(0 0 8px #fff);
}

.modal-body {
  padding: 26px;
  overflow-y: auto;
  max-height: 65vh;
}

.lyrics-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  line-height: 1.85;
  color: #f1f5f9;
  white-space: pre-wrap;
  word-break: break-word;
}

/* EQ Presets */
.eq-modal-content {
  max-width: 520px;
}

.eq-presets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eq-option-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 20px;
  background: #06070a;
  border: 2px solid rgba(0, 255, 102, 0.25);
  border-radius: var(--radius-md);
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.eq-option-btn:hover {
  background: #0f141f;
  border-color: var(--toxic-green);
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.35);
}

.eq-option-btn.active {
  border-color: var(--toxic-green);
  background: rgba(0, 255, 102, 0.15);
  box-shadow: 0 0 22px var(--toxic-green);
}

.eq-opt-name {
  font-size: 1.05rem;
  font-weight: 800;
}

.eq-opt-desc {
  font-size: 0.82rem;
  color: #a0aec0;
  margin-top: 4px;
}

/* FULLSCREEN STAGE OVERLAY */
.stage-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.stage-overlay.hidden {
  display: none;
}

.exit-stage-btn {
  position: absolute;
  top: 28px;
  right: 28px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--toxic-green);
  color: var(--toxic-green);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--toxic-green);
}

.exit-stage-btn:hover {
  background: var(--toxic-green);
  color: #000;
}

.stage-centerpiece {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 650px;
}

.stage-art-wrap {
  position: relative;
  width: 280px;
  height: 280px;
}

.stage-art {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid var(--toxic-green);
  box-shadow: 0 0 60px var(--toxic-green), 0 0 100px rgba(255, 0, 60, 0.4);
}

.stage-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(180deg, #ffffff 15%, #00ff66 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px var(--toxic-green));
}

.stage-genre {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--toxic-green);
  letter-spacing: 1px;
}

.stage-controls {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 12px;
}

.stage-ctrl-btn {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--toxic-green);
  color: var(--toxic-green);
  font-size: 1.6rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 16px var(--toxic-green);
}

.stage-ctrl-btn:hover {
  background: var(--toxic-green);
  color: #000;
}

.stage-play-btn {
  background: linear-gradient(135deg, #00ff66, #ff003c);
  border: 3px solid #ffffff;
  color: #ffffff;
  font-size: 2rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 45px var(--toxic-green), 0 0 60px #ff003c;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #080a10;
  border: 2px solid var(--toxic-green);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 0 25px var(--toxic-green);
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.toast.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Hidden Utility */
.hidden {
  display: none !important;
}

/* ==============================================================================
   COMPREHENSIVE MOBILE-FRIENDLY & RESPONSIVE DESIGN (PRO MAX)
   ============================================================================== */

/* Tablets & Medium Screens */
@media (max-width: 960px) {
  .main-layout {
    padding: 0 16px;
    margin: 20px auto 70px;
    gap: 28px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .vinyl-display {
    margin: 0 auto;
  }
  .track-center {
    align-items: center;
    width: 100%;
  }
  .meta-tags {
    justify-content: center;
  }
  .actions-strip {
    justify-content: center;
  }
  .visualizer-wrapper {
    width: 100%;
  }
  .scrubber-area {
    width: 100%;
  }
  .controls-row {
    width: 100%;
    justify-content: center;
    gap: 20px;
  }
}

/* Mobile Screens (Phones, Android, iPhone) */
@media (max-width: 640px) {
  /* 1. Header Navigation */
  .app-header {
    padding: 10px 14px;
  }
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .brand {
    gap: 10px;
  }
  .brand-logo-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .logo-emoji {
    font-size: 1.3rem;
  }
  .brand-title {
    font-size: 1.12rem;
    letter-spacing: 1.2px;
  }
  .brand-subtitle {
    font-size: 0.72rem;
  }
  .badge-live {
    font-size: 0.55rem;
    padding: 1.5px 5px;
  }
  .crowd-reactions {
    display: none; /* Hide crowd emoji bar on small phones to keep header ultra-clean */
  }
  .btn-stage {
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 20px;
    gap: 5px;
    white-space: nowrap;
  }

  /* 2. Main Layout */
  .main-layout {
    padding: 0 10px;
    margin: 12px auto 60px;
    gap: 18px;
  }

  /* 3. Hero Player Card */
  .hero-player-card {
    padding: 16px 12px;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.25), 0 12px 30px rgba(0, 0, 0, 0.9);
  }
  .vinyl-display {
    width: auto;
  }
  .vinyl-plate {
    width: 170px;
    height: 170px;
    border-width: 2.5px;
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.4), inset 0 0 18px rgba(0, 255, 102, 0.2);
  }
  .vinyl-center-art {
    width: 78px;
    height: 78px;
  }
  .vinyl-spindle {
    width: 16px;
    height: 16px;
  }
  .live-eq-badge {
    padding: 4px 10px;
    font-size: 0.68rem;
    margin-top: 10px;
  }

  /* 4. Track Info & Title */
  .track-meta {
    gap: 6px;
  }
  .meta-tags {
    gap: 6px;
  }
  .tag {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
  .track-title {
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    line-height: 1.25;
  }
  .track-genres {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  /* 5. Visualizer Box & Controls */
  .visualizer-wrapper {
    height: 190px;
    padding: 0 !important;
    border-radius: 10px;
  }
  .vis-controls {
    top: 6px;
    right: 6px;
    gap: 4px;
    padding: 3px 5px;
  }
  .vis-switch {
    font-size: 0.60rem;
    padding: 3px 6px;
    border-radius: 4px;
  }

  /* 6. Scrubber & Time */
  .scrubber-area {
    gap: 8px;
    margin-top: 4px;
  }
  .time-label {
    font-size: 0.72rem;
    min-width: 34px;
  }
  .progress-bar-container {
    height: 8px;
  }
  .progress-handle {
    width: 14px;
    height: 14px;
  }

  /* 7. Player Controls: Touch-Friendly Mobile Layout */
  .controls-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
  }
  /* Center Group (Prev, Play, Next) prominently displayed */
  .ctrl-group.center {
    order: 1;
    gap: 18px;
    justify-content: center;
  }
  .play-btn-huge {
    width: 58px;
    height: 58px;
  }
  .play-btn-huge svg {
    width: 24px;
    height: 24px;
  }
  .icon-btn-lg {
    width: 44px;
    height: 44px;
  }
  .icon-btn-lg svg {
    width: 20px;
    height: 20px;
  }

  /* Secondary Controls (Shuffle, Repeat, Volume, Speed) in one clean bar */
  .ctrl-group.left, .ctrl-group.right {
    order: 2;
  }
  .ctrl-group.left {
    gap: 14px;
  }
  .icon-btn {
    width: 38px;
    height: 38px;
  }
  .icon-btn svg {
    width: 18px;
    height: 18px;
  }
  .volume-container input[type="range"] {
    width: 75px;
  }
  .pill-btn {
    font-size: 0.75rem;
    padding: 5px 9px;
  }

  /* 8. Secondary Actions Strip (Lyrics, EQ, Favorit, Share) */
  .actions-strip {
    gap: 6px;
    padding-top: 10px;
    justify-content: center;
    width: 100%;
  }
  .action-btn {
    padding: 7px 11px;
    font-size: 0.75rem;
    gap: 6px;
    border-radius: 8px;
  }
  .action-btn svg {
    width: 14px;
    height: 14px;
  }

  /* 9. Catalog Toolbar (Search & Sort) */
  .toolbar {
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    width: 100%;
  }
  .search-box input {
    font-size: 0.85rem;
    padding: 10px 14px 10px 36px;
  }
  .sort-and-view {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  .sort-wrap select {
    font-size: 0.8rem;
    padding: 6px 10px;
    min-width: 0;
  }
  .sort-wrap {
    min-width: 0;
    flex: 1 1 auto;
  }
  .view-toggle-btns {
    display: none; /* Auto-optimizes view for mobile */
  }

  /* 10. Genre Pills Touch Scrolling */
  .pills-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 6px;
    scrollbar-width: none;
  }
  .pills-scroll::-webkit-scrollbar {
    display: none;
  }
  .pill-tab {
    padding: 6px 12px;
    font-size: 0.76rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* 11. Song Cards Grid - 1 Column Touch Optimized */
  .songs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .song-card {
    padding: 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .card-info h4 {
    font-size: 0.95rem;
  }
  .card-info p {
    font-size: 0.78rem;
  }

  /* 12. Modals */
  .modal-content {
    width: 94vw;
    max-height: 85vh;
    border-radius: 14px;
  }
  .modal-header {
    padding: 14px 16px;
  }
  .modal-body {
    padding: 14px 16px;
  }
  .lyrics-text {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .eq-option-btn {
    padding: 10px 12px;
  }
}

/* Small Phones (< 380px) */
@media (max-width: 380px) {
  .brand-title {
    font-size: 0.98rem;
  }
  .vinyl-plate {
    width: 145px;
    height: 145px;
  }
  .track-title {
    font-size: 1.2rem;
  }
  .play-btn-huge {
    width: 52px;
    height: 52px;
  }
  .vis-switch {
    font-size: 0.55rem;
    padding: 2px 4px;
  }
}

/* ==============================================================================
   AUDIO & MEDIA PROTECTION STYLING (FRONTEND ANTI-THEFT)
   ============================================================================== */
img, audio, .card-cover, .vinyl-center-art, .stage-art {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.protected-badge {
  color: #00ff66 !important;
  border: 1.5px solid #00ff66 !important;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.4) !important;
  background: rgba(0, 255, 102, 0.12) !important;
  cursor: default !important;
}

.protected-badge:hover {
  transform: none !important;
  background: rgba(0, 255, 102, 0.20) !important;
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.6) !important;
}
