/* Music Player Styles */
.music-player-container {
  margin: 30px 0;
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.music-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-btn {
  background: var(--primary-color);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.player-btn:hover {
  transform: scale(1.1);
  background: var(--secondary-color);
}

.player-btn i {
  font-size: 1.2rem;
}

.now-playing {
  flex: 1;
  text-align: left;
  color: white;
  padding: 0 20px;
}

#trackTitle {
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  min-width: 150px;
}

.volume-control i {
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.volume-control i:hover {
  color: var(--primary-color);
}

#volumeSlider {
  width: 100px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#volumeSlider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

#volumeSlider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease;
}

#volumeSlider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.spotify-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1db954;
  text-decoration: none;
  margin-top: 10px;
  padding: 8px 16px;
  background: rgba(29, 185, 84, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.spotify-link:hover {
  transform: scale(1.05);
  background: rgba(29, 185, 84, 0.2);
}

.spotify-link i {
  font-size: 1.2rem;
}

.spotify-link .spotify-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.spotify-link-active {
  animation: spotifyPulse 2s infinite;
}

@keyframes spotifyPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(29, 185, 84, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(29, 185, 84, 0);
  }
}

/* Presenter Status */
#titlePresenterStatus {
  color: var(--primary-color);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 15px;
  background: rgba(74, 144, 226, 0.1);
  margin-left: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .music-player {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .now-playing {
    text-align: center;
    padding: 15px 0;
  }

  .volume-control {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .spotify-link {
    justify-content: center;
  }
}
