body {
  font-family: Arial, sans-serif;
  background: #111;
  color: #eee;
  margin: 0;
  padding: 20px;
}

.music-player {
  max-width: 500px;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #1db954; /* Spotify-like green, or change */
}

.current-track {
  text-align: center;
  margin-bottom: 20px;
}

#track-title {
  margin: 10px 0;
  font-size: 1.4em;
}

.progress-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
}

#progress {
  flex: 1;
  height: 6px;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 5px;
  background: #535353;
  appearance: none;
}

#progress::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  background: #1db954;
  border-radius: 50%;
  cursor: pointer;
}

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

button {
  background: none;
  border: none;
  color: white;
  font-size: 1.8em;
  cursor: pointer;
  transition: transform 0.2s;
}

button:hover {
  transform: scale(1.15);
  color: #1db954;
}

.playlist {
  list-style: none;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
}

.playlist li {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #333;
  transition: background 0.2s;
}

.playlist li:hover,
.playlist li.active {
  background: #2a2a2a;
  color: #1db954;
}

/* Retro Title Section */
.music-player {
  background: linear-gradient(145deg, #0d001a, #1a0033, #2a004d); /* deep purple-black gradient */
  border: 3px solid #a0a0c0; /* silver-grey metallic border */
  border-radius: 16px;
  box-shadow: 
    0 0 30px rgba(180, 100, 255, 0.4),     /* purple glow */
    inset 0 0 20px rgba(0, 0, 0, 0.7),      /* inner depth */
    inset 0 2px 10px rgba(255, 255, 255, 0.15); /* subtle silver highlight */
  padding: 2.5rem 2rem;
  max-width: 520px;
  margin: 3rem auto;
}

h2 {
  font-family: 'Orbitron', sans-serif; /* sleek retro-futuristic */
  /* or try: 'Audiowide', cursive;  or 'Press Start 2P', cursive; */
  font-size: 2.6rem;
  font-weight: 700;
  color: #d0b0ff; /* light purple-silver */
  text-shadow: 
    0 0 10px #b080ff, 
    0 0 20px #9050ff, 
    0 0 30px #7030ff; /* glowing purple aura */
  letter-spacing: 3px;
  margin: 0 0 1.5rem 0;
  text-align: center;
  background: linear-gradient(90deg, #a080ff, #d0b0ff, #a080ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #b080ff, 0 0 20px #9050ff; }
  to   { text-shadow: 0 0 20px #b080ff, 0 0 40px #9050ff, 0 0 60px #7030ff; }
}

/* Subtle silver underline/glow under title */
h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  margin: 0.8rem auto 0;
  background: linear-gradient(90deg, transparent, #c0c0ff, transparent);
  box-shadow: 0 0 15px #c0c0ff;
}

/* Make the "Select a mix to play" text retro too */
.current-track h3 {
  font-family: 'Audiowide', sans-serif;
  color: #b0e0ff; /* icy silver-blue */
  text-shadow: 0 0 8px #80c0ff;
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}