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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #434343, #000000);
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Music Player Container */
.music-container {
  background-color: #1f1f2e;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

/* Controls */
.controls {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.controls button {
  background-color: #29294d;
  color: #fff;
  border: none;
  padding: 15px 20px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.controls button:hover {
  background-color: #3d3d72;
  transform: scale(1.1);
}

/* Progress and Volume */
.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 25px auto;
  animation: rotateCircle 6s linear infinite;
}

.progress-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

#progressText {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}


.volume-container {
  margin: 15px 0;
}

input[type="range"] {
  width: 100%;
}

/* Playlist */
.playlist {
  margin-top: 25px;
  text-align: left;
}

.playlist h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #c9c9ff;
}

.playlist ul {
  list-style: none;
  padding: 0;
}

.playlist li {
  background: #33334d;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.playlist li:hover {
  background-color: #4e4e80;
}

/* Responsive Design */
@media (max-width: 500px) {
  .music-container {
    padding: 20px;
    max-width: 90%;
  }

  .controls button {
    padding: 12px;
    font-size: 16px;
  }
}
.time-container {
  margin-top: 10px;
  font-size: 14px;
  color: #ccc;
}




  