/* Estilos Personalizados - Barra Sector 9 Cancionero */
/* Paleta Oficial: Azul (#000080), Blanco (#FFFFFF) y Celeste (#38BDF8) */

:root {
  --color-primary: #000080;
  --color-primary-light: #0056b3;
  --color-primary-dark: #070e1d;
  --color-celeste: #38bdf8;
  --color-celeste-hover: #0ea5e9;
  --color-dark-bg: #060a14;
}

/* Fondo con efecto estadio y atmósfera azul/celeste */
body {
  background-color: var(--color-dark-bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 86, 179, 0.3) 0%, transparent 65%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 128, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(56, 189, 248, 0.1) 0%, transparent 45%);
  background-attachment: fixed;
  color: #f8fafc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* Efectos de brillo Celeste / Sky */
.shadow-celeste {
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.text-celeste {
  color: #38bdf8;
}

.bg-celeste {
  background-color: #38bdf8;
}

.border-celeste {
  border-color: #38bdf8;
}

/* Animación del visualizador de audio en celeste */
.audio-visualizer-bar {
  width: 3px;
  height: 6px;
  background-color: #38bdf8;
  border-radius: 2px;
  transition: height 0.15s ease;
}

.is-playing .audio-visualizer-bar:nth-child(1) { animation: soundWave 0.8s ease infinite alternate; }
.is-playing .audio-visualizer-bar:nth-child(2) { animation: soundWave 1.1s ease infinite alternate 0.2s; }
.is-playing .audio-visualizer-bar:nth-child(3) { animation: soundWave 0.9s ease infinite alternate 0.4s; }
.is-playing .audio-visualizer-bar:nth-child(4) { animation: soundWave 1.3s ease infinite alternate 0.1s; }

@keyframes soundWave {
  0% { height: 4px; }
  100% { height: 22px; }
}

/* Transiciones de tarjetas con blur */
.song-card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Scrollbar estilizada */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #070e1d;
}

::-webkit-scrollbar-thumb {
  background: #1e3a8a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* Efecto de pulso */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.pulse-stadium {
  animation: pulseGlow 4s ease-in-out infinite;
}
