/* ==============================================================
   ESTILOS - EMISORA CULTURAL DEL HUILA (THEME POKET)
   ============================================================== */

:root {
    --cultura-primary: #ff6326;
    --cultura-primary-dark: #e04e15;
    --cultura-primary-glow: rgba(255, 99, 38, 0.4);
    --dark-bg: #0a0a0c;
    --dark-surface: #151518;
    --dark-card: #1c1c22;
}

body.emisora-body {
    background-color: var(--dark-bg);
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
    font-family: 'Inter', sans-serif;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: #2a2a30;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cultura-primary);
}

/* Cursor Personalizado Futurista (Z-INDEX SUPERIOR A MODALES) */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--cultura-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2000000 !important;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
    mix-blend-mode: difference;
}

#custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    background-color: var(--cultura-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2000001 !important;
    transform: translate(-50%, -50%);
}

.cursor-hover {
    width: 55px !important;
    height: 55px !important;
    background-color: rgba(255, 99, 38, 0.2) !important;
    border-color: transparent !important;
    backdrop-filter: blur(2px);
}

a, button, input, select, textarea, .interactive, [data-open-podcast], [data-open-noticia], .close-modal-btn {
    cursor: none;
}

/* Efecto Glitch */
.glitch-text:hover {
    animation: glitch-skew 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: var(--cultura-primary);
    text-shadow: 2px 2px 0px rgba(0,255,255,0.5), -2px -2px 0px rgba(255,0,255,0.5);
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    20% { transform: skew(-8deg); }
    40% { transform: skew(8deg); }
    60% { transform: skew(-4deg); }
    80% { transform: skew(4deg); }
    100% { transform: skew(0deg); }
}

/* Fondo Grid Tecnológico */
.bg-grid {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 99, 38, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 99, 38, 0.05) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

/* Borde Neón Animado */
.neon-border {
    position: relative;
}
.neon-border::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--cultura-primary), transparent, var(--cultura-primary));
    z-index: -1;
    border-radius: 1rem;
    animation: border-rotate 4s linear infinite;
    opacity: 0.6;
}

@keyframes border-rotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Barras del Ecualizador */
.eq-bar {
    width: 4px;
    background-color: var(--cultura-primary);
    border-radius: 2px;
    height: 20%;
    transition: height 0.15s ease;
}

.is-playing .eq-bar:nth-child(1) { animation: equalizer 0.6s infinite ease-in-out alternate; }
.is-playing .eq-bar:nth-child(2) { animation: equalizer 0.9s infinite ease-in-out alternate 0.2s; }
.is-playing .eq-bar:nth-child(3) { animation: equalizer 0.5s infinite ease-in-out alternate 0.4s; }
.is-playing .eq-bar:nth-child(4) { animation: equalizer 0.8s infinite ease-in-out alternate 0.1s; }
.is-playing .eq-bar:nth-child(5) { animation: equalizer 1.1s infinite ease-in-out alternate 0.3s; }
.is-playing .eq-bar:nth-child(6) { animation: equalizer 0.7s infinite ease-in-out alternate 0.5s; }

@keyframes equalizer {
    0% { height: 15%; }
    50% { height: 100%; }
    100% { height: 35%; }
}

/* MODALES GLOBALES (VIDEO PODCASTS, NOTICIAS, CONCURSOS) */
.custom-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background-color: rgba(10, 10, 12, 0.92) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 1000000 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-in-out;
}

.custom-modal-backdrop.is-open {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.custom-modal-content {
    width: 100%;
    background-color: var(--dark-surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 99, 38, 0.15);
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-modal-backdrop.is-open .custom-modal-content {
    transform: scale(1);
}

/* CHULOS DE WHATSAPP / PODCAST VISTO */
.podcast-card.is-watched .podcast-watched-badge {
    display: inline-flex !important;
}

.podcast-card.is-watched {
    border-color: rgba(34, 211, 238, 0.3) !important;
}

.podcast-card.is-watched .toggle-watched-btn {
    color: #22d3ee !important;
    background-color: rgba(34, 211, 238, 0.15) !important;
}