/* === BASIC RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* === BODY === */
body {
  background: radial-gradient(circle at top, #1e1e2f, #0f0f1a);
  color: #fff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* === PLAYER CONTAINER === */
.player {
  background: linear-gradient(135deg, #1f1f2e, #2d2d44);
  border-radius: 20px;
  padding: 30px 40px;
  box-shadow: 0 0 25px rgba(0, 183, 255, 0.3);
  transition: all 0.4s ease-in-out;
}

.player:hover {
  box-shadow: 0 0 45px rgba(0, 183, 255, 0.6);
}

/* === TRACK DETAILS === */
.details {
  text-align: center;
  margin-bottom: 25px;
}

.now-playing {
  font-size: 1rem;
  color: #aaa;
}

.track-art {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 15px auto;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 25px rgba(0, 183, 255, 0.5);
  transition: all 0.5s ease;
}

.track-art.rotate {
  animation: rotateAlbum 8s linear infinite;
}

@keyframes rotateAlbum {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.track-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 10px;
}

.track-artist {
  font-size: 1rem;
  color: #bbb;
}

/* === SLIDERS === */
.slider_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
}

.seek_slider,
.volume_slider {
  width: 50%;
  appearance: none;
  height: 5px;
  border-radius: 5px;
  background: #00b7ff;
  cursor: pointer;
}

.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
  appearance: none;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00b7ff;
}

.current-time,
.total-duration {
  font-size: 0.9rem;
  color: #aaa;
}

/* === BUTTONS === */
.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.buttons i {
  color: #00b7ff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buttons i:hover {
  transform: scale(1.2);
  color: #4fd3ff;
}

/* === MUSIC WAVE === */
#wave {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  height: 60px;
  gap: 6px;
}

.stroke {
  width: 6px;
  height: 30px;
  background: #00b7ff;
  border-radius: 3px;
  animation: sound 1s linear infinite;
}

@keyframes sound {
  0% {
    height: 20px;
  }
  50% {
    height: 50px;
  }
  100% {
    height: 20px;
  }
}

#wave.paused .stroke {
  animation-play-state: paused;
}
