body {
  margin: 0;
  padding-bottom: 160px;
  background: #111;
  color: #fff;
  font-family: sans-serif;
}

#radioPlayer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1c1c1c;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
}

#playerTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px;
  gap: 10px;
}

#albumArt {
  height: 70px;
  width: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  box-sizing: border-box;
  min-width: 0;
}

.info div { margin: 2px 0; word-wrap: break-word; }

#volumeWrapper { display: flex; align-items: center; gap: 6px; }

#volumeControl {
  width: 90px;
  height: 4px;
  accent-color: #ff4040;
  cursor: pointer;
}

#playBtn {
  min-width: 45px;
  min-height: 45px;
  background-color: transparent;
  border: 2px solid #ff4040;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

#playIcon { color: #ff4040; font-size: 20px; }

#autoplayHint {
  display: none;
  background: #ff4040;
  color: #FFFFFF;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

#playlist {
  margin-top: 10px;
  width: 100%;
  max-width: 1000px;
  max-height: 60px;
  overflow-x: auto;
  white-space: nowrap;
  background: #222;
  border-radius: 8px;
  padding: 8px 10px;
  box-sizing: border-box;
  font-size: 13px;
  text-align: center;
}

/* Animaciones */
@keyframes highlight {
  0%   { background-color: transparent; }
  30%  { background-color: rgba(255, 64, 64, 0.15); }
  100% { background-color: transparent; }
}
.cancion-actualizada { animation: highlight 1s ease; }

@keyframes pulsar {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.reproduciendo {
  animation: pulsar 1s infinite ease-in-out;
  border-color: #ff8080;
  box-shadow: 0 0 6px rgba(255, 64, 64, 0.5);
}

/* Responsivo */
@media (max-width: 768px) {
  #playerTop { flex-direction: column; }
  #albumArt { margin-bottom: 10px; }
}