/* ==============================================================================
   POTTI RADIO - HOME PAGE STYLES
   Warm Amber/Orange Theme matching Station Logo
   ============================================================================== */

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.08);
  }
}

@keyframes waveBar {
  0%, 100% {
    height: 4px;
  }
  50% {
    height: 22px;
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spinSlow 20s linear infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 6s ease-in-out infinite;
}

/* Audio Visualizer Wave Bars */
.wave-bar {
  display: inline-block;
  width: 3.5px;
  border-radius: 9999px;
  background: linear-gradient(to top, #f59e0b, #ea580c);
  transition: height 0.15s ease;
}

.playing .wave-bar:nth-child(1) { animation: waveBar 1.1s ease-in-out infinite; }
.playing .wave-bar:nth-child(2) { animation: waveBar 0.8s ease-in-out infinite 0.2s; }
.playing .wave-bar:nth-child(3) { animation: waveBar 1.3s ease-in-out infinite 0.4s; }
.playing .wave-bar:nth-child(4) { animation: waveBar 0.9s ease-in-out infinite 0.1s; }
.playing .wave-bar:nth-child(5) { animation: waveBar 1.2s ease-in-out infinite 0.3s; }

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #fef3c7;
}
::-webkit-scrollbar-thumb {
  background: #f59e0b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.glass-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -8px rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.45);
}

/* Smooth transitions */
html {
  scroll-behavior: smooth;
}

/* Range input styling */
input[type="range"] {
  accent-color: #ea580c;
}
