.player-container {
  background: #212529;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  transition: background 1s;
}

.cover-img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 0 15px #000;
  transition: opacity 0.5s;
}

.equalizer {
  margin-top: 10px;
  height: 20px;
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
}

.equalizer span {
  width: 4px;
  background: #0d6efd;
  animation: bounce 1s infinite alternate;
}

.equalizer span:nth-child(2) {
  animation-delay: 0.2s;
}

.equalizer span:nth-child(3) {
  animation-delay: 0.4s;
}

.equalizer span:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  from {
    transform: scaleY(1);
  }
  to {
    transform: scaleY(2);
  }
}

.time-display {
  font-size: 0.9rem;
  margin: 5px 0;
  color: #0d8cdb;
}

/* Mini Player Styles */

#miniPlayer {
  display: none;
  position: fixed;
  bottom: 5px;
  left: 10px;
  right: 10px;
  background-color: #212529;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.8);
  padding: 10px;
  z-index: 999;
}

#miniPlayer.show {
  display: block;
}

#miniPlayer .cover-img {
  width: 80px;
}

/* Transition für Dark/Light Mode */

.light-mode {
  background-color: #ffffff;
  color: #000;
}

.light-mode .player-container {
  background: #f8f9fa;
}

.light-mode .cover-img {
  border: 2px solid #000;
}

