/* ==========================================================================
   LA PURA NETA RADIO - STREAMING NATIVE APP THEME (Light & Dark Mode)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --color-primary: #E60012;
  --color-primary-hover: #cc0010;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  overflow-x: hidden;
  padding-bottom: 84px; /* Space for persistent bottom player */
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

.dark ::-webkit-scrollbar-track {
  background: #09090b;
}

html:not(.dark) ::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.dark ::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 3px;
}

html:not(.dark) ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

html:not(.dark) ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Range input slider styling */
input[type="range"] {
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  outline: none;
}

.dark input[type="range"] {
  background: #27272a;
}

html:not(.dark) input[type="range"] {
  background: #cbd5e1;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.1s ease;
}

.dark input[type="range"]::-webkit-slider-thumb {
  background: #ffffff;
}

html:not(.dark) input[type="range"]::-webkit-slider-thumb {
  background: #0f172a;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #E60012 !important;
}

/* Minimalist Equalizer Animation */
.eq-bar {
  display: inline-block;
  width: 3px;
  background-color: #E60012;
  border-radius: 1px;
  transition: height 0.15s ease;
}

.eq-active .eq-bar:nth-child(1) { animation: barPlay 0.8s infinite ease-in-out; }
.eq-active .eq-bar:nth-child(2) { animation: barPlay 1.1s infinite ease-in-out 0.2s; }
.eq-active .eq-bar:nth-child(3) { animation: barPlay 0.7s infinite ease-in-out 0.4s; }
.eq-active .eq-bar:nth-child(4) { animation: barPlay 1.0s infinite ease-in-out 0.1s; }

@keyframes barPlay {
  0%, 100% { height: 3px; }
  50% { height: 16px; }
}

/* Toast */
.toast-notification {
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
