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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

:root {
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --bg-topbar: #ffffff;
    --bg-player: rgba(255, 255, 255, 0.75);
    --text: #0f172a;
    --text-secondary: #64748b;
    --border: #f1f5f9;
    --primary: #00A6EB;
    --primary-hover: #008bc5;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 166, 235, 0.1), 0 4px 6px -4px rgba(0, 166, 235, 0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --badge-bg: #e0f2fe;
    --badge-text: #0369a1;
    --placeholder-bg: linear-gradient(135deg, #38bdf8, #0ea5e9);
    --overlay-bg: rgba(15, 23, 42, 0.4);
    --hover-bg: #f1f5f9;
    --player-border: rgba(241, 245, 249, 0.5);
    --empty-color: #94a3b8;
    --logo-color: #00A6EB;
}

[data-theme="dark"] {
    --bg: #0b0f19;
    --bg-card: #161e2e;
    --bg-sidebar: #161e2e;
    --bg-topbar: #161e2e;
    --bg-player: rgba(22, 30, 46, 0.75);
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --border: #1f293d;
    --primary: #38bdf8;
    --primary-hover: #0ea5e9;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --badge-bg: #0c4a6e;
    --badge-text: #38bdf8;
    --placeholder-bg: linear-gradient(135deg, #0ea5e9, #0284c7);
    --overlay-bg: rgba(11, 15, 25, 0.6);
    --hover-bg: #1f293d;
    --player-border: rgba(31, 41, 61, 0.5);
    --empty-color: #64748b;
    --logo-color: #38bdf8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body, header, footer, .radio-card, .player-bar, .topbar, input, button, .mobile-menu, .mobile-overlay, .btn-icon, .topbar-search-input, .badge, .logo {
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-bottom: 0;
    overflow-x: hidden;
}

body.player-active,
body:has(#playerBar.active) {
    padding-bottom: 90px;
}

.topbar {
    background: var(--bg-topbar);
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
    transition: background var(--transition), border-color var(--transition);
}

.topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--logo-color);
    transition: color var(--transition);
}

.logo i {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffc72c !important;
    text-shadow: 0 0 12px rgba(255, 199, 44, 0.45);
    transform-origin: 50% 90%;
    animation: antennaPulse 3.2s ease-in-out infinite;
    transition: transform var(--transition), filter var(--transition);
}

.logo i::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.3);
    border: 2px solid rgba(255, 199, 44, 0.85);
    box-shadow: 0 0 6px rgba(255, 199, 44, 0.5);
    pointer-events: none;
    opacity: 0;
    animation: antennaWave 3.2s ease-out infinite;
}

.logo:hover i {
    animation-duration: 1.3s;
    filter: drop-shadow(0 0 8px rgba(255, 199, 44, 0.7));
}

.logo:hover i::after {
    animation-duration: 1.3s;
}

body.player-active .logo i {
    animation-duration: 2s;
}

body.player-active .logo i::after {
    animation-duration: 2s;
}

@keyframes antennaPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 199, 44, 0.45);
    }
    18% {
        transform: scale(1.08) rotate(-2deg);
        text-shadow: 0 0 16px rgba(255, 199, 44, 0.85), 0 0 24px rgba(255, 199, 44, 0.5);
    }
    36% {
        transform: scale(1.04) rotate(2deg);
        text-shadow: 0 0 14px rgba(255, 199, 44, 0.7), 0 0 20px rgba(255, 199, 44, 0.4);
    }
    54% {
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 10px rgba(255, 199, 44, 0.45);
    }
}

@keyframes antennaWave {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }
    12% {
        opacity: 0.95;
    }
    50% {
        transform: translate(-50%, -50%) scale(2.4);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.4);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo i,
    .logo i::after {
        animation: none !important;
    }
}

.topbar-right { display: flex; align-items: center; gap: .75rem; }

/* Navigation menu */
.main-nav { display: flex; align-items: center; flex: 1; justify-content: center; }

.main-nav-list {
    display: flex;
    list-style: none;
    gap: .25rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item > a.nav-link {
    display: block;
    padding: .5rem .85rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.nav-item > a.nav-link:hover {
    background: var(--hover-bg);
    color: var(--primary);
}

.nav-heading {
    display: block;
    cursor: pointer;
}

/* Estilo del botón de Favoritos (corazón) en el header y móvil */
#topbarFavorites:hover,
#topbarFavorites.active,
#mobileFavorites:hover,
#mobileFavorites.active {
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    background: rgba(239, 68, 68, 0.08) !important;
}


.sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: .35rem 0;
    z-index: 300;
    list-style: none;
}

.nav-item.has-sub:hover .sub-nav {
    display: block;
}

.sub-nav a {
    display: block;
    padding: .5rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: .85rem;
    transition: all var(--transition);
}

.sub-nav a:hover {
    background: var(--hover-bg);
    color: var(--primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile menu drawer */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 65%;
    max-width: 320px;
    background: var(--bg-player);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text);
    font-weight: 700;
    font-size: 1.15rem;
}

.mobile-menu-logo i {
    color: var(--primary);
    font-size: 1.2rem;
}

.mobile-menu-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: .85rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.04);
}

.mobile-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.mobile-action-btn:hover,
.mobile-action-btn.active {
    background: var(--hover-bg);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Ocultación de iconos de tema según estado activo */
[data-theme="dark"] #mobileThemeToggle .fa-moon,
[data-theme="light"] #mobileThemeToggle .fa-sun {
    display: none;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: .25rem;
}

.mobile-close:hover {
    color: var(--text);
}

.mobile-nav-list {
    list-style: none;
    padding: .5rem 0;
    margin: 0;
}

.mobile-nav-list li {
    margin: 0;
}

.mobile-nav-link {
    display: block;
    padding: .75rem 1.25rem;
    color: var(--text);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    transition: background var(--transition);
}

.mobile-nav-link:hover {
    background: var(--hover-bg);
    color: var(--primary);
}

.mobile-nav-sublink {
    padding-left: 2.25rem;
    font-size: .88rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.mobile-nav-heading {
    display: block;
    padding: .75rem 1.25rem .35rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-secondary);
    pointer-events: none;
}

@media (max-width: 768px) {
    .hamburger { display: flex; margin-right: auto; }
    .main-nav { display: none; }
    .mobile-overlay { display: block; }
    .mobile-menu { display: block; }
}

.btn-icon {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .5rem .75rem;
    cursor: pointer;
    color: var(--text);
    font-size: 1.1rem;
    transition: all var(--transition);
}

.btn-icon:hover { background: var(--hover-bg); }

[data-theme="dark"] .btn-icon .fa-moon,
[data-theme="light"] .btn-icon .fa-sun { display: none; }

/* Search toggle in topbar */
.topbar-search-wrap {
    display: flex;
    align-items: center;
}

.topbar-search-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}

.topbar-search-btn:hover {
    background: var(--hover-bg);
    color: var(--primary);
}

.topbar-search-wrap .topbar-search-input {
    width: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: .9rem;
    outline: none;
    transition: all .25s ease;
}

.topbar-search-wrap.active .topbar-search-input {
    width: 220px;
    padding: .5rem .75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
}

.topbar-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.home-hero {
    display: none; /* Colapsado automáticamente si no hay anuncio o en localhost */
    background: var(--bg);
    padding: 1rem 1.5rem 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-hero:has(.ad-container ins.adsbygoogle[data-ad-status="filled"]),
.home-hero:has(.ad-container iframe),
.home-hero:has(.ad-container img),
.home-hero.has-ad {
    display: block;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') repeat;
    background-size: 60px 60px;
    pointer-events: none;
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.home-hero .ad-container {
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Page heroes (blog, music) */
.page-hero {
    background: var(--bg);
    padding: 1.5rem 1.5rem 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') repeat;
    background-size: 60px 60px;
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.page-hero-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.page-hero .ad-container {
    margin: 0 auto;
}

/* Band hero ad */
.band-hero-overlay {
    position: relative;
    z-index: 2;
}

.band-hero-overlay .ad-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.layout {
    max-width: 1400px;
    margin: 1.5rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.layout.layout-full-header {
    margin-top: 0;
}

.layout.layout-full-header .radio-hero,
.layout.layout-full-header .blog-hero,
.layout.layout-full-header .band-hero,
.layout.layout-full-header .blog-article {
    margin-top: 0 !important;
}

.search-box {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .5rem .75rem;
    margin-bottom: 1.25rem;
    transition: border-color var(--transition), background var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    background: var(--bg-card);
}

.search-box i { color: var(--text-secondary); font-size: .9rem; }

.search-box input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: .9rem;
    color: var(--text);
    font-family: inherit;
}

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

.clear-search {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: .9rem;
    padding: 2px;
    display: flex;
    align-items: center;
}

.clear-search:hover { color: var(--text); }

.search-header {
    font-size: .95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}

.search-header strong { color: var(--text); }

/* Sort bar */
.sort-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
    font-size: .9rem;
}

.sort-label {
    color: var(--text-secondary);
    margin-right: .25rem;
    white-space: nowrap;
}

.sort-link {
    padding: .35rem .65rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all var(--transition);
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
}

.sort-link:hover {
    background: var(--hover-bg);
    color: var(--text);
}

.sort-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.sort-link-ranking,
.sort-bar a[href*="ranking.php"] {
    margin-left: auto;
    color: #ffd700 !important;
    font-weight: 700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.08);
}

.sort-link-ranking:hover,
.sort-bar a[href*="ranking.php"]:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    color: #ffe066 !important;
    transform: translateY(-1px);
}

.sort-link-ranking i,
.sort-bar a[href*="ranking.php"] i {
    color: #ff9800;
}

@media (max-width: 768px) {
    .sort-bar {
        gap: .4rem;
    }
    .sort-label {
        font-size: .8rem;
    }
    .sort-link {
        font-size: .8rem;
        padding: .3rem .55rem;
    }
    .sort-link-ranking,
    .sort-bar a[href*="ranking.php"] {
        display: none !important;
    }
}

/* Radio stats */
.radio-info h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.radio-stats {
    font-size: .75rem;
    color: var(--text-secondary);
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    white-space: nowrap;
}

.radio-stats i { font-size: .65rem; }

/* Top radios sidebar */
.top-radio-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
}

.top-radio-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .88rem;
}

.top-radio-count {
    font-size: .75rem;
    color: var(--text-secondary);
    background: var(--bg);
    padding: 1px 6px;
    border-radius: 999px;
    font-weight: 600;
}

.tag-link:hover .top-radio-count {
    background: var(--bg-card);
}

.tag-link.active .top-radio-count {
    background: rgba(255,255,255,.2);
    color: white;
}

.sidebar h3 {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.content { 
    flex: 1; 
    min-width: 0; 
    scroll-margin-top: 80px;
}

/* ========================================================
   EFECTO DE FONDO AURORA (SOLO DESKTOP - CERO CARGA EN MÓVIL)
   ======================================================== */
.desktop-aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    transition: opacity var(--transition);
}

[data-theme="dark"] .aurora-orb-1 {
    width: 650px;
    height: 650px;
    top: -120px;
    left: 8%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, rgba(56, 189, 248, 0) 70%);
}

[data-theme="dark"] .aurora-orb-2 {
    width: 520px;
    height: 520px;
    top: 60px;
    right: 12%;
    background: radial-gradient(circle, rgba(255, 199, 44, 0.09) 0%, rgba(255, 199, 44, 0) 70%);
}

[data-theme="light"] .aurora-orb-1 {
    width: 650px;
    height: 650px;
    top: -120px;
    left: 8%;
    background: radial-gradient(circle, rgba(0, 166, 235, 0.10) 0%, rgba(0, 166, 235, 0) 70%);
}

[data-theme="light"] .aurora-orb-2 {
    width: 520px;
    height: 520px;
    top: 60px;
    right: 12%;
    background: radial-gradient(circle, rgba(255, 199, 44, 0.07) 0%, rgba(255, 199, 44, 0) 70%);
}

@media (max-width: 768px) {
    .desktop-aurora-bg {
        display: none !important;
    }
}

/* ========================================================
   ENCABEZADO H1 PRINCIPAL (SEO + IDENTIDAD)
   ======================================================== */
.home-title-hero {
    margin-bottom: 1.5rem;
    text-align: left;
}

.home-main-h1 {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 0.35rem;
    letter-spacing: -0.6px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.home-main-h1 i {
    color: #ffc72c;
    font-size: 1.8rem;
    text-shadow: 0 0 12px rgba(255, 199, 44, 0.45);
}

.home-main-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .home-main-h1 { 
        font-size: 1.45rem; 
    }
    .home-main-h1 i {
        font-size: 1.3rem;
    }
    .home-main-desc { 
        font-size: 0.85rem; 
    }
}

.radios-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.radios-grid.categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
}

@media (max-width: 1350px) {
    .radios-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.15rem;
    }
}

@media (max-width: 1100px) {
    .radios-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 820px) {
    .radios-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.9rem;
    }
}

@media (max-width: 580px) {
    .radios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .radios-grid:not(.show-all-mobile) .radio-card:nth-child(n+13) {
        display: none !important;
    }
}

/* Botón expansor en móvil */
.mobile-expand-wrap {
    display: none;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (max-width: 580px) {
    .mobile-expand-wrap {
        display: block;
    }
}

.btn-expand-mobile {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.btn-expand-mobile:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.radio-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--placeholder-bg);
}

.radio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.radio-card:hover .radio-img img {
    transform: scale(1.05);
}

.radio-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,.5);
}

.radio-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.play-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.fav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.7);
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,.7);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    position: absolute;
    top: .5rem;
    right: .5rem;
}

.fav-btn:hover { transform: scale(1.15); }
.fav-btn.active { color: #ef4444; border-color: #ef4444; background: rgba(239,68,68,.25); }
.fav-btn.active:hover { color: #dc2626; border-color: #dc2626; }

.radio-info { 
    padding: 0.75rem 0.85rem; 
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: var(--bg-card);
}

.radios-grid .radio-card .radio-info p,
.radios-grid .radio-card .radio-info .radio-tags,
.radios-grid .radio-card .radio-info .website-link {
    display: none;
}

.radio-name-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
}

.radio-status-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px #22c55e;
    animation: pulse-dot 1.8s infinite;
}

.offline-dot {
    width: 7px;
    height: 7px;
    background: #94a3b8;
    border-radius: 50%;
    display: inline-block;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

@media (max-width: 768px) {
    .radios-grid:not(.radios-view-list) .radio-overlay {
        opacity: 1 !important;
        background: transparent !important;
        pointer-events: none;
    }
    .radios-grid:not(.radios-view-list) .play-btn {
        pointer-events: auto;
        position: absolute;
        bottom: 0.5rem;
        right: 0.5rem;
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        border: none;
        background: var(--primary);
        color: #0b0f19;
        box-shadow: 0 4px 10px rgba(0,0,0,0.35);
        backdrop-filter: none;
    }
    .radios-grid:not(.radios-view-list) .play-btn i {
        color: #0b0f19;
    }
    .radios-grid:not(.radios-view-list) .fav-btn {
        pointer-events: auto;
        top: 0.4rem;
        right: 0.4rem;
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

@media (max-width: 580px) {
    .radios-grid:not(.radios-view-list) .radio-card .radio-img {
        aspect-ratio: 1 / 1;
    }
    .radios-grid:not(.radios-view-list) .radio-info {
        padding: 0.6rem 0.7rem;
    }
    .radios-grid:not(.radios-view-list) .radio-info h4 {
        font-size: 0.85rem;
    }
    .radios-grid:not(.radios-view-list) .radio-status-sub {
        font-size: 0.72rem;
    }
}

/* Selector de vista Cuadrícula / Lista */
.view-mode-toggle {
    margin-left: auto;
    display: inline-flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 2px;
    gap: 2px;
}

.view-mode-btn {
    background: transparent;
    border: none;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.view-mode-btn:hover {
    color: var(--text);
    background: var(--hover-bg);
}

.view-mode-btn.active {
    background: var(--primary);
    color: #0b0f19;
    font-weight: 700;
}

/* Modo Lista compacta */
.radios-grid.radios-view-list {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
}

.radios-grid.radios-view-list .radio-card {
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 0.75rem;
    gap: 0.85rem;
    border-radius: var(--radius-sm);
}

.radios-grid.radios-view-list .radio-card .radio-img {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
}

.radios-grid.radios-view-list .radio-overlay {
    display: none !important;
}

.radios-grid.radios-view-list .radio-info {
    padding: 0;
    flex: 1;
    min-width: 0;
    background: transparent;
}

.radios-grid.radios-view-list .radio-card-list-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.radios-grid.radios-view-list .list-play-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #0b0f19;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
}

.radios-grid.radios-view-list .list-play-btn:hover {
    transform: scale(1.1);
}

.radios-grid.radios-view-list .list-fav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
}

.radios-grid.radios-view-list .list-fav-btn.active {
    color: #ef4444;
    border-color: #ef4444;
}

.radio-card-list-actions {
    display: none;
}

.page-fav-btn {
    background: none;
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: .75rem;
    transition: all var(--transition);
}
.page-fav-btn:hover { border-color: #ef4444; color: #ef4444; }
.page-fav-btn.active { border-color: #ef4444; color: #ef4444; background: #fef2f2; }

.radio-info h4 {
    font-size: 1.05rem;
    margin-bottom: .35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.radio-info p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.radio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .6rem;
}

.badge {
    background: var(--badge-bg);
    color: var(--badge-text);
    font-size: .75rem;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    color: var(--primary);
    text-decoration: none;
    margin-top: .5rem;
}

.website-link:hover { text-decoration: underline; }

/* ============== FOOTER ============== */

#siteFooter {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Redesigned Footer CSS */
#siteFooter {
    position: relative;
    border-top: 1px solid var(--border);
    background: #090d16;
}

.footer-uruguay-stripe {
    height: 4px;
    background: linear-gradient(90deg, #00A6EB 0%, #ffffff 35%, #00A6EB 70%, #FCD116 100%);
    width: 100%;
}

.footer-features {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.footer-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.footer-feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 166, 235, 0.3);
    box-shadow: 0 4px 20px rgba(0, 166, 235, 0.08);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 166, 235, 0.1);
    color: #00A6EB;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.footer-feature-item:hover .feature-icon {
    background: #00A6EB;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 166, 235, 0.4);
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
}

.footer-main {
    padding: 4.5rem 0 3.5rem 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.2fr 1.2fr 2fr;
    gap: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 190px;
    height: auto;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 2px 8px rgba(0, 166, 235, 0.25));
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #00A6EB;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #FCD116;
    border-radius: 2px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-list a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: #FCD116;
    transition: transform 0.2s;
}

.footer-list a:hover {
    color: #f8fafc;
    text-decoration: none;
    padding-left: 6px;
}

.footer-list a:hover::before {
    transform: translateX(2px);
    color: #00A6EB;
}

/* Play Store Badge */
.play-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #0d131f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    color: #f8fafc;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s;
    width: fit-content;
}

.play-store-badge:hover {
    background: #111827;
    border-color: #00A6EB;
    box-shadow: 0 4px 15px rgba(0, 166, 235, 0.15);
    transform: translateY(-2px);
}

.play-store-badge i {
    font-size: 1.5rem;
    color: #00A6EB;
}

.play-store-badge div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.play-store-badge span {
    font-size: 0.65rem;
    color: #94a3b8;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.play-store-badge strong {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Newsletter section */
.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 280px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    background: rgba(13, 19, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: #f8fafc;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.newsletter-form input[type="email"]:focus {
    border-color: #00A6EB;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 166, 235, 0.15);
}

.newsletter-form button {
    background: #00A6EB;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #008cc7;
    box-shadow: 0 0 12px rgba(0, 166, 235, 0.35);
}

/* Footer Ad Column */
.footer-col-ad {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.footer-col-ad .ad-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Botones de acción en la columna Explorar Radios */
.footer-radio-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-radio-action-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.footer-radio-action-btn:hover {
    background: rgba(0, 166, 235, 0.12);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 166, 235, 0.2);
}

.footer-radio-action-btn i {
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.footer-radio-action-btn.highlight {
    border-color: rgba(0, 166, 235, 0.35);
    background: rgba(0, 166, 235, 0.08);
    color: #ffffff;
}

/* SECCIÓN NUESTRA RED DE WEBS (ESTILO DE LA PLATEA) */
.footer-network-section {
    background: rgba(6, 9, 16, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 2.25rem 0;
    text-align: center;
}

.footer-network-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer-network-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-network-label i {
    color: #ffc72c;
    font-size: 1rem;
}

.footer-network-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.network-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.network-pill-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.network-pill-btn .pill-icon {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s;
}

.network-pill-btn:hover .pill-icon {
    transform: scale(1.18);
}

/* Socket / Credits */
.footer-socket {
    background: #05080e;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem 0;
}

.footer-socket-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-socket-left {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook:hover { background: #1877F2; border-color: #1877F2; }
.social-btn.twitter:hover { background: #000000; border-color: #333333; }
.social-btn.linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.social-btn.email:hover { background: #EA4335; border-color: #EA4335; }

.footer-socket-left {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
}

.footer-copyright-text {
    color: #94a3b8;
    font-weight: 500;
}

.footer-socket-center {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-sep {
    color: #475569;
    font-size: 0.75rem;
}

.footer-privacy-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-privacy-link:hover {
    color: #00A6EB;
    text-decoration: underline;
}

.footer-sumar-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 191, 255, 0.12);
    color: #00bfff !important;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 191, 255, 0.35);
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.footer-sumar-btn:hover {
    background: #00bfff;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.35);
}

[data-theme="light"] .footer-copyright-text {
    color: #64748b;
}

[data-theme="light"] .footer-sumar-btn {
    background: rgba(0, 166, 235, 0.1);
    color: #0088cc !important;
    border-color: rgba(0, 166, 235, 0.3);
}

[data-theme="light"] .footer-sumar-btn:hover {
    background: #0088cc;
    color: #ffffff !important;
}

.footer-socket-right {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-socket-right .mdq {
    color: #FCD116;
    font-weight: 700;
}

/* Light mode overrides */
[data-theme="light"] #siteFooter {
    background: #f8fafc;
    border-top-color: #e2e8f0;
}

[data-theme="light"] .footer-features {
    background: #f1f5f9;
    border-bottom-color: #e2e8f0;
}

[data-theme="light"] .footer-feature-item {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .feature-text {
    color: #334155;
}

[data-theme="light"] .footer-desc {
    color: #475569;
}

[data-theme="light"] .footer-list a {
    color: #475569;
}

[data-theme="light"] .footer-list a:hover {
    color: #0f172a;
}

[data-theme="light"] .play-store-badge {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .play-store-badge:hover {
    background: #e2e8f0;
}

[data-theme="light"] .newsletter-form input[type="email"] {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .footer-newsletter h5 {
    color: #334155;
}

[data-theme="light"] .footer-socket {
    background: #f1f5f9;
    border-top-color: #e2e8f0;
}

[data-theme="light"] .social-btn {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #64748b;
}

[data-theme="light"] .footer-socket-center,
[data-theme="light"] .footer-socket-right {
    color: #64748b;
}

[data-theme="light"] .footer-socket-right .mdq {
    color: #ea580c;
}

[data-theme="light"] .footer-network-section {
    background: #f1f5f9;
    border-top-color: #e2e8f0;
    border-bottom-color: #e2e8f0;
}

[data-theme="light"] .footer-network-label {
    color: #475569;
}

[data-theme="light"] .network-pill-btn {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .network-pill-btn:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(0, 166, 235, 0.15);
}

[data-theme="light"] .footer-radio-action-btn {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #334155;
}

[data-theme="light"] .footer-radio-action-btn:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="light"] .footer-radio-action-btn.highlight {
    background: rgba(0, 166, 235, 0.05);
    border-color: rgba(0, 166, 235, 0.25);
    color: var(--primary);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-socket-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
    .footer-socket-left {
        justify-content: center;
    }
    .footer-feature-item {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Category header */
.category-header { margin-bottom: 1.5rem; }
.category-cover { width: 100%; max-height: 240px; object-fit: cover; border-radius: var(--radius); margin-bottom: .75rem; }
.category-desc { color: var(--text-secondary); font-size: .95rem; line-height: 1.6; }
.category-desc p { margin-bottom: .5rem; }
.category-desc--below { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.category-title { margin-bottom: 1rem; font-size: 1.5rem; }

/* Premium Category Header Banner */
.category-header-banner {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.category-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

.category-header-cover {
    width: 380px;
    height: 250px; /* Elegant 3:2 landscape aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 5px solid var(--bg-card); /* Elevated photo frame border */
    box-shadow: 0 0 0 1px var(--border), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: var(--bg);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.category-live-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 99px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    user-select: none;
}

.category-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    position: relative;
    flex-shrink: 0;
    display: inline-block;
}

.category-live-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background-color: #22c55e;
    opacity: 0.7;
    animation: categoryLivePulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes categoryLivePulse {
    0% {
        transform: scale(0.8);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.9);
        opacity: 0;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

.category-header-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.category-header-cover:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px var(--primary), 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
}

.category-header-cover:hover img {
    transform: scale(1.03);
}

.category-header-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--placeholder-bg);
    color: rgba(255, 255, 255, 0.9);
    font-size: 4rem;
}

.category-header-details {
    flex: 1;
    min-width: 0;
    z-index: 1;
}

.category-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.category-header-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--text);
    line-height: 1.2;
}

.category-header-desc {
    column-count: 2;
    column-gap: 2.5rem;
    column-rule: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.category-header-desc p {
    margin-bottom: 0.75rem;
}

.category-header-desc p:last-child {
    margin-bottom: 0;
}

/* Heading protection inside description columns */
.category-header-desc h1,
.category-header-desc h2,
.category-header-desc h3,
.category-header-desc h4,
.category-header-desc p strong {
    display: inline-block;
    width: 100%;
    break-after: avoid;
    break-inside: avoid;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

@media (max-width: 992px) {
    .category-header-banner {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        align-items: stretch;
    }
    
    .category-header-cover {
        width: 100%;
        max-width: 480px;
        height: auto;
        aspect-ratio: 3/2;
        margin: 0 auto;
    }
    
    .category-header-desc {
        column-count: 1;
        column-gap: 0;
        column-rule: none;
    }
    
    .category-header-title {
        font-size: 1.85rem;
    }
}

/* Category Audio & Jingles Section */
.category-audio-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.category-audio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.category-audio-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-audio-title-wrap i {
    color: var(--primary);
    font-size: 1.2rem;
}

.category-audio-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.category-audio-count {
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--badge-bg);
    color: var(--badge-text);
    padding: 3px 10px;
    border-radius: 99px;
}

.category-audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.category-track-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.category-track-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.category-track-card.now-playing {
    border-color: var(--primary);
    background: rgba(0, 166, 235, 0.08);
}

.category-track-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.category-track-play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
}

.category-track-play:hover {
    background: var(--primary-hover);
    transform: scale(1.06);
}

.category-track-card.now-playing .category-track-play {
    background: #22c55e;
}

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

.category-track-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-track-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.category-track-source,
.category-track-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Radio embed shortcode */
.radio-embed {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}
.radio-embed-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--placeholder-bg);
}
.radio-embed-img img { width: 100%; height: 100%; object-fit: cover; }
.radio-embed-info { flex: 1; min-width: 0; }
.radio-embed-name { font-weight: 600; color: var(--text); text-decoration: none; font-size: .95rem; display: block; margin-bottom: .25rem; }
.radio-embed-name:hover { color: var(--primary); }
.radio-embed-tags { display: flex; gap: .25rem; flex-wrap: wrap; }
.radio-embed-tags .badge { font-size: .7rem; padding: .1rem .45rem; }
.radio-embed-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}
.radio-embed-play:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: scale(1.05); }

/* Share buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.share-label {
    font-size: .85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-right: .25rem;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: .9rem;
    color: #fff;
    text-decoration: none;
    transition: all .2s;
    background: var(--text-muted);
}
.share-btn:hover { transform: scale(1.1); text-decoration: none; color: #fff; }
.share-facebook { background: #1877f2; }
.share-facebook:hover { background: #166fe5; }
.share-twitter { background: #000; }
.share-twitter:hover { background: #222; }
.share-whatsapp { background: #25d366; }
.share-whatsapp:hover { background: #20bd5a; }
.share-copy { background: var(--text-muted); }
.share-copy:hover { background: var(--text); }
.share-embed { background: #6366f1; }
.share-embed:hover { background: #4f46e5; }

/* Radio page */
.radio-page > .radio-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: -1.5rem;
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: stretch;
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center;
}

.radio-hero-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 60%, var(--bg) 100%);
    padding: 4rem 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.radio-hero-overlay .ad-container {
    max-width: 1400px;
    margin: 0 auto 1.5rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.layout-radio {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.radio-page-main {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.radio-page-left {
    width: 280px;
    flex-shrink: 0;
}

.radio-page-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--placeholder-bg);
    border: 6px solid #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    position: relative;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

[data-theme="dark"] .radio-page-img {
    border-color: rgba(255, 255, 255, 0.85);
}

.radio-page-img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.5), 0 12px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.radio-page-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.radio-page-img:hover img {
    transform: scale(1.08);
}

/* Indicador sutil de lupa al pasar el ratón */
.radio-img-zoom-hint {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 50%;
    pointer-events: none;
}

.radio-page-img:hover .radio-img-zoom-hint {
    opacity: 1;
}

.radio-img-zoom-hint i {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    transform: translateY(4px);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.radio-page-img:hover .radio-img-zoom-hint i {
    transform: translateY(0);
}

.radio-img-zoom-hint span {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(0, 0, 0, 0.6);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Modal Lightbox para ver logo completo */
.logo-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}

.logo-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.logo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.logo-lightbox-content {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-lightbox-overlay.active .logo-lightbox-content {
    transform: scale(1);
}

.logo-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

[data-theme="dark"] .logo-lightbox-close {
    background: rgba(255, 255, 255, 0.1);
}

.logo-lightbox-close:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.logo-lightbox-img-wrap {
    width: 100%;
    max-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.03);
    margin-bottom: 1.2rem;
}

.logo-lightbox-img-wrap img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.logo-lightbox-caption {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
}

@media (max-width: 480px) {
    .logo-lightbox-content {
        padding: 1.25rem 1rem;
    }
    .logo-lightbox-img-wrap {
        max-height: 280px;
        margin-bottom: 0.8rem;
    }
    .logo-lightbox-img-wrap img {
        max-height: 280px;
    }
    .logo-lightbox-caption {
        font-size: 1.05rem;
    }
}

.radio-page-player {
    margin-top: 1.25rem;
}

.radio-page-player .mini-player {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.radio-page-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
}

.radio-page-right h1 {
    font-size: 2rem;
    margin-bottom: .75rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.radio-page-right .radio-tags {
    margin-bottom: .75rem;
}

.radio-page-right .radio-tags .badge {
    background: rgba(255,255,255,.15);
    color: #fff;
    backdrop-filter: blur(4px);
}

.radio-page-right .radio-tags .badge:hover {
    background: rgba(255,255,255,.25);
}

.radio-page-desc {
    color: rgba(255,255,255,.9);
    line-height: 1.7;
    font-size: .95rem;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.radio-page-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.radio-page-right .website-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: .84rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
}

.radio-page-right .website-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 166, 235, 0.3);
}

.radio-page-right .report-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    padding: 7px 16px;
    border-radius: 9999px;
    cursor: pointer;
    font-family: inherit;
    font-size: .84rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.radio-page-right .report-link i {
    color: #f59e0b;
    font-size: .88rem;
    transition: transform 0.2s ease;
}

.radio-page-right .report-link:hover {
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.radio-page-right .report-link:hover i {
    transform: scale(1.15);
}

.radio-page-right .report-link.success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981 !important;
    cursor: default;
    pointer-events: none;
}

.radio-page-right .report-link.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.radio-page-right .report-link.reported {
    background: rgba(245, 158, 11, 0.16);
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 6px 14px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.84rem;
    cursor: default;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 1 !important;
}

[data-theme="light"] .radio-page-right .website-link {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

[data-theme="light"] .radio-page-right .website-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 166, 235, 0.25);
}

[data-theme="light"] .radio-page-right .report-link {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
}

[data-theme="light"] .radio-page-right .report-link:hover {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #b45309;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

[data-theme="light"] .radio-page-right .report-link.reported {
    background: #fffbeb;
    color: #b45309 !important;
    border-color: #fde68a;
}

.radio-claimed-badge-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin: 12px 0 14px 0;
    line-height: 1.4;
    animation: fadeInNotice 0.3s ease;
}

[data-theme="light"] .radio-claimed-badge-notice {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

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

.radio-card-reported-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(239, 68, 68, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    letter-spacing: 0.3px;
}

/* ========================================================
   ESTILOS DE RADIOS FUERA DE LÍNEA / SIN TRANSMISIÓN
======================================================== */
.radio-card.is-offline .radio-img img {
    filter: grayscale(45%) contrast(92%);
    opacity: 0.85;
}

.radio-card-tape-offline {
    position: absolute;
    top: 14px;
    right: -32px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.60rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 34px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    z-index: 5;
    pointer-events: none;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.badge-offline {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

[data-theme="dark"] .badge-offline {
    background: rgba(239, 68, 68, 0.22) !important;
    color: #fca5a5 !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

/* Cinta en el círculo de la página individual de radio */
.radio-page-img.is-offline img {
    filter: grayscale(40%) contrast(92%);
}

.radio-circle-offline-tape {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc2626;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 2px solid #ffffff;
    pointer-events: none;
}

[data-theme="dark"] .radio-circle-offline-tape {
    border-color: rgba(255, 255, 255, 0.9);
}

/* Banner de aviso en la página de radio fuera de línea */
.radio-offline-banner {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-left: 5px solid #e11d48;
    border-radius: 12px;
    padding: 1.1rem 1.35rem;
    margin-bottom: 1.35rem;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #9f1239;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
}

[data-theme="dark"] .radio-offline-banner {
    background: rgba(225, 29, 72, 0.12);
    border-color: rgba(225, 29, 72, 0.35);
    border-left-color: #f43f5e;
    color: #fecdd3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.radio-offline-banner-icon {
    font-size: 1.5rem;
    color: #e11d48;
    flex-shrink: 0;
    margin-top: 2px;
}

[data-theme="dark"] .radio-offline-banner-icon {
    color: #fb7185;
}

.radio-offline-banner-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.radio-offline-banner-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
}

/* Mini reproductor en modo fuera de línea */
.mini-player.is-offline {
    opacity: 0.9;
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.3);
}

.mini-play-btn.is-offline {
    background: #e11d48 !important;
    color: #ffffff !important;
    cursor: not-allowed;
    opacity: 0.85;
}

.mini-play-btn.is-offline:hover {
    transform: none;
    box-shadow: none;
}

.status-dot.offline {
    background: #ef4444 !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.7) !important;
}

.mini-status.offline {
    color: #ef4444 !important;
    font-weight: 700;
}


.radio-page-share {
    padding-top: 1rem;
}

.radio-page-share .share-label {
    color: rgba(255,255,255,.8);
}

.radio-page-share .share-btn {
    background: rgba(255,255,255,.15);
    color: #fff;
    backdrop-filter: blur(4px);
}

.radio-page-share .share-btn:hover {
    background: rgba(255,255,255,.3);
}

.radio-page-nav {
    padding: 1.5rem 0;
}

.radio-related {
    padding: 1.5rem 0;
}

.radio-related h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text);
}

.radio-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Ads System */
.ad-container {
    overflow: visible;
    text-align: center;
    width: 100%;
    display: block;
    position: relative;
    z-index: 10;
}

.ad-container iframe,
.ad-container ins,
.ad-container img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.ad-radio_hero_right {
    width: 100%;
    max-width: 336px;
    min-height: 250px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-page-ad {
    width: 336px;
    max-width: 336px;
    min-width: 300px;
    flex-shrink: 0;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
}

.ad-before_related,
.ad-after_related {
    padding: 1.5rem 0;
    margin: 1rem auto;
    max-width: 1200px;
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-before_footer {
    display: block;
    min-height: 90px;
    padding: 1.5rem 0;
}

.ad-after_header,
.ad-after_radio_list,
.ad-album_after_tracks,
.ad-music_banner,
.ad-blog_after_list,
.ad-error_404 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    padding: 1.5rem 0;
    margin: 1rem auto;
    max-width: 1200px;
}

.footer-col-ad {
    min-width: 200px;
}

.footer-col-ad .ad-container {
    min-height: 250px;
    background: rgba(255,255,255,.03);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: .8rem;
}

@media (max-width: 1023px) {
    .radio-page-ad,
    .ad-radio_hero_right {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .ad-container {
        margin: 1rem auto;
        padding: 0.5rem 0;
    }
    .ad-before_related,
    .ad-after_related,
    .ad-after_header,
    .ad-after_radio_list,
    .ad-album_after_tracks,
    .ad-music_banner,
    .ad-blog_after_list,
    .ad-error_404 {
        padding: 0.75rem 0;
        margin: 0.75rem auto;
        min-height: 100px;
        width: 100%;
    }
    .ad-container ins.adsbygoogle {
        width: 100% !important;
        margin: 0 auto;
    }
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: .95rem;
}

.back-link:hover { text-decoration: underline; }

/* Player bar */
/* Flag of Uruguay Premium Color System for player */
:root {
    --player-bg: rgba(11, 15, 25, 0.96); /* Dark slate for premium feel in both themes */
    --player-text: #f8fafc;
    --player-text-secondary: #94a3b8;
    --player-uruguay-celeste: #00A6EB; /* Light sky blue */
    --player-uruguay-yellow: #FCD116; /* Sun gold */
    --player-uruguay-yellow-glow: rgba(252, 209, 22, 0.25);
    --player-border-color: rgba(255, 255, 255, 0.08);
}

.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--player-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--player-border-color);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
    gap: 1.5rem;
    color: var(--player-text);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.player-bar.active {
    transform: translateY(0);
}

.player-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.player-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    background: #0d1117;
    border: 2px solid #1f2937;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 0 4px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    animation: spin-vinyl 8s linear infinite;
    animation-play-state: paused;
    transition: transform 0.3s ease;
}

.player-thumb.playing {
    animation-play-state: running;
}

.player-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    mask-image: radial-gradient(circle, transparent 12%, black 12.5%);
    -webkit-mask-image: radial-gradient(circle, transparent 12%, black 12.5%);
}

.player-thumb i {
    color: var(--player-uruguay-celeste);
    font-size: 1.25rem;
    z-index: 1;
}

/* Vinyl shiny reflection overlay */
.player-thumb::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, 
        transparent 35%, 
        rgba(255,255,255,0.03) 36%, 
        transparent 38%, 
        rgba(0,0,0,0.4) 40%,
        transparent 45%, 
        rgba(255,255,255,0.05) 46%, 
        transparent 48%, 
        rgba(0,0,0,0.4) 60%, 
        transparent 65%,
        rgba(255,255,255,0.05) 66%,
        transparent 68%
    );
    pointer-events: none;
    z-index: 2;
}

/* Center pin */
.player-thumb::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 50%;
    z-index: 3;
    box-shadow: inset 1px 1px 2px rgba(255,255,255,0.8), 1px 1px 3px rgba(0,0,0,0.5);
}

@keyframes spin-vinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.player-meta {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.player-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--player-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.player-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.player-title-link:hover {
    color: var(--player-uruguay-celeste) !important;
}

.player-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.player-thumb-link:hover {
    transform: scale(1.05);
}

.player-subtitle {
    font-size: 0.8rem;
    color: var(--player-uruguay-yellow);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-status {
    display: none !important;
}

.player-center {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.player-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--player-uruguay-yellow);
    background: rgba(255, 255, 255, 0.03);
    color: var(--player-uruguay-yellow);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px var(--player-uruguay-yellow-glow);
}

.player-btn:hover {
    background: var(--player-uruguay-yellow);
    color: #0b0f19;
    transform: scale(1.08);
    box-shadow: 0 0 25px var(--player-uruguay-yellow-glow);
}

.player-btn i {
    margin-left: 2px;
}

.player-btn i.fa-pause {
    margin-left: 0;
}

.player-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: flex-end;
    flex: 1;
}

.volume-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--player-text-secondary);
    font-size: 0.95rem;
}

.volume-wrap i {
    cursor: pointer;
    transition: color 0.3s;
}

.volume-wrap i:hover {
    color: var(--player-uruguay-celeste);
}

.volume-wrap input[type="range"] {
    width: 100px;
    height: 5px;
    accent-color: var(--player-uruguay-celeste);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    cursor: pointer;
    transition: opacity 0.3s;
}

/* Sleep Timer */
.sleep-timer-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.sleep-timer-btn {
    background: transparent;
    border: none;
    color: var(--player-text-secondary);
    font-size: 1.15rem;
    cursor: pointer;
    position: relative;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sleep-timer-btn:hover,
.sleep-timer-btn.active {
    color: var(--player-uruguay-celeste);
    transform: scale(1.1);
}

.sleep-timer-btn.active i {
    animation: clockPulse 2s infinite ease-in-out;
}

@keyframes clockPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; color: var(--player-uruguay-amarillo); }
}

.sleep-timer-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--player-uruguay-amarillo);
    color: #121927;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 10px;
    padding: 1px 5px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sleep-timer-menu {
    position: absolute;
    bottom: 52px;
    right: -40px;
    background: rgba(18, 25, 39, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.85rem 0.65rem;
    width: 160px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: sleepMenuPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .sleep-timer-menu {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
}

@keyframes sleepMenuPop {
    from { transform: translateY(10px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.sleep-menu-header {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.4rem;
}

[data-theme="light"] .sleep-menu-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sleep-timer-menu button {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sleep-timer-menu button:hover {
    background: rgba(0, 166, 235, 0.1);
    color: var(--primary);
    padding-left: 0.8rem;
}

.sleep-timer-menu button.cancel-btn {
    color: #f43f5e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.4rem;
    padding-top: 0.5rem;
    border-radius: 0;
}

[data-theme="light"] .sleep-timer-menu button.cancel-btn {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sleep-timer-menu button.cancel-btn:hover {
    background: rgba(244, 63, 94, 0.08);
    color: #f43f5e;
}

.sleep-timer-menu button.active {
    background: rgba(252, 209, 22, 0.12);
    color: var(--player-uruguay-amarillo);
    padding-left: 0.8rem;
}
.sleep-menu-status {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.25rem 0.6rem 0.5rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.4rem;
}
[data-theme="light"] .sleep-menu-status {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.sleep-menu-status strong {
    color: var(--player-uruguay-amarillo);
    font-weight: 700;
}

/* Surprise Me Button rotation animations */
#topbarRandomRadio i,
#mobileRandomRadio i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#topbarRandomRadio:hover i,
#mobileRandomRadio:hover i {
    transform: rotate(45deg);
}

/* Equalizer waves around play button */
.eq-waves {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    width: 32px;
}

.eq-waves span {
    display: block;
    width: 3px;
    height: 100%;
    background: var(--player-uruguay-celeste);
    border-radius: 2px;
    transform: scaleY(0.25);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.eq-waves.active span {
    animation: bounce-wave 0.8s ease-in-out infinite alternate;
}

@keyframes bounce-wave {
    0% { transform: scaleY(0.2); }
    100% { transform: scaleY(1); }
}

.eq-waves span:nth-child(1) { height: 10px; animation-delay: 0.1s; }
.eq-waves span:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.eq-waves span:nth-child(3) { height: 20px; animation-delay: 0s; }
.eq-waves span:nth-child(4) { height: 14px; animation-delay: 0.5s; }
.eq-waves span:nth-child(5) { height: 8px; animation-delay: 0.2s; }

/* Close player button */
.player-close-btn {
    background: transparent;
    border: none;
    color: var(--player-text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s;
}

.player-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--player-uruguay-yellow);
    transform: rotate(90deg);
}

.radio-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease,
                background 0.4s ease;
    cursor: pointer;
    border: 1px solid var(--border);
}

.radio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* Blog */
.page-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.blog-section-title {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.blog-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all var(--transition);
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.blog-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--placeholder-bg);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 1.25rem;
}

.blog-date {
    font-size: .8rem;
    color: var(--text-secondary);
    margin-bottom: .35rem;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
    line-height: 1.3;
}

.blog-card-body p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: .75rem;
}

.blog-read-more {
    font-size: .9rem;
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.blog-read-more i { font-size: .75rem; }

/* Blog hero (like radio hero) */
.blog-article {
    margin-top: -1.5rem;
    position: relative;
    background: var(--bg);
    padding: 0 1.5rem;
}

.blog-article > .blog-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: -1.5rem;
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: stretch;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-hero-overlay {
    width: 100%;
    height: 100%;
    padding: 4rem 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: transparent;
}

.blog-page-main {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-page-left {
    width: 260px;
    flex-shrink: 0;
}

.blog-page-right {
    flex: 1;
    min-width: 0;
    padding-top: 1rem;
}

.blog-page-img {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    border: 4px solid #fff;
    background: var(--placeholder-bg);
}

.blog-page-img img {
    width: 100%;
    display: block;
}

.blog-img-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,.3);
}

.blog-page-right h1 {
    font-size: 1.85rem;
    margin-bottom: .5rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.blog-meta {
    font-size: .9rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 1rem;
}

.blog-page-share .share-label {
    color: rgba(255,255,255,.8);
}

.blog-page-share .share-btn {
    background: rgba(255,255,255,.15);
    color: #fff;
    backdrop-filter: blur(4px);
}

.blog-page-share .share-btn:hover {
    background: rgba(255,255,255,.3);
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: .9rem;
    padding: 1.25rem 0;
}

.blog-back:hover { text-decoration: underline; }

.blog-article-content {
    margin-top: 2rem;
    line-height: 1.8;
}

.blog-article-content .ad-container {
    margin: 2rem auto;
    padding: 1rem 0;
    text-align: center;
}

.blog-article-content p {
    margin-bottom: 1rem;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.blog-article-content iframe,
.blog-article-content video,
.blog-article-content embed,
.blog-article-content object {
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border-radius: var(--radius-sm);
    border: none;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.blog-related {
    padding: 1.5rem 0;
}

.blog-related h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.blog-related-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow var(--transition), transform var(--transition);
}

.blog-related-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.blog-related-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--placeholder-bg);
}

.blog-related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-related-card-body {
    padding: .75rem 1rem;
}

.blog-related-card-body .blog-date {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .25rem;
}

.blog-related-card-body h4 {
    font-size: .95rem;
    line-height: 1.3;
}

.blog-search-header {
    font-size: .95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}

.blog-search-header strong { color: var(--text); }

/* Mini player (embedded in radio page) */
.mini-player {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mini-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    flex-shrink: 0;
}

.mini-play-btn:hover { background: var(--primary-hover); }

.mini-player-info {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 0;
}

.mini-player-status {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.mini-player-status .status-dot {
    width: 10px;
    height: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
    transition: background .3s;
}

.status-dot.playing { background: #22c55e; }
.status-dot.buffering { background: #f59e0b; animation: pulse-dot 1s infinite; }
.status-dot.error { background: #ef4444; }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.mini-volume {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--text-secondary);
    font-size: .85rem;
}

.mini-volume-slider {
    width: 100px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Equalizer animation */
.eq {
    display: none;
    align-items: center;
    gap: 2px;
    height: 20px;
    flex-shrink: 0;
}

.eq.eq-active {
    display: flex;
}

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

.eq-bar:nth-child(1) { height: 10px; animation-delay: 0s; }
.eq-bar:nth-child(2) { height: 16px; animation-delay: 0.15s; }
.eq-bar:nth-child(3) { height: 7px; animation-delay: 0.3s; }
.eq-bar:nth-child(4) { height: 13px; animation-delay: 0.45s; }
.eq-bar:nth-child(5) { height: 9px; animation-delay: 0.1s; }

@keyframes eq-bounce {
    0% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
    100% { transform: scaleY(0.6); }
}

.mini-player-status .eq { height: 16px; }
.mini-player-status .eq-bar { width: 2px; }
.mini-player-status .eq-bar:nth-child(1) { height: 7px; }
.mini-player-status .eq-bar:nth-child(2) { height: 12px; }
.mini-player-status .eq-bar:nth-child(3) { height: 5px; }
.mini-player-status .eq-bar:nth-child(4) { height: 10px; }
.mini-player-status .eq-bar:nth-child(5) { height: 8px; }

#playerStatus .eq { height: 16px; }
#playerStatus .eq-bar { width: 2px; background: #22c55e; }
#playerStatus .eq-bar:nth-child(1) { height: 7px; }
#playerStatus .eq-bar:nth-child(2) { height: 12px; }
#playerStatus .eq-bar:nth-child(3) { height: 5px; }
#playerStatus .eq-bar:nth-child(4) { height: 10px; }
#playerStatus .eq-bar:nth-child(5) { height: 8px; }

@media (max-width: 768px) {
    .layout { padding: 0 1rem; margin: 1rem auto; }
    .layout.layout-full-header { margin-top: 0; }
    .player-bar { padding: 0.5rem 1rem; gap: 0.5rem; height: 68px; flex-wrap: nowrap; }
    .player-thumb { width: 40px; height: 40px; }
    .player-title { font-size: 0.85rem; }
    .player-subtitle { font-size: 0.7rem; }
    .eq-waves { display: none !important; }
    .player-btn { width: 40px; height: 40px; font-size: 1rem; }
    .volume-wrap { display: none !important; }
    .player-right { flex: 0; }
    .topbar { padding: 0 1rem; }
    .radio-page-main { flex-direction: column; align-items: center; text-align: center; }
    .radio-page-left { width: 100%; max-width: 300px; }
    .radio-page-player { margin-top: 1rem; }
    .radio-page-player .mini-player { padding: .75rem; }
    .mini-player { gap: .75rem; }
    .mini-play-btn { width: 48px; height: 48px; font-size: 1.1rem; }
    .mini-volume-slider { width: 80px; }
    .radio-page-right h1 { justify-content: center; font-size: 1.5rem; }
    .radio-page-right .radio-tags { justify-content: center; }
    .radio-page-share .share-buttons { justify-content: center; }
    .layout-radio { padding: 0 1rem; }
    .radio-hero { min-height: 320px; }
    .blog-page-main { flex-direction: column; align-items: center; text-align: center; }
    .blog-page-left { width: 200px; }
    .blog-page-right h1 { text-align: center; font-size: 1.35rem; }
    .blog-page-share .share-buttons { justify-content: center; }
    .blog-article > .blog-hero { min-height: 300px; }

    /* Buscador Móvil Premium en Estado Activo */
    .topbar-search-wrap.active {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-topbar);
        z-index: 150;
        display: flex;
        align-items: center;
        padding: 0 1rem;
        gap: .5rem;
        animation: fadeInSearch 0.2s ease-out;
    }
    
    @keyframes fadeInSearch {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .topbar-search-wrap.active .topbar-search-btn {
        border: none;
        background: transparent;
        color: var(--text-secondary);
        font-size: 1.25rem;
        width: 40px;
        height: 40px;
    }

    .topbar-search-wrap.active .topbar-search-btn:hover {
        background: transparent;
        color: var(--text);
    }

    /* Transformar lupa en flecha de volver usando unicode de FontAwesome solid */
    .topbar-search-wrap.active .topbar-search-btn i::before {
        content: "\f060"; /* Unicode de fa-arrow-left */
    }

    .topbar-search-wrap.active .topbar-search-input {
        flex: 1;
        width: 100% !important;
        height: 42px;
        padding: 0 1rem;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        background: var(--bg-card);
        font-size: 1rem;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    }

    /* Ocultar botones redundantes del topbar en móviles */
    .topbar-right .btn-icon, 
    .topbar-right #themeToggle {
        display: none !important;
    }

    /* Convertir menú móvil en Flexbox vertical para fijar el footer abajo */
    .mobile-menu {
        display: flex !important;
        flex-direction: column;
    }

    .mobile-nav-list {
        flex: 1;
        overflow-y: auto;
    }

    /* Pie de página de acciones en el menú móvil */
    .mobile-menu-footer {
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 12px));
        border-top: 1px solid var(--border);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.25rem;
        background: rgba(0, 0, 0, 0.08);
        margin-top: auto;
    }

    .mobile-menu-icon-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: var(--bg-card);
        color: var(--text);
        font-size: 1.1rem;
        cursor: pointer;
        text-decoration: none;
        transition: all var(--transition);
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .mobile-menu-icon-btn:hover {
        background: var(--hover-bg);
        border-color: var(--primary);
        color: var(--primary);
        transform: translateY(-2px);
    }

    /* Ocultación de iconos de tema según estado activo */
    [data-theme="dark"] #mobileThemeToggle .fa-moon,
    [data-theme="light"] #mobileThemeToggle .fa-sun {
        display: none;
    }
}


/* Band Hero - mismo patrón que blog hero */
.band-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: -1.5rem;
    position: relative;
    height: 420px;
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    z-index: 1;
}

/* AJAX content wrapper para full-width */
#mainContent .band-hero {
    margin-left: calc(-50vw + 50%);
    width: 100vw;
    margin-top: 0;
}

#mainContent > .music-page {
    padding-top: 0;
}

.band-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 60%, var(--bg) 100%);
}

.band-info {
    margin-bottom: 2rem;
}

.band-hero-content {
    width: 100%;
}

/* Privacy Link in Footer Socket */
.footer-privacy-link {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.2s ease;
}
.footer-privacy-link:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}
[data-theme="light"] .footer-privacy-link {
    color: var(--text-secondary) !important;
}
[data-theme="light"] .footer-privacy-link:hover {
    color: var(--primary) !important;
}

/* Custom Confirmation Modal */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.confirm-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.confirm-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 2rem 2rem;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}
.confirm-modal-overlay.active .confirm-modal-card {
    transform: scale(1);
}
.confirm-modal-icon {
    font-size: 2.75rem;
    color: #ff9800;
    margin-bottom: 1.25rem;
    display: inline-block;
    animation: confirmPulse 2.2s infinite ease-in-out;
}
.confirm-modal-text {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 2rem;
}
.confirm-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.confirm-modal-btn {
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.confirm-modal-btn-cancel {
    background: transparent;
    border-color: var(--border);
    color: var(--text-secondary);
}
.confirm-modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}
[data-theme="light"] .confirm-modal-btn-cancel:hover {
    background: rgba(0, 0, 0, 0.05);
}
.confirm-modal-btn-confirm {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 166, 235, 0.15);
}
.confirm-modal-btn-confirm:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 166, 235, 0.3);
}

@keyframes confirmPulse {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.08); opacity: 1; text-shadow: 0 0 10px rgba(255, 152, 0, 0.35); }
}

/* Player Timeline & Progress Bar */
.player-progress-container {
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 1rem;
    z-index: 10;
    background: transparent;
}
.player-progress-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--player-text);
    opacity: 0.8;
    min-width: 32px;
    text-align: center;
    user-select: none;
}
.player-progress-bar-wrapper {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}
[data-theme="light"] .player-progress-bar-wrapper {
    background: rgba(0, 0, 0, 0.12);
}
.player-progress-container:hover .player-progress-bar-wrapper {
    height: 6px;
}
.player-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--player-uruguay-yellow);
    border-radius: 2px;
    position: relative;
}
.player-progress-handle {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: transform 0.15s ease;
    pointer-events: none;
}
.player-progress-container:hover .player-progress-handle {
    transform: translateY(-50%) scale(1);
}
@media (max-width: 768px) {
    .player-progress-container {
        padding: 0 1rem;
    }
}

/* Voting Section Styles */
.voting-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.voting-header {
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.voting-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--text);
}

.voting-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.voting-options-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.voting-option-card {
    display: flex;
    gap: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    box-shadow: var(--shadow);
    align-items: stretch;
}

.voting-option-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.005);
    box-shadow: 0 12px 30px rgba(0, 166, 235, 0.15);
}

.voting-side-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 170px;
    flex-shrink: 0;
    text-align: center;
    border-right: 1px solid var(--border);
    padding-right: 2.5rem;
    justify-content: center;
}

.voting-action-box {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.voting-option-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 90px;
    height: 90px;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
    flex-shrink: 0;
    color: var(--text-secondary);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
    padding: 0.5rem;
}

.voting-option-rank .rank-emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.voting-option-rank .rank-text {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    white-space: nowrap;
}

.voting-option-rank.rank-1 {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
    border-color: #facc15;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.25);
}
.voting-option-rank.rank-1 .rank-text {
    color: #854d0e;
}

.voting-option-rank.rank-2 {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    border-color: #cbd5e1;
}
.voting-option-rank.rank-2 .rank-text {
    color: #334155;
}

.voting-option-rank.rank-3 {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    border-color: #fed7aa;
}
.voting-option-rank.rank-3 .rank-text {
    color: #9a3412;
}

.voting-main-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.voting-option-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.voting-media-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.voting-youtube-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-width: 680px;
    width: 100%;
}

.voting-youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.voting-audio-wrapper {
    margin: 0.25rem 0;
    max-width: 500px;
    width: 100%;
}

.voting-audio-wrapper audio {
    width: 100%;
    height: 40px;
    border-radius: var(--radius-sm);
}

.voting-count-badge {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.voting-count-badge .vote-number {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1.1;
}

.voting-count-badge .vote-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.voting-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, #0077b6 100%);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 166, 235, 0.25);
}

.voting-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #00b4d8 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(0, 166, 235, 0.4);
    transform: translateY(-2px);
}

.voting-button.voted {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    cursor: not-allowed;
    box-shadow: none;
}

.voting-button.voted:hover {
    transform: none;
}

@media (max-width: 768px) {
    .voting-container {
        padding: 1.25rem;
    }
    .voting-option-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.5rem;
    }
    .voting-option-card:hover {
        transform: translateY(-3px) scale(1.002);
    }
    .voting-side-column {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 1.25rem;
    }
    .voting-option-rank {
        width: 76px;
        height: 76px;
    }
    .voting-option-rank .rank-emoji {
        font-size: 2rem;
    }
    .voting-option-rank .rank-text {
        font-size: 0.6rem;
    }
    .voting-action-box {
        flex-direction: row;
        align-items: center;
        width: auto;
        gap: 0.75rem;
    }
    .voting-count-badge {
        flex-direction: row;
        gap: 0.35rem;
        padding: 0.5rem 0.85rem;
        align-items: baseline;
        width: auto;
    }
    .voting-count-badge .vote-number {
        font-size: 1.4rem;
    }
    .voting-count-badge .vote-label {
        font-size: 0.75rem;
        margin-top: 0;
    }
    .voting-button {
        width: auto;
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
    .voting-main-column {
        gap: 0.75rem;
    }
    .voting-option-title {
        font-size: 1.25rem;
    }
}

/* Blog Two-Column Layout */
.blog-article-layout {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: flex-start;
}

.blog-article-main {
    flex: 0 0 70%;
    width: 70%;
    min-width: 0;
}

.blog-sidebar {
    flex: 0 0 30%;
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Sidebar cards styling */
.sidebar-ad-card, .sidebar-radios-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.sidebar-ad-card {
    text-align: center;
}

.sidebar-ad-card .ad-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.sidebar-ad-card .ad-content {
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.sidebar-radios-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 1.25rem 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-radios-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sidebar-radio-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-radio-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
    background: var(--bg-card);
}

.sidebar-radio-thumb {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.sidebar-radio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-radio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.sidebar-radio-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sidebar-radio-info h5 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-radio-play-btn {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sidebar-radio-play-btn:hover {
    color: var(--primary-hover);
}

.sidebar-radio-play-btn i {
    font-size: 0.65rem;
}

/* Mobile responsive layout */
@media (max-width: 991px) {
    .blog-article-layout {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .blog-article-main {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .blog-sidebar {
        flex: 0 0 100%;
        width: 100%;
        position: static;
    }
}

/* --- RECENTLY PLAYED SECTION --- */
.recently-played-section {
    margin-bottom: 1.75rem;
    padding: 1rem 1.15rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.recently-played-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.recently-played-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.recently-played-title i {
    color: var(--primary);
    font-size: 1rem;
}

.clear-recent-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.clear-recent-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.recently-played-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    -webkit-overflow-scrolling: touch;
}

.recently-played-grid::-webkit-scrollbar {
    height: 4px;
}
.recently-played-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.recent-radio-card {
    flex: 0 0 auto;
    width: 210px;
    max-width: 230px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.recent-radio-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 166, 235, 0.12);
}

.recent-thumb-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--placeholder-bg);
}

.recent-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recent-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.recent-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 8px;
}

.recent-radio-card:hover .recent-play-overlay,
.recent-radio-card.playing .recent-play-overlay {
    opacity: 1;
}

.recent-play-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.recent-play-btn:hover {
    transform: scale(1.1);
}

.recent-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.recent-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.recent-dial {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
}

/* Playing active state */
.recent-radio-card.playing {
    border-color: var(--primary);
    background: rgba(0, 166, 235, 0.08);
}

[data-theme="dark"] .recent-radio-card.playing {
    background: rgba(56, 189, 248, 0.12);
}

.recent-eq-mini {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
    flex-shrink: 0;
    margin-left: 2px;
}

.recent-radio-card.playing .recent-eq-mini {
    display: flex;
}

.recent-eq-mini span {
    width: 2.5px;
    background: var(--primary);
    border-radius: 1px;
    animation: recentEq 1s ease-in-out infinite alternate;
}

.recent-eq-mini span:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.recent-eq-mini span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.recent-eq-mini span:nth-child(3) { height: 40%; animation-delay: 0.2s; }

@keyframes recentEq {
    0% { height: 20%; }
    100% { height: 100%; }
}

@media (max-width: 600px) {
    .recent-radio-card {
        width: 175px;
        padding: 0.4rem 0.6rem 0.4rem 0.4rem;
    }
    .recent-thumb-wrap {
        width: 38px;
        height: 38px;
    }
}

/* Embed Widget Modal */
.embed-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 1rem;
}
.embed-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.embed-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    max-width: 620px;
    width: 100%;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    transform: scale(0.92);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
}
.embed-modal-overlay.active .embed-modal-card {
    transform: scale(1);
}
.embed-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.embed-modal-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.embed-modal-title i {
    color: #6366f1;
}
.embed-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 2px 6px;
    line-height: 1;
    border-radius: 6px;
    transition: all 0.2s;
}
.embed-modal-close:hover {
    color: var(--text);
    background: var(--bg-hover);
}
.embed-modal-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.15rem;
}
.embed-options-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.15rem;
    background: var(--bg);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.embed-option-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.embed-opt-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.4px;
    margin-right: 0.25rem;
}
.embed-opt-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.embed-opt-btn:hover {
    border-color: var(--primary);
    color: var(--text);
}
.embed-opt-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 166, 235, 0.35);
}
.embed-preview-box {
    margin-bottom: 1.15rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 8px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
}
.embed-preview-box iframe {
    display: block;
    width: 100%;
    border: none;
    border-radius: 10px;
}
.embed-code-wrapper {
    position: relative;
    margin-bottom: 0.85rem;
}
.embed-code-textarea {
    width: 100%;
    height: 72px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    color: var(--text);
    resize: none;
    line-height: 1.45;
    outline: none;
    box-sizing: border-box;
}
.embed-code-textarea:focus {
    border-color: #6366f1;
}
.embed-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.embed-info-tip {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.embed-copy-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.embed-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.5);
}
.embed-copy-btn:active {
    transform: translateY(0);
}
.embed-copy-btn.copied {
    background: #10b981;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Departamento Meta & Resumen */
.category-department-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 0.75rem;
}

.category-department-meta .category-weather-widget {
    margin-top: 0;
}

.category-department-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.84rem;
    color: var(--text-muted);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    line-height: 1.4;
    transition: all 0.25s ease;
}

.category-department-summary:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 166, 235, 0.12);
}

.category-department-summary i {
    color: var(--primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.category-department-summary strong {
    color: var(--text);
    font-weight: 700;
}

/* Mini Clima por Departamento */
.radio-weather-widget,
.category-weather-widget {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.category-weather-widget {
    margin-top: 0.75rem;
}

.weather-pill-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 14px 5px 10px;
    border-radius: 20px;
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    animation: fadeInWeather 0.4s ease-out;
    cursor: default;
}

.weather-pill-content:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 166, 235, 0.15);
}

.weather-icon-wrap {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.weather-icon-wrap .text-amber { color: #f59e0b; }
.weather-icon-wrap .text-indigo { color: #818cf8; }
.weather-icon-wrap .text-sky { color: #38bdf8; }
.weather-icon-wrap .text-blue { color: #2563eb; }
.weather-icon-wrap .text-cyan { color: #06b6d4; }
.weather-icon-wrap .text-gray { color: #94a3b8; }

.weather-dep-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.85rem;
}

.weather-temp-val {
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 166, 235, 0.12);
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 0.82rem;
    letter-spacing: -0.2px;
}

.weather-desc-val {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.weather-loading {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--bg);
    border-radius: 20px;
    border: 1px solid var(--border);
}

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

/* Player Toolbar Tools (Equalizer, Recorder, Sleep Timer) */
.player-tools-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-tool-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.player-tool-btn {
    background: transparent;
    border: none;
    color: var(--player-text-secondary);
    font-size: 1.15rem;
    cursor: pointer;
    position: relative;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.player-tool-btn:hover,
.player-tool-btn.active {
    color: var(--player-uruguay-celeste);
    transform: scale(1.1);
}

.tool-active-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--player-uruguay-celeste);
    box-shadow: 0 0 6px var(--player-uruguay-celeste);
}

/* Record Button */
.record-btn .record-dot {
    font-size: 0.85rem;
    color: #ef4444;
    transition: transform 0.2s;
}

.record-btn:hover .record-dot {
    transform: scale(1.2);
}

.record-btn.recording {
    color: #ef4444 !important;
}

/* ========================================================
   ÁLBUM: COMPARTIR EN REDES & WIDGET EMBED
   ======================================================== */
.album-quick-share-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 10px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.album-quick-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.album-quick-btn:hover {
    transform: translateY(-2px) scale(1.08);
}

.album-quick-btn.whatsapp { background: #25D366; }
.album-quick-btn.whatsapp:hover { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45); }

.album-quick-btn.facebook { background: #1877F2; }
.album-quick-btn.facebook:hover { box-shadow: 0 4px 12px rgba(24, 119, 242, 0.45); }

.album-quick-btn.twitter { background: #0f172a; border: 1px solid rgba(255,255,255,0.2); }
.album-quick-btn.twitter:hover { box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2); }

.album-quick-btn.embed { background: var(--primary); }
.album-quick-btn.embed:hover { box-shadow: 0 4px 12px rgba(0, 166, 235, 0.45); }

/* Modal Compartir e Insertar Álbum */
/* Modal Compartir e Insertar Álbum */
.album-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none; /* Oculto por defecto */
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 1rem;
}

.album-share-modal.active {
    display: flex;
    animation: fadeInModal 0.2s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.album-share-dialog,
.album-share-modal-dialog {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: popModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popModal {
    from { transform: scale(0.94); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.album-share-close-btn,
.album-share-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.album-share-close-btn:hover,
.album-share-modal-close:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.album-share-header,
.album-share-modal-header {
    padding: 1.5rem 1.5rem 0.8rem;
    border-bottom: 1px solid var(--border);
}

.album-share-header h3,
.album-share-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px 0;
    padding-right: 28px;
}

.album-share-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Tabs */
.album-share-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
    padding: 0 1.25rem;
    gap: 8px;
}

.album-share-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 11px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.album-share-tab-btn:hover {
    color: var(--text);
}

.album-share-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.album-share-body,
.album-share-modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.album-tab-pane {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Social Buttons Grid */
.album-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 500px) {
    .album-social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.album-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 12px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.album-social-btn i { font-size: 1.35rem; }
.album-social-btn:hover { transform: translateY(-2px); }

.album-social-btn.whatsapp { background: #25D366; }
.album-social-btn.whatsapp:hover { box-shadow: 0 5px 15px rgba(37, 211, 102, 0.45); }

.album-social-btn.facebook { background: #1877F2; }
.album-social-btn.facebook:hover { box-shadow: 0 5px 15px rgba(24, 119, 242, 0.45); }

.album-social-btn.twitter { background: #0f172a; border: 1px solid rgba(255,255,255,0.18); }
.album-social-btn.twitter:hover { box-shadow: 0 5px 15px rgba(255, 255, 255, 0.25); }

.album-social-btn.telegram { background: #229ED9; }
.album-social-btn.telegram:hover { box-shadow: 0 5px 15px rgba(34, 158, 217, 0.45); }

/* Copy Box */
.album-copy-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.album-copy-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.album-copy-box {
    display: flex;
    gap: 6px;
}

.album-copy-box input,
.album-copy-box textarea {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text);
    font-size: 0.82rem;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.album-copy-box textarea {
    resize: none;
    font-family: monospace;
    font-size: 0.75rem;
    line-height: 1.4;
}

.album-copy-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 166, 235, 0.3);
}

.album-copy-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 166, 235, 0.45);
}

/* Embed Options */
.album-embed-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
}

.album-option-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.album-btn-group {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2px;
}

.album-toggle-btn {
    background: none;
    border: none;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.album-toggle-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 166, 235, 0.35);
}

/* Embed Preview Wrapper */
.album-embed-preview-wrapper {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.album-embed-preview-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.album-embed-preview-container iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ========================================================
   ESTILOS DEL RANKING SEMANAL DE RADIOS
======================================================== */
.ranking-layout {
    max-width: 1100px;
    margin: 2.5rem auto 4rem;
    padding: 0 1.5rem;
    animation: fadeInRanking 0.5s ease-out;
}

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

.ranking-hero {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.ranking-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(252, 209, 22, 0.12);
    color: #ffd700;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(252, 209, 22, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ranking-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

[data-theme="light"] .ranking-hero h1 {
    color: #0f172a;
}

.ranking-hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 1.8rem;
    line-height: 1.6;
}

/* Filtros de Pestañas */
.ranking-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.ranking-filter-btn {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ranking-filter-btn:hover {
    border-color: var(--primary);
    color: var(--text);
    transform: translateY(-2px);
}

.ranking-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 191, 255, 0.35);
}

/* ================= PODIO (TOP 3) ================= */
.podium-container {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 1.5rem;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

@media (max-width: 820px) {
    .podium-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .podium-card.first {
        order: -1;
    }
}

.podium-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.podium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Primer Puesto - Oro */
.podium-card.first {
    border: 2px solid rgba(255, 215, 0, 0.5);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.08) 0%, var(--bg-card) 60%);
    padding: 2.8rem 1.8rem;
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.15);
}

.crown-icon {
    font-size: 2.2rem;
    color: #ffd700;
    margin-bottom: -10px;
    animation: crownBounce 2.5s infinite ease-in-out;
    filter: drop-shadow(0 4px 10px rgba(255, 215, 0, 0.5));
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Segundo Puesto - Plata */
.podium-card.second {
    border: 1px solid rgba(203, 213, 225, 0.4);
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.08) 0%, var(--bg-card) 60%);
}

/* Tercer Puesto - Bronce */
.podium-card.third {
    border: 1px solid rgba(205, 127, 50, 0.4);
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.08) 0%, var(--bg-card) 60%);
}

.podium-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    position: absolute;
    top: 16px;
    left: 16px;
}

.podium-card.first .podium-badge {
    background: linear-gradient(135deg, #ffd700, #ffae00);
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}
.podium-card.second .podium-badge {
    background: linear-gradient(135deg, #e2e8f0, #94a3b8);
    color: #0f172a;
}
.podium-card.third .podium-badge {
    background: linear-gradient(135deg, #d97706, #92400e);
    color: #fff;
}

.podium-avatar {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 1.2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border: 3px solid rgba(255,255,255,0.1);
}

.podium-card.first .podium-avatar {
    width: 120px;
    height: 120px;
    border: 3px solid #ffd700;
}

.podium-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 4px 0;
    text-decoration: none;
    transition: color 0.2s;
}

.podium-name:hover {
    color: var(--primary);
}

.podium-card.first .podium-name {
    font-size: 1.6rem;
}

.podium-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.podium-plays {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 191, 255, 0.1);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 1.4rem;
}

.podium-card.first .podium-plays {
    background: rgba(255, 215, 0, 0.15);
    color: #eab308;
    border: 1px solid rgba(255, 215, 0, 0.35);
}

.podium-card.second .podium-plays {
    background: rgba(203, 213, 225, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(203, 213, 225, 0.35);
}

.podium-card.third .podium-plays {
    background: rgba(217, 119, 6, 0.15);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.35);
}

.podium-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}

.podium-play-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.podium-card.first .podium-play-btn {
    background: linear-gradient(135deg, #ffd700, #ff9900);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.35);
}

.podium-play-btn:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.podium-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    text-decoration: none;
}

.podium-share-btn:hover {
    background: #25d366;
    color: white;
    transform: scale(1.05);
}

/* ================= LISTA TOP 4 AL 20 ================= */
.chart-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.chart-list-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.9rem 1.4rem;
    transition: all 0.25s ease;
}

.chart-row:hover {
    border-color: rgba(0, 191, 255, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.chart-rank {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-secondary);
    width: 38px;
    flex-shrink: 0;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.chart-thumb-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1e293b;
}

.chart-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chart-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.2s;
    cursor: pointer;
    border: none;
}

.chart-row:hover .chart-play-overlay {
    opacity: 1;
}

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

.chart-radio-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chart-radio-name:hover {
    color: var(--primary);
}

.chart-tags {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chart-popularity {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (max-width: 680px) {
    .chart-popularity {
        display: none;
    }
    .chart-row {
        padding: 0.8rem 1rem;
        gap: 0.8rem;
    }
}

.chart-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

[data-theme="dark"] .chart-bar-bg {
    background: rgba(255, 255, 255, 0.08);
}

.chart-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
}

.chart-plays-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: right;
}

.chart-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.chart-action-play {
    background: var(--primary);
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.chart-action-play:hover {
    transform: scale(1.1);
}

.chart-action-share {
    background: transparent;
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
}

.chart-action-share:hover {
    background: #25d366;
    color: white;
    transform: scale(1.1);
}

/* ========================================================
   BOTÓN VOLVER ARRIBA (SCROLL TO TOP)
   ======================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 180;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.85);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease,
                box-shadow 0.25s ease,
                bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 166, 235, 0.45);
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 4px 12px rgba(0, 166, 235, 0.3);
}

[data-theme="dark"] .scroll-to-top {
    background: rgba(22, 30, 46, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .scroll-to-top:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Cuando el reproductor de audio está activo en la parte inferior, el botón sube */
body.player-active .scroll-to-top,
body:has(#playerBar.active) .scroll-to-top {
    bottom: 92px;
}

@media (max-width: 600px) {
    .scroll-to-top {
        bottom: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }

    body.player-active .scroll-to-top,
    body:has(#playerBar.active) .scroll-to-top {
        bottom: 82px;
    }
}



