/* Reset e configuraÃ§Ãµes bÃ¡sicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(rgba(139, 74, 156, 0.8), rgba(107, 44, 125, 0.8)),
                url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Status indicator */
.status-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.9em;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.status-indicator.live {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.status-indicator.offline {
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.status-indicator.live .status-dot {
    background: #00ff00;
}

.status-indicator.offline .status-dot {
    background: #ff0000;
}

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

/* Menu de botÃµes - Desktop */
.menu-buttons {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
}



.menu-item {
    width: auto;
    min-width: 50px;
    height: 45px;
    border-radius: 12px;
    background: rgba(var(--background-rgb), 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(var(--popup-details-rgb), 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                0 5px 15px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 12px;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Mostrar texto dos itens do menu no desktop */
.menu-item[title]::after {
    content: attr(title);
    font-size: 0.85em;
    font-weight: 500;
    color: white;
    opacity: 0.9;
}

/* Ãcones dos itens do menu */
.menu-item i {
    font-size: 1.1em;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    color: var(--popup-details-color);
}

/* Centralizar botÃ£o PWA */
#pwaInstallBtn {
    justify-content: flex-start !important;
}

#pwaInstallBtn::after {
    display: block !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Centralizar Ã­cone PWA no desktop */
#pwaInstallBtn {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Efeitos de hover para os botÃµes laterais */
.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 
                0 8px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(var(--popup-details-rgb), 0.4);
}

/* Tooltips removidos - usando title nativo do HTML */

/* BotÃ£o flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1002;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsivo para o botÃ£o do WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.6em;
    }
}

/* BotÃ£o de compartilhar */
.share-button {
    position: fixed;
    top: 20px;
    right: 80px;
    background: rgba(139, 74, 156, 0.9);
    border: 2px solid rgba(255, 165, 0, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.share-button:hover {
    background: rgba(255, 165, 0, 0.2);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

/* ConteÃºdo principal */
.main-content {
    margin-left: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}

/* Container para logo e player lado a lado */
.logo-player-container {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    /* Aumentei a largura mÃ¡xima para dar mais espaÃ§o Ã  logo e ao player lado a lado */
    max-width: 1100px;
}

/* Logo - ATUALIZADA */
.logo {
    text-align: center;
    display: flex;
    flex-direction: column; /* Garantindo que imagem e texto fiquem em coluna */
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Impede que a logo encolha */
    /* Aumentei a largura base da logo para dar mais destaque */
    width: 350px; /* Largura para desktop */
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%; /* Ocupa a largura total do .logo */
}

.logo-container img {
    /* Aumentei o tamanho da imagem da logo */
    width: 100%; /* SerÃ¡ 100% do .logo, que Ã© 350px */
    max-width: 350px; /* Garante que nÃ£o exceda um tamanho razoÃ¡vel */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
}

.logo-text {
    color: white;
    font-size: 3.2em; /* Aumentei um pouco o tamanho do texto para acompanhar */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin-top: 15px; /* Ajuste o espaÃ§amento */
}

.logo-subtitle {
    color: #FFA500;
    font-size: 1.5em; /* Aumentei um pouco o tamanho do texto */
    font-weight: bold;
    margin-top: 8px; /* Ajuste o espaÃ§amento */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Player principal */
.player-main {
    background: rgba(139, 74, 156, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    width: 100%;
    min-width: 350px;
    flex-shrink: 0; /* Garante que o player mantenha seu tamanho e nÃ£o encolha */
}

.programa-atual {
    text-align: center;
    color: white;
    margin-bottom: 25px;
}

.apresentador-foto {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid #FFA500;
    background: linear-gradient(45deg, #8B4A9C, #6B2C7D);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.horario-live {
    color: #FFA500;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 10px;
}

.programa-nome {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.apresentador-nome {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Controles do player */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.play-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    border: none;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.6);
}

.volume-control {
    width: 150px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.volume-control:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.volume-fill {
    height: 100%;
    background: linear-gradient(90deg, #8B4A9C, #A855F7, #C084FC);
    border-radius: 10px;
    width: 70%;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 0 8px rgba(139, 74, 156, 0.4);
}

.volume-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transform: translateX(50%);
    transition: all 0.3s ease;
}

.volume-control:hover .volume-fill::after {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Redes sociais */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877F2, #0C63D4);
}

.social-link.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-link.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.social-link.x {
    background: linear-gradient(135deg, #000000, #333333);
}

/* Fallback para o Ã­cone do X caso o Font Awesome nÃ£o funcione */
.social-link.x i.fab.fa-x-twitter::before {
    content: "\1D54F" !important;
    font-family: serif !important;
    font-weight: bold !important;
    font-size: 1.1em !important;
}

/* Garantir que o Ã­cone do X seja exibido corretamente */
.social-link.x i {
    font-size: 18px;
    line-height: 1;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* PrÃ³ximos programas */
.proximos-programas {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    width: 100%;
    padding: 25px 15px;
}

.section-title {
    color: white;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #FFA500, #FF8C00);
    border-radius: 2px;
}

.programa-navegacao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.nav-arrow {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 45px;
    height: 45px;
    font-size: 1.4em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-arrow:hover {
    color: #FFA500;
    transform: scale(1.1);
}

.programa-card {
    background: transparent;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 450px;
    margin: 0 auto;
    transition: all 0.2s ease;
}

.programa-card:hover {
    transform: translateY(-2px);
}

.programa-foto {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #FFA500;
    background: linear-gradient(45deg, #8B4A9C, #6B2C7D);
    flex-shrink: 0;
}

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

.programa-details {
    color: white;
    text-align: left;
}

.horario {
    color: #FFA500;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Banner de anÃºncio */
/* Estilos para banners rotativos */
.banners-section {
    margin-top: 40px;
    max-width: 600px;
    width: 100%;
    padding: 0 10px;
}

.banners-carousel {
    position: relative;
    width: 100%;
}

.banners-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
    display: block;
    opacity: 1;
}

.banner-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(139, 74, 156, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #8B4A9C;
}

.indicator:hover {
    background-color: rgba(139, 74, 156, 0.7);
}

/* Estilos para banner Ãºnico */
.banner-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.banner-link:hover {
    text-decoration: none;
    color: inherit;
}

.banner-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.banner-container:hover .banner-image img {
    transform: scale(1.05);
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    backdrop-filter: blur(10px);
}

.banner-content h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    opacity: 0.9;
    font-weight: 500;
}

.banner-content h4 {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 0.95em;
    opacity: 0.9;
    line-height: 1.4;
    margin: 0;
}

/* Estilos removidos - slideshow nÃ£o Ã© mais usado */

/* Banner padrÃ£o quando nÃ£o hÃ¡ banners cadastrados */
.banner-default {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
}

.banner-default h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    opacity: 0.9;
}

.banner-default h2 {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-default p {
    font-size: 1.1em;
    opacity: 0.9;
}



/* Responsivo */
/* Modal de ProgramaÃ§Ã£o e Locutores */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 74, 156, 0.3);
    border: 2px solid #8B4A9C;
}

.modal-header {
    background: linear-gradient(135deg, #8B4A9C, #6A3093);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #FFD700;
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
    background-color: #1a1a1a;
    color: white;
}



.modal-body * {
    color: inherit;
}

/* Estilos do Modal de ProgramaÃ§Ã£o */
.programs-week {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.day-programs {
    background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #333;
}

.day-title {
    color: white !important;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #8B4A9C;
    text-align: center;
}

.day-section {
    margin-bottom: 25px;
}

.day-section h3 {
    color: #8B4A9C;
    border-bottom: 2px solid #8B4A9C;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.programs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.program-item {
    background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #8B4A9C;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(139, 74, 156, 0.2);
}

.program-time {
    background: #8B4A9C;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
    font-size: 0.9em;
}

.program-info {
    flex: 1;
}

.program-name {
    color: white !important;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.program-announcer {
    color: white !important;
    font-size: 0.9em;
    font-style: italic;
}

.no-programs {
    text-align: center;
    color: #ccc;
    padding: 30px 20px;
    font-style: italic;
    background: rgba(139, 74, 156, 0.1);
    border-radius: 8px;
    border: 1px dashed #8B4A9C;
}

.no-programs i {
    font-size: 2em;
    color: #8B4A9C;
    margin-bottom: 10px;
    display: block;
}

.no-programs span {
    font-size: 1.1em;
    font-weight: 500;
}

/* Estilos do Modal de Locutores */
.announcers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.announcer-card {
    background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 2px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.announcer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 74, 156, 0.3);
    border-color: #8B4A9C;
}

.announcer-photo {
    margin-bottom: 15px;
}

.announcer-photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8B4A9C;
    transition: transform 0.3s ease;
}

.announcer-card:hover .announcer-photo img {
    transform: scale(1.1);
}

.announcer-info h3 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.announcer-bio {
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 15px;
    font-style: italic;
}

.announcer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.2em;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #F56040, #E1306C, #833AB4);
}

.social-link.whatsapp {
    background: #25D366;
}

.no-announcers {
    text-align: center;
    color: #888;
    padding: 40px 20px;
    font-style: italic;
}

.no-announcers i {
    font-size: 3em;
    margin-bottom: 15px;
    color: #555;
}

/* Menu Hamburger */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
    background: rgba(var(--background-rgb), 0.95);
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 10px;
    border: 2px solid rgba(var(--popup-details-rgb), 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 50px;
    height: 50px;
}

.hamburger-menu:hover {
    background: rgba(var(--popup-details-rgb), 0.2);
    border-color: rgba(var(--popup-details-rgb), 0.6);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(var(--popup-details-rgb), 0.4);
}

.hamburger-menu span {
    width: 26px;
    height: 3px;
    background-color: var(--background-color);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 3px;
    display: block;
    transform-origin: center;
}

.hamburger-menu.active {
    background: rgba(var(--popup-details-rgb), 0.9);
    border-color: rgba(var(--popup-details-rgb), 0.8);
}

.hamburger-menu.active span {
    background-color: var(--background-color);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsividade */
@media (max-width: 768px) {
    /* Menu hamburger visÃ­vel no mobile */
    .hamburger-menu {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
        background: rgba(var(--background-rgb), 0.95);
        backdrop-filter: blur(10px);
        padding: 12px;
        border-radius: 10px;
        border: 2px solid rgba(255, 165, 0, 0.3);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }
    
    /* Menu de botÃµes responsivo - sidebar completa */
    .menu-buttons {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(42, 42, 84, 0.98));
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 90px 20px 30px;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1001;
        border-left: 3px solid var(--primary-color, #8B4A9C);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        display: none;
        transform: translateX(100%);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .menu-buttons.mobile-open {
        display: flex;
        transform: translateX(0);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Overlay escuro quando menu estÃ¡ aberto */
    .menu-buttons.mobile-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: -1;
        animation: fadeInOverlay 0.3s ease;
    }
    
    @keyframes fadeInOverlay {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* TÃ­tulo do menu mobile */
    .menu-buttons::after {
        content: 'Menu';
        position: absolute;
        top: 30px;
        left: 20px;
        color: white;
        font-size: 1.4em;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 2px;
        opacity: 0.8;
    }
    
    .menu-buttons .menu-item {
        width: 100%;
        height: auto;
        margin: 4px 0;
        padding: 15px 20px;
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        border: 1px solid rgba(255, 165, 0, 0.2);
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 18px;
        text-decoration: none;
        color: white;
        font-size: 1em;
        font-weight: 500;
        position: relative;
        overflow: hidden;
    }
    
    .menu-buttons .menu-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .menu-buttons .menu-item:hover::before {
        left: 100%;
    }
    
    .menu-buttons .menu-item:hover {
        background: linear-gradient(135deg, var(--primary-color, #8B4A9C), var(--secondary-color, #6A3093));
        transform: translateX(8px) scale(1.02);
        border-color: rgba(255, 165, 0, 0.6);
        box-shadow: 0 8px 25px rgba(139, 74, 156, 0.4);
    }
    
    .menu-buttons .menu-item:active {
        transform: translateX(4px) scale(0.98);
    }
    
    .menu-buttons .menu-item i {
        font-size: 1.3em;
        width: 24px;
        text-align: center;
        flex-shrink: 0;
        color: var(--accent-color, #FFA500);
    }
    
    /* Adicionar texto aos itens do menu mobile */
    .menu-buttons .menu-item[title]::after {
        content: attr(title);
        font-size: 0.95em;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
    }
    
    /* Centralizar Ã­cone do botÃ£o PWA */
    .menu-buttons #pwaInstallBtn {
        justify-content: center;
    }
    
    .menu-buttons #pwaInstallBtn::after {
        display: none;
    }
    
    /* BotÃ£o de fechar no menu mobile */
    .menu-buttons .close-menu {
        position: absolute;
        top: 25px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 165, 0, 0.3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        color: white;
        font-size: 1.2em;
    }
    
    .menu-buttons .close-menu:hover {
        background: rgba(255, 165, 0, 0.2);
        border-color: rgba(255, 165, 0, 0.6);
        transform: scale(1.1);
    }
    
    /* Melhorar scrollbar do menu mobile */
    .menu-buttons::-webkit-scrollbar {
        width: 6px;
    }
    
    .menu-buttons::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .menu-buttons::-webkit-scrollbar-thumb {
        background: rgba(255, 165, 0, 0.5);
        border-radius: 3px;
    }
    
    .menu-buttons::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 165, 0, 0.7);
    }
    
    /* Garantir que o menu nÃ£o interfira com outros elementos */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Tooltips removidos - usando title nativo */
    
    /* Modal responsivo */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .program-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .program-time {
        align-self: flex-start;
    }
    
    .announcers-grid {
        grid-template-columns: 1fr;
    }
    
    .announcer-card {
        padding: 15px;
    }
    
    .announcer-photo img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 5% auto;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.2em;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    /* OtimizaÃ§Ãµes extras para banners em telas muito pequenas */
    .banners-section {
        margin-top: 15px;
        padding: 0 10px;
    }
    
    .banner-container {
        border-radius: 12px;
    }
    
    .banner-image {
        height: 120px; /* Altura ainda menor para telas pequenas */
    }
    
    .banner-content {
        padding: 15px 12px 12px;
    }
    
    .banner-content h3 {
        font-size: 0.9em;
        margin-bottom: 2px;
    }
    
    .banner-content h4 {
        font-size: 1.1em;
        margin-bottom: 4px;
        line-height: 1.1;
    }
    
    .banner-content p {
        font-size: 0.8em;
        line-height: 1.2;
        -webkit-line-clamp: 1; /* Apenas 1 linha em telas muito pequenas */
    }
    
    .banner-indicators {
        margin-top: 8px;
        gap: 6px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .programs-week {
        grid-template-columns: 1fr;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }

    /* Tooltips removidos - usando title nativo */

    .main-content {
        padding: 20px;
        margin-top: 20px;
    }

    .logo-player-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .logo {
        width: 100%; /* Ocupa a largura disponÃ­vel no mobile */
        max-width: 250px; /* Reduz o tamanho mÃ¡ximo para telas menores */
    }

    .logo-container img {
        width: 100%; /* SerÃ¡ 100% do .logo no mobile */
        max-width: 250px; /* Garante que a imagem nÃ£o ultrapasse o max-width do container */
    }

    .logo-text {
        font-size: 2em; /* Ajusta o tamanho da fonte para telas menores */
    }

    .logo-subtitle {
        font-size: 1em; /* Ajusta o tamanho da fonte para telas menores */
    }

    .player-main {
        margin: 0;
        padding: 20px;
        min-width: auto;
        max-width: 100%;
    }

    .share-button {
        right: 15px;
        top: 70px;
        width: 45px;
        height: 45px;
        font-size: 1.1em;
        z-index: 9999;
        display: block !important;
    }

    .status-indicator {
        top: 80px;
        right: 80px;
    }

    .programa-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .programa-details {
        text-align: center;
    }
    
    /* OtimizaÃ§Ãµes para banners no mobile */
    .banners-section {
        margin-top: 20px;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .banner-container {
        border-radius: 15px;
    }
    
    .banner-image {
        height: 150px; /* Reduz altura para evitar cortes */
    }
    
    .banner-content {
        padding: 20px 15px 15px;
    }
    
    .banner-content h3 {
        font-size: 1em;
        margin-bottom: 3px;
    }
    
    .banner-content h4 {
        font-size: 1.2em;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .banner-content p {
        font-size: 0.85em;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .banner-indicators {
        margin-top: 10px;
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Desabilitar hover effects no mobile */
    .banner-container:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .banner-container:hover .banner-image img {
        transform: none;
    }
}

/* ForÃ§ar todos os textos do modal de programaÃ§Ã£o para branco */
#programsModal .modal-body,
#programsModal .modal-body *,
#programsModal .day-title,
#programsModal .program-name,
#programsModal .program-announcer,
#programsModal .program-info,
#programsModal .program-info *,
#programsModal .day-programs,
#programsModal .day-programs *,
#programsModal .programs-week,
#programsModal .programs-week *,
#programsModal .program-item,
#programsModal .program-item *,
#programsModal .programs-list,
#programsModal .programs-list *,
#programsModal h3,
#programsModal p,
#programsModal div {
    color: white !important;
}
