
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  transition: background 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
}
.player-wrapper {
  width: 90%;
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease, width 0.4s ease;
}
.cover-art img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.song-info {
  text-align: center;
  margin-top: 15px;
}
#seekbar {
  width: 100%;
  margin: 10px 0;
}
.controls,
.extras {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}
button {
  padding: 10px 15px;
  font-size: 18px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}
button:hover {
  background: rgba(255, 255, 255, 0.2);
}
#toast {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff;
}
#lyrics {
  white-space: pre-wrap;
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.8;
  max-height: 120px;
  overflow-y: auto;
}
.mini-mode {
  width: 300px;
  transform: scale(0.9);
}
body.light-mode {
  background: linear-gradient(135deg, #e0eafc, #cfdef3);
  color: #222;
}
body.light-mode .player-wrapper {
  background: rgba(255, 255, 255, 0.6);
}
body.light-mode button {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}
body.light-mode #toast {
  background: #000;
  color: #fff;
}
