body {
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #b3cde0, #fbb1b1);
  color: #333;
}

.player {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  text-align: center;
  width: 400px;
  position: relative;
}

h2 {
  margin: 5px 0;
  color: #444;
}

h3 {
  margin: 10px 0;
  font-size: 16px;
  color: #555;
}

/* Circular Progress Styles */
.circular-progress-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 20px auto;
}

.circular-progress {
  transform: rotate(-90deg);
}

.circular-progress circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

.circular-progress circle.bg {
  stroke: rgba(255,255,255,0.3);
}

.circular-progress circle.progress {
  stroke: #fbb1b1;
  stroke-dasharray: 440; /* 2 * π * r */
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 0.2s linear;
}

.time-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #fff;
  text-align: center;
}

/* Controls */
.controls {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}
button {
  margin: 5px;
  padding: 12px 18px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #fbb1b1, #b3cde0);
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}
button:hover {
  transform: scale(1.07);
}

/* Playlist */
.playlist-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #fbb1b1, #b3cde0);
  color: white;
  font-size: 18px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.playlist-dropdown {
  display: none;
  margin-top: 15px;
  padding: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 12px;
  max-height: 200px;
  overflow-y: auto;
}
.playlist-dropdown.open { display: block; }

.track-card {
  padding: 12px;
  margin: 8px 0;
  background: rgba(255,255,255,0.5);
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  text-align: left;
  color: #333;
}
.track-card:hover { transform: scale(1.03); background: rgba(255,255,255,0.7); }
.track-card.active {
  background: linear-gradient(135deg, #fbb1b1, #b3cde0);
  color: #fff;
  font-weight: bold;
}
