  .music-player {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    z-index: 2100;
    transform: translateX(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }

.music-player.visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.vinyl-disc {
  position: relative;
  width: 90px;
  height: 90px;
  cursor: pointer;
}

.disc-spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    var(--accent-color) 0 18%,
    #0088cc 18% 20%,
    #005577 20% 60%,
    #0088cc 60% 62%,
    #005577 62% 100%);
  animation: spin 4s linear infinite;
}

.vinyl-disc.paused .disc-spin {
  animation-play-state: paused;
}

.disc-spin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45%;
  height: 2px;
  background: var(--text-color);
  transform: translateY(-50%);
  opacity: 0.1;
}

.audio-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-size: 1.2rem;
  z-index: 1;
}

.audio-visualizer {
  position: absolute;
  bottom: 0.3;
  left: 100px;
  width: 160px;
  height: 60px;
  z-index: 0;
  opacity: 0.2;
}

.track-name {
  margin-left: 1.2rem;
  font-size: 1.1rem;
  color: var(--text-color);
  position: relative;
  z-index: 1;
}


@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
