@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: 100px;
    overflow-x: hidden;
}

.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 {
    font-size: 1.5rem;
    color: #ffc72c !important;
    text-shadow: 0 0 12px rgba(255, 199, 44, 0.45);
}

.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;
    padding: .5rem .85rem;
    color: var(--text-secondary);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: default;
    pointer-events: none;
}

.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: 200;
    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: 210;
    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-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.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 {
    background: var(--bg);
    padding: 1.5rem 1.5rem 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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;
}

.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;
    gap: .5rem;
    margin-bottom: 1rem;
    font-size: .9rem;
}

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

.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: .3rem;
}

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

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

/* 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; }

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

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

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

.radio-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    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: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid white;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 1.5rem;
    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: 40px;
    height: 40px;
    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: 1rem;
    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: 1rem; }

.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;
}

/* Features bar */
.footer-features {
    background: #0d1b2a;
    padding: 1.75rem 0;
}

.footer-features-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1.5rem;
}

.footer-feature-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(96, 165, 250, .2);
    color: #60a5fa;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.feature-text {
    white-space: nowrap;
}

/* Main content */
.footer-main {
    background: linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,.85)), url('/uploads/footer/footer_bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 3.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 30% 20% 20% 30%;
    gap: 2rem;
    align-items: start;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-desc {
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(255,255,255,.8);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #60a5fa;
}

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

.footer-list a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: .95rem;
    transition: color .2s ease;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.footer-list a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .75rem;
    color: #60a5fa;
}

.footer-list a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Socket / Credits */
.footer-socket {
    background: #050a12;
    padding: 1.25rem 0;
}

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

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

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .95rem;
    transition: all .2s ease;
}

.social-btn:hover {
    background: #2563eb;
    color: #fff;
    text-decoration: none;
}

.footer-socket-center {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    text-align: center;
}

.footer-socket-right {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    white-space: nowrap;
}

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

/* Footer light mode overrides */
[data-theme="light"] #siteFooter {
    color: var(--text);
}

[data-theme="light"] .footer-features {
    background: var(--bg-card);
}

[data-theme="light"] .feature-icon {
    background: rgba(37,99,235,.1);
    color: var(--primary);
}

[data-theme="light"] .footer-main {
    background: var(--bg);
    padding: 3.5rem 0;
}

[data-theme="light"] .footer-desc {
    color: var(--text-secondary);
}

[data-theme="light"] .footer-heading {
    color: var(--primary);
}

[data-theme="light"] .footer-list a {
    color: var(--text);
}

[data-theme="light"] .footer-list a::before {
    color: var(--primary);
}

[data-theme="light"] .footer-list a:hover {
    color: var(--primary);
}

[data-theme="light"] .footer-socket {
    background: var(--bg-card);
}

[data-theme="light"] .social-btn {
    background: var(--hover-bg);
    color: var(--text-secondary);
}

[data-theme="light"] .social-btn:hover {
    background: var(--primary);
    color: #fff;
}

[data-theme="light"] .footer-socket-center {
    color: var(--text-secondary);
}

[data-theme="light"] .footer-socket-right {
    color: var(--text-secondary);
}

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

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

/* 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; }

/* 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); }

/* 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: flex-end;
    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.65) 0%, rgba(0,0,0,0.15) 50%, 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 4px 20px rgba(0,0,0,.15);
}

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

.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-right .website-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-size: .9rem;
    margin-bottom: 1.25rem;
    transition: color var(--transition);
}

.radio-page-right .website-link:hover {
    color: #fff;
}

.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 */
.ad-container {
    overflow: visible;
    text-align: center;
    min-height: 90px;
    width: 100%;
    display: block;
}

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

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

.ad-before_related {
    padding: 1.5rem 2rem .5rem;
    display: block;
    min-height: 90px;
}

.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: block;
    color: var(--text-muted);
    font-size: .8rem;
}

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

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

.ad-before_related {
    padding: 1.5rem 2rem .5rem;
    display: block;
    min-height: 90px;
}

.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: block;
    color: var(--text-muted);
    font-size: .8rem;
}

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

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

.ad-before_related {
    padding: 1.5rem 2rem .5rem;
    display: block;
    min-height: 90px;
}

.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: block;
    color: var(--text-muted);
    font-size: .8rem;
}

.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 */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-player);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--player-border);
    padding: .75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
    gap: .75rem;
}

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

.player-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--placeholder-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.25rem;
}

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

.player-meta {
    min-width: 0;
    flex: 1;
}

.player-title {
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-status {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

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

.player-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

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

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

.volume-wrap {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-muted);
    font-size: .9rem;
}

.volume-wrap input[type="range"] {
    width: 100px;
    height: 4px;
    accent-color: var(--primary);
}

.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: flex-end;
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ajuste para que el contenido no se pierda */
.blog-hero-overlay {
    width: 100%;
    height: 100%;
    /* Gradiente ocupa todo el alto de la foto de fondo */
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, var(--bg) 100%);
    padding: 4rem 0 0;
}

.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 main content */
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

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

.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 {
    flex: 1;
    min-width: 0;
    padding-top: 1rem;
}

.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%;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    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; }
    .radios-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
    .player-bar { padding: .5rem 1rem; flex-wrap: wrap; }
    .volume-wrap input[type="range"] { width: 60px; }
    .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; }
}

/* 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.5) 0%, rgba(0,0,0,0.2) 50%, var(--bg) 100%);
}

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

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