/* ═══════════════════════════════════════════════════════════════════════════
   NotSlider v2.2 — Premium Dark Theme with Ambient Effects
   Zero dependencies. Pure CSS with modern features.
   Inspired by: spotlight-card glow, animated search, film grain/vignette.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-900: #06080f;
  --bg-800: #0d1117;
  --bg-700: #161b22;
  --bg-600: #21262d;
  --bg-500: #30363d;
  --text-100: #f0f6fc;
  --text-200: #e6edf3;
  --text-300: #c9d1d9;
  --text-400: #8b949e;
  --text-500: #6e7681;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-dark: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.3);
  --accent-glow-lg: rgba(59, 130, 246, 0.12);
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.2);
  --cyan: #22d3ee;
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--accent-glow-lg);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg-900);
  color: var(--text-200);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent);
}

/* ── Background Glow — Ambient Orbs ───────────────────────────────────── */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
}
.bg-glow::before {
  width: 700px;
  height: 700px;
  background: var(--accent);
  top: -250px;
  left: -150px;
  animation: orbFloat1 25s ease-in-out infinite alternate;
}
.bg-glow::after {
  width: 600px;
  height: 600px;
  background: var(--purple);
  bottom: -200px;
  right: -150px;
  animation: orbFloat2 30s ease-in-out infinite alternate;
}

/* Extra orb via a child element */
.bg-glow-extra {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--cyan);
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.06;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 35s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(80px, 60px) scale(1.15);
  }
  100% {
    transform: translate(-30px, 100px) scale(1.05);
  }
}
@keyframes orbFloat2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-70px, -50px) scale(1.2);
  }
  100% {
    transform: translate(40px, -80px) scale(0.95);
  }
}
@keyframes orbFloat3 {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-30%, -60%) scale(1.3);
  }
  100% {
    transform: translate(-70%, -40%) scale(0.9);
  }
}

/* ── Film Grain Overlay ────────────────────────────────────────────────── */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Vignette Overlay ──────────────────────────────────────────────────── */
.vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

/* ── Container ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header / Hero ─────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 18vh 0 1.5rem;
  transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero.compact {
  padding: 4.5rem 0 1rem;
}

/* ── Logo — Glitch Animation ───────────────────────────────────────────── */
.logo-link {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  position: relative;
}

/* NOT — azul com glitch */
.logo-not {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 900;
  color: var(--accent);
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 30px rgba(59, 130, 246, 0.2),
    0 0 60px rgba(59, 130, 246, 0.07);
}
.logo-not::before,
.logo-not::after {
  content: attr(data-t);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}
.logo-not::before {
  color: var(--cyan);
}
.logo-not::after {
  color: #a855f7;
}

/* Glitch idle — sutil a cada ~8s */
.logo-not::before {
  animation: logoGlitchCyan 8s 3s infinite;
}
.logo-not::after {
  animation: logoGlitchMagenta 8s 3s infinite;
}

/* Glitch burst — ativado via JS */
.logo-link.glitch-burst .logo-not::before {
  animation: logoBurstCyan 0.4s forwards !important;
  opacity: 1;
}
.logo-link.glitch-burst .logo-not::after {
  animation: logoBurstMagenta 0.4s forwards !important;
  opacity: 1;
}

/* Hover intensifica o glow */
.logo-link:hover .logo-not {
  text-shadow:
    0 0 40px rgba(59, 130, 246, 0.4),
    0 0 80px rgba(59, 130, 246, 0.14);
}

/* Slider — branco com strikethrough */
.logo-slider {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 900;
  color: var(--text-100);
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
  opacity: 0.92;
}
.logo-strike {
  position: absolute;
  left: -2%;
  top: 50%;
  width: 104%;
  height: clamp(3px, 0.4vw, 5px);
  background: var(--accent);
  transform-origin: left center;
  transform: translateY(-50%) scaleX(0);
  animation: logoStrikeIn 0.6s 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
  pointer-events: none;
}

/* .nl badge */
.logo-nl {
  font-family: "Inter", monospace;
  font-size: clamp(0.65rem, 1.8vw, 1rem);
  font-weight: 600;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.06);
  border: 1.5px solid rgba(59, 130, 246, 0.32);
  border-radius: 4px;
  padding: 0.15em 0.4em;
  margin-left: 6px;
  position: relative;
  top: -0.1em;
  letter-spacing: 0.04em;
  animation: logoBadgePop 0.45s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.logo-nl::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 7px;
  animation: logoRingPulse 4s 2.5s infinite;
  pointer-events: none;
}

/* Hero subtitle */
.hero-sub {
  color: var(--text-400);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* ── Logo Keyframes ────────────────────────────────────────────────────── */
@keyframes logoStrikeIn {
  from {
    transform: translateY(-50%) scaleX(0);
  }
  to {
    transform: translateY(-50%) scaleX(1);
  }
}
@keyframes logoBadgePop {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes logoRingPulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  40% {
    opacity: 0.4;
    transform: scale(1.18);
  }
}

/* Idle glitch — cyan layer */
@keyframes logoGlitchCyan {
  0%,
  87%,
  100% {
    opacity: 0;
    transform: none;
  }
  88% {
    opacity: 0.8;
    transform: translate(-4px, 0);
    clip-path: polygon(0 15%, 100% 15%, 100% 42%, 0 42%);
  }
  89% {
    opacity: 0.8;
    transform: translate(5px, -2px);
    clip-path: polygon(0 58%, 100% 58%, 100% 80%, 0 80%);
  }
  90% {
    opacity: 0;
    transform: none;
  }
  91% {
    opacity: 0.6;
    transform: translate(-3px, 1px);
    clip-path: polygon(0 4%, 100% 4%, 100% 24%, 0 24%);
  }
  92% {
    opacity: 0;
  }
}

/* Idle glitch — magenta layer */
@keyframes logoGlitchMagenta {
  0%,
  87%,
  100% {
    opacity: 0;
    transform: none;
  }
  88% {
    opacity: 0.7;
    transform: translate(6px, 1px);
    clip-path: polygon(0 48%, 100% 48%, 100% 74%, 0 74%);
  }
  89% {
    opacity: 0.7;
    transform: translate(-4px, -1px);
    clip-path: polygon(0 0, 100% 0, 100% 18%, 0 18%);
  }
  90% {
    opacity: 0;
    transform: none;
  }
  91% {
    opacity: 0.5;
    transform: translate(3px, 0);
    clip-path: polygon(0 64%, 100% 64%, 100% 86%, 0 86%);
  }
  92% {
    opacity: 0;
  }
}

/* Burst glitch — cyan (click / random) */
@keyframes logoBurstCyan {
  0% {
    opacity: 0;
    transform: none;
    clip-path: none;
  }
  10% {
    opacity: 0.95;
    transform: translate(-6px, 0);
    clip-path: polygon(0 0, 100% 0, 100% 36%, 0 36%);
  }
  25% {
    opacity: 0.95;
    transform: translate(7px, -2px);
    clip-path: polygon(0 52%, 100% 52%, 100% 78%, 0 78%);
  }
  40% {
    opacity: 0.8;
    transform: translate(-4px, 1px);
    clip-path: polygon(0 12%, 100% 12%, 100% 32%, 0 32%);
  }
  60% {
    opacity: 0.6;
    transform: translate(5px, 0);
    clip-path: polygon(0 60%, 100% 60%, 100% 86%, 0 86%);
  }
  80% {
    opacity: 0.3;
    transform: translate(-2px, -1px);
    clip-path: polygon(0 26%, 100% 26%, 100% 46%, 0 46%);
  }
  100% {
    opacity: 0;
    transform: none;
    clip-path: none;
  }
}

/* Burst glitch — magenta (click / random) */
@keyframes logoBurstMagenta {
  0% {
    opacity: 0;
    transform: none;
    clip-path: none;
  }
  10% {
    opacity: 0.85;
    transform: translate(7px, 1px);
    clip-path: polygon(0 40%, 100% 40%, 100% 70%, 0 70%);
  }
  25% {
    opacity: 0.85;
    transform: translate(-5px, 2px);
    clip-path: polygon(0 4%, 100% 4%, 100% 24%, 0 24%);
  }
  40% {
    opacity: 0.7;
    transform: translate(4px, -1px);
    clip-path: polygon(0 62%, 100% 62%, 100% 84%, 0 84%);
  }
  60% {
    opacity: 0.5;
    transform: translate(-3px, 0);
    clip-path: polygon(0 16%, 100% 16%, 100% 38%, 0 38%);
  }
  80% {
    opacity: 0.25;
    transform: translate(2px, 1px);
    clip-path: polygon(0 50%, 100% 50%, 100% 72%, 0 72%);
  }
  100% {
    opacity: 0;
    transform: none;
    clip-path: none;
  }
}

/* ── Top Bar (Premium + Language) ──────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  pointer-events: none;
}
.top-bar > * {
  pointer-events: auto;
}

/* ── Go Premium (top-left) ────────────────────────────────────────────── */
.top-premium-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(240, 192, 64, 0.08);
  color: rgba(240, 192, 64, 0.85);
  border: 1px solid rgba(240, 192, 64, 0.2);
  border-radius: var(--radius-xs);
  padding: 0.38rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}
.top-premium-link:hover {
  color: #f0c040;
  background: rgba(240, 192, 64, 0.14);
  border-color: rgba(240, 192, 64, 0.4);
  box-shadow: 0 0 14px rgba(240, 192, 64, 0.15);
}
.top-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(240, 192, 64, 0.1);
  color: #f0c040;
  border: 1px solid rgba(240, 192, 64, 0.25);
  border-radius: var(--radius-xs);
  padding: 0.38rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

/* ── Language Selector (top-right) ────────────────────────────────────── */
.lang-switch select {
  background: rgba(13, 17, 23, 0.8);
  color: var(--text-300);
  border: 1px solid var(--bg-600);
  border-radius: var(--radius-xs);
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  backdrop-filter: blur(12px);
}
.lang-switch select:hover,
.lang-switch select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  outline: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   SEARCH BAR — Animated Glow Border
   ══════════════════════════════════════════════════════════════════════════ */
@property --search-glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.search-wrap {
  position: relative;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

/* Animated glow border behind the input */
.search-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: conic-gradient(
    from var(--search-glow-angle, 0deg),
    var(--accent) 0%,
    var(--purple) 25%,
    var(--cyan) 50%,
    var(--accent) 75%,
    var(--purple) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  animation: searchGlowSpin 4s linear infinite;
}
.search-wrap.focused::before {
  opacity: 1;
}

/* Inner background to mask the gradient border */
.search-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: var(--bg-800);
  z-index: 1;
}

@keyframes searchGlowSpin {
  to {
    --search-glow-angle: 360deg;
  }
}

.search-wrap input {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1rem 4rem 1rem 1.25rem;
  font-size: 1.1rem;
  color: var(--text-100);
  background: transparent;
  border: 2px solid var(--bg-600);
  border-radius: var(--radius);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.search-wrap input::placeholder {
  color: var(--text-500);
  transition: color var(--transition);
}
.search-wrap.focused input {
  border-color: transparent;
  box-shadow:
    0 0 30px var(--accent-glow),
    0 0 60px rgba(59, 130, 246, 0.08);
}
.search-wrap.focused input::placeholder {
  color: var(--text-400);
}
.search-wrap input:focus {
  outline: none;
}

.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dark);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: white;
  cursor: pointer;
  z-index: 3;
  transition:
    background var(--transition),
    box-shadow var(--transition),
    transform var(--transition-fast);
}
.search-btn:hover {
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.search-btn:active {
  transform: scale(0.95);
}
.search-btn svg {
  width: 22px;
  height: 22px;
}

/* ── Floating Search Particles (CSS-only decoration) ───────────────────── */
.search-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.search-wrap.focused .search-particles {
  opacity: 1;
}
.search-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: 0.6;
  animation: particleFloat 3s ease-in-out infinite;
}
.search-particles span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 3.2s;
}
.search-particles span:nth-child(2) {
  left: 25%;
  top: 70%;
  animation-delay: 0.5s;
  animation-duration: 2.8s;
  background: var(--purple);
}
.search-particles span:nth-child(3) {
  left: 50%;
  top: 15%;
  animation-delay: 1s;
  animation-duration: 3.5s;
  background: var(--cyan);
}
.search-particles span:nth-child(4) {
  left: 70%;
  top: 60%;
  animation-delay: 1.5s;
  animation-duration: 2.6s;
}
.search-particles span:nth-child(5) {
  left: 85%;
  top: 30%;
  animation-delay: 2s;
  animation-duration: 3s;
  background: var(--purple);
}
.search-particles span:nth-child(6) {
  left: 40%;
  top: 80%;
  animation-delay: 0.3s;
  animation-duration: 3.3s;
  background: var(--cyan);
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  50% {
    transform: translateY(-15px) scale(1.5);
    opacity: 0.8;
  }
  90% {
    opacity: 0.4;
  }
}

/* ── Trending ──────────────────────────────────────────────────────────── */
.trending {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-500);
  line-height: 2;
  max-height: calc(2 * 2em);
  overflow: hidden;
}
.trending-label {
  color: var(--text-400);
  font-weight: 600;
  margin-right: 0.15rem;
}
.trending-label svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  color: #f59e0b;
}
.trending a {
  color: var(--text-400);
  margin: 0 0.2rem;
  transition:
    color var(--transition),
    text-shadow var(--transition);
}
.trending a:hover {
  color: var(--accent-light);
  text-shadow: 0 0 8px var(--accent-glow);
}
.trending .sep {
  color: var(--text-600);
  margin: 0 0.15rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESULTS
   ══════════════════════════════════════════════════════════════════════════ */
.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-400);
}
.rate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(22, 27, 34, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-300);
  border: 1px solid rgba(48, 54, 61, 0.6);
  white-space: nowrap;
}
.rate-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
  flex-shrink: 0;
}
.rate-badge .dot.warn {
  background: var(--warning);
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}
.rate-badge .dot.out {
  background: var(--danger);
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
  animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* ── Premium Badge ─────────────────────────────────────────────────────── */
.premium-badge {
  background: rgba(240, 192, 64, 0.1);
  border-color: rgba(240, 192, 64, 0.25);
  color: #f0c040;
}
.premium-badge .star-icon {
  font-size: 0.9rem;
  line-height: 1;
}
.go-premium-link {
  color: #f0c040;
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: color 0.2s;
}
.go-premium-link:hover {
  color: #ffd966;
  text-decoration: underline;
}
.footer-premium {
  color: #f0c040;
  font-weight: 600;
  font-size: 0.85rem;
}
.footer-premium-link {
  color: rgba(240, 192, 64, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-premium-link:hover {
  color: #f0c040;
}

/* ── Download Badge (home) ─────────────────────────────────────────────── */
.download-badge {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-400);
}
.download-badge .badge-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-200);
}

/* ══════════════════════════════════════════════════════════════════════════
   TRACK CARD — Spotlight Glow Effect
   ══════════════════════════════════════════════════════════════════════════ */
.track-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.track {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-800);
  border: 1px solid var(--bg-600);
  border-radius: var(--radius-sm);
  cursor: default;
  overflow: hidden;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

/* Spotlight radial glow following the cursor */
.track::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(59, 130, 246, 0.08) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.track:hover::before {
  opacity: 1;
}

/* Border glow on hover */
.track:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(13, 17, 23, 0.8);
  transform: translateY(-1px);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 1px var(--accent-glow);
}

/* Content needs z-index above the ::before */
.track > * {
  position: relative;
  z-index: 1;
}

/* ── Track artwork background ─────────────────────────────────────────── */
.track-has-art::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 100%;
  background-image: var(--track-art);
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.35), transparent);
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.35),
    transparent
  );
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.track-has-art:hover::after {
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5),
    transparent
  );
}

.track-num {
  font-size: 0.85rem;
  color: var(--text-500);
  font-weight: 600;
  min-width: 1.8rem;
  text-align: center;
}

.track-info {
  overflow: hidden;
}
.track-title {
  font-weight: 600;
  color: var(--text-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-artist {
  font-size: 0.85rem;
  color: var(--text-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-duration {
  font-size: 0.85rem;
  color: var(--text-500);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.track-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Icon Buttons ──────────────────────────────────────────────────────── */
.btn-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  color: var(--text-300);
  transition: all var(--transition);
  position: relative;
}
.btn-icon:hover {
  background: var(--accent-glow);
  color: var(--accent-light);
  box-shadow: 0 0 12px var(--accent-glow);
}
.btn-icon:active {
  transform: scale(0.9);
}
.btn-icon svg {
  width: 20px;
  height: 20px;
}

.btn-icon.playing {
  color: var(--accent-light);
  animation: pulse 2s ease-in-out infinite;
}

.btn-icon.loading {
  color: var(--accent-light);
  pointer-events: none;
}

.btn-icon.loading .spinner {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  50% {
    box-shadow: 0 0 0 10px transparent;
  }
}

.btn-icon.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ── Playing indicator bars ────────────────────────────────────────────── */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}
.eq-bars span {
  width: 3px;
  background: var(--accent-light);
  border-radius: 2px;
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}
.eq-bars span:nth-child(1) {
  height: 60%;
  animation-delay: 0s;
}
.eq-bars span:nth-child(2) {
  height: 100%;
  animation-delay: 0.2s;
}
.eq-bars span:nth-child(3) {
  height: 40%;
  animation-delay: 0.4s;
}
.eq-bars span:nth-child(4) {
  height: 80%;
  animation-delay: 0.15s;
}

@keyframes eqBounce {
  0% {
    height: 20%;
  }
  100% {
    height: 100%;
  }
}

/* ── Skeleton Loading ──────────────────────────────────────────────────── */
.skeleton {
  display: grid;
  grid-template-columns: 36px 1fr 60px 72px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-800);
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-600);
}
.skeleton-bone {
  background: linear-gradient(
    90deg,
    var(--bg-700) 25%,
    var(--bg-600) 50%,
    var(--bg-700) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}
.skeleton-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.skeleton-line {
  height: 14px;
}
.skeleton-line.w75 {
  width: 75%;
}
.skeleton-line.w50 {
  width: 50%;
}
.skeleton-line.w30 {
  width: 30%;
}
.skeleton-short {
  height: 14px;
  width: 40px;
}
.skeleton-btns {
  display: flex;
  gap: 6px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ── Pagination ────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-bottom: 2rem;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg-600);
  border-radius: var(--radius-sm);
  background: var(--bg-800);
  color: var(--text-300);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.95rem;
}
.page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-light);
  box-shadow: 0 0 12px var(--accent-glow);
}
.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.page-info {
  font-size: 0.9rem;
  color: var(--text-400);
}

/* ── Empty State ───────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-400);
}
.empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--text-500);
  margin-bottom: 1rem;
}
.empty-state h3 {
  color: var(--text-200);
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   PLAYER BAR — Glass Morphism + Accent Glow
   ══════════════════════════════════════════════════════════════════════════ */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(6, 8, 15, 0.85);
  border-top: 1px solid rgba(59, 130, 246, 0.12);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.player-bar.visible {
  transform: translateY(0);
}

/* Ambient glow at top of player */
.player-bar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent),
    var(--purple),
    transparent
  );
  opacity: 0.5;
}

/* Progress bar at top of player */
.player-progress {
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--bg-700);
  cursor: pointer;
  z-index: 5;
  transition:
    height 0.15s ease,
    top 0.15s ease;
}
.player-progress:hover {
  height: 10px;
  top: -7px;
}
.player-progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-dark),
    var(--accent),
    var(--accent-light)
  );
  border-radius: 0 2px 2px 0;
  width: 0%;
  transition: width 0.15s linear;
  pointer-events: none;
  position: relative;
}
.player-progress-fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  bottom: -2px;
  width: 6px;
  background: var(--accent-light);
  filter: blur(3px);
  border-radius: 50%;
  opacity: 0.8;
}
.player-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  background: var(--accent-light);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease;
  pointer-events: none;
  box-shadow: 0 0 10px var(--accent-glow);
}
.player-progress:hover .player-progress-thumb {
  transform: translate(-50%, -50%) scale(1);
}

.player-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
}

/* Transport controls */
.player-transport {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.btn-transport {
  width: 32px;
  height: 32px;
  opacity: 0.7;
}
.btn-transport:hover {
  opacity: 1;
}
.btn-transport svg {
  width: 18px;
  height: 18px;
}
.btn-play-main {
  width: 44px;
  height: 44px;
  background: var(--accent-dark);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 var(--accent-glow);
  transition: all var(--transition);
}
.btn-play-main:hover {
  background: var(--accent);
  color: white;
  box-shadow:
    0 0 20px var(--accent-glow),
    0 0 40px rgba(59, 130, 246, 0.1);
}
.btn-play-main svg {
  width: 22px;
  height: 22px;
}
.btn-play-main.loading {
  pointer-events: none;
}

/* Center: track info + time */
.player-center {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}
.player-track-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  overflow: hidden;
}
.player-title-text {
  font-weight: 600;
  color: var(--text-100);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-artist {
  color: var(--text-400);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-time {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-400);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.player-time .time-sep {
  margin: 0 0.15rem;
  opacity: 0.5;
}

/* Right: speed + volume */
.player-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Speed control */
.player-speed-wrap {
  position: relative;
}
.btn-speed {
  padding: 0.2rem 0.5rem;
  background: var(--bg-700);
  border: 1px solid var(--bg-600);
  border-radius: var(--radius-xs);
  color: var(--text-300);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-speed:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  box-shadow: 0 0 8px var(--accent-glow);
}
.speed-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 17, 23, 0.95);
  border: 1px solid var(--bg-600);
  border-radius: var(--radius-sm);
  padding: 0.35rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 10;
  min-width: 60px;
  backdrop-filter: blur(12px);
}
.speed-menu.hidden {
  display: none;
}
.speed-menu button {
  padding: 0.3rem 0.6rem;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--text-300);
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition);
}
.speed-menu button:hover {
  background: var(--bg-700);
}
.speed-menu button.active {
  background: var(--accent-dark);
  color: white;
}

/* Volume control */
.player-vol-wrap {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.btn-vol {
  width: 32px;
  height: 32px;
}
.btn-vol svg {
  width: 18px;
  height: 18px;
}
.vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  background: var(--bg-600);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-light);
  cursor: pointer;
  box-shadow: 0 0 6px var(--accent-glow);
  transition: transform 0.15s;
}
.vol-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.vol-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-light);
  border: none;
  cursor: pointer;
}

/* Track active state */
.track-active {
  background: rgba(13, 17, 23, 0.9);
  border-color: var(--accent-dark);
  border-left: 3px solid var(--accent);
  box-shadow: inset 0 0 30px rgba(59, 130, 246, 0.04);
}
.track-active::before {
  opacity: 1 !important;
  background: radial-gradient(
    600px ellipse at 0% 50%,
    rgba(59, 130, 246, 0.06) 0%,
    transparent 100%
  ) !important;
}

/* ── Modal Spinner ─────────────────────────────────────────────────────── */
.modal-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--bg-600);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

/* ── Toast Notifications ───────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  background: rgba(22, 27, 34, 0.9);
  border: 1px solid var(--bg-600);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-200);
  box-shadow: var(--shadow-lg);
  animation:
    toastIn 0.4s ease,
    toastOut 0.4s ease 3.6s forwards;
  pointer-events: auto;
  text-align: center;
  backdrop-filter: blur(12px);
}
.toast.error {
  border-color: var(--danger);
  color: #fca5a5;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}
.toast.success {
  border-color: var(--success);
  color: #86efac;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}
.toast.warn {
  border-color: #f59e0b;
  color: #fcd34d;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toastOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* ── Notice Bar ────────────────────────────────────────────────────────── */
.notice-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-800);
  border: 1px solid var(--bg-600);
  border-radius: var(--radius-sm);
  color: var(--text-400);
  font-size: 0.85rem;
}
.notice-bar svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--warning);
}

/* ── Recommended Section ───────────────────────────────────────────────── */
.recommended-section {
  margin-top: 0.5rem;
}
.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-200);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title::before {
  content: "";
  width: 4px;
  height: 1.2em;
  background: linear-gradient(180deg, var(--accent), var(--purple));
  border-radius: 2px;
}
.rec-empty {
  text-align: center;
  color: var(--text-500);
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   TRACK INFO MODAL — Glass + Glow
   ══════════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}
.modal-content {
  background: var(--bg-800);
  border: 1px solid var(--bg-600);
  border-radius: var(--radius);
  padding: 2rem;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow:
    var(--shadow-lg),
    0 0 60px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  animation: modalSlideIn 0.3s ease;
  overflow: hidden;
}
/* Accent glow at top of modal */
.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-light),
    transparent
  );
  opacity: 0.4;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-400);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--bg-700);
  color: var(--text-100);
}
.modal-close svg {
  width: 20px;
  height: 20px;
}
.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 1.25rem;
}
.modal-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-700);
}
.modal-row:last-child {
  border-bottom: none;
}
.modal-label {
  font-size: 0.85rem;
  color: var(--text-500);
  font-weight: 500;
}
.modal-value {
  font-size: 0.9rem;
  color: var(--text-200);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.modal-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.modal-btn svg {
  width: 18px;
  height: 18px;
}
.modal-btn-play {
  background: var(--accent-dark);
  color: white;
}
.modal-btn-play:hover {
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.modal-btn-dl {
  background: var(--bg-700);
  color: var(--text-200);
  border: 1px solid var(--bg-600);
}
.modal-btn-dl:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  box-shadow: 0 0 12px var(--accent-glow);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Footer ────────────────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-500);
  border-top: 1px solid var(--bg-700);
  margin-top: auto;
}
footer a {
  color: var(--text-400);
  transition:
    color var(--transition),
    text-shadow var(--transition);
}
footer a:hover {
  color: var(--accent-light);
  text-shadow: 0 0 8px var(--accent-glow);
}
.tg-support {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(42, 171, 238, 0.1);
  color: #29b6f6;
  border: 1px solid rgba(42, 171, 238, 0.2);
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.tg-support:hover {
  background: rgba(42, 171, 238, 0.18);
  color: #4fc3f7;
  border-color: rgba(42, 171, 238, 0.35);
  text-shadow: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .top-bar {
    padding: 0.5rem 0.6rem;
  }
  .top-premium-link,
  .top-premium-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.55rem;
  }
  .lang-switch select {
    font-size: 0.78rem;
    padding: 0.3rem 0.45rem;
  }
  .hero {
    padding: 8vh 0 1rem;
  }
  .hero.compact {
    padding: 2.5rem 0 0.75rem;
  }
  .logo-not,
  .logo-slider {
    font-size: clamp(2.6rem, 10vw, 3.5rem) !important;
  }
  .logo-nl {
    font-size: clamp(0.7rem, 2.2vw, 0.95rem) !important;
  }
  .results-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .download-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .track {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
  }
  .track-num {
    display: none;
  }
  .track-duration {
    display: none;
  }
  .skeleton {
    grid-template-columns: 1fr 72px;
  }
  .skeleton-circle,
  .skeleton-short {
    display: none;
  }
  .player-inner {
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
  }
  .player-center {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  .player-track-info {
    gap: 0;
  }
  .player-title-text {
    font-size: 0.82rem;
  }
  .player-artist {
    font-size: 0.7rem;
  }
  .player-time {
    font-size: 0.68rem;
    flex-shrink: 0;
  }
  .player-right {
    gap: 0.15rem;
  }
  .player-speed-wrap {
    display: none;
  }
  .vol-slider {
    display: none;
  }
  .btn-vol {
    width: 30px;
    height: 30px;
  }
  .btn-play-main {
    width: 40px;
    height: 40px;
  }
  .btn-play-main svg {
    width: 18px;
    height: 18px;
  }
  .btn-transport {
    width: 30px;
    height: 30px;
  }
  .player-progress {
    height: 4px;
  }
  .player-progress:active {
    height: 10px;
  }
  .search-particles {
    display: none;
  }
}

@media (max-width: 380px) {
  .top-premium-link,
  .top-premium-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.45rem;
    gap: 3px;
  }
  .lang-switch select {
    font-size: 0.72rem;
    padding: 0.25rem 0.35rem;
  }
  .player-inner {
    padding: 0.4rem 0.5rem;
  }
  .player-transport {
    gap: 0.15rem;
  }
  .btn-transport {
    width: 26px;
    height: 26px;
  }
  .btn-play-main {
    width: 36px;
    height: 36px;
  }
  .player-title-text {
    font-size: 0.78rem;
  }
  .player-artist {
    font-size: 0.65rem;
  }
  .btn-vol {
    display: none;
  }
}

/* ── Spinner ───────────────────────────────────────────────────────────── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-500);
  border-top-color: var(--accent-light);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-900);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-600);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bg-500);
}

/* ── Fade-in animation for tracks ──────────────────────────────────────── */
.track {
  animation: fadeSlideIn 0.3s ease both;
}
.track:nth-child(1) {
  animation-delay: 0.03s;
}
.track:nth-child(2) {
  animation-delay: 0.06s;
}
.track:nth-child(3) {
  animation-delay: 0.09s;
}
.track:nth-child(4) {
  animation-delay: 0.12s;
}
.track:nth-child(5) {
  animation-delay: 0.15s;
}
.track:nth-child(6) {
  animation-delay: 0.18s;
}
.track:nth-child(7) {
  animation-delay: 0.21s;
}
.track:nth-child(8) {
  animation-delay: 0.24s;
}
.track:nth-child(9) {
  animation-delay: 0.27s;
}
.track:nth-child(10) {
  animation-delay: 0.3s;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   DMCA PAGE STYLES
   ══════════════════════════════════════════════════════════════════════════ */
.dmca-page {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dmca-page .container {
  flex: 1;
}
.dmca-header {
  text-align: center;
  padding: 5rem 0 2rem;
}
.dmca-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-100);
  margin-bottom: 0.5rem;
}
.dmca-header p {
  color: var(--text-400);
  font-size: 1rem;
}
.dmca-box {
  background: var(--bg-800);
  border: 1px solid var(--bg-600);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.dmca-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-light),
    transparent
  );
  opacity: 0.3;
}
.dmca-box legend,
.dmca-box h2 {
  color: var(--accent-light);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.dmca-box p {
  color: var(--text-300);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.dmca-box ul {
  color: var(--text-300);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.dmca-box li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.dmca-box a {
  color: var(--accent-light);
  transition:
    color var(--transition),
    text-shadow var(--transition);
}
.dmca-box a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}
.hctn {
  display: none;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-400);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.back-link:hover {
  color: var(--accent-light);
}
.back-link svg {
  width: 18px;
  height: 18px;
}
