body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0b1720, #102c1b);
    color: #fff;
    min-height: 100vh;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
    box-sizing: border-box;
}

.player-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
    background: #000;
}


.unmute-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.4s ease;
}
.unmute-overlay.hidden {
    opacity: 0;
}
.unmute-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,.75);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: pulseUnmute 2.2s infinite;
    transition: transform .15s ease, background .2s ease;
}
.unmute-btn:hover,
.unmute-btn:active {
    background: rgba(60,179,113,.9);
    transform: scale(1.05);
}
.unmute-icon { flex-shrink: 0; }

@keyframes pulseUnmute {
    0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 0 rgba(60,179,113,.55); }
    50% { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 10px rgba(60,179,113,0); }
}

.player-wrapper:fullscreen,
.player-wrapper:-webkit-full-screen,
.player-wrapper:-ms-fullscreen {
    width: 100%;
    height: 100%;
    padding-bottom: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.player-wrapper.fake-fullscreen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    padding-bottom: 0;
    border-radius: 0;
    margin: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.player-wrapper:fullscreen iframe,
.player-wrapper:-webkit-full-screen iframe,
.player-wrapper:-ms-fullscreen iframe,
.player-wrapper.fake-fullscreen iframe {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 16 / 9;
}

body.fake-fullscreen-active {
    overflow: hidden;
}

.fullscreen-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(0,0,0,.65);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s ease, transform .15s ease;
}
.fullscreen-btn:hover,
.fullscreen-btn:active {
    background: rgba(60,179,113,.85);
    transform: scale(1.08);
}

.epg-card {
    margin-top: 20px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.progress {
    height: 10px;
    background: #2d2d2d;
    border-radius: 20px;
    overflow: hidden;
    margin: 12px 0;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3cb371, #f1c40f);
    transition: width 0.5s ease;
}
.program-item {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.program-item:last-child { border-bottom: none; }
h2, h3 { margin: 5px 0; }
h2 {
    color: rgb(60, 179, 113);
    font-size: 22px;
    margin-top: 15px;
    margin-bottom: 15px;
}
h2:first-of-type {
    margin-top: 0;
}

.header-logo {
    display: flex;
    justify-content: center;
    padding: 20px 15px;
}

.header-logo img {
    display: block;
    max-width: 550px;
    width: 100%;
    height: auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    padding: 20px 15px;
}

.footer-logo img {
    display: block;
    max-width: 225px;
    width: 100%;
    height: auto;
}

.footer-partner-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0px;
    margin: 20px 0;
}

.partner-title {
    font-family: sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a0a0a0; 
    text-align: center;
}

/* Celulares */
@media (max-width: 480px) {
    .container { padding: 10px; }
    
    .header-logo img { 
        max-width: 300px; 
        width: 100%;
        height: auto;
        display: block;
    } 
    
    .header-logo {
        display: flex;
        justify-content: center;
        padding: 20px 20px 0;
        margin-bottom: 10px;
    }

    .footer-logo img {
        max-width: 120px; 
        width: 100%;
        height: auto;
        display: block;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
        padding: 20px 20px 0;
    }

    .player-wrapper { border-radius: 12px; padding-bottom: 56.25%; }
    .unmute-btn { font-size: 13px; padding: 10px 18px; gap: 8px; }
    .fullscreen-btn { width: 32px; height: 32px; bottom: 10px; right: 10px; }
    .epg-card { margin-top: 12px; padding: 15px; border-radius: 12px; }
    h2 { font-size: 16px; }
    h3 { font-size: 18px; line-height: 1.3; }
    #currentTime, #remaining, .program-item { font-size: 13px; }
    .progress { height: 8px; }
}