
#music-player {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #121212;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  z-index: 9999;
}

#music-player img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.music-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#title {
  font-size: 14px;
  margin: 0;
}

.wave {
  display: flex;
  align-items: end;
  height: 15px;
  gap: 3px;
}

.wave span {
  width: 3px;
  background: #f0c040;
  height: 100%;
  animation: pulse 1s infinite ease-in-out;
}

.wave span:nth-child(2) {
  animation-delay: 0.2s;
}
.wave span:nth-child(3) {
  animation-delay: 0.4s;
}
.wave span:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes pulse {
  0%, 100% { height: 5px; }
  50% { height: 15px; }
}

.music-controls button {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}

.music-controls button:hover {
  color: #f0c040;
}

#music-player audio {
  display: none;
}
