* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0f172a;

  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 100vh;
}

.player {
  width: 350px;

  background: #1e293b;

  padding: 30px;

  border-radius: 20px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);

  text-align: center;
}

.cover {
  width: 220px;
  height: 220px;

  object-fit: cover;

  border-radius: 50%;

  margin-bottom: 25px;
}

.song-title {
  color: #f8fafc;

  font-size: 24px;

  font-weight: 600;

  margin-bottom: 6px;
}

.artist {
  color: #94a3b8;

  margin-bottom: 30px;
}

.progress-bar {
  width: 100%;

  height: 6px;

  background: #334155;

  border-radius: 100px;

  overflow: hidden;

  cursor: pointer;
}

.progress {
  width: 0%;

  height: 100%;

  background: #3b82f6;

  border-radius: 100px;
}

.time {
  display: flex;

  justify-content: space-between;

  margin-top: 10px;

  color: #94a3b8;

  font-size: 14px;
}

.controls {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 20px;

  margin-top: 35px;
}

.control-btn,
.play-btn {
  border: none;

  cursor: pointer;

  transition: 0.3s;
}

.control-btn {
  width: 55px;

  height: 55px;

  border-radius: 50%;

  background: #334155;

  color: #f8fafc;

  font-size: 24px;
}

.control-btn:hover {
  background: #3b82f6;
}

.play-btn {
  width: 75px;

  height: 75px;

  border-radius: 50%;

  background: #3b82f6;

  color: white;

  font-size: 34px;
}

.play-btn:hover {
  transform: scale(1.08);
}

button i {
  pointer-events: none;
}

.shuffle-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.shuffle-btn.active {
  color: #3b82f6;
}

.repeat-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.repeat-btn.active {
  color: #3b82f6;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.volume-container i {
  color: white;
  font-size: 20px;
}

#volumeSlider {
  flex: 1;
  cursor: pointer;
  height: 4px;
}

@media (max-width: 480px) {
  body {
    padding: 16px 12px;
  }
  .player {
    width: 100%;
    max-width: 340px;
    padding: 24px 18px;
  }
  .cover {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
  }
  .song-title {
    font-size: 20px;
  }
  .artist {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .controls {
    gap: 12px;
    margin-top: 24px;
  }
  .control-btn {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  .play-btn {
    width: 62px;
    height: 62px;
    font-size: 28px;
  }
  .shuffle-btn, .repeat-btn {
    font-size: 1.25rem;
  }
  .volume-container {
    margin-top: 22px;
  }
}

