
/* ============================================
   VARIÁVEIS CSS DINÂMICAS
   ============================================ */
:root {
    --bg: #A00D0D;
    --primary: #FF0000;
    --secondary: #FFFF00;
    --text-primary: #FFFFFF;
    --titulos: #FFFFFF;
    --conteudo: #FF0000;
    --topo: #FF8800;
    --rodape: #FFFFFF;
    --text-secondary: #FFFF00;
    --glass-bg: rgba(255,255,255,.05);
    --glass-border: rgba(255,255,255,.1);
    --primary-gradient: linear-gradient(135deg, #FF0000, #FFFF00);
    --glass: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    
}

/* ============================================
   RESET E ESTILOS BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 70px; /* player é fixed, menus são sticky */
    min-height: 100vh;
    background: var(--bg);
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    position: relative;
}

/* Background Image System */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: url('../img/bg6.jpg');opacity: 0.85;}

/* Transição suave do conteúdo AJAX */
#page-content {
    transition: opacity .28s ease;
}



/* ============================================
   PLAYER DE ÁUDIO PRÓPRIO — REDESIGN
   ============================================ */
#player-root {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    z-index: 1050;
    background: #470018;
    border-bottom: 1px solid #ffc526;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-track-title {
    font-size: .9rem;
    font-weight: 600;
    color: #ffff00;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .3s;
}
/* ── Badge AO VIVO ──────────────────────────── */
.player-live-badge {
    display: none;
    align-items: center;
    gap: 6px;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.3);
    color: #22c55e;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 30px;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}
#player-root.is-playing .player-live-badge {
    display: flex;
    animation: badgeFadeIn .5s ease forwards;
}
@keyframes badgeFadeIn {
    from { opacity: 0; transform: translateY(4px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.live-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%     { transform: scale(1.4); opacity: .6; }
}

/* ── Loader ─────────────────────────────────── */
.player-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px; height: 32px;
}
.player-spinner {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,.12);
    border-top-color: var(--primary);
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Separador ──────────────────────────────── */
.player-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,.08);
    flex-shrink: 0;
}

/* Container centralizado com largura máxima */
/* Inner container */
.player-inner {
    width: 100%;
    max-width: 1280px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}

/* ── Capa da música ─────────────────────────── */
.player-cover-wrap {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}
.player-cover-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #ffff00;
    display: block;
    transition: border-color .3s, opacity .4s;
}
/* Glow na capa quando tocando */
#player-play-btn[data-playing="1"] ~ .player-cover-wrap .player-cover-img,
.player-cover-wrap:has(+ * + * + * + .player-controls .player-btn-play[data-playing="1"]) .player-cover-img {
    border-color: #ffff00;
    box-shadow: 0 0 12px rgba(0,0,0,.3);
}
/* Blur de fundo atrás da capa */
.player-cover-bg {
    position: absolute;
    inset: -6px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    filter: blur(6px) brightness(.5);
    opacity: 0;
    transition: opacity .4s;
    z-index: -1;
}

/* ── Dot de status ──────────────────────────── */
.player-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid var(--topo);
    background: #444;
    transition: background .3s;
}
.player-dot--live {
    background: #22c55e;
    animation: dotPulse 1.5s ease-in-out infinite;
}
.player-dot--loading {
    background: #f59e0b;
    animation: dotPulse .7s ease-in-out infinite;
}
@keyframes dotPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
    50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* ── Info (nome + faixa) ───────────────────── */
.player-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}
.player-station-name {
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-track-artist {
    font-size: .77rem;
    color: #ffff00;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Badge AO VIVO ──────────────────────────── */
.player-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.3);
    color: #22c55e;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 30px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity .4s;
}
.live-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: dotPulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

/* ── Loader ─────────────────────────────────── */
.player-loader {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.player-spinner {
    width: 22px; height: 22px;
    border: 2px solid rgba(255,255,255,.15);
    border-top-color: #ffff00;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Controles ──────────────────────────────── */
.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.player-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff00;
    transition: transform .15s, opacity .2s;
    padding: 0;
    line-height: 1;
}
.player-btn:hover  { opacity: .8; transform: scale(1.08); }
.player-btn:active { transform: scale(.93); }

/* Botão mute */
.player-btn-mute {
    font-size: 1rem;
    opacity: .65;
    width: 28px; height: 28px;
}

/* Botão play principal */
.player-btn-play {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 0 0 3px rgba(255,255,255,.05), 0 4px 14px rgba(0,0,0,.35);
    transition: transform .15s, box-shadow .2s;
}
.player-btn-play:hover {
    box-shadow: 0 0 0 3px rgba(255,255,255,.1), 0 6px 18px rgba(0,0,0,.4);
    transform: scale(1.07);
}
.player-btn-play[data-playing="1"] {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 99,102,241),.25), 0 4px 14px rgba(0,0,0,.35);
}

/* Volume slider */
.player-vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,.15);
    outline: none;
    cursor: pointer;
    accent-color:#ffff00;
    transition: width .2s;
}
.player-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px; height: 13px;
    border-radius: 50%;
    background: #ffff00;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* Mobile */
@media (max-width: 600px) {
    .player-vol-slider  { display: none; }
    .player-btn-mute    { display: none; }
    .player-live-badge  { display: none; }
    .player-station-name { display: none; }
    .player-inner { padding: 0 12px; gap: 10px; }
}


/* ============================================
   CONTEÚDO PRINCIPAL
   ============================================ */
#content {
    min-height: calc(100vh - 140px); 
}

#page-content {
   background-color:#FF0000; margin-top:25px; padding:15px;
   color:var(--text-primary);
}

/* ============================================
   LOADING INDICATOR
   ============================================ */
.loading {
    display: none;
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 1045;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.loading.show {
    display: flex;
    animation: fadeIn 0.2s ease;
}

/* Esconde o spinner padrão do Bootstrap */
.loading .spinner-border {
    display: none;
}

/* Anel moderno com cor primária */
.loading::after {
    content: '';
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--primary);
    animation: modernSpin 0.7s linear infinite;
    filter: drop-shadow(0 0 8px var(--primary));
}

@keyframes modernSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   SLIDER HERO SECTION
   ============================================ */
.slider-section {
    padding: 0;
    margin-top: 10px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 5px;
   
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
     opacity:0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-overlay{
   pointer-events:none;
}

.slide-content {
    text-align: center;
    padding: 40px;
    max-width: 800px;
}

.slide-content h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.slide-link {
    text-decoration: none;
    display: block;
}

.slide-link:hover h2 {
    color: #e94560;
    transition: color 0.3s ease;
}

/* Controles do Slider */
.slider-controls {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--primary);
    border-color: #fff;
    transform: scale(1.2);
}

/* Setas de Navegação */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* ============================================
   INFO CARDS
   ============================================ */
.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    transform: translateY(-5px);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 32px;
    color: white;
}

.info-content h3 {
    margin: 0 0 10px;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.info-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

/* ============================================
   LOCUTOR NO AR
   ============================================ */
.locutor-ar-section {
    padding: 60px 0;
}

.locutor-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.locutor-avatar {
    position: relative;
}

.locutor-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.live-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.locutor-info h3 {
    margin: 0 0 5px;
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.programa-nome {
    color: var(--primary);
    font-size: 16px;
    margin: 0 0 10px;
}

.horario {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px;
}

/* Estatísticas de Visitantes */
.visitantes-info {
    text-align: center;
}

.visitantes-info h4 {
    color: white;
    margin: 0 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin: 5px 0;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ============================================
   GALERIA DE FOTOS
   ============================================ */
.photos-section {
    padding: 60px 0;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.photo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-icon-white {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon-white:hover {
    background: white;
    color: var(--primary);
}

.photo-info {
    color: white;
}

.photo-info h4 {
    margin: 0 0 5px;
    font-size: 18px;
}

.photo-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--rodape);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* ============================================
   BOTÃO VOLTAR AO TOPO
   ============================================ */
.botaotopo,
#toTop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    z-index: 9998;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
}

.botaotopo:not([style*="display: none"]),
#toTop:not([style*="display: none"]) {
    opacity: 1;
    visibility: visible;
}

.botaotopo i,
#toTop i {
    font-size: 20px;
    line-height: 1;
}



.botaotopo:not(:hover),
#toTop:not(:hover) {
    animation: pulse-topo 2s ease-in-out infinite;
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cc-window.cc-banner.cc-type-opt-in.cc-theme-block.cc-bottom {
    position: fixed !important;
    width: 800px !important;
    max-width: 95% !important;
    height: auto !important;
    left: 50% !important;
    right: auto !important;
    bottom: -200px !important;
    margin-left: -400px !important;
    z-index: 9999 !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ddd !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    box-sizing: border-box !important;
    transition: bottom 0.6s ease-out, opacity 0.6s ease-out !important;
    opacity: 0 !important;
}

.cc-window.cc-banner.cc-type-opt-in.cc-theme-block.cc-bottom:not(.cc-invisible) {
    bottom: 20px !important;
    opacity: 1 !important;
}

.cc-window .cc-message {
    color: #000000 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    flex: 1 !important;
}

.cc-window .cc-link {
    color: #007bff !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
}

.cc-window .cc-link:hover {
    color: #0056b3 !important;
}

.cc-window .cc-compliance {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.cc-window .cc-compliance .btn {
    padding: 10px 24px !important;
    font-size: 13px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 500 !important;
}

.cc-window .cc-allow {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

.cc-window .cc-allow:hover {
    background-color: #218838 !important;
    transform: scale(1.05) !important;
}

.cc-window .cc-deny {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

.cc-window .cc-deny:hover {
    background-color: #5a6268 !important;
    transform: scale(1.05) !important;
}

/* ============================================
   TOP MÚSICAS
   ============================================ */





/* ============================================
   PLAYER FIXO
   ============================================ */
.player-fixo {
    position: fixed;
    bottom: -120px;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    z-index: 9998;
    transition: bottom 0.4s ease;
    padding: 15px 20px;
}

.player-fixo.active {
    bottom: 0;
}

.player-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
}

.player-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.player-thumbnail {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.player-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.player-text p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.player-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.player-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.player-progress {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-progress span {
    font-size: 12px;
    color: #999;
    font-weight: 600;
    min-width: 40px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-volume i {
    color: #fff;
    font-size: 16px;
}

.player-volume input[type="range"] {
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.player-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.player-volume input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* ============================================
   MODAL YOUTUBE
   ============================================ */
.youtube-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.youtube-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.youtube-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    z-index: 1;
}

@keyframes slideUp {
    from {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.youtube-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.youtube-modal-info h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.youtube-modal-info p {
    margin: 5px 0 0;
    color: #999;
    font-size: 14px;
}

.youtube-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.youtube-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.youtube-modal-body {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.youtube-modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.youtube-modal-body iframe.loaded {
    display: block;
}

.youtube-loading,
.youtube-error {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    padding: 40px;
    text-align: center;
}

.youtube-loading i {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.youtube-error i {
    font-size: 64px;
    color: #999;
    margin-bottom: 20px;
}

.youtube-error h4 {
    font-size: 22px;
    margin: 0 0 10px;
    color: #fff;
}

.youtube-error p {
    font-size: 15px;
    color: #999;
    margin: 0 0 25px;
}

.btn-youtube-open {
    background: #FF0000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-youtube-open:hover {
    background: #cc0000;
    transform: scale(1.05);
}

/* ============================================
   TOP VÍDEOS
   ============================================ */
.videos-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
}
.card-title{ color: var(--text-primary);}

.videos-title {
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.videos-title i {
    font-size: 60px;
    color: var(--text-primary);
}

.videos-title h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.videos-title p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 5px 0 0;
}

/* Filtros */
.videos-filtros {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.filtro-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.filtro-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.filtro-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

/* Grid de Vídeos */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.video-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 245, 212, 0.3);
    border-color: var(--primary);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-play-overlay {
    opacity: 1;
}

.video-play-overlay i {
    font-size: 80px;
    color: var(--primary);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.video-duracao {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.video-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-categoria {
    background: rgba(0, 245, 212, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.video-meta i {
    color: var(--primary);
}

.videos-vazio {
    text-align: center;
    padding: 100px 20px;
}

.videos-vazio i {
    font-size: 100px;
    color: rgba(0, 245, 212, 0.2);
    margin-bottom: 30px;
}

.videos-vazio h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.videos-vazio p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Modal de Vídeo */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.video-modal.active {
    display: block;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: auto;
    margin: 50px auto;
    padding: 20px;
    z-index: 10;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-info {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
}

.video-modal-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px;
}

.video-modal-info p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 20px;
}

/* Compartilhar */
.compartilhar-video {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-compartilhar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-compartilhar:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.btn-compartilhar.facebook { background: #3b5998; }
.btn-compartilhar.twitter { background: #1da1f2; }
.btn-compartilhar.whatsapp { background: #25d366; }
.btn-compartilhar.link { background: #666; }

/* ============================================
   AO VIVO
   ============================================ */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(76, 175, 80, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.8);
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.live-text {
    font-weight: 700;
    color: #4caf50;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.programa-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.programa-foto img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #4caf50;
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.5);
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 40px rgba(76, 175, 80, 0.5); }
    50% { box-shadow: 0 0 60px rgba(76, 175, 80, 0.8); }
}

.programa-info {
    flex: 1;
}

.programa-nome {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.locutor-info {
    font-size: 1.0rem;
    color: #4c72e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sem-programa {
    text-align: center;
    padding: 60px 20px;
}

.sem-programa-icon {
    font-size: 4rem;
    color: #777;
    margin-bottom: 20px;
    opacity: 0.4;
}

.sem-programa h2 {
    font-size: 1.8rem;
    color: #555;
}

/* ============================================
   ENQUETE
   ============================================ */
.enquete-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.enquete-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.enquete-titulo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.enquete-titulo i {
    color: var(--primary);
}

.enquete-opcoes {
    margin: 1.5rem 0;
}

.enquete-opcao {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    margin: 0.75rem 0;
  
   
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.enquete-opcao:hover {
    background: #e9ecef;
    border-color: var(--primary);
    transform: translateX(5px);
}

.enquete-opcao input {
    margin: 0;
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.opcao-texto {
    flex: 1;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.opcao-check {
    opacity: 0;
    color: var(--primary);
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.enquete-opcao input:checked ~ .opcao-check {
    opacity: 1;
}

.enquete-opcao input:checked {
    transform: scale(1.1);
}

.enquete-acoes {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-enquete {
    flex: 1;
    min-width: 160px;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-votar {
    background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
    color: white;
}

.btn-votar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.btn-parcial {
    background: #6c757d;
    color: white;
}

.btn-parcial:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-voltar {
    background: #ffffff;
    color: #333;
    border: 2px solid #dee2e6;
}

.btn-voltar:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.resultados-lista {
    margin: 1.5rem 0;
}

.resultado-item {
    margin: 1rem 0;
    padding: 0.75rem 0;
}

.resultado-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.resultado-opcao {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1rem;
}

.resultado-stats {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
}

.resultado-barra-container {
    width: 100%;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.resultado-barra {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #0056b3 100%);
    border-radius: 6px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.resultados-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.resultado-total {
    font-size: 1.125rem;
    color: #495057;
    margin-bottom: 1rem;
}

.enquete-mensagem {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInDown 0.4s ease;
}

.enquete-mensagem.sucesso {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.enquete-mensagem.erro {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   NOTÍCIAS
   ============================================ */

.news-container-home {
    display: flex;
    flex-direction: column;
    gap: 15px; /* antes 20 */
}

.news-card-home {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    min-height: 120px; /* altura menor */
}

.news-card-home:hover {
    transform: translateY(-4px);
}

.news-card-home a {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

/* IMAGEM MENOR */
.news-image-home {
    width: 170px;
    height: 120px; /* antes 180 */
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(15, 52, 96, 0.6));
}

.news-image-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-home:hover .news-image-home img {
    transform: scale(1.1);
}

.news-placeholder-home {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder-home i {
    font-size: 40px; /* menor */
    color: rgba(0, 245, 212, 0.3);
}

/* CONTEÚDO COMPACTO */
.news-content-home {
    flex: 1;
    padding: 14px; /* antes 24 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* DATA */
.news-date-home {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-date-home i {
    color: var(--primary);
    font-size: 11px;
}

/* TÍTULO */
.news-title-home {
    font-size: 16px; /* menor */
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0 0 6px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* TEXTO */
.news-excerpt-home {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 1; /* antes 2 → menor */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ERRO */
.news-error-home {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 15px;
    text-align: center;
}

.news-error-home i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 12px;
}

.news-error-home h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 16px;
}

.news-error-home p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 13px;
}
/* ============================================
   PROGRAMAÇÃO
   ============================================ */
.hero-section {
    text-align: center;
    padding: 60px 0 40px;
}

.hero-title {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.programacao-section {
    padding: 40px 0;
}

.dias-semana {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.dia-btn {
    padding: 12px 24px;
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.dia-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.dia-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--text-primary);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb, 102, 126, 234), 0.4);
}

.programacao-grid {
    display: none;
}

.programacao-grid.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.programa-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.programa-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.programa-card:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.programa-card:hover::before {
    opacity: 1;
}

.programa-card.no-ar {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(76, 175, 80, 0.02));
    border-color: rgba(76, 175, 80, 0.3);
}

.programa-card.no-ar::before {
    background: #4caf50;
    opacity: 1;
    animation: pulse-bar 2s ease-in-out infinite;
}

@keyframes pulse-bar {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(76, 175, 80, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 20px rgba(76, 175, 80, 0.8); }
}

.programa-horario {
    min-width: 100px;
    text-align: center;
}

.programa-horario .hora {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.programa-horario .periodo {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.programa-foto img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--glass-border);
    transition: all 0.3s ease;
}

.programa-card:hover .programa-foto img {
    border-color: var(--primary);
    transform: scale(1.05);
}

.ao-vivo-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(76, 175, 80, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #4caf50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ao-vivo-indicator .dot {
    width: 6px;
    height: 6px;
    background: #4caf50;
    border-radius: 50%;
    animation: blink-dot 1.5s ease-in-out infinite;
}

@keyframes blink-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.programa-info {
    flex: 1;
}

.programa-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-weight: 600;
}

.programa-info .locutor {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.programa-info .descricao {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.sem-programacao {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.sem-programacao i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* ============================================
   SPA LOADER
   ============================================ */
.spa-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spa-loader__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spa-spin 0.7s linear infinite;
}

@keyframes spa-spin {
    to { transform: rotate(360deg); }
}

.spa-error {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        padding: 60px 20px 20px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        flex-direction: column;
    }

    .nav-link {
        width: 100%;
    }

    .player-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 350px;
        border-radius: 15px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content {
        padding: 20px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .locutor-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .musica-item {
        flex-wrap: wrap;
        
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .news-card-home {
        flex-direction: column;
    }

    .news-image-home {
        width: 100%;
        height: 200px;
    }

    .news-content-home {
        padding: 20px;
    }

    .news-title-home {
        font-size: 16px;
    }

    .programa-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .programa-horario {
        min-width: auto;
    }

    .dias-semana {
        gap: 8px;
    }

    .dia-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .videos-title {
        flex-direction: column;
    }

    .videos-title h1 {
        font-size: 32px;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .video-modal-content {
        width: 95%;
        margin: 20px auto;
    }

    .video-modal-close {
        top: -45px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .programa-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .programa-foto img {
        width: 150px;
        height: 150px;
    }

    .programa-nome {
        font-size: 1.7rem;
    }

    .locutor-info {
        justify-content: center;
    }

    .enquete-container {
        padding: 1.5rem;
    }

    .enquete-titulo {
        font-size: 1.25rem;
    }

    .enquete-acoes {
        flex-direction: column;
    }

    .btn-enquete {
        width: 100%;
    }

    .botaotopo,
    #toTop {
        right: 20px !important;
        bottom: 90px !important;
        width: 45px !important;
        height: 45px !important;
    }

    .botaotopo i,
    #toTop i {
        font-size: 18px !important;
    }
}

@media (max-width: 600px) {
    .cc-window.cc-banner.cc-type-opt-in.cc-theme-block.cc-bottom {
        padding: 12px 15px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .cc-window .cc-message {
        font-size: 13px !important;
    }

    .cc-window .cc-compliance {
        width: 100% !important;
        justify-content: center !important;
    }

    .cc-window .cc-compliance .btn {
        padding: 8px 20px !important;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 280px;
        border-radius: 10px;
    }

    .slide-content h2 {
        font-size: 1.2rem;
    }

    .musica-thumbnail-wrapper {
        width: 60px;
        height: 60px;
    }

    .play-button {
        width: 35px;
        height: 35px;
    }

    .play-button i {
        font-size: 14px;
    }

    .musica-info h4 {
        font-size: 14px;
    }

    .musica-info p {
        font-size: 12px;
    }

    .btn-curtir {
        padding: 6px 12px;
        font-size: 12px;
    }

    .news-image-home {
        height: 180px;
    }

    .news-title-home {
        font-size: 15px;
    }

    .news-excerpt-home {
        font-size: 13px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .cc-window.cc-banner.cc-type-opt-in.cc-theme-block.cc-bottom {
        width: 95% !important;
        left: 2.5% !important;
        margin-left: 0 !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .main-header,
    .main-footer,
    #player-root,
    .botaotopo,
    #toTop,
    .slider-arrow,
    .slider-controls {
        display: none !important;
    }

    body {
        padding-top: 0;
        background: white;
        color: black;
    }
}

.section-header {margin-top:10px;}

.titulo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.titulo i {
    font-size: 24px;
    color: var(--primary);
}

.titulo h2 {
    color: var(--titulos);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}
/* ============================================================
   SCROLL CUSTOMIZADO
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary);}

/* ============================================
   FIM DO ARQUIVO
   ============================================ */