@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    color: var(--corTexto);
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    background-image: url('../fundo.jpg');
    background-size: cover;
    background-position: center center;
}

.sg-mascara {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
    background: rgba(15, 5, 25, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sg-conteudo {
    max-width: 2000px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sg-cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 50px;
    height: auto;
    width: 100%;
}

.sg-cabecalho1 {
    display: flex;
    align-items: center;
}

.sg-logo {
    max-width: 220px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}
.sg-logo:hover {
    transform: scale(1.05);
}

.sg-noar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 15px 50px 15px 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.sg-noar1 {
    display: none;
}

.sg-noar2 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--corTitulo);
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 20px var(--corTitulo);
}

.sg-noar3 {
    margin-left: 20px;
}

.sg-noar3 h4 {
    font-size: 16px;
    color: var(--corTitulo);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.sg-noar3 h2 {
    font-size: 24px;
    color: #fff;
    font-weight: 500;
    margin-top: 4px;
}

.sg-noar3 h3 {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

/* Bottom Banners Area */
.sg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sg-bottom3 {
    width: calc(100% - 400px); /* Leave space for player */
    padding: 0 50px 30px 50px;
}

.sg-pubmeioroll {
    display: flex;
}

.sg-pubmeio1 {
    margin: 0 10px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.sg-pubmeio1:hover {
    transform: translateY(-8px);
}

.sg-pubmeio1 img {
    width: 100%;
    display: block;
}

/* Schedule Area */
.sg-bottom1 {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 50px;
    display: flex;
    align-items: center;
}

.sg-bottom1 h4 {
    color: var(--corTitulo);
    font-size: 1.2rem;
    margin-right: 40px;
    font-weight: 700;
}

.sg-programas {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

.sg-programas1 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--corTitulo);
    background-size: cover;
    background-position: center;
}

.sg-programas2 {
    margin-left: 15px;
}

.sg-programas2 h3 {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
}

.sg-programas2 h4 {
    font-size: 14px;
    color: var(--corTitulo);
    font-weight: 700;
    text-transform: uppercase;
}

.sg-programas2 h2 {
    font-size: 13px;
    color: #fff;
}

.sg-bottom2 {
    background: #000;
    width: 100%;
    padding: 12px 50px;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    text-align: left;
}

/* Floating Player */
.sg-player {
    position: fixed;
    right: 50px;
    bottom: 50px;
    width: 320px;
    background: rgba(20, 10, 30, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    padding: 35px 25px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sg-player1, .sg-player2 { display: none; }

.sg-player-icones {
    width: 100%;
}

.sg-player-controles {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.play {
    font-size: 65px !important;
    color: var(--corTitulo) !important;
    cursor: pointer;
    margin-bottom: 35px !important;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 20px var(--corTitulo));
}

.play:hover {
    transform: scale(1.1);
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    background: rgba(0,0,0,0.4);
    padding: 12px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.05);
}

.volume-icon {
    margin-right: 15px;
    cursor: pointer;
}

.volume-icon i {
    color: #fff;
    font-size: 18px;
}

.volume-slide {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--corTitulo);
    margin-top: -6.5px;
    cursor: pointer;
    box-shadow: 0 0 12px var(--corTitulo);
}

/* Social Icons */
.sg-player-sociais {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.sociais {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sociais:hover {
    background: rgba(255,255,255,0.2) !important;
    border-color: var(--corTitulo);
    color: var(--corTitulo) !important;
    transform: translateY(-4px);
}

/* Side Action Icons -> Converted to Left Floating Bar */
.sg-bottom-icones {
    position: fixed;
    left: 50px;
    bottom: 50%;
    transform: translateY(50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.sg-bottom-icones i {
    width: 55px;
    height: 55px;
    background: rgba(20, 10, 30, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--corTitulo);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.sg-bottom-icones i:hover {
    background: var(--corTitulo);
    color: #fff;
    transform: scale(1.1) translateX(5px);
}

/* Loader */
.sg-carrega-load {
    width: 65px;
    height: 65px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--corTitulo);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 35px auto;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Modals */
.sg-modalfundo {
    position: fixed;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    z-index: 2000;
}

.sg-modalfundo .playertv {
    max-width: 800px;
    width: 98%;
    margin: 5% auto;
    position: relative;
    text-align: center;
}

.bt-fechar {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bt-fechar:hover {
    background: #ff3366;
    border-color: #ff3366;
    transform: rotate(90deg);
}

/* Responsive */
@media(max-width: 1024px) {
    .sg-cabecalho { padding: 20px; flex-direction: column; gap: 20px; }
    .sg-cabecalho1 { width: 100%; justify-content: center; }
    .sg-bottom3 { width: 100%; padding: 0 20px 20px 20px; }
    
    .sg-player {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 30px 30px 0 0;
        padding: 25px;
        flex-direction: row;
        justify-content: space-between;
        border-bottom: none;
        border-left: none;
        border-right: none;
    }
    
    .sg-player-icones { width: auto; }
    .sg-player-controles { flex-direction: row; align-items: center; gap: 25px; }
    .play { margin-bottom: 0 !important; font-size: 55px !important; }
    
    .volume-control { width: 150px; margin-bottom: 0; }
    
    .sg-bottom-icones {
        bottom: 120px;
        left: 20px;
        top: auto;
        transform: none;
    }
    
    .sg-bottom1 { display: none; }
}

@media(max-width: 600px) {
    .sg-noar { width: 100%; padding: 15px; flex-direction: column; text-align: center;}
    .sg-noar2 { width: 90px; height: 90px; }
    .sg-noar3 { margin-left: 0; margin-top: 15px;}
    .sg-noar3 h2 { font-size: 18px; }
    .sg-noar3 h4 { font-size: 14px; }
    .sg-player { flex-direction: column; padding: 20px; }
    .volume-control { width: 100%; margin: 20px 0; }
    .sg-bottom-icones {
        flex-direction: row;
        bottom: 240px;
        left: 50%;
        transform: translateX(-50%);
    }
    .sg-pubmeioroll { margin-bottom: 80px; }
}
