* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.container {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(145deg, #ffffff, #fff0f5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-wrap: wrap;
}

.music-player {
  background: linear-gradient(120deg, #ffb6c1, #f9c5d1, #ffd6ec);
  width: 100%;
  max-width: 400px;
  padding: 25px 35px;
  text-align: center;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(255, 26, 26, 0.15);
}

nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

nav .circle {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(255, 26, 26, 0.22);
}

.song-img {
  width: 60%;
  max-width: 220px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 10px 60px rgba(255, 26, 26, 0.22);
  margin: 0 auto;
}

.music-player h1 {
  font-size: 20px;
  font-weight: 400;
  color: #333;
  margin-top: 20px;
}

.music-player p {
  font-size: 14px;
  color: #333;
}

#progress {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #f53192;
  border-radius: 4px;
  cursor: pointer;
  margin: 40px 0;
}

#progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: #f53192;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 5px 5px rgba(255, 26, 26, 0.22);
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.controls div {
  width: 60px;
  height: 60px;
  margin: 15px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #f53192;
  box-shadow: 0 10px 20px rgba(255, 26, 26, 0.22);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.controls div:nth-child(2) {
  transform: scale(1.5);
  background: #f53192;
  color: #fff;
}

/* ------------------------------
   ✅ Responsive Media Queries
--------------------------------*/

@media (max-width: 480px) {
  .music-player {
    padding: 20px;
    border-radius: 20px;
  }

  .song-img {
    width: 70%;
  }

  .music-player h1 {
    font-size: 18px;
  }

  .music-player p {
    font-size: 13px;
  }

  .controls div {
    width: 50px;
    height: 50px;
    margin: 10px;
  }

  .controls div:nth-child(2) {
    transform: scale(1.3);
  }

  #progress::-webkit-slider-thumb {
    width: 25px;
    height: 25px;
    border: 6px solid #fff;
  }
}
