/* ============================================
   KYRIOS DE LOS ANDES 98.9 FM — DJ WILMER
   PWA Styles v2.0
   ============================================ */

:root {
    --bg-primary: #0a1128;
    --bg-secondary: #0f1d3d;
    --bg-card: #12234a;
    --bg-hover: #1a2f5e;
    --accent: #ffd200;
    --accent-secondary: #ffa500;
    --blue: #1565c0;
    --blue-dark: #0d47a1;
    --blue-light: #42a5f5;
    --purple: #8b3dff;
    --purple-2: #b388ff;
    --text-primary: #eef3ff;
    --text-secondary: #a8b8d8;
    --text-muted: #7286a8;
    --border-color: rgba(255, 255, 255, 0.09);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 3px 10px rgba(0, 0, 0, 0.3);
    --mountain-1: rgba(66, 165, 245, 0.18);
    --mountain-2: rgba(255, 210, 0, 0.13);
    --mountain-3: rgba(21, 101, 192, 0.12);
    --glass: rgba(255, 255, 255, 0.05);
    --gradient: linear-gradient(135deg, #ffd200 0%, #ffa500 100%);
    --gradient-blue: linear-gradient(135deg, #42a5f5 0%, #0d47a1 100%);
    --gradient-player: linear-gradient(150deg, #1565c0 0%, #0d47a1 55%, #0a2f66 100%);
    --gradient-purple: linear-gradient(135deg, #8b3dff 0%, #b388ff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(21, 101, 192, 0.25) 0%, rgba(255, 210, 0, 0.08) 100%);
    --success: #29d17d;
    --error: #ff5252;
    --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --menu-bg-image: url('https://i.ibb.co/6RcrxmX4/Wallpaper.jpg');
}

[data-theme="light"] {
    --bg-primary: #eef2fb;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #e6edfa;
    --accent: #f0a500;
    --accent-secondary: #d18b00;
    --text-primary: #16233f;
    --text-secondary: #56688c;
    --text-muted: #8496b4;
    --border-color: rgba(10, 30, 70, 0.1);
    --shadow: 0 12px 40px rgba(20, 40, 90, 0.16);
    --shadow-sm: 0 3px 10px rgba(20, 40, 90, 0.1);
    --glass: rgba(10, 30, 70, 0.04);
    --gradient-soft: linear-gradient(135deg, rgba(21, 101, 192, 0.12) 0%, rgba(240, 165, 0, 0.08) 100%);
}

/* Temas pro extra */
[data-theme="midnight"] {
    --bg-primary: #08080f;
    --bg-secondary: #101024;
    --bg-card: #171733;
    --bg-hover: #202046;
    --accent: #b388ff;
    --accent-secondary: #7c4dff;
    --blue: #7c4dff; --blue-dark: #4527a0; --blue-light: #b388ff;
    --gradient-player: linear-gradient(150deg, #4527a0 0%, #1a1030 60%, #0a0818 100%);
    --mountain-1: rgba(179, 136, 255, 0.15);
    --mountain-2: rgba(124, 77, 255, 0.12);
    --mountain-3: rgba(179, 136, 255, 0.08);
}
[data-theme="gold"] {
    --bg-primary: #17110a;
    --bg-secondary: #241a0e;
    --bg-card: #33260f;
    --bg-hover: #463415;
    --accent: #ffca28; --accent-secondary: #ff9800;
    --blue: #b8860b; --blue-dark: #6d4c00; --blue-light: #ffca28;
    --gradient-player: linear-gradient(150deg, #7a5200 0%, #4a3000 60%, #241a0e 100%);
    --text-primary: #fff7e6; --text-secondary: #d8c69c; --text-muted: #a89070;
}
[data-theme="forest"] {
    --bg-primary: #07130c;
    --bg-secondary: #0e2117;
    --bg-card: #153021;
    --bg-hover: #1e402c;
    --accent: #35e08a; --accent-secondary: #0f9d58;
    --blue: #0f9d58; --blue-dark: #0b6e3d; --blue-light: #35e08a;
    --gradient-player: linear-gradient(150deg, #0f6b3c 0%, #093f24 60%, #07130c 100%);
    --mountain-1: rgba(53, 224, 138, 0.15);
    --mountain-2: rgba(15, 157, 88, 0.12);
    --mountain-3: rgba(53, 224, 138, 0.08);
}
[data-theme="sunset"] {
    --bg-primary: #1a0d18;
    --bg-secondary: #2a1327;
    --bg-card: #3a1a35;
    --bg-hover: #4d2346;
    --accent: #ff6b9d; --accent-secondary: #ff2d78;
    --blue: #ff2d78; --blue-dark: #a6004a; --blue-light: #ff6b9d;
    --gradient-player: linear-gradient(150deg, #b3005a 0%, #5c0030 60%, #1a0d18 100%);
    --mountain-1: rgba(255, 107, 157, 0.15);
    --mountain-2: rgba(255, 45, 120, 0.12);
    --mountain-3: rgba(255, 107, 157, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed; inset: 0;
    background: radial-gradient(circle at 15% 10%, var(--gradient-soft) 0%, transparent 45%),
                radial-gradient(circle at 85% 90%, rgba(255, 210, 0, 0.06) 0%, transparent 40%);
    pointer-events: none; z-index: -1;
}

/* ============ HEADER ============ */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--bg-secondary);
    background: color-mix(in srgb, var(--bg-secondary) 88%, transparent);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.header-content { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; max-width: 1200px; margin: 0 auto; gap: 10px; }
.logo-section { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-icon { width: 54px; height: 54px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 2px var(--accent), var(--shadow-sm); flex-shrink: 0; }
.logo-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-text h1 { font-size: 1.05rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: .4px; }
.logo-text .frequency { font-size: .74rem; color: var(--text-secondary); font-weight: 700; letter-spacing: 1px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; border: none; border-radius: 12px; background: var(--glass); color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
.icon-btn:hover { background: var(--bg-hover); transform: translateY(-2px); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 21px; height: 21px; }
.install-icon-btn { background: var(--gradient-purple); color: #fff; box-shadow: 0 0 14px rgba(139, 61, 255, .5); }
.install-icon-btn:hover { box-shadow: 0 0 22px rgba(139, 61, 255, .8); }

.moon-icon, [data-theme="light"] .moon-icon { display: none; }
[data-theme="dark"] .moon-icon, [data-theme="midnight"] .moon-icon, [data-theme="gold"] .moon-icon, [data-theme="forest"] .moon-icon, [data-theme="sunset"] .moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: block; }
[data-theme="dark"] .sun-icon, [data-theme="midnight"] .sun-icon, [data-theme="gold"] .sun-icon, [data-theme="forest"] .sun-icon, [data-theme="sunset"] .sun-icon { display: none; }

.social-mini { display: flex; gap: 4px; }
.social-mini-btn { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; transition: var(--transition); }
.social-mini-btn svg { width: 17px; height: 17px; }
.social-mini-btn:hover { transform: translateY(-3px) scale(1.06); }
.social-mini-btn.wa { background: #25d366; }
.social-mini-btn.fb { background: #1877f2; }
.social-mini-btn.ig { background: radial-gradient(circle at 30% 110%, #ffdb8b 0%, #ee653d 25%, #d42e81 50%, #a1399b 75%, #3d5afe 100%); }
.social-mini-btn.tk { background: #000; }

/* ============ NAV con fondo de chica ============ */
.nav-menu { position: relative; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease; }
.nav-menu.open { max-height: 560px; opacity: 1; }
.nav-bg { position: absolute; inset: 0; background-image: var(--menu-bg-image); background-size: cover; background-position: center 22%; filter: saturate(1.1); }
.nav-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 12, 30, .55) 0%, rgba(5, 12, 30, .82) 55%, var(--bg-secondary) 100%); }
.nav-links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 22px 16px; }
.nav-link { display: flex; align-items: center; gap: 7px; text-decoration: none; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: .88rem; font-weight: 600; transition: var(--transition); white-space: nowrap; background: rgba(5, 12, 30, .45); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); text-shadow: 0 2px 6px rgba(0,0,0,.7); }
.nav-link:hover { background: rgba(255, 210, 0, .22); color: var(--accent); transform: translateY(-2px); }
.nav-link.active { background: var(--gradient); color: #0a1128; border-color: transparent; box-shadow: 0 6px 18px rgba(255, 210, 0, .4); text-shadow: none; }
.nav-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============ SECTIONS ============ */
.main-content { max-width: 1200px; margin: 0 auto; padding-bottom: 90px; }
.section { display: none; padding: 22px; animation: fadeUp .5s ease; }
.section.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.section-header { text-align: center; margin-bottom: 26px; }
.section-header h2 { font-size: 2rem; font-weight: 800; background: var(--gradient-blue); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 6px; }
[data-theme="gold"] .section-header h2, [data-theme="forest"] .section-header h2 { background: var(--gradient); -webkit-background-clip: text; background-clip: text; }
.section-header p { color: var(--text-secondary); max-width: 620px; margin: 0 auto; }
.mini-heading { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.mini-heading::before { content: ''; width: 4px; height: 18px; border-radius: 2px; background: var(--gradient); }

/* ============ HERO ============ */
.hero { position: relative; border-radius: 22px; overflow: hidden; background: var(--bg-secondary); border: 1px solid var(--border-color); box-shadow: var(--shadow); margin-bottom: 26px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-primary) 100%); overflow: hidden; }
.mountains { position: absolute; bottom: 0; left: 0; right: 0; height: 42%; z-index: 1; }
.mountains svg { width: 100%; height: 100%; display: block; }
.stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.star { position: absolute; width: 3px; height: 3px; background: var(--accent); border-radius: 50%; animation: twinkle 3s infinite alternate; }
@keyframes twinkle { 0% { opacity: .15; transform: scale(.7); } 100% { opacity: 1; transform: scale(1.3); } }
.cross-glow { position: absolute; top: 12%; left: 50%; transform: translateX(-50%); width: 170px; height: 170px; background: radial-gradient(circle, var(--accent) 0%, transparent 68%); opacity: .16; animation: glowPulse 3.4s ease-in-out infinite alternate; border-radius: 50%; }
@keyframes glowPulse { 0% { opacity: .1; transform: translateX(-50%) scale(1); } 100% { opacity: .34; transform: translateX(-50%) scale(1.25); } }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 20px 30px; }
.radio-pulse { position: relative; margin-bottom: 22px; }
.pulse-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 104px; height: 104px; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; animation: pulse 2.6s cubic-bezier(.4,0,.2,1) infinite; }
.pulse-ring.delay-1 { animation-delay: .85s; }
.pulse-ring.delay-2 { animation-delay: 1.7s; }
@keyframes pulse { 0% { transform: translate(-50%,-50%) scale(.8); opacity: .55; } 100% { transform: translate(-50%,-50%) scale(2.6); opacity: 0; } }
.play-btn-main { width: 92px; height: 92px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 34px rgba(255,210,0,.4); transition: var(--transition); position: relative; border: none; }
.play-btn-main::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); }
.play-btn-main:hover { transform: scale(1.08); box-shadow: 0 14px 44px rgba(255,210,0,.55); }
.play-btn-main:active { transform: scale(.94); }
.play-btn-main svg { width: 40px; height: 40px; color: #0a1128; margin-left: 4px; }
.hero-title { font-size: 2rem; font-weight: 800; margin-bottom: 4px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.05rem; color: var(--text-secondary); }
.hero-location { font-size: .88rem; color: var(--text-muted); margin-bottom: 18px; }
.now-playing { display: flex; align-items: center; gap: 12px; background: rgba(13, 71, 161, .45); border: 1px solid rgba(66, 165, 245, .35); border-radius: 14px; padding: 12px 20px; backdrop-filter: blur(10px); max-width: 100%; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.now-text { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.now-text .label { font-size: .7rem; color: var(--blue-light); text-transform: uppercase; letter-spacing: 1.4px; font-weight: 700; }
.now-text .song { font-size: .95rem; font-weight: 700; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.eq-bars { display: flex; align-items: flex-end; gap: 3px; height: 24px; flex-shrink: 0; }
.eq-bars span { width: 4px; background: var(--accent); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq-bars span:nth-child(1) { animation-delay: 0s; } .eq-bars span:nth-child(2) { animation-delay: .2s; } .eq-bars span:nth-child(3) { animation-delay: .4s; } .eq-bars span:nth-child(4) { animation-delay: .6s; } .eq-bars span:nth-child(5) { animation-delay: .8s; }
body[data-playing="true"] .eq-bars span { animation: eq 1s ease-in-out infinite; }
body[data-playing="false"] .eq-bars span { animation-play-state: paused; height: 4px; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 24px; } }

/* ============ DJ CARD ============ */
.dj-card { display: flex; align-items: center; gap: 16px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 20px; padding: 16px 20px; box-shadow: var(--shadow); max-width: 500px; margin: 0 auto; position: relative; overflow: hidden; }
.dj-card::before { content: ''; position: absolute; inset: 0; background: var(--gradient-soft); opacity: .6; }
.dj-avatar-wrap { position: relative; flex-shrink: 0; }
.dj-avatar { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); box-shadow: 0 0 18px rgba(255,210,0,.4); display: block; }
.dj-live-badge { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); background: #ff2d55; color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .8px; padding: 2px 8px; border-radius: 20px; border: 2px solid var(--bg-secondary); animation: liveBlink 1.6s infinite; white-space: nowrap; }
@keyframes liveBlink { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.dj-info { position: relative; z-index: 1; min-width: 0; }
.dj-name { font-size: 1.25rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dj-role { font-size: .82rem; color: var(--text-secondary); margin-bottom: 6px; }
.dj-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.dj-stat { font-size: .78rem; color: var(--text-muted); }
.dj-stat strong { color: var(--accent); }

/* ============ PLAYER AZUL Y AMARILLO ============ */
.player-card { position: relative; background: var(--gradient-player); border: 1px solid rgba(66,165,245,.35); border-radius: 26px; padding: 30px 26px; max-width: 500px; margin: 0 auto 26px; box-shadow: 0 24px 60px rgba(13, 71, 161, .55), inset 0 1px 0 rgba(255,255,255,.12); overflow: hidden; }
.player-glow { position: absolute; top: -60%; left: -30%; width: 160%; height: 120%; background: radial-gradient(circle at 50% 50%, rgba(255,210,0,.18) 0%, transparent 55%); pointer-events: none; animation: playerGlow 6s ease-in-out infinite alternate; }
@keyframes playerGlow { 0% { transform: translate(-6%, -4%) scale(1); } 100% { transform: translate(6%, 4%) scale(1.15); } }
.player-top { position: relative; z-index: 1; display: flex; justify-content: center; margin-bottom: 18px; }
.player-visual { width: 100%; max-width: 240px; }
.vinyl { position: relative; width: 190px; height: 190px; border-radius: 50%; margin: 0 auto; background: repeating-radial-gradient(circle at center, #061225 0px, #0d2a52 2px, #061225 4px); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 40px rgba(0,0,0,.55), 0 0 0 6px rgba(255,210,0,.12), 0 0 0 12px rgba(66,165,245,.08); }
.vinyl.playing { animation: spin 6s linear infinite; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.vinyl-art { width: 78%; height: 78%; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 3px rgba(255,210,0,.55); background: #0d2a52; }
.vinyl-hole { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(255,210,0,.7); border: 3px solid #061225; }
.visual-bars { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 40px; margin-top: 16px; }
.visual-bars .bar { width: 4px; background: linear-gradient(180deg, var(--accent), var(--blue-light)); border-radius: 2px; height: 12%; animation: vbar 1.1s ease-in-out infinite; }
.visual-bars .bar:nth-child(odd) { animation-delay: .15s; }
.visual-bars .bar:nth-child(3n) { animation-delay: .3s; }
.visual-bars .bar:nth-child(4n) { animation-delay: .45s; }
body[data-playing="false"] .visual-bars .bar { animation-play-state: paused; height: 8%; }
@keyframes vbar { 0%,100% { height: 10%; } 50% { height: 100%; } }
.player-info { position: relative; z-index: 1; text-align: center; margin-bottom: 22px; }
.player-info h3 { font-size: 1.25rem; margin-bottom: 4px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.5); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.player-info p { color: #cfe2ff; font-size: .88rem; }
.player-info .program-name { display: inline-block; margin-top: 8px; background: rgba(255,210,0,.18); border: 1px solid rgba(255,210,0,.45); color: var(--accent); font-weight: 700; font-size: .78rem; padding: 3px 12px; border-radius: 20px; }
.progress-bar { position: relative; z-index: 1; width: 100%; height: 4px; background: rgba(255,255,255,.14); border-radius: 3px; overflow: hidden; margin-bottom: 20px; }
.progress-fill { width: 30%; height: 100%; background: var(--gradient); border-radius: 3px; animation: slide 2.4s ease-in-out infinite; }
@keyframes slide { 0% { width: 18%; } 50% { width: 64%; } 100% { width: 18%; } }
.controls-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 18px; }
.ctrl-btn { width: 50px; height: 50px; border: none; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14); }
.ctrl-btn:hover { background: rgba(255,255,255,.24); transform: scale(1.1); }
.ctrl-btn:active { transform: scale(.9); }
.ctrl-btn svg { width: 22px; height: 22px; }
.ctrl-btn.play-pause { width: 68px; height: 68px; background: var(--gradient); color: #0a1128; box-shadow: 0 10px 28px rgba(255,210,0,.5); border: none; }
.ctrl-btn.play-pause svg { width: 30px; height: 30px; }
.is-playing .play-icon { display: none; }
.pause-icon { display: none; }
.is-playing .pause-icon { display: block; }
.volume-control { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; justify-content: center; }
.volume-control svg { width: 20px; height: 20px; color: #cfe2ff; flex-shrink: 0; }
.volume-slider { flex: 1; max-width: 190px; -webkit-appearance: none; appearance: none; height: 4px; background: rgba(255,255,255,.2); border-radius: 3px; outline: none; cursor: pointer; }
.volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid #0d47a1; box-shadow: 0 0 10px rgba(255,210,0,.7); }
.volume-slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid #0d47a1; }
#volumeValue { font-size: .82rem; color: #cfe2ff; min-width: 42px; text-align: right; }
.stream-status { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-size: .82rem; color: #cfe2ff; flex-wrap: wrap; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); animation: blink 2s infinite; box-shadow: 0 0 10px var(--success); }
.stream-status.offline .status-dot { background: var(--error); animation: none; box-shadow: 0 0 10px var(--error); }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.status-listeners { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.1); padding: 3px 10px; border-radius: 20px; }
.status-listeners svg { width: 14px; height: 14px; }
.status-listeners b { color: var(--accent); }

/* ============ TOP SONGS SCROLLER ============ */
.top-songs { max-width: 900px; margin: 0 auto 24px; }
.song-scroller { display: flex; gap: 14px; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x mandatory; }
.song-scroller::-webkit-scrollbar { height: 6px; }
.song-scroller::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.song-chip { flex: 0 0 auto; width: 150px; scroll-snap-align: start; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 16px; padding: 12px; text-align: center; transition: var(--transition); cursor: pointer; }
.song-chip:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
.song-chip-art { width: 100%; aspect-ratio: 1; border-radius: 12px; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; overflow: hidden; }
.song-chip-art img { width: 100%; height: 100%; object-fit: cover; }
.song-chip-art svg { width: 34px; height: 34px; color: var(--accent); }
.song-chip-title { font-size: .78rem; font-weight: 700; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-chip-sub { font-size: .68rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ VIDEOS DE YOUTUBE ============ */
.yt-videos { max-width: 900px; margin: 0 auto 26px; }
.yt-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow); background: #000; }
.yt-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-channel-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 22px; border-radius: 12px; background: #ff0000; color: #fff; font-weight: 800; font-size: .88rem; text-decoration: none; transition: var(--transition); box-shadow: 0 6px 18px rgba(255,0,0,.4); }
.yt-channel-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 26px rgba(255,0,0,.6); }
.yt-channel-btn svg { width: 20px; height: 20px; }

/* ============ TV EN VIVO ============ */
.tv-card { position: relative; max-width: 900px; margin: 0 auto 18px; background: #000; border: 1px solid var(--border-color); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.tv-badge { position: absolute; top: 14px; left: 14px; z-index: 3; background: #ff2d55; color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: 1px; padding: 5px 12px; border-radius: 20px; display: flex; align-items: center; gap: 6px; animation: liveBlink 1.6s infinite; box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.tv-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; }
.tv-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: contain; }
.tv-overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at center, rgba(139,61,255,.25) 0%, rgba(0,0,0,.65) 70%); cursor: pointer; }
.tv-overlay.hidden { display: none; }
.tv-play-btn { width: 84px; height: 84px; border-radius: 50%; background: var(--gradient-purple); border: none; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 34px rgba(139,61,255,.65); transition: var(--transition); cursor: pointer; }
.tv-play-btn:hover { transform: scale(1.08); }
.tv-play-btn:active { transform: scale(.94); }
.tv-play-btn svg { width: 36px; height: 36px; margin-left: 4px; }
.tv-overlay-text { color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: 1.2px; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.tv-tools { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.tv-btn { padding: 12px 22px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-secondary); color: var(--text-primary); font-weight: 800; font-size: .86rem; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; font-family: inherit; }
.tv-btn svg { width: 18px; height: 18px; }
.tv-btn:hover { transform: translateY(-3px); border-color: var(--purple-2); }
.tv-btn.primary { background: var(--gradient-purple); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(139,61,255,.45); }
.tv-btn.primary:hover { box-shadow: 0 10px 28px rgba(139,61,255,.65); }

/* ============ SHARE ============ */
.share-section { text-align: center; margin-top: 26px; }
.share-section p { color: var(--text-secondary); margin-bottom: 14px; font-size: .9rem; }
.share-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.share-btn { width: 50px; height: 50px; border: none; border-radius: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); color: #fff; text-decoration: none; }
.share-btn:hover { transform: translateY(-5px) scale(1.06); box-shadow: var(--shadow); }
.share-btn svg { width: 22px; height: 22px; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000; }
.share-btn.instagram { background: radial-gradient(circle at 30% 110%, #ffdb8b 0%, #ee653d 25%, #d42e81 50%, #a1399b 75%, #3d5afe 100%); }
.share-btn.copy-link { background: var(--gradient-blue); }

/* ============ PROGRAMACION ============ */
.schedule-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; justify-content: flex-start; }
.schedule-days::-webkit-scrollbar { height: 6px; }
.schedule-days::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.day-pill { flex: 0 0 auto; padding: 9px 18px; border-radius: 30px; border: 1px solid var(--border-color); background: var(--bg-secondary); color: var(--text-secondary); font-weight: 700; font-size: .82rem; cursor: pointer; transition: var(--transition); }
.day-pill:hover { border-color: var(--accent); color: var(--accent); }
.day-pill.active { background: var(--gradient); color: #0a1128; border-color: transparent; box-shadow: 0 6px 16px rgba(255,210,0,.35); }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.program-card { display: flex; align-items: center; gap: 14px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 18px; padding: 14px; transition: var(--transition); position: relative; overflow: hidden; }
.program-card::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--prog-color, var(--accent)); opacity: .85; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--prog-color, var(--accent)); }
.program-card.current { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255,210,0,.25), var(--shadow); animation: currentPulse 2s infinite; }
@keyframes currentPulse { 0%,100% { box-shadow: 0 0 0 2px rgba(255,210,0,.25), var(--shadow); } 50% { box-shadow: 0 0 0 5px rgba(255,210,0,.14), var(--shadow); } }
.program-logo { flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.35); position: relative; }
.program-logo svg { width: 28px; height: 28px; }
.program-logo .logo-ring { position: absolute; inset: -3px; border-radius: 18px; border: 2px solid rgba(255,255,255,.35); }
.program-meta { min-width: 0; flex: 1; }
.program-meta .time { display: inline-block; font-size: .72rem; font-weight: 800; color: var(--prog-color, var(--accent)); background: rgba(255,255,255,.08); background: color-mix(in srgb, var(--prog-color, var(--accent)) 14%, transparent); padding: 2px 9px; border-radius: 20px; margin-bottom: 4px; }
.program-meta .name { font-size: .94rem; font-weight: 700; color: var(--text-primary); }
.program-meta .host { font-size: .74rem; color: var(--text-muted); }
.live-tag { position: absolute; top: 10px; right: 10px; background: #ff2d55; color: #fff; font-size: .58rem; font-weight: 800; padding: 2px 8px; border-radius: 20px; letter-spacing: .6px; animation: liveBlink 1.6s infinite; }

/* ============ HISTORIAL ============ */
.history-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pill { padding: 8px 16px; border-radius: 30px; border: 1px solid var(--border-color); background: var(--bg-secondary); color: var(--text-secondary); font-size: .82rem; font-weight: 600; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; }
.pill svg { width: 15px; height: 15px; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.active { background: var(--gradient); color: #0a1128; border-color: transparent; }
.history-updated { margin-left: auto; font-size: .74rem; color: var(--text-muted); }
.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-empty { text-align: center; padding: 40px; color: var(--text-muted); }
.history-row { display: flex; align-items: center; gap: 14px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 16px; padding: 12px 16px; transition: var(--transition); animation: fadeUp .4s ease; }
.history-row:hover { transform: translateX(6px); border-color: var(--accent); }
.history-index { flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; background: var(--gradient-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; border: 1px solid var(--border-color); }
.history-song { min-width: 0; flex: 1; }
.history-song .song-title { font-size: .9rem; font-weight: 700; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-song .song-artist { font-size: .76rem; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-actions { display: flex; gap: 6px; flex-shrink: 0; }
.hist-act { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--glass); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.hist-act:hover { color: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.hist-act svg { width: 16px; height: 16px; }
.hist-act.liked { color: #ff2d55; border-color: #ff2d55; }
.hist-act.liked svg { fill: #ff2d55; }

/* ============ COMUNIDAD ============ */
.wa-group-card { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, rgba(37,211,102,.14), rgba(37,211,102,.05)); border: 1px solid rgba(37,211,102,.4); border-radius: 20px; padding: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.wa-group-icon { width: 56px; height: 56px; border-radius: 16px; background: #25d366; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; box-shadow: 0 8px 20px rgba(37,211,102,.4); }
.wa-group-icon svg { width: 30px; height: 30px; }
.wa-group-info { flex: 1; min-width: 180px; }
.wa-group-info h3 { font-size: 1.05rem; color: var(--text-primary); }
.wa-group-info p { font-size: .84rem; color: var(--text-secondary); }
.wa-group-btn { padding: 12px 22px; border-radius: 12px; background: #25d366; color: #fff; font-weight: 800; text-decoration: none; font-size: .88rem; transition: var(--transition); white-space: nowrap; box-shadow: 0 6px 18px rgba(37,211,102,.4); }
.wa-group-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 26px rgba(37,211,102,.6); }

/* Instagram post */
.social-post { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; max-width: 560px; margin: 0 auto 26px; box-shadow: var(--shadow); }
.post-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.post-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid transparent; background: linear-gradient(135deg,#ffdb8b,#ee653d,#d42e81,#a1399b,#3d5afe); padding: 2px; }
.post-user { display: flex; flex-direction: column; }
.post-username { font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: 5px; }
.verified { width: 15px; height: 15px; color: #42a5f5; }
.post-loc { font-size: .74rem; color: var(--text-muted); }
.post-more { margin-left: auto; background: none; border: none; color: var(--text-secondary); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.post-media { position: relative; width: 100%; aspect-ratio: 4/3; background: #061225; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 8s ease; }
.post-media:hover img { transform: scale(1.06); }
.post-media-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.8)); color: #fff; font-weight: 700; font-size: .92rem; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.post-actions { display: flex; align-items: center; gap: 14px; padding: 12px 16px 6px; }
.post-action { background: none; border: none; color: var(--text-primary); cursor: pointer; display: flex; align-items: center; transition: var(--transition); }
.post-action svg { width: 24px; height: 24px; }
.post-action:hover { transform: scale(1.15); color: var(--accent); }
.post-action.liked { color: #ff2d55; }
.post-action.liked svg { fill: #ff2d55; animation: likePop .4s ease; }
@keyframes likePop { 0% { transform: scale(1); } 45% { transform: scale(1.4); } 100% { transform: scale(1); } }
.post-spacer { flex: 1; }
.post-likes { padding: 0 16px; font-size: .88rem; }
.post-caption { padding: 4px 16px 0; font-size: .86rem; line-height: 1.5; }
.post-caption strong { margin-right: 6px; }
.hashtags { color: #42a5f5; }
.post-time { padding: 8px 16px 16px; font-size: .68rem; color: var(--text-muted); letter-spacing: .6px; }

/* Comments */
.comments-box { max-width: 560px; margin: 0 auto; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.comments-list { display: flex; flex-direction: column; gap: 14px; max-height: 420px; overflow-y: auto; margin-bottom: 16px; padding-right: 4px; }
.comments-list::-webkit-scrollbar { width: 6px; }
.comments-list::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.comment { display: flex; gap: 10px; animation: fadeUp .35s ease; }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; object-fit: cover; background: var(--gradient-blue); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .85rem; }
.comment-body { min-width: 0; flex: 1; }
.comment-author { font-size: .84rem; font-weight: 700; color: var(--text-primary); }
.comment-text { font-size: .85rem; color: var(--text-secondary); word-wrap: break-word; }
.comment-meta { font-size: .68rem; color: var(--text-muted); margin-top: 2px; display: flex; gap: 10px; }
.comment-like { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: .68rem; padding: 0; }
.comment-like:hover { color: #ff2d55; }
.comment-form { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--border-color); padding-top: 14px; }
.comment-form-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-form input { flex: 1; min-width: 0; background: var(--glass); border: 1px solid var(--border-color); border-radius: 30px; padding: 11px 16px; color: var(--text-primary); font-size: .88rem; outline: none; transition: var(--transition); font-family: inherit; }
.comment-form input:focus { border-color: var(--accent); background: var(--bg-hover); }
.comment-send { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--gradient-blue); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
.comment-send:hover { transform: scale(1.1); }
.comment-send svg { width: 18px; height: 18px; }

/* ============ ABOUT / CONTACT ============ */
.about-content { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin: 0 auto; }
.about-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: var(--transition); }
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.about-icon svg { width: 30px; height: 30px; color: var(--accent); }
.about-card h3 { margin-bottom: 8px; color: var(--accent); }
.about-card p { color: var(--text-secondary); max-width: 520px; }
.verse-card { background: var(--gradient-soft); border: 1px solid var(--border-color); border-radius: 18px; padding: 30px; text-align: center; position: relative; }
.verse-decoration { font-size: 4rem; color: var(--accent); line-height: 1; opacity: .5; height: 0; }
.verse-card blockquote { font-size: 1.1rem; font-style: italic; color: var(--text-primary); margin-bottom: 10px; }
.verse-card cite { color: var(--accent); font-weight: 600; font-size: .9rem; }
.contact-content { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.contact-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 18px; padding: 24px; text-align: center; transition: var(--transition); text-decoration: none; color: inherit; display: block; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent); }
.contact-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.contact-icon svg { width: 24px; height: 24px; color: var(--accent); }
.contact-card h3 { color: var(--text-primary); margin-bottom: 6px; font-size: 1rem; }
.contact-card span { color: var(--text-secondary); font-size: .88rem; }

/* ============ FOOTER ============ */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 30px 20px; margin-top: 40px; }
.footer-content { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.footer-logo span { font-size: 1.05rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-text { color: var(--text-muted); font-size: .84rem; margin-bottom: 8px; }
.footer-verse { color: var(--accent); font-size: .84rem; font-style: italic; }

/* ============ MINI PLAYER ============ */
.mini-player { position: fixed; bottom: -110px; left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 420px; background: var(--bg-secondary); background: color-mix(in srgb, var(--bg-secondary) 92%, transparent); backdrop-filter: blur(20px); border: 1px solid rgba(66,165,245,.4); border-radius: 18px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 16px 44px rgba(0,0,0,.5); transition: bottom .45s cubic-bezier(.4,0,.2,1); z-index: 1500; }
.mini-player.visible { bottom: 16px; }
.mini-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mini-art { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255,210,0,.5); }
.mini-eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; flex-shrink: 0; }
.mini-eq span { width: 3px; background: var(--accent); border-radius: 1px; animation: eq .8s ease-in-out infinite; }
.mini-eq span:nth-child(2) { animation-delay: .2s; }
.mini-eq span:nth-child(3) { animation-delay: .4s; }
.mini-text { display: flex; flex-direction: column; min-width: 0; }
.mini-title { font-weight: 700; font-size: .82rem; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.mini-status { font-size: .68rem; color: var(--accent); font-weight: 700; letter-spacing: .6px; }
.mini-play-btn { width: 42px; height: 42px; border: none; border-radius: 50%; background: var(--gradient); color: #0a1128; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
.mini-play-btn:hover { transform: scale(1.1); }
.mini-play-btn svg { width: 20px; height: 20px; }
.is-playing .pause-icon { display: block; }
.mini-play-btn.is-playing .play-icon { display: none; }

/* ============ TOAST ============ */
.toast { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(110px); background: var(--bg-secondary); background: color-mix(in srgb, var(--bg-secondary) 95%, transparent); backdrop-filter: blur(16px); color: var(--text-primary); padding: 12px 24px; border-radius: 14px; border: 1px solid var(--border-color); box-shadow: var(--shadow); z-index: 3000; opacity: 0; transition: var(--transition); font-size: .88rem; max-width: 90vw; text-align: center; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============ INSTALL FAB MORADO ============ */
.install-fab { position: fixed; bottom: 22px; right: 20px; z-index: 2000; display: flex; align-items: center; gap: 8px; padding: 0 20px 0 16px; height: 54px; border: none; border-radius: 30px; background: var(--gradient-purple); color: #fff; font-weight: 800; font-size: .85rem; cursor: pointer; box-shadow: 0 10px 30px rgba(139,61,255,.6), 0 0 0 0 rgba(139,61,255,.5); transition: var(--transition); animation: fabPulse 2.4s infinite; }
.install-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 40px rgba(139,61,255,.8); }
.install-fab:active { transform: scale(.95); }
.install-fab svg { width: 22px; height: 22px; }
.install-fab-ring { position: absolute; inset: -4px; border-radius: 34px; border: 2px solid rgba(179,136,255,.5); animation: ringPulse 2.4s infinite; pointer-events: none; }
@keyframes fabPulse { 0%,100% { box-shadow: 0 10px 30px rgba(139,61,255,.6), 0 0 0 0 rgba(139,61,255,.45); } 50% { box-shadow: 0 10px 34px rgba(139,61,255,.8), 0 0 0 10px rgba(139,61,255,0); } }
@keyframes ringPulse { 0% { opacity: .8; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.12); } }
.install-fab.hidden { display: none; }

/* ============ ANDROID MODAL ============ */
.android-modal { position: fixed; inset: 0; z-index: 4000; background: rgba(4, 8, 20, .78); backdrop-filter: blur(8px); display: flex; align-items: flex-end; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.android-modal.show { opacity: 1; pointer-events: all; }
.android-modal-card { width: 100%; max-width: 420px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 26px; padding: 30px 24px 24px; text-align: center; transform: translateY(60px); transition: transform .4s cubic-bezier(.2,.9,.3,1.2); box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.android-modal.show .android-modal-card { transform: translateY(0); }
.android-modal-icon { width: 86px; height: 86px; border-radius: 22px; overflow: hidden; margin: 0 auto 18px; box-shadow: 0 10px 30px rgba(139,61,255,.5), 0 0 0 3px var(--purple); }
.android-modal-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.android-modal-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.android-modal-card p { color: var(--text-secondary); font-size: .88rem; margin-bottom: 22px; }
.android-modal-actions { display: flex; gap: 10px; }
.android-btn { flex: 1; padding: 13px; border-radius: 14px; font-weight: 800; font-size: .9rem; cursor: pointer; transition: var(--transition); border: none; }
.android-btn.ghost { background: var(--glass); color: var(--text-secondary); border: 1px solid var(--border-color); }
.android-btn.ghost:hover { background: var(--bg-hover); }
.android-btn.primary { background: var(--gradient-purple); color: #fff; box-shadow: 0 8px 22px rgba(139,61,255,.5); }
.android-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(139,61,255,.7); }
.android-modal-card { max-height: 88vh; overflow-y: auto; }

/* ============ V3.0: TABS Y PANES INSTALL ============ */
.install-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.install-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--border-color); border-radius: 14px; background: var(--glass); color: var(--text-secondary); font-size: .72rem; font-weight: 700; cursor: pointer; transition: var(--transition); font-family: inherit; }
.install-tab:hover { border-color: var(--purple-2); color: var(--text-primary); }
.install-tab.active { background: var(--gradient-purple); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(139,61,255,.45); }
.install-tab svg { width: 22px; height: 22px; }
.install-panes { margin-bottom: 18px; }
.install-pane { display: none; }
.install-pane.active { display: block; animation: fadeUp .35s ease; }
.install-pane img { width: 100%; border-radius: 14px; border: 1px solid var(--border-color); display: block; box-shadow: var(--shadow-sm); background: #fff; }

/* ============ V3.0: GÉNEROS / GRUPO / LOGOS ============ */
.genre-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; }
.genre-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--accent), 0 6px 16px rgba(0,0,0,.35); animation: genreSpin 14s linear infinite; }
@keyframes genreSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.genre-text { font-size: .8rem; font-weight: 800; letter-spacing: 1.4px; color: var(--accent); text-transform: uppercase; }

.logo-icon-group { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); box-shadow: 0 0 0 2px var(--bg-secondary), var(--shadow-sm); margin-left: -14px; flex-shrink: 0; }

.wa-group-avatar { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.wa-group-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #25d366; box-shadow: 0 8px 20px rgba(37,211,102,.4); display: block; }
.wa-group-badge { position: absolute; bottom: -4px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: #25d366; color: #fff; font-size: .58rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg-secondary); box-shadow: 0 4px 10px rgba(0,0,0,.35); }

.cat-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 20px; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .6px; vertical-align: middle; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.program-logo.has-img img { width: 82%; height: 82%; object-fit: contain; display: block; border-radius: 10px; }

@media (max-width: 768px) {
    .logo-icon-group { width: 36px; height: 36px; margin-left: -10px; }
    .wa-group-avatar { margin: 0 auto; }
    .genre-text { letter-spacing: 1px; }
}

/* ============ THEME PICKER ============ */
.theme-picker { position: fixed; bottom: 90px; right: 20px; z-index: 2500; display: flex; flex-direction: column; gap: 6px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px) scale(.96); transition: var(--transition); }
.theme-picker.open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.theme-option { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: none; border-radius: 12px; background: transparent; color: var(--text-primary); cursor: pointer; transition: var(--transition); text-align: left; font-size: .88rem; width: 100%; font-family: inherit; }
.theme-option:hover { background: var(--glass); }
.theme-option.active { background: var(--gradient-soft); color: var(--accent); font-weight: 700; }
.theme-swatch { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; border: 2px solid var(--border-color); }
.theme-selector { display: flex; align-items: center; gap: 6px; margin-left: 4px; }
.theme-selector .theme-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border-color); cursor: pointer; transition: var(--transition); padding: 0; }
.theme-selector .theme-dot:hover { transform: scale(1.15); border-color: var(--accent); }
.theme-selector .theme-dot.active { border-color: var(--accent); box-shadow: 0 0 8px var(--accent); }
@media (max-width: 900px) { .theme-selector { display: none; } }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gradient-blue); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .header-content { padding: 8px 12px; }
    .logo-text h1 { font-size: .92rem; }
    .logo-icon { width: 46px; height: 46px; }
    .social-mini { display: none; }
    .icon-btn { width: 38px; height: 38px; }
    .nav-links { flex-direction: column; align-items: stretch; padding: 18px 14px; }
    .nav-link { justify-content: flex-start; font-size: .92rem; }
    .section { padding: 16px; }
    .section-header h2 { font-size: 1.5rem; }
    .hero-content { padding: 40px 15px 26px; }
    .hero-title { font-size: 1.6rem; }
    .play-btn-main { width: 82px; height: 82px; }
    .now-playing { width: 100%; }
    .now-text { text-align: center; }
    .now-text .song { max-width: 70vw; }
    .player-card { padding: 24px 18px; border-radius: 22px; }
    .vinyl { width: 150px; height: 150px; }
    .dj-card { flex-direction: row; }
    .dj-avatar { width: 62px; height: 62px; }
    .schedule-grid { grid-template-columns: 1fr; }
    .contact-content { grid-template-columns: 1fr 1fr; }
    .wa-group-card { flex-direction: column; text-align: center; }
    .wa-group-info { text-align: center; }
    .wa-group-btn { width: 100%; text-align: center; }
    .install-fab { padding: 0 18px 0 14px; height: 50px; }
    .install-fab-label { display: none; }
    .install-fab { width: 56px; padding: 0; justify-content: center; }
    .mini-title { max-width: 120px; }
    .android-modal { align-items: center; }
}
@media (min-width: 769px) {
    .nav-menu { max-height: none; opacity: 1; overflow: visible; }
    .nav-menu .nav-overlay { background: linear-gradient(180deg, rgba(5,12,30,.55) 0%, rgba(5,12,30,.78) 100%); }
    #menuToggle { display: none; }
    .nav-link { font-size: .84rem; padding: 9px 14px; }
}
@media (min-width: 1024px) {
    .about-content { flex-direction: row; flex-wrap: wrap; }
    .about-card { flex: 1 1 300px; }
    .verse-card { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}