:root{
--primary:#ff3d00;
--secondary:#101828;
--accent:#00d4ff;
--bg:#050816;
--surface:#0c1222;
--text:#f8fafc;
--muted:#94a3b8;
--menu:#0b1120;
--footer:#060b16;
--radius:20px;
--container:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
margin:0;
font-family:Arial,Helvetica,sans-serif;
background:linear-gradient(180deg,var(--bg),#091226 60%,#04070f);
color:var(--text)
}

a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.container{
width:min(calc(100% - 32px),var(--container));
margin:0 auto
}

.section{padding:28px 0}

.card{
background:rgba(12,18,34,.92);
border:1px solid rgba(255,255,255,.08);
border-radius:var(--radius);
box-shadow:0 18px 40px rgba(0,0,0,.3)
}

/* ===== PLAYER TOPO ===== */
.top-radio{
position:static;
background:rgba(5,8,22,.94);
backdrop-filter:blur(12px);
border-bottom:1px solid rgba(255,255,255,.08)
}

.top-radio-inner{
display:flex;
align-items:center;
justify-content:space-between;
gap:18px;
padding:12px 0
}

.radio-brand{
display:flex;
align-items:center;
gap:12px
}

.radio-brand img{
width:58px;
height:58px;
border-radius:14px;
object-fit:cover;
background:#fff
}

.radio-meta h1{
font-size:18px;
margin:0
}

.radio-meta p{
margin:4px 0 0;
color:var(--muted);
font-size:13px
}

.radio-controls{
display:flex;
align-items:center;
gap:10px;
flex-wrap:wrap
}

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:8px;
padding:12px 18px;
border-radius:14px;
background:linear-gradient(135deg,var(--primary),#ff7a00);
color:#fff;
font-weight:700;
border:none;
cursor:pointer
}

.btn-outline{
background:transparent;
border:1px solid rgba(255,255,255,.18)
}

/* ===== MENU ===== */
.nav{
background:var(--menu);
position:static;
border-bottom:1px solid rgba(255,255,255,.08)
}

.nav-inner{
display:flex;
align-items:center;
justify-content:space-between;
padding:14px 0;
gap:20px
}

.logo-wrap{
display:flex;
align-items:center;
gap:12px
}

.logo-wrap img{
width:52px;
height:52px;
border-radius:14px;
object-fit:cover;
background:#fff
}

.logo-wrap span{
font-weight:800;
font-size:20px
}

.menu{
display:flex;
align-items:center;
gap:18px;
flex-wrap:wrap
}

.menu a{
padding:10px 14px;
border-radius:12px;
color:#dbe4f0
}

.menu a:hover,
.menu a.active{
background:rgba(255,255,255,.08)
}

.menu-toggle{
display:none
}

/* ===== TV E PROGRAMAÇÃO ===== */
.hero-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:18px
}

.tv-box,
.schedule-box{
padding:18px
}

.tv-frame{
aspect-ratio:16/9;
background:#000;
border-radius:18px;
overflow:hidden
}

.tv-frame iframe,
.tv-frame video{
width:100%;
height:100%;
border:0
}

.schedule-list{
display:grid;
gap:12px;
max-height:430px;
overflow:auto
}

.schedule-item{
padding:14px;
border-radius:14px;
background:rgba(255,255,255,.04);
display:grid;
grid-template-columns:76px 1fr;
gap:12px
}

.schedule-item time{
font-weight:800;
color:var(--accent)
}

/* ===== SLIDER ===== */
.slider{
position:relative;
overflow:hidden;
border-radius:22px
}

.slides-track{
display:flex;
transition:transform .6s ease
}

.slide{
min-width:100%;
position:relative;
background:#111;
aspect-ratio:21/8
}

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

.slide-overlay{
position:absolute;
inset:0;
background:linear-gradient(90deg,rgba(0,0,0,.6),rgba(0,0,0,.15));
display:flex;
align-items:end;
padding:26px
}

.slide-content h2{
margin:0 0 8px;
font-size:32px
}

.slide-content p{
margin:0;
color:#e2e8f0;
max-width:600px
}

.dots{
display:flex;
gap:8px;
position:absolute;
right:18px;
bottom:16px
}

.dot{
width:10px;
height:10px;
border-radius:50%;
background:rgba(255,255,255,.4);
cursor:pointer
}

.dot.active{
background:#fff
}

/* ===== ANÚNCIOS ===== */
.marquee-wrap{
overflow:hidden;
padding:14px
}

.marquee{
display:flex;
gap:16px;
min-width:max-content;
animation:scrollX 25s linear infinite
}

.marquee:hover{
animation-play-state:paused
}

.ad-item{
width:260px;
height:120px;
border-radius:16px;
overflow:hidden;
background:rgba(255,255,255,.06);
border:1px solid rgba(255,255,255,.08);
position:relative
}

.ad-item img{
width:100%;
height:100%;
object-fit:cover
}

.ad-item span{
position:absolute;
left:10px;
bottom:10px;
background:rgba(0,0,0,.6);
padding:6px 10px;
border-radius:10px;
font-size:12px
}

@keyframes scrollX{
from{transform:translateX(0)}
to{transform:translateX(-50%)}
}

/* ===== APP / ENQUETE ===== */
.app-grid{
display:grid;
grid-template-columns:1.2fr .8fr;
gap:18px
}

.app-box,
.poll-box,
.news-card,
.video-card,
.footer-box{
padding:22px
}

.app-grid-inner{
display:grid;
grid-template-columns:1fr 220px;
gap:18px;
align-items:center
}

.qr-box{
padding:14px;
background:rgba(255,255,255,.04);
border-radius:18px;
text-align:center
}

.qr-box img{
width:100%;
aspect-ratio:1/1;
object-fit:contain;
border-radius:12px;
background:#fff
}

.poll-options{
display:grid;
gap:10px;
margin-top:14px
}

.poll-options button{
padding:12px;
border-radius:14px;
border:none;
background:rgba(255,255,255,.08);
color:#fff;
cursor:pointer;
text-align:left
}

/* ===== NOTÍCIAS ===== */
.news-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:18px
}

.news-thumb{
aspect-ratio:16/9;
border-radius:16px;
overflow:hidden;
background:#111
}

.news-thumb img{
width:100%;
height:100%;
object-fit:cover
}

.news-card h3{
margin:14px 0 10px
}

.muted{
color:var(--muted)
}

.share-row{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-top:14px
}

.share-btn{
padding:10px 14px;
border-radius:12px;
background:rgba(255,255,255,.08);
font-size:14px
}

/* ===== VÍDEOS ===== */
.video-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:18px
}

.video-thumb{
aspect-ratio:16/9;
border-radius:18px;
overflow:hidden;
position:relative;
background:#111
}

.video-thumb img{
width:100%;
height:100%;
object-fit:cover
}

.video-thumb::after{
content:'▶';
position:absolute;
inset:auto auto 14px 14px;
background:rgba(0,0,0,.7);
width:54px;
height:54px;
border-radius:50%;
display:grid;
place-items:center;
font-size:22px
}

/* ===== RODAPÉ ===== */
.footer{
background:var(--footer);
padding:34px 0;
margin-top:24px;
border-top:1px solid rgba(255,255,255,.08)
}

.footer-box{
text-align:center
}

.socials{
display:flex;
justify-content:center;
gap:14px;
flex-wrap:wrap;
margin-top:16px
}

.socials a{
width:44px;
height:44px;
border-radius:50%;
display:grid;
place-items:center;
background:rgba(255,255,255,.08)
}

/* ===== PÁGINAS INTERNAS ===== */
.page-content{
padding:30px 0
}

.article{
padding:24px
}

.article img{
margin:18px 0;
border-radius:18px
}

.page-title{
margin:0 0 16px
}

/* ===== MODAL ===== */
.modal{
position:fixed;
inset:0;
background:rgba(0,0,0,.8);
display:none;
align-items:center;
justify-content:center;
padding:20px;
z-index:5000
}

.modal.active{
display:flex
}

.modal-box{
width:min(900px,100%);
background:#000;
border-radius:20px;
overflow:hidden
}

.modal-head{
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 14px;
background:#08101f;
color:#fff
}

.modal-body{
aspect-ratio:16/9
}

.modal-body iframe{
width:100%;
height:100%;
border:0
}

/* ===== RESPONSIVO ===== */
@media (max-width: 980px){
.hero-grid,
.app-grid,
.news-grid,
.video-grid,
.app-grid-inner{
grid-template-columns:1fr
}

.menu{
display:none;
width:100%;
padding-top:12px
}

.menu.open{
display:flex
}

.menu-toggle{
display:inline-flex
}

.nav-inner{
flex-wrap:wrap
}

.slide{
aspect-ratio:16/10
}

.slide-content h2{
font-size:24px
}
}

@media (max-width: 640px){
.top-radio-inner{
flex-direction:column;
align-items:flex-start
}

.radio-controls{
width:100%
}

.btn{
width:100%
}

.schedule-item{
grid-template-columns:1fr
}

.logo-wrap span{
font-size:18px
}

.container{
width:min(calc(100% - 20px),var(--container))
}
}