:root {
  --color-primary: #ffb3d9;
  --color-secondary: #c9a0dc;
  --color-accent: #b4e4ff;
  --color-bg: #fff8f3;
  --color-bg-alt: #fff0f5;
  --font-base: "Quicksand", "Nunito", -apple-system, sans-serif;
  --radius-lg: 24px;
  --shadow-lg: 0 8px 24px rgba(255, 179, 217, 0.25);
  --glass-bg: rgba(20, 15, 35, 0.75);
  --glass-border: rgba(255, 179, 217, 0.3);
  --neon-cyan: #00ffff;
  --neon-pink: #ff00ff;
  --neon-purple: #bc13fe;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  background: transparent !important;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  color: #fff;
}

body::before {
  display: none !important;
}

.playlist-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  padding-bottom: 7rem;
  position: relative;
  z-index: 1;
}

.playlist-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 6rem;
}

.playlist-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  text-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-cyan),
    0 2px 10px rgba(221, 160, 221, 0.6), 0 4px 20px rgba(139, 95, 191, 0.4);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  font-weight: 800;
}

.playlist-header h1:hover {
  animation: glitch-anim 0.3s infinite;
}

@keyframes glitch-anim {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

.playlist-header p {
  color: #e0e7ff;
  font-size: 1.2rem;
  text-shadow: 0 0 10px var(--neon-pink);
}

.player-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.vinyl-player,
.now-playing,
.search-section,
.playlist-queue {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 0, 255, 0.1) !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vinyl-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.vinyl-disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    #2a2a2a 0%,
    #1a1a1a 40%,
    #0a0a0a 100%
  );
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8),
    inset 0 0 20px rgba(255, 255, 255, 0.1), 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.vinyl-disc.playing {
  animation: spin 3s linear infinite, vinylGlow 3s ease-in-out infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes vinylGlow {
  0%,
  100% {
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8),
      inset 0 0 20px rgba(255, 255, 255, 0.1), 0 10px 40px rgba(0, 0, 0, 0.5),
      0 0 20px rgba(139, 95, 191, 0.3);
  }
  50% {
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8),
      inset 0 0 20px rgba(255, 255, 255, 0.1), 0 10px 40px rgba(0, 0, 0, 0.5),
      0 0 50px rgba(139, 95, 191, 0.6), 0 0 80px rgba(221, 160, 221, 0.4);
  }
}

.vinyl-grooves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background-image: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0px,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 4px
  );
}

.vinyl-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35%;
  height: 35%;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5fbf 0%, #6b4a9e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139, 95, 191, 0.5);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  z-index: 10;
  overflow: hidden;
}

.vinyl-label:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 8px 40px rgba(139, 95, 191, 0.8),
    0 0 60px rgba(221, 160, 221, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.vinyl-label:hover .album-art {
  filter: brightness(1.1) contrast(1.05);
}

.album-art {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.vinyl-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8);
  z-index: 11;
}

.vinyl-player.empty-state .vinyl-disc,
.vinyl-player.empty-state .tonearm {
  opacity: 0.3;
}

.vinyl-player.empty-state::after {
  content: "🎵";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  opacity: 0.5;
  animation: emptyStatePulse 2s ease-in-out infinite;
  z-index: 20;
}

@keyframes emptyStatePulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.7;
  }
}

.tonearm {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 45%;
  height: 55%;
  transform-origin: 90% 8%;
  transition: transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: 10;
}

.tonearm.playing {
  transform: rotate(-20deg);
}

.tonearm.paused {
  transform: rotate(15deg);
}

.tonearm svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.now-playing {
  position: relative;
  overflow: hidden;
}

.now-playing::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-image: var(
    --album-art-url,
    url("../../imgs/playlist/vinyl/gold.png")
  );
  background-size: cover;
  background-position: center;
  filter: blur(15px) brightness(0.5) saturate(120%);
  opacity: 0.7;
  z-index: 0;
  transform: scale(1.05);
}

.now-playing.empty-state::before {
  filter: blur(30px) brightness(0.2) saturate(50%);
  opacity: 0.3;
}

.now-playing::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 95, 191, 0.15) 0%,
    rgba(221, 160, 221, 0.1) 50%,
    rgba(255, 179, 217, 0.15) 100%
  );
  backdrop-filter: blur(10px);
  z-index: 0;
}

.now-playing > * {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(0, 0, 0, 0.5);
}

.now-playing-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.now-playing-header h2 {
  color: #dda0dd;
  font-size: 1.5rem;
}

.track-info {
  margin-bottom: 2rem;
  min-width: 0;
  overflow: hidden;
}

.track-title {
  font-size: 1.8rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  font-weight: 700;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.track-artist {
  font-size: 1.2rem;
  color: #b19cd9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.progress-container {
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-bar:hover {
  height: 12px;
  transition: height 0.2s ease;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff69b4, #dda0dd, #8b5fbf);
  background-size: 200% 100%;
  animation: progressGradient 3s ease infinite;
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(221, 160, 221, 0.5);
}

@keyframes progressGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.progress-knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #dda0dd, #ffb3d9);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.progress-bar:hover .progress-knob {
  opacity: 1;
}

.progress-time {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  color: #e6d5ff;
  font-size: 0.95rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.controls-row.main-controls {
  gap: 2rem;
}

.controls-row.secondary-controls {
  gap: 1.2rem;
}

.control-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(139, 95, 191, 0.95),
    rgba(164, 127, 213, 0.95)
  );
  backdrop-filter: blur(10px);
  border: 2px solid rgba(221, 160, 221, 0.3);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(139, 95, 191, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 0 rgba(255, 0, 255, 0);
  position: relative;
  overflow: hidden;
}

.control-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s;
}

.control-btn:hover::before {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

.control-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s, opacity 0.6s;
  opacity: 0;
}

.control-btn:active::after {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: 0s;
}

.control-btn:hover {
  transform: scale(1.2) translateY(-4px) rotate(5deg);
  box-shadow: 0 12px 35px rgba(139, 95, 191, 0.8),
    0 0 60px rgba(221, 160, 221, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.4),
    0 0 0 8px rgba(255, 0, 255, 0.2);
  border-color: rgba(255, 179, 217, 0.8);
  background: linear-gradient(
    135deg,
    rgba(164, 127, 213, 1),
    rgba(221, 160, 221, 1)
  );
}

.control-btn:active {
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 4px 15px rgba(139, 95, 191, 0.6),
    inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.control-btn.play-btn {
  width: 80px;
  height: 80px;
  font-size: 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 255, 0.7),
    rgba(139, 95, 191, 0.9),
    rgba(0, 255, 255, 0.7)
  );
  background-size: 200% 200%;
  animation: playBtnGradient 3s ease infinite;
  box-shadow: 0 8px 25px rgba(139, 95, 191, 0.7),
    inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 0, 255, 0.3);
  border: 3px solid rgba(255, 179, 217, 0.5);
}

@keyframes playBtnGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.control-btn.play-btn:hover {
  transform: scale(1.25) translateY(-5px);
  box-shadow: 0 15px 45px rgba(139, 95, 191, 0.9),
    0 0 80px rgba(221, 160, 221, 0.8), inset 0 2px 0 rgba(255, 255, 255, 0.4),
    0 0 0 12px rgba(255, 0, 255, 0.3);
  animation: playBtnGradient 1s ease infinite, playBtnPulse 1s ease infinite;
}

@keyframes playBtnPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

.control-btn.active {
  background: linear-gradient(
    135deg,
    rgba(255, 179, 217, 0.95),
    rgba(221, 160, 221, 0.95),
    rgba(255, 105, 180, 0.95)
  );
  border-color: rgba(255, 179, 217, 0.8);
  box-shadow: 0 8px 25px rgba(221, 160, 221, 0.9),
    0 0 40px rgba(255, 179, 217, 0.7), inset 0 2px 0 rgba(255, 255, 255, 0.4);
  animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(221, 160, 221, 0.9),
      0 0 40px rgba(255, 179, 217, 0.7), inset 0 2px 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(221, 160, 221, 0.9),
      0 0 60px rgba(255, 179, 217, 0.9), inset 0 2px 0 rgba(255, 255, 255, 0.4);
  }
}

.control-btn.clear-player-btn {
  background: linear-gradient(135deg, #ff0055, #ff1744);
  border: 2px solid rgba(255, 23, 68, 0.6);
  box-shadow: 0 4px 15px rgba(255, 0, 85, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.control-btn.clear-player-btn:hover {
  background: linear-gradient(135deg, #d50000, #ff1744);
  box-shadow: 0 8px 30px rgba(255, 0, 85, 0.8), 0 0 50px rgba(255, 23, 68, 0.5);
  transform: scale(1.2) translateY(-4px) rotate(-5deg);
  border-color: #ff1744;
}

.control-btn.clear-player-btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.8);
}

.control-btn.sleep-timer-btn {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border: 2px solid rgba(106, 17, 203, 0.4);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 117, 252, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.control-btn.sleep-timer-btn:hover {
  background: linear-gradient(135deg, #5f0eb5 0%, #1a65e6 100%);
  box-shadow: 0 8px 30px rgba(37, 117, 252, 0.6),
    0 0 40px rgba(106, 17, 203, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
  transform: scale(1.15) translateY(-4px) rotate(8deg);
  border-color: rgba(160, 190, 255, 0.8);
}

.control-btn.sleep-timer-btn.active {
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4),
    inset 0 0 15px rgba(0, 255, 255, 0.2);
  animation: sleepBreathing 4s ease-in-out infinite;
}

@keyframes sleepBreathing {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(106, 17, 203, 0.5);
  }
  50% {
    box-shadow: 0 0 35px rgba(37, 117, 252, 0.7);
  }
}

.favorite-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(221, 160, 221, 0.2);
  border: 2px solid rgba(221, 160, 221, 0.3);
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.favorite-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 105, 180, 0.3),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.favorite-btn:hover::before {
  opacity: 1;
  animation: rotateBorder 2s linear infinite;
}

@keyframes rotateBorder {
  to {
    transform: rotate(360deg);
  }
}

.favorite-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 105, 180, 0.5),
    rgba(221, 160, 221, 0.5)
  );
  border-color: rgba(255, 105, 180, 0.8);
  transform: scale(1.3) rotate(15deg);
  box-shadow: 0 0 30px rgba(255, 107, 157, 0.7);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  border: 2px solid rgba(221, 160, 221, 0.2);
  transition: all 0.3s ease;
  max-width: fit-content;
}

.volume-control:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(221, 160, 221, 0.4);
  box-shadow: 0 4px 12px rgba(139, 95, 191, 0.3);
}

.volume-icon {
  color: #dda0dd;
  font-size: 1.2rem;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.volume-icon:hover {
  transform: scale(1.15);
}

.volume-slider-container {
  position: relative;
  width: 140px;
  height: 28px;
  display: flex;
  align-items: center;
  padding-right: 0px;
}

.volume-slider {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.volume-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5fbf, #dda0dd, #ffb3d9);
  width: 70%;
  border-radius: 3px;
  transition: width 0.1s linear;
  position: relative;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(139, 95, 191, 0.4);
}

.volume-knob {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  background: linear-gradient(135deg, #dda0dd, #ffb3d9);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(221, 160, 221, 0.2);
  transition: all 0.2s ease;
  pointer-events: auto;
  z-index: 10;
}

.volume-knob:hover {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 3px 12px rgba(221, 160, 221, 0.6),
    0 0 0 3px rgba(221, 160, 221, 0.3);
}

.volume-knob:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 2px 10px rgba(221, 160, 221, 0.8),
    0 0 0 2px rgba(221, 160, 221, 0.4);
}

.volume-percentage {
  color: #dda0dd;
  font-size: 0.9rem;
  font-weight: 600;
  user-select: none;
  cursor: pointer;
  min-width: 38px;
  text-align: center;
  margin-left: 10px;
  transition: all 0.2s ease;
}

.volume-percentage:hover {
  transform: scale(1.1);
  text-shadow: 0 0 8px rgba(221, 160, 221, 0.6);
}

.search-section {
  margin-bottom: 2rem;
}

.search-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-tab {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #b19cd9;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
}

.search-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.search-tab[data-source="local"] {
  background: rgba(139, 95, 191, 0.2);
  border-color: rgba(139, 95, 191, 0.4);
  color: #dda0dd;
}

.search-tab[data-source="local"]:hover {
  background: rgba(139, 95, 191, 0.3);
}

.search-tab[data-source="local"].active {
  background: linear-gradient(135deg, #8b5fbf, #a47fd5);
  color: white;
  border-color: #dda0dd;
  box-shadow: 0 4px 20px rgba(139, 95, 191, 0.5);
}

.search-tab[data-source="youtube"] {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.3);
  color: #ff6b6b;
}

.search-tab[data-source="youtube"]:hover {
  background: rgba(255, 0, 0, 0.25);
}

.search-tab[data-source="youtube"].active {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: white;
  border-color: #ff6b6b;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
}

.search-tab[data-source="upload"] {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.3);
  color: #81c784;
}

.search-tab[data-source="upload"]:hover {
  background: rgba(76, 175, 80, 0.25);
}

.search-tab[data-source="upload"].active {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  border-color: #81c784;
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.5);
}

.search-input-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(221, 160, 221, 0.3);
  color: white;
  font-size: 1rem;
}

.search-input::placeholder {
  color: #b19cd9;
}

.search-btn,
.clear-btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.search-btn {
  background: linear-gradient(135deg, #8b5fbf, #a47fd5);
  box-shadow: 0 4px 15px rgba(139, 95, 191, 0.5);
}

.search-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.search-btn:hover::before {
  left: 100%;
}

.search-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 95, 191, 0.8),
    0 0 40px rgba(221, 160, 221, 0.5);
  background: linear-gradient(135deg, #a47fd5, #dda0dd);
}

.clear-btn {
  background: linear-gradient(135deg, #ff6b9d, #ffa07a);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.5);
  animation: slideIn 0.3s ease-out;
}

.clear-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.8),
    0 0 40px rgba(255, 138, 176, 0.6);
  background: linear-gradient(135deg, #ff5a8a, #ff9068);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.file-upload-container {
  display: none;
  padding: 2rem;
  border: 2px dashed rgba(221, 160, 221, 0.4);
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-container:hover {
  border-color: #dda0dd;
  background: rgba(139, 95, 191, 0.1);
}

.file-upload-container.active {
  display: block;
}

.file-upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  animation: fadeSlideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.result-card:nth-child(1) {
  animation-delay: 0.05s;
}
.result-card:nth-child(2) {
  animation-delay: 0.1s;
}
.result-card:nth-child(3) {
  animation-delay: 0.15s;
}
.result-card:nth-child(4) {
  animation-delay: 0.2s;
}

.result-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(221, 160, 221, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 95, 191, 0.2);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.result-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

.result-card:hover .result-thumbnail {
  transform: scale(1.12);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
  z-index: 2;
}

.result-card:hover .card-overlay {
  opacity: 1;
}

.play-icon-overlay {
  font-size: 3rem;
  transform: scale(0.5);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.6));
}

.result-card:hover .play-icon-overlay {
  transform: scale(1);
}

.result-info {
  padding: 0 4px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.result-artist {
  color: #b19cd9;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-add-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5fbf, #ff69b4);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.8);
}

.result-card:hover .result-add-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.result-add-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.result-add-btn:hover::before {
  transform: translateX(100%);
}

.result-add-btn:hover {
  transform: scale(1.15) rotate(90deg) !important;
  box-shadow: 0 0 25px rgba(255, 105, 180, 0.6);
  border-color: #fff;
}

.result-add-btn:active {
  transform: scale(0.95) rotate(90deg) !important;
}

.queue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.queue-header h2 {
  color: #dda0dd;
}

.clear-queue-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(255, 107, 157, 0.3);
  border: 2px solid rgba(255, 107, 157, 0.5);
  color: #ffb3d9;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.clear-queue-btn:hover {
  background: rgba(255, 107, 157, 0.6);
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.6);
}

.queue-list {
  max-height: 400px;
  overflow-y: auto;
}

.queue-list::-webkit-scrollbar {
  width: 8px;
}

.queue-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.queue-list::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #8b5fbf, #a47fd5);
  border-radius: 4px;
}

.queue-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #a47fd5, #dda0dd);
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.queue-item:hover {
  background: rgba(139, 95, 191, 0.2);
}

.queue-item.active {
  background: linear-gradient(
    135deg,
    rgba(139, 95, 191, 0.3),
    rgba(164, 127, 213, 0.3)
  );
  border: 2px solid #dda0dd;
}

.queue-thumbnail {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: linear-gradient(135deg, #2c1654, #3d1f6e);
}

.queue-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.queue-title {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.queue-artist {
  color: #b19cd9;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.queue-duration {
  color: #b19cd9;
  font-size: 0.85rem;
}

.remove-track-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 107, 157, 0.3);
  border: none;
  color: #ffb3d9;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-track-btn:hover {
  background: rgba(255, 107, 157, 0.7);
  transform: scale(1.2) rotate(90deg);
  box-shadow: 0 0 15px rgba(255, 107, 157, 0.6);
}

.now-playing-toast {
  position: fixed;
  top: -200px;
  right: 2rem;
  background: linear-gradient(
    135deg,
    rgba(139, 95, 191, 0.95),
    rgba(164, 127, 213, 0.95)
  );
  backdrop-filter: blur(15px);
  border: 2px solid rgba(221, 160, 221, 0.4);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 40px rgba(139, 95, 191, 0.6),
    0 0 60px rgba(221, 160, 221, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 280px;
  max-width: 400px;
  z-index: 10000;
  transition: top 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.now-playing-toast.show {
  top: 6rem;
}

.toast-icon {
  font-size: 2.5rem;
  animation: toastIconBounce 1s ease-in-out infinite;
}

@keyframes toastIconBounce {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(-5deg);
  }
}

.toast-content {
  flex: 1;
  overflow: hidden;
}

.toast-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.toast-track {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 11000;
  padding: 1rem 2rem;
  border-radius: 50px;
  background: rgba(20, 20, 35, 0.95);
  border: 1px solid rgba(139, 95, 191, 0.5);
  color: #dda0dd;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.status-message.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.status-message.error {
  border-color: #ff6b6b;
  color: #ff6b6b;
  background: rgba(40, 10, 10, 0.95);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
}

.shortcuts-help-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(139, 95, 191, 0.95),
    rgba(164, 127, 213, 0.95)
  );
  backdrop-filter: blur(10px);
  border: 2px solid rgba(221, 160, 221, 0.4);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(139, 95, 191, 0.5);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shortcuts-help-btn:hover {
  transform: scale(1.2) rotate(15deg);
  box-shadow: 0 12px 35px rgba(139, 95, 191, 0.8),
    0 0 50px rgba(221, 160, 221, 0.6);
}

.shortcuts-overlay,
.sleep-timer-overlay,
.confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  padding: 2rem;
}

.shortcuts-overlay.show,
.sleep-timer-overlay.show,
.confirm-overlay.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.shortcuts-modal,
.sleep-timer-modal,
.confirm-modal {
  background: linear-gradient(
    145deg,
    rgba(44, 22, 84, 0.95),
    rgba(61, 31, 110, 0.95)
  );
  border: 2px solid rgba(221, 160, 221, 0.4);
  border-radius: 24px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(139, 95, 191, 0.6);
  animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.shortcuts-header,
.sleep-timer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.shortcuts-header h2,
.sleep-timer-header h3 {
  color: #dda0dd;
  font-size: 1.8rem;
  margin: 0;
  text-shadow: 0 2px 10px rgba(221, 160, 221, 0.5);
}

.shortcuts-close,
.sleep-timer-close {
  background: rgba(255, 107, 157, 0.3);
  border: 2px solid rgba(255, 107, 157, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: #ffb3d9;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shortcuts-close:hover,
.sleep-timer-close:hover {
  background: rgba(255, 107, 157, 0.6);
  transform: rotate(90deg) scale(1.2);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.7);
}

.shortcuts-grid {
  display: grid;
  gap: 1rem;
}

.shortcut-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(221, 160, 221, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.shortcut-item:hover {
  background: rgba(139, 95, 191, 0.2);
  border-color: rgba(221, 160, 221, 0.4);
  transform: translateX(5px);
}

.shortcut-key {
  background: linear-gradient(
    135deg,
    rgba(139, 95, 191, 0.4),
    rgba(164, 127, 213, 0.4)
  );
  border: 2px solid rgba(221, 160, 221, 0.3);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  min-width: 80px;
  text-align: center;
  font-weight: 700;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(139, 95, 191, 0.3);
}

.shortcut-desc {
  color: #e6d5ff;
  font-size: 1rem;
  flex: 1;
}

.sleep-timer-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.timer-option {
  background: linear-gradient(
    135deg,
    rgba(139, 95, 191, 0.3),
    rgba(164, 127, 213, 0.3)
  );
  border: 2px solid rgba(221, 160, 221, 0.3);
  border-radius: 12px;
  padding: 1rem;
  color: white;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 1rem;
}

.timer-option:hover {
  background: linear-gradient(
    135deg,
    rgba(139, 95, 191, 0.7),
    rgba(164, 127, 213, 0.7)
  );
  border-color: rgba(221, 160, 221, 0.8);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(139, 95, 191, 0.7);
}

.timer-active {
  text-align: center;
}

.timer-display {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(221, 160, 221, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.timer-icon {
  font-size: 3rem;
  animation: timerPulse 2s ease-in-out infinite;
}

@keyframes timerPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.timer-label {
  color: #b19cd9;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.timer-countdown {
  color: #dda0dd;
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(221, 160, 221, 0.5);
}

.timer-cancel {
  background: rgba(255, 107, 157, 0.4);
  border: 2px solid rgba(255, 107, 157, 0.5);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timer-cancel:hover {
  background: rgba(255, 107, 157, 0.7);
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.6);
}

.confirm-modal {
  max-width: 380px;
  text-align: center;
  animation: scaleIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.confirm-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: warningShake 0.6s ease-in-out;
}

@keyframes warningShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

.confirm-modal h3 {
  color: #ffb3d9;
  font-size: 1.8rem;
  margin: 0 0 1rem 0;
}

.confirm-modal p {
  color: #e6d5ff;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.confirm-buttons {
  display: flex;
  gap: 1rem;
}

.confirm-btn {
  flex: 1;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid;
  position: relative;
  overflow: hidden;
}

.confirm-yes {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 157, 0.5),
    rgba(255, 138, 176, 0.5)
  );
  border-color: rgba(255, 107, 157, 0.6);
  color: white;
}

.confirm-yes:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 157, 0.9),
    rgba(255, 138, 176, 0.9)
  );
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.8);
}

.confirm-no {
  background: linear-gradient(
    135deg,
    rgba(139, 95, 191, 0.5),
    rgba(164, 127, 213, 0.5)
  );
  border-color: rgba(221, 160, 221, 0.6);
  color: white;
}

.confirm-no:hover {
  background: linear-gradient(
    135deg,
    rgba(139, 95, 191, 0.9),
    rgba(164, 127, 213, 0.9)
  );
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(139, 95, 191, 0.8);
}

.loading-spinner {
  display: none;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(221, 160, 221, 0.3);
  border-top-color: #dda0dd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

.loading-spinner.active {
  display: block;
}

@media (max-width: 1024px) {
  .player-section {
    grid-template-columns: 1fr;
  }
  .search-results {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  .playlist-container {
    padding: 1rem;
    padding-bottom: 7rem;
  }
  .playlist-header {
    padding-top: 5rem;
  }
  .playlist-header h1 {
    font-size: 2.5rem;
  }
  .vinyl-player,
  .now-playing,
  .search-section,
  .playlist-queue {
    padding: 1.5rem;
  }
  .vinyl-container {
    max-width: 280px;
  }
  .search-tabs {
    overflow-x: auto;
  }
  .search-input-container {
    flex-direction: column;
  }
  .player-controls {
    gap: 0.8rem;
  }
  .controls-row.main-controls {
    gap: 1.5rem;
  }
  .controls-row.secondary-controls {
    gap: 1rem;
  }
  .control-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  .control-btn.play-btn {
    width: 65px;
    height: 65px;
    font-size: 1.6rem;
  }
  .volume-control {
    width: 100%;
    max-width: 300px;
    margin: 0.5rem auto 0 auto;
    justify-content: center;
    padding: 0.6rem 1.2rem;
  }
  .volume-slider-container {
    width: 120px;
  }
  .now-playing-toast {
    right: 1rem;
    left: 1rem;
    min-width: auto;
    max-width: none;
    padding: 0.75rem 1rem;
  }
  .now-playing-toast.show {
    top: 5rem;
  }
  .toast-icon {
    font-size: 2rem;
  }
  .toast-track {
    font-size: 0.95rem;
  }
  .shortcuts-help-btn {
    display: none !important;
  }

  .result-add-btn {
    opacity: 1;
    transform: translateY(0) scale(1);
    width: 38px;
    height: 38px;
    bottom: 12px;
    right: 12px;
    font-size: 1.2rem;
  }
}

.search-meta-info {
  grid-column: 1 / -1;
  color: #b19cd9;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeSlideUp 0.4s ease forwards;
}

.search-meta-info span {
  background: rgba(139, 95, 191, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  color: #e0e0e0;
}
