/* ==========================================================================
   FM Radio Online - Mobile Exclusive Player Stylesheet
   Colores suaves, tonos no tan claros, estética moderna y táctil
   ========================================================================== */

:root {
  /* Paleta cromática: Tonos suaves, sobrios y modernos */
  --bg-deep: #0e1219;
  --bg-surface: #151b26;
  --bg-surface-elevated: #1b2230;
  --bg-card: rgba(27, 34, 48, 0.7);
  --bg-card-active: rgba(43, 52, 73, 0.85);

  /* Acentos suaves (no estridentes) */
  --accent-primary: #7986cb;       /* Índigo suave */
  --accent-secondary: #4db6ac;     /* Menta/Teal apagado */
  --accent-lavender: #9575cd;      /* Lavanda suave */
  --accent-rose: #d37295;          /* Rosa cálido suave */
  --accent-gradient: linear-gradient(135deg, #7986cb 0%, #4db6ac 100%);
  --accent-glow: rgba(121, 134, 203, 0.25);

  /* Estados */
  --live-color: #4ade80;
  --live-glow: rgba(74, 222, 128, 0.35);
  --buffering-color: #fbbf24;
  --error-color: #f87171;

  /* Tipografía y bordes */
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(121, 134, 203, 0.5);

  /* Sombras y blur */
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --glow-shadow: 0 0 25px rgba(121, 134, 203, 0.2);
  --glass-blur: blur(16px);
  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #080a0f;
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  user-select: none;
  -webkit-user-select: none;
  overflow-x: hidden;
}

/* Contenedor Exclusivo Móvil */
.mobile-viewport {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(121, 134, 203, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(77, 182, 172, 0.05) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

/* Header Superior */
.app-header {
  padding: 16px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 18, 25, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Badge En Vivo */
.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(21, 27, 38, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.live-badge.is-live {
  border-color: rgba(74, 222, 128, 0.3);
  color: var(--live-color);
}

.live-badge.is-live .live-dot {
  background: var(--live-color);
  box-shadow: 0 0 10px var(--live-glow);
  animation: pulseLive 2s infinite ease-in-out;
}

.live-badge.is-buffering {
  border-color: rgba(251, 191, 36, 0.3);
  color: var(--buffering-color);
}

.live-badge.is-buffering .live-dot {
  background: var(--buffering-color);
  animation: pulseBuffering 1s infinite alternate;
}

@keyframes pulseLive {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.65; }
}

@keyframes pulseBuffering {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Contenido Principal */
.player-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 18px 24px;
  gap: 16px;
}

/* ==========================================================================
   Visualizador Radial Central
   ========================================================================== */
.visualizer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 6px;
  position: relative;
}

.visualizer-canvas-container {
  position: relative;
  width: 270px;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

#radialVisualizer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Núcleo central con Vinilo y Logo */
.visualizer-core {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #222938 35%, #131722 70%, #0d1017 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.6),
    inset 0 0 10px rgba(0, 0, 0, 0.8),
    0 0 0 2px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.core-vinyl-disc.spinning {
  animation: spinVinyl 14s linear infinite;
}

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

.vinyl-groove {
  position: absolute;
  width: 86%;
  height: 86%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.active-station-art {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg-surface-elevated);
  border: 2px solid rgba(255, 255, 255, 0.12);
  padding: 6px;
  z-index: 3;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.vinyl-center-hole {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #090c12;
  border: 2px solid rgba(121, 134, 203, 0.5);
  z-index: 4;
}

.playback-indicator-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  pointer-events: none;
  transition: all 0.4s ease;
}

.playing .playback-indicator-ring {
  border-color: rgba(121, 134, 203, 0.35);
  box-shadow: 0 0 20px rgba(121, 134, 203, 0.2);
}

/* Info de la Radio Activa */
.current-track-info {
  text-align: center;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.station-meta-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.station-freq-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(121, 134, 203, 0.18);
  color: var(--accent-primary);
  border: 1px solid rgba(121, 134, 203, 0.3);
  letter-spacing: 0.5px;
}

.stream-bitrate-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

.active-station-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-main);
  line-height: 1.2;
}

.active-station-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Controles Principales (Play/Pause, EQ, Volumen)
   ========================================================================== */
.player-controls-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--card-shadow);
}

.primary-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

/* Botones con iconos secundarios */
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.icon-btn:hover, .icon-btn:active {
  background: #252e40;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

/* EQ Toggle Button */
.eq-toggle-btn.is-active {
  color: var(--accent-secondary);
  border-color: rgba(77, 182, 172, 0.4);
  background: rgba(77, 182, 172, 0.1);
}

.eq-status-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}

.eq-toggle-btn.has-filter .eq-status-dot {
  background: var(--accent-secondary);
  box-shadow: 0 0 6px var(--accent-secondary);
}

/* Gran Botón Central Play / Pause */
.play-pause-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 24px rgba(121, 134, 203, 0.35);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

.play-pause-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(121, 134, 203, 0.45);
}

.play-pause-btn:active {
  transform: scale(0.96);
}

.play-pause-icon svg {
  width: 28px;
  height: 28px;
}

.play-icon {
  margin-left: 3px; /* Ópticamente centrado */
}

.spinner-icon svg {
  width: 30px;
  height: 30px;
  animation: spinLoader 0.9s linear infinite;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

/* Control de Volumen */
.volume-control-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(14, 18, 25, 0.55);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.volume-mute-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.volume-mute-btn:hover {
  color: var(--text-main);
}

.volume-mute-btn svg {
  width: 18px;
  height: 18px;
}

.volume-slider-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  height: 24px;
}

/* Custom Range Input */
.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #252d3d;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  margin: 0;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  border: 2px solid var(--accent-primary);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.custom-range::-webkit-slider-thumb:active {
  transform: scale(1.25);
  background: #ffffff;
}

.custom-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  border: 2px solid var(--accent-primary);
}

.volume-fill-bar {
  position: absolute;
  left: 0;
  top: 9px;
  height: 6px;
  border-radius: 4px;
  background: var(--accent-gradient);
  pointer-events: none;
  z-index: 1;
  width: 80%;
}

.volume-percent {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  min-width: 32px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Selector de Estaciones (3 Botones Específicos)
   ========================================================================== */
.stations-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.section-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.station-buttons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Tarjeta / Botón de Estación */
.station-card-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.station-card-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.station-card-btn:hover {
  background: var(--bg-surface-elevated);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.station-card-btn:active {
  transform: scale(0.985);
}

/* Estado Activo / Seleccionado */
.station-card-btn.active {
  background: var(--bg-card-active);
  border-color: rgba(121, 134, 203, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.station-card-btn.active::before {
  background: var(--accent-primary);
}

/* Logo de cada radio */
.station-card-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #11151f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  padding: 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.station-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.station-card-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.station-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.station-name-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.station-dial-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(121, 134, 203, 0.15);
  padding: 2px 6px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

.station-genre-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Animación de barras ecualizadoras en el botón activo */
.station-card-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  flex-shrink: 0;
}

.station-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  opacity: 0.25;
}

.station-wave-bars span {
  width: 3px;
  height: 6px;
  border-radius: 3px;
  background: var(--text-muted);
  transition: all 0.3s ease;
}

.station-card-btn.active.is-playing .station-wave-bars {
  opacity: 1;
}

.station-card-btn.active.is-playing .station-wave-bars span {
  background: var(--accent-primary);
  animation: soundBarPulse 1s ease-in-out infinite alternate;
}

.station-card-btn.active.is-playing .station-wave-bars span:nth-child(1) {
  height: 14px;
  animation-delay: 0.1s;
}

.station-card-btn.active.is-playing .station-wave-bars span:nth-child(2) {
  height: 18px;
  animation-delay: 0.3s;
}

.station-card-btn.active.is-playing .station-wave-bars span:nth-child(3) {
  height: 10px;
  animation-delay: 0.5s;
}

@keyframes soundBarPulse {
  0% { height: 4px; }
  100% { height: 18px; }
}

/* ==========================================================================
   Modal / Bottom Sheet del Ecualizador
   ========================================================================== */
.eq-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.eq-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.eq-sheet-container {
  width: 100%;
  max-width: 430px;
  background: #141a24;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px calc(24px + var(--safe-bottom));
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eq-modal-backdrop.is-open .eq-sheet-container {
  transform: translateY(0);
}

.sheet-drag-handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 4px;
}

.eq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eq-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.eq-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.eq-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eq-close-btn svg {
  width: 16px;
  height: 16px;
}

.eq-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

/* Chips de Presets */
.eq-presets-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.eq-presets-scroll::-webkit-scrollbar {
  display: none;
}

.eq-preset-chip {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eq-preset-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.eq-preset-chip.active {
  background: rgba(121, 134, 203, 0.2);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  font-weight: 700;
}

/* Faders Verticales del EQ */
.eq-sliders-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 6px;
}

.eq-slider-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.eq-val-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(121, 134, 203, 0.12);
  padding: 2px 4px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: center;
}

.slider-track-vertical {
  height: 130px;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Input vertical */
.eq-vertical-input {
  -webkit-appearance: none;
  appearance: none;
  width: 120px;
  height: 6px;
  border-radius: 4px;
  background: #232c3c;
  outline: none;
  transform: rotate(-90deg);
  cursor: pointer;
}

.eq-vertical-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2e8f0;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.eq-vertical-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2e8f0;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.eq-freq-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-main);
}

.eq-tag-label {
  font-size: 0.62rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.eq-footer-actions {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.eq-reset-btn {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eq-reset-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Footer de la App */
.app-footer {
  padding: 12px 20px calc(14px + var(--safe-bottom));
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.3px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(14, 18, 25, 0.6);
}

/* ==========================================================================
   Ajustes de responsividad y pantallas pequeñas
   ========================================================================== */
@media (max-height: 700px) {
  .visualizer-canvas-container {
    width: 230px;
    height: 230px;
  }
  .visualizer-core {
    width: 110px;
    height: 110px;
  }
  .active-station-art {
    width: 64px;
    height: 64px;
  }
  .slider-track-vertical {
    height: 100px;
  }
  .eq-vertical-input {
    width: 90px;
  }
}
