/*
Theme Name: JRMRadios
Theme URI: https://emisoras.online
Author: JRM Development Team
Author URI: https://domiradios.com.do
Description: Theme profesional premium para directorio mundial de radio JRMRadios. Diseño moderno tipo Spotify con player integrado colorido, SEO 2025, Schema.org, Core Web Vitals optimizado y funcionalidades avanzadas para streaming.
Version: 4.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jrmradios
Tags: radio, streaming, directory, entertainment, music, seo, modern, professional, jrmradios
*/

/* ============================================================================
   TABLA DE CONTENIDOS
   ============================================================================
   1. CSS Reset & Base
   2. Variables & Design System
   3. Typography
   4. Layout & Grid
   5. Header & Navigation
   6. Hero Section
   7. Station Cards & Grid
   8. Radio Player (Integrado)
   9. Single Station Page
   10. Taxonomy Archives
   11. Search & Filters
   12. Footer
   13. Responsive Design
   14. Animations & Transitions
   15. Dark Mode
   16. Utilities
   ============================================================================ */

/* ============================================================================
   1. CSS RESET & BASE
   ============================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-primary);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-primary-hover);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================================
   2. VARIABLES & DESIGN SYSTEM
   ============================================================================ */
:root {
  /* Colors - Modern Purple Gradient - JRMRadios */
  --color-primary: #667eea;
  --color-primary-hover: #5568d3;
  --color-primary-dark: #764ba2;
  --color-secondary: #667eea;
  --color-accent: #764ba2;

  /* Background Colors - MODERN DESIGN */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8f9fa;
  --color-bg-elevated: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-hover: rgba(102, 126, 234, 0.05);

  /* Text Colors */
  --color-text: #333333;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --color-text-inverse: #ffffff;

  /* UI Colors */
  --color-border: #f0f0f0;
  --color-divider: #e8e8e8;
  --color-overlay: rgba(0, 0, 0, 0.5);

  /* Gradients - Modern Purple Theme */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 1) 100%);

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;

  /* Font Sizes - Modular Scale */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */

  /* Spacing - 8pt Grid System */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows - Modern Soft Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(102, 126, 234, 0.2);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 12px 30px rgba(102, 126, 234, 0.2);
  --shadow-button: 0 4px 15px rgba(102, 126, 234, 0.4);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index Scale */
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-player: 1080;

  /* Layout */
  --container-max: 1440px;
  --container-padding: var(--space-6);
  --header-height: 64px;
  --player-height: 90px;
}

/* Light Mode Override */
[data-theme="light"] {
  /* Background Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8f9fa;
  --color-bg-elevated: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-hover: #f0f0f0;

  /* Text Colors */
  --color-text: #191414;
  --color-text-secondary: #535353;
  --color-text-muted: #878787;
  --color-text-inverse: #ffffff;

  /* UI Colors */
  --color-border: #e0e0e0;
  --color-divider: #d9d9d9;
  --color-overlay: rgba(255, 255, 255, 0.95);

  /* Shadows - Light Mode */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ============================================================================
   3. TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-4xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-primary {
  color: var(--color-primary);
}

/* ============================================================================
   4. LAYOUT & GRID
   ============================================================================ */

/* Main Layout */
.site-main {
  min-height: 100vh;
  padding-top: var(--header-height);
}

/* Pages without hero need extra top padding */
.single-wp_radio .site-main,
.tax-radio_country .site-main,
.tax-radio_genre .site-main,
.archive .site-main {
  padding-top: var(--header-height);
}

/* Home page with hero doesn't need the padding */
.home .site-main {
  padding-top: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }

/* Clase responsive para 7 columnas */
.station-grid-8 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

@media (max-width: 1280px) {
  .station-grid-8 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .station-grid-8 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-cols-8 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-cols-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .station-grid-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-cols-8,
  .grid-cols-6,
  .grid-cols-5,
  .grid-cols-4,
  .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .station-grid-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .page-header {
    padding: var(--space-8) 0;
  }

  .page-title {
    font-size: var(--text-3xl);
  }

  .archive-description {
    font-size: var(--text-base);
    padding: 0 var(--space-4);
  }

  .section-spacing {
    padding: var(--space-8) 0;
  }
}

@media (max-width: 480px) {
  .grid { gap: var(--space-4); }
  .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .container {
    padding: 0 var(--space-4);
  }

  .archive-filters {
    padding: var(--space-4);
  }

  .filter-group label {
    font-size: var(--text-sm);
  }
}

/* Station Grid Responsive */
.station-grid {
  width: 100%;
  max-width: 100%;
}

.station-grid .station-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* ============================================================================
   5. HEADER & NAVIGATION - Professional Spotify Style
   ============================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-6);
}

/* ===== Logo & Branding ===== */
.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 10;
}

.site-logo-text {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-fast);
}

.site-logo-text:hover {
  transform: scale(1.02);
}

.site-logo-text svg {
  display: none;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.custom-logo-wrapper img {
  max-height: 40px;
  width: auto;
  display: block;
}

/* ===== Navigation ===== */
.primary-navigation {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-1);
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

/* Submenu */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  list-style: none;
  margin: var(--space-2) 0 0 0;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 1000;
}

.nav-menu .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li {
  margin: 0;
}

.nav-menu .sub-menu li a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-menu .sub-menu li a:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
  padding-left: calc(var(--space-4) + 4px);
}

/* ===== Mega Menu ===== */
.menu-item-has-mega-menu {
  position: relative;
}

.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 95vw;
  max-width: 1200px;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  padding: 0;
  margin: var(--space-2) 0 0 0;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 1000;
}

.menu-item-has-mega-menu:hover .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  padding: var(--space-6);
  max-height: 80vh;
  overflow-y: auto;
}

/* Custom scrollbar for mega menu */
.mega-menu-inner::-webkit-scrollbar {
  width: 8px;
}

.mega-menu-inner::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.mega-menu-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.mega-menu-inner::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Countries Grid */
.countries-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.mega-country-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: all var(--transition-fast);
}

.mega-country-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Country Link */
.mega-country-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  margin-bottom: var(--space-3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-fast);
  font-weight: 600;
  color: var(--color-text);
}

.mega-country-link:hover {
  background: var(--color-primary);
  color: white;
  transform: translateX(4px);
}

.mega-country-link .country-flag {
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
}

.mega-country-name {
  flex: 1;
  font-size: var(--text-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-country-count {
  flex-shrink: 0;
  font-size: var(--text-xs);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.mega-country-link:hover .mega-country-count {
  background: rgba(255, 255, 255, 0.2);
}

/* Cities List */
.mega-cities-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-cities-list li {
  margin: 0;
}

.mega-cities-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mega-cities-list a:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
  padding-left: calc(var(--space-3) + 6px);
}

.mega-cities-list .city-count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Mega Menu Footer */
.mega-menu-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-4);
  text-align: center;
}

.mega-view-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mega-view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

/* ===== Header Actions ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.header-search-wrap {
  display: flex;
}

.search-toggle {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  background: transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.search-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  transform: scale(1.05);
}

.search-toggle[aria-expanded="true"] {
  background: var(--color-primary);
  color: white;
}

/* ===== Search Modal ===== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--header-height) + var(--space-8));
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.search-modal-content {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 var(--space-6);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-modal-inner {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-modal-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  background: transparent;
  transition: all var(--transition-fast);
  z-index: 10;
}

.search-modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  transform: rotate(90deg);
}

.header-search-form {
  margin-bottom: var(--space-6);
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.search-input-wrap:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.1);
}

.search-input-wrap svg {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: var(--text-xl);
  font-weight: 500;
  padding: 0;
}

.search-input::placeholder {
  color: var(--color-text-muted);
}

.search-quick-filters {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.quick-filters-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-card);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.quick-filter-tag:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ===== Mobile Menu ===== */
.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  z-index: 1000;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-toggle.active {
  background: var(--color-primary);
}

.hamburger {
  position: relative;
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .primary-navigation {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--color-bg-elevated);
    padding: calc(var(--header-height) + var(--space-6)) var(--space-6) var(--space-6);
    box-shadow: var(--shadow-2xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    z-index: var(--z-modal);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }

  .primary-navigation.active {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: var(--space-1);
  }

  .nav-menu > li {
    width: 100%;
  }

  .nav-menu > li > a {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
    justify-content: space-between;
  }

  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: var(--space-2) 0 0 var(--space-4);
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .nav-menu .menu-item-has-children.submenu-open .sub-menu {
    max-height: 500px;
  }

  .nav-menu .sub-menu li a {
    padding: var(--space-3) var(--space-4);
  }

  /* Mega Menu Mobile Adaptations */
  .mega-menu-dropdown {
    position: static;
    width: 100%;
    max-width: 100%;
    transform: none;
    margin: var(--space-2) 0 0 var(--space-4);
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .menu-item-has-mega-menu.submenu-open .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 2000px;
  }

  .mega-menu-inner {
    padding: var(--space-4) 0;
    max-height: none;
  }

  .countries-mega-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .mega-country-item {
    padding: var(--space-3);
  }

  .mega-country-link {
    padding: var(--space-3);
    margin-bottom: var(--space-2);
  }

  .mega-cities-list a {
    padding: var(--space-2);
    font-size: var(--text-sm);
  }

  .mega-menu-footer {
    padding-top: var(--space-3);
    margin-top: var(--space-3);
  }

  .mega-view-all {
    width: 100%;
    justify-content: center;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 var(--space-4);
  }

  .header-inner {
    gap: var(--space-4);
  }

  .site-title {
    font-size: var(--text-lg);
  }

  .search-modal-content {
    margin: 0 var(--space-4);
  }

  .search-modal-inner {
    padding: var(--space-6) var(--space-4);
  }

  .search-input {
    font-size: var(--text-lg);
  }
}

/* ============================================================================
   6. HERO SECTION - Spotify Style
   ============================================================================ */
.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  padding: 4rem 2rem;
  margin-top: 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

/* New Hero Title Styles - Top Position */
.hero-title-wrapper {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title-main {
  font-size: 4.5rem;
  font-weight: 900;
  color: white;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-sub {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  margin: 0.5rem 0 0 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-title-main {
    font-size: 2.5rem;
  }

  .hero-title-sub {
    font-size: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title-main {
    font-size: 3.5rem;
  }

  .hero-title-sub {
    font-size: 2.8rem;
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 2rem;
  margin-bottom: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-search {
  max-width: 700px;
  margin: 2.5rem auto 0;
  padding: 0 2rem;
}

.hero-search-form {
  position: relative;
  display: flex;
}

.hero-search-input {
  width: 100%;
  padding: 1.2rem 3.5rem 1.2rem 1.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  outline: none;
  transition: all 0.3s;
}

.hero-search-input:focus {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.hero-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-primary);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-search-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

/* ============================================================================
   7. STATION CARDS & GRID - Premium Design
   ============================================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin: 0;
}

.section-link {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.section-link:hover {
  color: var(--color-primary);
}

/* ============================================================================
   STATION CARDS - ESTILO DEMO EXACTO
   ============================================================================ */

/* Grid de las Cards - 6 columnas en desktop */
.stations-grid,
.station-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-bottom: 4rem;
}

/* Responsive: 4 columnas en tablets */
@media (max-width: 1400px) {
    .stations-grid,
    .station-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Responsive: 3 columnas en tablets pequeños */
@media (max-width: 1024px) {
    .stations-grid,
    .station-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* Responsive: 2 columnas en móvil landscape */
@media (max-width: 768px) {
    .stations-grid,
    .station-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Responsive: 1 columna en móvil portrait */
@media (max-width: 480px) {
    .stations-grid,
    .station-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Card Principal */
.station-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
    animation: fadeInUp 0.5s ease-out;
    position: relative;
}

/* Enlace de la Card - Ocupa todo el espacio */
.station-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Card más grande en móvil */
@media (max-width: 768px) {
    .station-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

.station-card:active {
    transform: translateY(1px);
}

/* Efecto Hover de la Card */
.station-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

/* Logo wrapper - Centrado arriba */
.station-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Info de la Emisora - Centrada */
.station-info {
    text-align: center;
    margin-bottom: 1rem;
}

.station-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.25rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.station-title a {
    color: inherit;
    text-decoration: none;
}

.station-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Meta Information: Géneros */
.station-meta {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

/* Géneros */
.station-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.genre-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.7rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 14px;
    border: 1px solid rgba(102, 126, 234, 0.25);
    transition: all 0.2s;
}

.genre-tag:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.4);
}

.genre-tag svg {
    flex-shrink: 0;
}

/* Icono/Logo de la Emisora - 150x150px centrado */
.station-icon,
.station-card-thumbnail {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}

.station-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: white;
    border-radius: 12px;
}

.station-initial {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
}

.station-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    background: white;
    border-radius: 12px;
}

/* Footer de la Card */
.station-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    padding-right: 3.5rem;
}

/* Ubicación (Ciudad/País) */
.station-location,
.station-country,
.station-meta-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #666;
    font-size: 0.8rem;
    flex: 1;
    font-weight: 500;
}

.station-location svg,
.station-country svg {
    flex-shrink: 0;
}

/* Botón de Play - Circular en esquina inferior derecha */
.play-button,
.btn-play-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 10;
}

@media (max-width: 768px) {
    .btn-play-card {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Estado: Loading/Buffering - ROJO */
.play-button.loading,
.btn-play-card.loading {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4) !important;
    animation: pulse-loading 1.5s ease-in-out infinite !important;
}

/* Estado: Playing - Púrpura más oscuro */
.play-button.playing,
.btn-play-card.playing {
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8f 100%) !important;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.6) !important;
}

/* Efecto Hover del Botón Play */
.play-button:hover:not(.loading),
.btn-play-card:hover:not(.loading) {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

.play-button:active,
.btn-play-card:active {
    transform: scale(1);
}

/* Animación de carga */
@keyframes pulse-loading {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.7);
    }
}

.btn-play-card svg,
.play-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-play-card .play-icon,
.play-button .play-icon {
    margin-left: 2px; /* Centrar visualmente el ícono de play */
}

/* Ocultar elementos no usados en diseño demo */
.play-overlay,
.btn-play-overlay,
.station-card-meta,
.station-meta-genres,
.genre-badge,
.btn-view-station {
    display: none !important;
}

.station-card-actions {
    display: none !important;
}

/* Animaciones de Entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay para animación escalonada */
.station-card:nth-child(1) { animation-delay: 0.05s; }
.station-card:nth-child(2) { animation-delay: 0.1s; }
.station-card:nth-child(3) { animation-delay: 0.15s; }
.station-card:nth-child(4) { animation-delay: 0.2s; }
.station-card:nth-child(5) { animation-delay: 0.25s; }
.station-card:nth-child(6) { animation-delay: 0.3s; }
.station-card:nth-child(7) { animation-delay: 0.35s; }
.station-card:nth-child(8) { animation-delay: 0.4s; }

/* Responsive para Móviles */
@media (max-width: 768px) {
    .stations-grid,
    .station-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Content - Asegurar estructura limpia */
.station-card-content {
    display: block;
}

.station-card-inner {
    display: block;
}
  font-weight: 500;
}

/* Card Actions */
.station-card-actions {
  display: flex;
  gap: var(--space-2);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.station-card:hover .station-card-actions {
  opacity: 1;
}

/* ============================================================================
   8. RADIO PLAYER PROFESIONAL - Clean Premium Style
   ============================================================================ */
.wp-radio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  background: linear-gradient(180deg,
    rgba(30, 30, 30, 0.98) 0%,
    rgba(18, 18, 18, 0.98) 100%
  );
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-top: 2px solid rgba(29, 185, 84, 0.4);
  z-index: var(--z-player);
  box-shadow:
    0 -10px 40px rgba(0, 0, 0, 0.8),
    0 -2px 0 rgba(29, 185, 84, 0.3) inset;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--space-4) 0;
  /* Force white text on dark background */
  color: #ffffff;
}

[data-theme="light"] .wp-radio-player {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 248, 248, 0.98) 100%
  );
  border-top: 2px solid rgba(29, 185, 84, 0.4);
  box-shadow:
    0 -10px 40px rgba(0, 0, 0, 0.1),
    0 -2px 0 rgba(29, 185, 84, 0.3) inset;
}

.wp-radio-player.playing {
  transform: translateY(0);
  animation: slideUpPlayer 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-radio-player.init-hidden {
  transform: translateY(100%);
}

@keyframes slideUpPlayer {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Player Info Row - Arriba */
.player-info-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  margin-bottom: var(--space-3);
}

.station-thumbnail-wrap {
  flex-shrink: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.station-thumbnail-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.3) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
  pointer-events: none;
}

.wp-radio-player.playing .station-thumbnail-wrap::before {
  opacity: 1;
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.station-thumbnail {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(29, 185, 84, 0.3);
  transition: all var(--transition-base);
}

.wp-radio-player.playing .station-thumbnail {
  box-shadow:
    0 6px 16px rgba(29, 185, 84, 0.5),
    0 0 0 2px rgba(29, 185, 84, 0.8);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow:
      0 6px 16px rgba(29, 185, 84, 0.5),
      0 0 0 2px rgba(29, 185, 84, 0.8);
  }
  50% {
    box-shadow:
      0 8px 20px rgba(29, 185, 84, 0.7),
      0 0 0 3px rgba(29, 185, 84, 1);
  }
}

.station-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.station-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 var(--space-2) 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.station-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.wp-radio-player-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  position: relative;
  animation: pulse 2s ease-in-out infinite;
  box-shadow:
    0 0 10px rgba(29, 185, 84, 0.8),
    0 0 20px rgba(29, 185, 84, 0.4);
}

.status-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-primary);
  opacity: 0;
  animation: ripple 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes ripple {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

.status-text-offline {
  color: rgba(255, 255, 255, 0.5);
}

.status-text-live {
  color: #1db954;
  font-weight: 600;
}

.wp-radio-player-song-title {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Player Controls Row - Abajo */
.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  width: 100%;
}

/* Botón Play VERDE */
.play-btn {
  width: 52px !important;
  height: 52px !important;
  background: linear-gradient(135deg, #1DB954 0%, #169c46 100%) !important;
  color: white !important;
  box-shadow:
    0 4px 16px rgba(29, 185, 84, 0.5),
    0 0 0 3px rgba(29, 185, 84, 0.2);
  border: none !important;
  border-radius: var(--radius-full) !important;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.play-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.play-btn:hover::before {
  opacity: 1;
}

.play-btn:hover {
  background: linear-gradient(135deg, #1ed760 0%, #1DB954 100%) !important;
  transform: scale(1.1) !important;
  box-shadow:
    0 6px 20px rgba(29, 185, 84, 0.7),
    0 0 0 4px rgba(29, 185, 84, 0.3);
}

.play-btn:active {
  transform: scale(1.05) !important;
}

/* Loading Spinner */
.wp-radio-spinner {
  display: none;
  width: 24px;
  height: 24px;
  position: relative;
}

.play-btn.loading .wp-radio-spinner {
  display: block;
}

.play-btn.loading .dashicons {
  display: none;
}

.wp-radio-spinner div {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: currentColor;
  animation: spinner 1.2s linear infinite;
  opacity: 0;
}

.wp-radio-spinner div:nth-child(1) { animation-delay: 0s; top: 5px; left: 5px; }
.wp-radio-spinner div:nth-child(2) { animation-delay: -0.1s; top: 1px; left: 9px; }

@keyframes spinner {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Volume Control */
.player-volume-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  max-width: 300px;
}

.player-volume {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  position: relative;
  flex-shrink: 0;
}

.player-volume:hover {
  color: #1db954;
  background: rgba(29, 185, 84, 0.1);
  transform: scale(1.1);
}

.volume-slider {
  width: 100px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.volume-slider:hover {
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .volume-slider {
  background: rgba(0, 0, 0, 0.1);
}

.volume-slider input[type="range"] {
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 24px;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.volume-slider-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border-radius: var(--radius-full);
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.5);
}

.volume-slider-bar::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 0 0 3px rgba(29, 185, 84, 0.3);
  opacity: 0;
  transition: all var(--transition-fast);
}

.volume-slider:hover .volume-slider-bar::after {
  opacity: 1;
}

/* Indicador de Volumen */
.volume-indicator {
  min-width: 36px;
  text-align: right;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

/* Botón Close ROJO */
.player-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: white;
  transition: all var(--transition-fast);
  border: none;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  flex-shrink: 0;
}

.player-close:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.6);
}

.player-close:active {
  transform: rotate(90deg) scale(1.05);
}

/* Player Inner Container */
.wp-radio-player-inner {
  display: flex;
  flex-direction: column;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
  position: relative;
}

/* Audio Wave Visualization Effect */
.wp-radio-player-inner::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-primary) 20%,
    var(--color-primary) 80%,
    transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.wp-radio-player.playing .wp-radio-player-inner::before {
  opacity: 0.6;
  animation: waveFlow 3s ease-in-out infinite;
}

@keyframes waveFlow {
  0%, 100% {
    transform: scaleX(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.8;
  }
}

/* Player Toggle */
.wp-radio-player-toggle {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 24px;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--color-border);
  border-bottom: none;
}

.wp-radio-player-toggle:hover {
  background: var(--color-bg-hover);
}

/* Responsive Player */
@media (max-width: 768px) {
  .wp-radio-player {
    padding: var(--space-3) 0;
  }

  .wp-radio-player-inner {
    padding: 0 var(--space-4);
  }

  .player-info-row {
    margin-bottom: var(--space-2);
  }

  .station-title {
    font-size: var(--text-base);
  }

  .player-controls-row {
    gap: var(--space-4);
  }

  .player-volume-wrap {
    max-width: 180px;
  }
}

/* ============================================================================
   9. HOMEPAGE SECTIONS - Countries & Genres
   ============================================================================ */

/* Section Spacing */
.section-spacing {
  padding: var(--space-16) 0;
}

@media (max-width: 768px) {
  .section-spacing {
    padding: var(--space-12) 0;
  }
}

/* Country Cards */
.countries-grid {
  gap: var(--space-4);
}

.country-card {
  display: block;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.country-card:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.country-card-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.country-flag {
  flex-shrink: 0;
  font-size: 48px;
  line-height: 1;
}

.country-info {
  flex: 1;
  min-width: 0;
}

.country-name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-1) 0;
}

.country-count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Genre Cards */
.genres-grid {
  gap: var(--space-4);
}

.genre-card {
  display: block;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.genre-card:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.genre-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.genre-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border-radius: var(--radius-full);
  color: var(--color-primary);
}

.genre-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.genre-count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================================
   10. SINGLE STATION PAGE
   ============================================================================ */

.radio-station-single {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.station-header {
  background: var(--color-bg-secondary);
  padding: var(--space-12) 0;
  margin-top: 0;
  position: relative;
}

.station-header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.station-logo {
  flex-shrink: 0;
}

.station-logo img {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  object-fit: cover;
}

.station-info {
  flex: 1;
}

.station-name {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-3);
}

.station-slogan {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.station-location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.station-genres {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.genre-tag {
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.genre-tag:hover {
  background: var(--color-primary);
  color: white;
}

.station-actions {
  display: flex;
  gap: var(--space-3);
}

.btn-play-station {
  padding: var(--space-4) var(--space-8);
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: var(--text-lg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.btn-play-station:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

/* Station Content */
.station-content {
  padding: var(--space-12) 0;
}

.station-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-8);
}

@media (max-width: 1024px) {
  .station-content-grid {
    grid-template-columns: 1fr;
  }

  .station-header-inner {
    flex-direction: column;
    text-align: center;
  }

  .station-actions {
    justify-content: center;
  }
}

.station-main-content {
  flex: 1;
}

.station-description,
.station-contact,
.station-social {
  margin-bottom: var(--space-8);
}

.station-description h2,
.station-contact h2,
.station-social h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.description-text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.contact-grid {
  display: grid;
  gap: var(--space-4);
}

.contact-item {
  padding: var(--space-4);
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
}

.contact-item strong {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.social-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.social-link {
  padding: var(--space-3) var(--space-6);
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Station Sidebar */
.station-sidebar {
  flex: 0 0 350px;
}

.info-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.info-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.stream-meta {
  list-style: none;
}

.stream-meta li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
}

.stream-meta li:last-child {
  border-bottom: none;
}

.stream-meta strong {
  color: var(--color-text-muted);
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.share-btn {
  padding: var(--space-3);
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-fast);
}

.share-btn:hover {
  background: var(--color-primary);
  color: white;
}

/* Related Stations */
.related-stations {
  background: var(--color-bg-secondary);
  padding: var(--space-12) 0;
}

/* ============================================================================
   PREMIUM SINGLE STATION STYLES - JRMRadios v2.0
   ============================================================================ */

/* Premium Single Station Layout */
.single-station-premium {
  overflow: hidden;
  position: relative;
}

/* Hero Premium Section */
.station-hero-premium {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: blur(20px);
  transform: scale(1.1);
}

/* Wave Animation */
.wave-container {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
  height: 120px;
  overflow: hidden;
}

.wave {
  width: 100%;
  height: 100%;
  animation: wave-animation 20s linear infinite;
}

@keyframes wave-animation {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Content */
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 80px 0 120px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  color: white;
}

/* Station Logo Premium */
.station-logo-premium {
  flex-shrink: 0;
}

.logo-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

.logo-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  padding: 20px;
  background: white;
  border: 5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.logo-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}

.live-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(239, 68, 68, 0.95);
  padding: 4px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.logo-placeholder {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid rgba(255, 255, 255, 0.2);
}

.logo-placeholder .initial {
  font-size: 72px;
  font-weight: 700;
  color: white;
}

/* Station Info Premium */
.station-info-premium {
  flex: 1;
  max-width: 600px;
}

.station-title-premium {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.station-slogan-premium {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 20px;
  font-style: italic;
}

.location-badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 25px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.genres-tags-premium {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.genre-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.genre-badge:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Stats Row Premium */
.stats-row-premium {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
  margin-right: 4px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
}

.rating-stars {
  display: inline-flex;
  gap: 2px;
}

/* Player Controls Premium */
.player-controls-premium {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.btn-play-premium {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: white;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-play-premium:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-play-premium.playing {
  background: rgba(239, 68, 68, 1);
  color: white;
}

.secondary-controls {
  display: flex;
  gap: 10px;
}

.secondary-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Audio Visualizer */
.audio-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}

.audio-visualizer .bar {
  width: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  transition: height 0.1s ease;
  min-height: 4px;
}

.audio-visualizer.active .bar {
  animation: bar-dance 0.5s ease-in-out infinite alternate;
}

.audio-visualizer.active .bar:nth-child(2) { animation-delay: 0.1s; }
.audio-visualizer.active .bar:nth-child(3) { animation-delay: 0.2s; }
.audio-visualizer.active .bar:nth-child(4) { animation-delay: 0.3s; }
.audio-visualizer.active .bar:nth-child(5) { animation-delay: 0.4s; }
.audio-visualizer.active .bar:nth-child(6) { animation-delay: 0.5s; }
.audio-visualizer.active .bar:nth-child(7) { animation-delay: 0.6s; }
.audio-visualizer.active .bar:nth-child(8) { animation-delay: 0.7s; }
.audio-visualizer.active .bar:nth-child(9) { animation-delay: 0.8s; }
.audio-visualizer.active .bar:nth-child(10) { animation-delay: 0.9s; }

@keyframes bar-dance {
  0% { height: 10%; }
  100% { height: 100%; }
}

/* Main Content Premium */
.station-content-premium {
  padding: 60px 0;
  background: #f8f9fa;
}

.content-grid-premium {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
}

/* Content Cards */
.content-card, .sidebar-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 30px;
}

.card-header {
  padding: 20px 25px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f2937;
}

.card-content {
  padding: 25px;
}

.live-badge {
  background: #ef4444;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  animation: live-pulse 1.5s ease-in-out infinite;
}

/* Now Playing Card */
.now-playing-info {
  display: flex;
  gap: 20px;
}

.song-artwork {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.song-artwork img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.song-details {
  flex: 1;
}

.song-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #1f2937;
}

.song-artist {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 12px 0;
}

.song-progress {
  position: relative;
}

.progress-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 35%;
  transition: width 0.3s ease;
}

.time-elapsed, .time-total {
  font-size: 12px;
  color: #9ca3af;
  position: absolute;
  top: 8px;
}

.time-elapsed {
  left: 0;
}

.time-total {
  right: 0;
}

/* Tech Specs */
.tech-specs {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-label {
  font-size: 14px;
  color: #6b7280;
}

.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

/* Song History */
.song-history {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
}

.history-time {
  font-size: 12px;
  color: #9ca3af;
  min-width: 70px;
}

.history-song strong {
  display: block;
  font-size: 14px;
  color: #1f2937;
  margin-bottom: 2px;
}

.history-song span {
  font-size: 13px;
  color: #6b7280;
}

/* Sidebar Cards */
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 15px 0;
  padding: 20px 20px 0 20px;
  color: #1f2937;
}

/* Stream Quality */
.stream-quality {
  padding: 0 20px 15px 20px;
}

.quality-meter {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.meter-fill {
  height: 100%;
  background: #10b981;
  transition: width 0.3s ease;
}

.quality-text {
  font-size: 13px;
  color: #10b981;
  font-weight: 600;
}

.stream-info-list {
  list-style: none;
  padding: 0 20px 20px 20px;
}

.stream-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid #f3f4f6;
}

.stream-info-list li:last-child {
  border-bottom: none;
}

.text-success {
  color: #10b981;
}

/* Social Links Grid */
.social-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px 20px 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #f3f4f6;
  border-radius: 8px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
}

.social-btn.website:hover { background: #667eea; color: white; }
.social-btn.facebook:hover { background: #1877f2; color: white; }
.social-btn.twitter:hover { background: #1da1f2; color: white; }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.social-btn.youtube:hover { background: #ff0000; color: white; }

/* Contact List */
.contact-list {
  list-style: none;
  padding: 0 20px 20px 20px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: #4b5563;
}

.contact-list a {
  color: #667eea;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Share Buttons Grid */
.share-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 20px 15px 20px;
}

.share-btn {
  width: 100%;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }

.share-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Copy Link Section */
.copy-link-section {
  padding: 0 20px 20px 20px;
  display: flex;
  gap: 10px;
}

.copy-link-section input {
  flex: 1;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  color: #6b7280;
  background: #f9fafb;
}

.btn-copy-link {
  padding: 10px 16px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-copy-link:hover {
  transform: scale(1.05);
}

/* App Download Card */
.app-description {
  font-size: 14px;
  color: #6b7280;
  margin: -5px 20px 15px 20px;
}

.app-buttons {
  padding: 0 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-store-btn, .google-play-btn {
  display: block;
}

.app-store-btn img, .google-play-btn img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Related Stations Premium */
.related-stations-premium {
  background: white;
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1f2937;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  gap: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.related-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: white;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.related-link {
  display: block;
  text-decoration: none;
}

.related-image {
  position: relative;
  padding-bottom: 100%;
  background: #f3f4f6;
}

.related-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: white;
}

.related-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  font-size: 36px;
  font-weight: 700;
}

.related-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.related-card:hover .related-overlay {
  opacity: 1;
}

.btn-play-related {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  border: none;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.related-card:hover .btn-play-related {
  transform: scale(1);
}

.related-info {
  padding: 15px;
}

.related-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #1f2937;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-location {
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Share Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: white;
  margin: 10% auto;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  animation: modal-appear 0.3s ease;
}

@keyframes modal-appear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #1f2937;
}

/* Responsive Design for Premium Single Station */
@media (max-width: 1200px) {
  .content-grid-premium {
    grid-template-columns: 1fr;
  }

  .sidebar-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .station-title-premium {
    font-size: 32px;
  }

  .stats-row-premium {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .player-controls-premium {
    flex-direction: column;
    width: 100%;
  }

  .btn-play-premium {
    width: 100%;
    justify-content: center;
  }

  .secondary-controls {
    justify-content: center;
  }

  .sidebar-column {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-links-grid {
    grid-template-columns: 1fr;
  }

  .share-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   11. TAXONOMY ARCHIVES
   ============================================================================ */

.page-header {
  background: var(--color-bg-secondary);
  padding: var(--space-12) 0;
  margin-top: 0;
  text-align: center;
  position: relative;
  width: 100%;
}

.page-title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
}

.archive-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-content {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.page-content .container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Pagination */
.pagination,
.posts-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
  flex-wrap: wrap;
}

.pagination .nav-links,
.posts-pagination .nav-links {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination a,
.pagination span,
.posts-pagination a,
.posts-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-card);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.pagination a:hover,
.posts-pagination a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.pagination .current,
.posts-pagination .current {
  background: var(--color-primary);
  color: white;
}

.pagination .dots,
.posts-pagination .dots {
  background: transparent;
  color: var(--color-text-muted);
}

/* Related Sections */
.related-countries,
.related-genres,
.related-stations {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ============================================================================
   12. FOOTER
   ============================================================================ */

.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-16);
}

.footer-widgets {
  padding: var(--space-12) 0;
}

.footer-widgets-grid {
  gap: var(--space-8);
}

.footer-widget-area {
  color: var(--color-text-secondary);
}

.widget-title {
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer-bottom {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.copyright {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.footer-menu {
  display: flex;
  list-style: none;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
}

.footer-menu a {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.footer-menu a:hover {
  color: var(--color-primary);
}

.theme-credit {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================================
   13. UTILITIES & HELPERS
   ============================================================================ */

/* Dark Mode Toggle */
.dark-mode-toggle {
  position: fixed;
  bottom: var(--space-20);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  z-index: var(--z-fixed);
  cursor: pointer;
  transition: all var(--transition-base);
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl);
}

[data-theme="dark"] .dark-mode-toggle .light-mode-icon {
  display: none;
}

[data-theme="light"] .dark-mode-toggle .dark-mode-icon {
  display: none;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-4px);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: var(--space-3) var(--space-6);
  text-decoration: none;
  z-index: 999999;
}

.skip-link:focus {
  top: 0;
}

/* Screen Reader Text */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Breadcrumbs */
.breadcrumbs-wrapper {
  background: #f8f9fa;
  padding: 1rem 0;
  margin-top: 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumbs {
  font-size: 0.875rem;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
}

.breadcrumb-item:not(:last-child)::after {
  content: '›';
  color: #999;
  font-size: 1rem;
  margin-left: 0.25rem;
}

.breadcrumb-item.active {
  color: #1a1a1a;
  font-weight: 500;
}

.breadcrumb-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: #667eea;
  text-decoration: underline;
}

/* No Results */
.no-results,
.no-stations {
  text-align: center;
  padding: var(--space-12);
  color: var(--color-text-muted);
}

/* Taxonomy Header */
.taxonomy-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.taxonomy-icon {
  font-size: 96px;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.genre-icon-large {
  width: 120px;
  height: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.taxonomy-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  margin-top: var(--space-6);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.stat-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Archive Filters */
.archive-filters {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}

.filter-group {
  margin-bottom: var(--space-4);
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.filter-select {
  width: 100%;
  max-width: 300px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: var(--font-primary);
}

.genre-filters,
.country-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.genre-filter-btn,
.country-filter-btn {
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-elevated);
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.genre-filter-btn:hover,
.country-filter-btn:hover,
.genre-filter-btn.active,
.country-filter-btn.active {
  background: var(--color-primary);
  color: white;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

/* ============================================================================
   HERO STATS SECTION - Below Search
   ============================================================================ */

.hero-stats-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.hero-stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
}

.hero-stat-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.hero-stat-icon svg {
  width: 32px;
  height: 32px;
}

.hero-stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-number {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-stats-section {
    padding: 40px 0;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-stat-card {
    padding: 24px;
  }

  .hero-stat-icon {
    width: 56px;
    height: 56px;
  }

  .hero-stat-icon svg {
    width: 28px;
    height: 28px;
  }

  .hero-stat-number {
    font-size: 36px;
  }

  .hero-stat-label {
    font-size: 12px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   API DATA ELEMENTS - Stream Verification, Stats, Map
   ============================================================================ */

/* Stream Verification Badges */
.stream-verified-badge,
.stream-unverified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 12px;
}

.stream-verified-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stream-unverified-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.stream-verified-badge svg,
.stream-unverified-badge svg {
  flex-shrink: 0;
}

/* Statistics Card */
.stats-card .stats-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px 20px 20px;
}

.stats-card .stat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background 0.2s;
}

.stats-card .stat-item:hover {
  background: #e9ecef;
}

.stats-card .stat-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #667eea;
}

.stats-card .stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.stats-card .stat-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.stats-card .stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

/* Map Card */
.map-card .map-container {
  position: relative;
  padding: 0 20px 20px 20px;
}

.map-card .map-container iframe {
  width: 100%;
  height: 200px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  display: block;
}

.map-card .map-footer {
  margin-top: 12px;
  text-align: center;
}

.map-card .map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.map-card .map-link:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.map-card .map-link svg {
  flex-shrink: 0;
}

.map-card .sidebar-title {
  display: flex;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stream-verified-badge,
  .stream-unverified-badge {
    font-size: 12px;
    padding: 5px 12px;
  }

  .stats-card .stat-value {
    font-size: 14px;
  }

  .map-card .map-container iframe {
    height: 180px;
  }
}

/* ============================================================================
   PÁGINA DE PAÍSES - Template page-paises.php
   ============================================================================ */

/* Stats de países */
.countries-stats {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  margin-bottom: var(--space-8);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.countries-stats .stat-box {
  text-align: center;
}

.countries-stats .stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}

.countries-stats .stat-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Grid de países */
.all-countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-5);
}

/* Card de país grande */
.country-card-large {
  display: block;
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: all var(--transition-fast);
  color: var(--color-text);
}

.country-card-large:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  background: var(--color-bg-hover);
}

.country-card-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.country-flag-large {
  font-size: 64px;
  line-height: 1;
  text-align: center;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
}

.country-card-large .country-info {
  text-align: center;
}

.country-card-large .country-name {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 var(--space-2) 0;
  color: var(--color-text);
}

.country-card-large .country-count {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* Vista previa de ciudades */
.country-cities-preview {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.city-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.country-card-large:hover .city-tag {
  background: rgba(102, 126, 234, 0.15);
  color: var(--color-primary);
}

.city-tag-more {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .all-countries-grid {
    grid-template-columns: 1fr;
  }

  .countries-stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .countries-stats .stat-number {
    font-size: 2.5rem;
  }
}

/* ============================================================================
   SINGLE STATION PLAYER PROFESIONAL
   ============================================================================ */

/* Now Playing Display */
.now-playing-display {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.now-playing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.now-playing-header .live-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(239, 68, 68, 0.95);
  padding: 4px 12px;
  border-radius: 20px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.live-text {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.audio-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.eq-bar {
  width: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: equalize 0.8s ease-in-out infinite;
}

.eq-bar:nth-child(1) { animation-delay: 0s; }
.eq-bar:nth-child(2) { animation-delay: 0.2s; }
.eq-bar:nth-child(3) { animation-delay: 0.4s; }
.eq-bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes equalize {
  0%, 100% {
    height: 5px;
  }
  50% {
    height: 18px;
  }
}

.now-playing-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.now-playing-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.now-playing-text {
  flex: 1;
}

.now-playing-label {
  font-size: var(--text-xs);
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.now-playing-song {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.now-playing-artist {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* Stop Button */
.btn-stop-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #ef4444;
  color: #ef4444;
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-width: 180px;
}

.btn-stop-premium:hover {
  background: #ef4444;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

/* Volume Control */
.btn-volume-control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-volume-control:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
}

.volume-slider-container {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.volume-slider {
  width: 100px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.volume-percentage {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  min-width: 35px;
}

/* ============================================================================
   PLAYLIST SECTION
   ============================================================================ */

.playlist-section-premium {
  padding: var(--space-12) 0;
  background: var(--color-bg-secondary);
}

.playlist-section-premium .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.playlist-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.btn-shuffle-playlist {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-shuffle-playlist:hover {
  background: var(--color-primary);
  color: white;
  transform: rotate(180deg);
}

.playlist-count {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-full);
}

/* Playlist Grid */
.playlist-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.playlist-item {
  display: grid;
  grid-template-columns: 60px 60px 1fr auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.playlist-item.playing {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  border-color: rgba(102, 126, 234, 0.4);
}

.playlist-item-number {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.item-number {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.playlist-item:hover .item-number,
.playlist-item.playing .item-number {
  display: none;
}

.btn-play-playlist {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.playlist-item:hover .btn-play-playlist,
.playlist-item.playing .btn-play-playlist {
  display: flex;
}

.btn-play-playlist:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.playlist-item-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.playlist-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: white;
  border-radius: var(--radius-md);
}

.playlist-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
}

.playlist-item-info {
  flex: 1;
  min-width: 0;
}

.playlist-item-title {
  margin: 0 0 4px 0;
  font-size: var(--text-base);
  font-weight: 600;
}

.playlist-item-title a {
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.playlist-item-title a:hover {
  color: var(--color-primary);
}

.playlist-item.playing .playlist-item-title a {
  color: var(--color-primary);
}

.playlist-item-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.playlist-divider {
  color: var(--color-text-muted);
}

.playlist-format,
.playlist-bitrate {
  font-size: var(--text-xs);
  font-weight: 600;
}

.playlist-item-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.btn-playlist-goto {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.btn-playlist-goto:hover {
  background: var(--color-primary);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .playlist-item {
    grid-template-columns: 50px 50px 1fr;
    gap: var(--space-2);
  }

  .playlist-item-actions {
    display: none;
  }

  .volume-slider-container {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--space-2);
    z-index: 10;
  }

  .now-playing-display {
    padding: var(--space-3);
  }

  .now-playing-info {
    gap: var(--space-2);
  }

  .now-playing-icon {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================================
   END OF STYLE.CSS
   ============================================================================ */
