/**
 * Estilos Live Mode - VERSÃO CORRIGIDA
 * 
 * MUDANÇAS:
 * - Indicador Live: apenas texto vermelho piscando (sem botão/background)
 * - Mobile: não altera banners, apenas mostra texto "Live"
 * - Desktop: mantém player como antes
 */

/* ============================================
   INDICADOR "LIVE" - BADGE ESTILO BOTÃO
   Badge vermelho com ícone broadcast + texto
   ============================================ */
.live-text-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E53935 !important;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: 15px;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none !important;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3) !important;
}

.live-text-indicator:hover {
    background: #C62828 !important;
    transform: scale(1.03);
}

.live-text-indicator svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Animação sutil do ícone */
.live-text-indicator svg {
    animation: liveBroadcastPulse 1.5s ease-in-out infinite;
}

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

/* Mobile - ajuste do indicador */
@media (max-width: 768px) {
    .live-text-indicator {
        font-size: 11px;
        margin-left: 10px;
        padding: 6px 10px !important;
        gap: 5px;
    }

    .live-text-indicator svg {
        width: 14px;
        height: 14px;
    }
}

/* ============================================
   ANTIGO BOTÃO LIVE - DESATIVADO
   Mantido para não quebrar se existir no HTML
   ============================================ */
.live-now-btn {
    display: none !important; /* Esconde o botão antigo */
}

/* ============================================
   CONTAINER DO BANNER LIVE (DESKTOP ONLY)
   ============================================ */
.live-banner-cinematic {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* PLAYER DA LIVE - Desktop */
.live-player-wrapper {
    position: relative;
    width: 1662px;
    max-width: 100%;
    margin: 0 auto;
}

.live-aspect-ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.live-aspect-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   MOBILE - NÃO MOSTRA PLAYER
   Banners rotativos continuam normais
   ============================================ */
@media (max-width: 768px) {
    /* Esconde qualquer container de player no mobile */
    .live-banner-cinematic,
    .live-banner-cinematic.live-mobile,
    #live-banner-container {
        display: none !important;
    }
    
    .live-player-wrapper {
        display: none !important;
    }
    
    /* Esconde o card mobile antigo */
    .live-mobile-card {
        display: none !important;
    }
}

/* ============================================
   BADGE "AO VIVO" (se usar dentro do player)
   ============================================ */
.live-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 0, 0, 0.95);
    color: white;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

.live-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

@media (max-width: 768px) {
    .live-badge {
        display: none; /* Esconde no mobile */
    }
}

/* ============================================
   BODY IS-LIVE - Borda vermelha no topo
   ============================================ */
body.is-live {
    border-top: 3px solid #FF0000;
}

/* ============================================
   CLASSES ANTIGAS - Escondidas/Desativadas
   ============================================ */
.pulse-dot {
    display: none;
}

.live-mobile-card,
.live-mobile-visual,
.live-mobile-content,
.live-mobile-badge,
.live-cta {
    display: none !important;
}
