#bg-music-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(10, 14, 22, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold);
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  gap: 12px;
  z-index: 1000;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
}

#bg-music-widget:hover {
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.music-icon {
  width: 24px;
  height: 24px;
  fill: var(--gold);
  animation: pulseGlow 2s infinite alternate;
}

.volume-slider-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  user-select: none;
}

#bg-volume {
  -webkit-appearance: none;
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
}

#bg-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 8px var(--gold);
}

#bg-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 8px var(--gold);
  border: none;
}
