:root {
    --blue-r: #00a2ff;
    --orange-tr: #ff8c00;
    --red-alert: #ff4b4b;
    --bg-main: #050505;
    --bg-card: rgba(10, 10, 10, 0.85);
    --border-rgba: rgba(255, 255, 255, 0.07);
    --text-primary: #ffffff;
    --text-secondary: #b5b5b5;
    --font-cyber: 'Orbitron', sans-serif;
    --font-base: 'Rajdhani', sans-serif;
}

/* RESET E PADRÕES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-base);
    font-size: 1.2rem;
    overflow-x: hidden;
    letter-spacing: 0.5px;
}

/* BACKGROUND COM GRADIENTES LATERAIS FIXOS */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(0, 162, 255, 0.08) 0%, transparent 35%, transparent 65%, rgba(255, 140, 0, 0.08) 100%),
        radial-gradient(circle at top, rgba(20, 20, 20, 0.4), #000 80%);
    z-index: -2;
    pointer-events: none;
}

/* LOADING SCREEN */
#loading-screen {
    position: fixed;
    inset: 0;
    background-color: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: var(--orange-tr);
    border-bottom-color: var(--blue-ct);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* HEADER & NAVBAR */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background: rgba(4, 4, 4, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-rgba);
    z-index: 9999;
    display: flex;
    align-items: center;
}
.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    height: 55px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
    transition: transform 0.3s;
}
.nav-logo:hover { transform: scale(1.05); }

.main-menu ul {
    display: flex;
    gap: 35px;
    list-style: none;
}
.main-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.2s, text-shadow 0.2s;
    position: relative;
}
.main-menu a:hover, .main-menu a.active {
    color: var(--blue-ct);
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.6);
}

.btn-nav-cupom {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(90deg, rgba(0,162,255,0.15), rgba(255,140,0,0.15));
    border: 1px solid rgba(255,255,255,0.15);
    padding: 10px 24px;
    border-radius: 8px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-nav-cupom:hover {
    border-color: var(--orange-tr);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
    transform: translateY(-2px);
}
.highlight { color: var(--orange-tr); font-weight: 800; }

/* HERO SECTION DE IMPACTO */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 90px;
}
#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Brilhos Radiais de fundo na Hero */
.energy-glow-left, .energy-glow-right {
    position: absolute;
    top: 50%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    pointer-events: none;
    transform: translateY(-50%);
}
.energy-glow-left { left: -10%; background: var(--blue-ct); }
.energy-glow-right { right: -10%; background: var(--orange-tr); }

/* Agentes Laterais */
.hero-agent {
    position: absolute;
    bottom: 0;
    height: 85vh;
    object-fit: contain;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.1s ease-out;
}
.ct-agent { left: 0; filter: drop-shadow(0 0 30px rgba(0,162,255,0.4)); }
.tr-agent { right: 0; filter: drop-shadow(0 0 30px rgba(255,140,0,0.4)); }

/* Conteúdo centralizado */
.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}
.hero-logo {
    width: 380px;
    max-width: 80%;
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.15));
}
.hero-badge {
    background: linear-gradient(90deg, var(--blue-ct), var(--orange-tr));
    display: inline-block;
    padding: 4px 18px;
    border-radius: 4px;
    font-family: var(--font-cyber);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 15px;
}
.hero h1 {
    font-family: var(--font-cyber);
    font-size: 2.8rem;
    font-weight: 800;
    margin-top: 15px;
    letter-spacing: 1px;
}
.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.text-blue { color: var(--blue-ct); }
.text-orange { color: var(--orange-tr); }

.btn-hero-action {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 45px;
    background: transparent;
    border: 2px solid var(--orange-tr);
    color: #fff;
    font-family: var(--font-cyber);
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255,140,0,0.2);
    transition: 0.3s;
}
.btn-hero-action:hover {
    background: var(--orange-tr);
    color: #000;
    box-shadow: 0 0 35px rgba(255,140,0,0.6);
    transform: translateY(-3px);
}
.orange-text { font-weight: 800; }

/* Indicador de Scroll */
.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}
.scroll-indicator span {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    display: block;
    position: relative;
}
.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollAnimation 2s infinite;
}
@keyframes scrollAnimation {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* EMBALAGEM DE CONTEÚDO (ALINHAMENTO EM BLOCOS) */
.content-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.block-section {
    padding: 60px 0;
}

/* Divisores Estilizados dos Blocos */
.section-divider {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-rgba);
    line-height: 0.1em;
    margin: 20px 0 45px;
}
.section-divider span {
    background: var(--bg-main);
    padding: 0 25px;
    font-family: var(--font-cyber);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

/* GRIDS DE PARCEIROS */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border-rgba);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.partner-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}
.partner-header h3 {
    font-family: var(--font-cyber);
    font-size: 1.4rem;
}
.p-icon { font-size: 1.8rem; }
.icon-blue { color: var(--blue-ct); }
.icon-orange { color: var(--orange-tr); }
.icon-red { color: var(--red-alert); }

.partner-desc { color: #fff; font-size: 1.2rem; margin-bottom: 5px; }
.partner-sub { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }

.btn-partner {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    transition: 0.2s;
}
.blue-bg { background: rgba(0, 162, 255, 0.15); border: 1px solid var(--blue-ct); color: var(--blue-ct); }
.blue-bg:hover { background: var(--blue-ct); color: #000; box-shadow: 0 0 15px rgba(0, 162, 255, 0.4); }

.orange-bg { background: rgba(255, 140, 0, 0.15); border: 1px solid var(--orange-tr); color: var(--orange-tr); }
.orange-bg:hover { background: var(--orange-tr); color: #000; box-shadow: 0 0 15px rgba(255, 140, 0, 0.4); }

.gray-bg { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.gray-bg:hover { background: rgba(255,255,255,0.15); }

/* GLOWS ESPECÍFICOS COPIADOS DO MODELO */
.card-glow-blue { border-color: rgba(0, 162, 255, 0.4); box-shadow: inset 0 0 15px rgba(0,162,255,0.1); }
.card-glow-blue:hover { transform: translateY(-5px); border-color: var(--blue-ct); box-shadow: 0 0 20px rgba(0, 162, 255, 0.25); }

.card-glow-orange { border-color: rgba(255, 140, 0, 0.4); box-shadow: inset 0 0 15px rgba(255,140,0,0.1); }
.card-glow-orange:hover { transform: translateY(-5px); border-color: var(--orange-tr); box-shadow: 0 0 20px rgba(255, 140, 0, 0.25); }

.center-btn-box { text-align: center; margin-top: 35px; }
.btn-outline-glow {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid var(--orange-tr);
    color: var(--orange-tr);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: 0.3s;
}
.btn-outline-glow:hover {
    background: var(--orange-tr);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

/* CARD DE ACESSOS RÁPIDOS */
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.quick-card {
    background: var(--bg-card);
    border: 1px solid var(--border-rgba);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, border-color 0.2s;
}
.quick-card i { font-size: 2.2rem; }
.quick-card h4 { font-family: var(--font-cyber); font-size: 1.2rem; }
.quick-card p { color: var(--text-secondary); font-size: 0.95rem; margin-top: 3px; }
.quick-card:hover { transform: scale(1.02); border-color: rgba(255,255,255,0.2); }

/* AO VIVO / LIVES (ROBUSTO IGUAL IMAGEM) */
.live-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: var(--bg-card);
    border: 1px solid rgba(0, 162, 255, 0.2);
    box-shadow: inset 0 0 20px rgba(0,162,255,0.05);
    border-radius: 16px;
    overflow: hidden;
}
.live-info { padding: 45px; display: flex; flex-direction: column; justify-content: center; }
.live-badge-status {
    color: var(--orange-tr);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--red-alert);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red-alert);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 1; }
}
.live-info h3 { font-family: var(--font-cyber); font-size: 2.2rem; margin-bottom: 15px; }
.live-info p { color: var(--text-secondary); line-height: 1.6; margin-bottom: 25px; }

.live-platforms-btns { display: flex; gap: 15px; margin-bottom: 25px; }
.platform-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}
.twitch-btn { background: #6441a5; border-bottom: 3px solid #4b2c85; }
.kick-btn { background: #53fc18; color: #000; border-bottom: 3px solid #3ca310; }
.youtube-btn { background: #e1306c; border-bottom: 3px solid #b02355; color: #fff; }
.platform-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-assistir {
    display: block;
    text-align: center;
    padding: 14px;
    background: transparent;
    border: 1px solid var(--orange-tr);
    color: var(--orange-tr);
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}
.btn-assistir:hover { background: var(--orange-tr); color: #000; }
.live-banner-preview img { width: 100%; height: 100%; object-fit: cover; }

/* REDES SOCIAIS BARRA COMPACTA EM GRID */
.social-links-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}
.social-bar-item {
    background: rgba(15,15,15,0.9);
    border: 1px solid var(--border-rgba);
    padding: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
    transition: 0.2s;
}
.social-bar-item i { font-size: 1.8rem; }
.social-bar-item div { display: flex; flex-direction: column; }
.social-bar-item span { font-weight: 700; font-size: 1.05rem; }
.social-bar-item small { color: var(--text-secondary); font-size: 0.8rem; margin-top: 1px; }

/* GLOW REDES */
.btn-glow-red:hover { border-color: var(--red-alert); box-shadow: 0 0 15px rgba(255, 75, 75, 0.3); }
.btn-glow-purple:hover { border-color: #9146ff; box-shadow: 0 0 15px rgba(145, 70, 255, 0.3); }
.btn-glow-green:hover { border-color: #53fc18; box-shadow: 0 0 15px rgba(83, 252, 24, 0.2); }
.btn-glow-insta:hover { border-color: #e1306c; box-shadow: 0 0 15px rgba(225, 48, 108, 0.3); }
.btn-glow-x:hover { border-color: #fff; box-shadow: 0 0 15px rgba(255,255,255,0.2); }
.btn-glow-discord:hover { border-color: #5865f2; box-shadow: 0 0 15px rgba(88, 101, 242, 0.3); }

.red-color { color: var(--red-alert); }
.purple-color { color: #9146ff; }
.green-color { color: #53fc18; }
.insta-color { color: #e1306c; }
.discord-color { color: #5865f2; }

/* MEGA GRID DE MÍDIAS (VÍDEOS, SHORTS E LIVES RECENTES) */
.media-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}
.column-title {
    font-family: var(--font-cyber);
    font-size: 1.3rem;
    padding-bottom: 12px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}
.title-blue { border-bottom: 2px solid var(--blue-ct); }
.title-orange { border-bottom: 2px solid var(--orange-tr); }

.media-list { display: flex; flex-direction: column; gap: 24px; }
.media-item h5 { font-size: 1.1rem; margin-top: 12px; font-weight: 600; line-height: 1.4; }
.media-item p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }

.thumb-box {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    border-radius: 10px;
    overflow: hidden;
    background-color: #000;
    border: 1px solid var(--border-rgba);
}
.thumb-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Formato Vertical para Shorts */
.thumb-box.format-shorts {
    padding-bottom: 120%; /* Proporção Vertical */
    max-width: 240px;
    margin: 0 auto;
}

.btn-media-more {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 30px;
}
.view-blue { background: rgba(0,162,255,0.08); border: 1px solid var(--blue-ct); color: var(--blue-ct); }
.view-blue:hover { background: var(--blue-ct); color: #000; }
.view-orange { background: rgba(255,140,0,0.08); border: 1px solid var(--orange-tr); color: var(--orange-tr); }
.view-orange:hover { background: var(--orange-tr); color: #000; }

/* SEÇÃO CENTRAL DE CAPTAÇÃO / ÁREA DO CUPOM (MUITO FOCO) */
.cta-box-container { margin-bottom: 40px; }
.cta-inner-card {
    position: relative;
    background: linear-gradient(135deg, rgba(0,162,255,0.1) 0%, rgba(255,140,0,0.1) 100%);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.cta-inner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, #000 150%);
}
.star-badge {
    background: rgba(255,140,0,0.2);
    border: 1px solid var(--orange-tr);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--orange-tr);
    flex-shrink: 0;
    z-index: 2;
}
.cta-info { flex-grow: 1; z-index: 2; }
.cta-info h2 { font-family: var(--font-cyber); font-size: 1.8rem; margin-bottom: 8px; text-align: left; }
.cta-info p { color: var(--text-secondary); font-size: 1.1rem; }

.cta-actions-btns { display: flex; flex-direction: column; gap: 12px; z-index: 2; min-width: 260px; }
.btn-copy-action {
    background: linear-gradient(90deg, #ff8c00, #ff5500);
    border: none;
    color: #000;
    padding: 16px 24px;
    border-radius: 10px;
    font-family: var(--font-base);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}
.btn-copy-action:hover { transform: scale(1.03); filter: brightness(1.1); box-shadow: 0 0 20px rgba(255,140,0,0.4); }
.btn-copy-action.setup-king {
    background: linear-gradient(90deg, #00a2ff, #0066ff);
    color: #fff;
}
.btn-copy-action.setup-king:hover { box-shadow: 0 0 20px rgba(0,162,255,0.4); }

/* FOOTER */
footer {
    background: #020202;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-rgba);
}
.footer-content p { color: var(--text-secondary); font-size: 1.1rem; }
.footer-content small { color: #555; display: block; margin-top: 10px; font-size: 0.9rem; }

/* ACESSIBILIDADE E RESPONSIVIDADE COMPATÍVEL */
@media (max-width: 1100px) {
    .media-mega-grid { grid-template-columns: 1fr; }
    .hero-agent { height: 60vh; }
}

@media (max-width: 900px) {
    .main-menu { display: none; } /* Esconde o menu em telas pequenas para não quebrar */
    .hero-agent { opacity: 0.15; } /* Deixa os bonecos discretos no fundo para focar no texto */
    .live-container { grid-template-columns: 1fr; }
    .live-banner-preview { order: -1; }
    .cta-inner-card { flex-direction: column; text-align: center; }
    .cta-info h2 { text-align: center; }
}

/* POP-UP FLUTUANTE DE LIVE (CANTO DIREITO) */
#live-popup-stream {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 320px;
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--blue-ct);
    box-shadow: 0 10px 30px rgba(0, 162, 255, 0.3), inset 0 0 15px rgba(0, 162, 255, 0.1);
    border-radius: 14px;
    padding: 15px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(15px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    transform: translateY(0);
    opacity: 1;
}

/* Classe utilitária para quando estiver oculto */
#live-popup-stream.hidden-popup {
    transform: translateY(150%) scale(0.8);
    opacity: 0;
    pointer-events: none;
}

.close-popup-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--red-alert);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 75, 75, 0.4);
    transition: transform 0.2s;
    z-index: 10;
}
.close-popup-btn:hover {
    transform: scale(1.1) rotate(90deg);
}

.popup-badge {
    font-family: var(--font-cyber);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--blue-ct);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
}
.popup-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--red-alert);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--red-alert);
    animation: pulse 1.5s infinite;
}

.popup-video-container {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.popup-footer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.popup-join-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--blue-ct);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0, 162, 255, 0.3);
    transition: 0.2s;
}
.popup-join-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 162, 255, 0.5);
}

/* ========================================= */
/* ESTILOS DO SORTEIO EXCLUSIVO (HERO BOX)   */
/* ========================================= */
.hero-exclusive-giveaway {
    margin-top: 35px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid var(--orange-tr);
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
    max-width: 480px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.15);
    z-index: 20;
    position: relative;
}
.hero-exclusive-giveaway h3 { font-family: var(--font-cyber); font-size: 1.3rem; margin: 8px 0; color: #fff; }
.hero-exclusive-giveaway p { font-size: 1rem !important; color: var(--text-secondary); }
.giveaway-pulse-badge { background: var(--red-alert); font-size: 0.75rem; font-family: var(--font-cyber); font-weight: 800; padding: 3px 10px; border-radius: 4px; display: inline-block; animation: pulse 1.5s infinite; }
.btn-giveaway-fast { display: inline-block; margin-top: 10px; color: var(--orange-tr); font-weight: 700; text-decoration: none; font-size: 1rem; transition: 0.2s; }
.btn-giveaway-fast:hover { text-shadow: 0 0 10px var(--orange-tr); transform: translateX(3px); }

/* ========================================= */
/* EMBALAGEM E CARROSSEL DE SORTEIOS         */
/* ========================================= */
.hero-giveaway-wrapper {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 20;
    position: relative;
    max-width: 480px;
    width: 100%;
}

.hero-exclusive-giveaway {
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid var(--orange-tr);
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.15);
}
.hero-exclusive-giveaway h3 { font-family: var(--font-cyber); font-size: 1.3rem; margin: 8px 0; color: #fff; }
.hero-exclusive-giveaway p { font-size: 1rem !important; color: var(--text-secondary); }
.giveaway-pulse-badge { background: var(--red-alert); font-size: 0.75rem; font-family: var(--font-cyber); font-weight: 800; padding: 3px 10px; border-radius: 4px; display: inline-block; animation: pulse 1.5s infinite; }
.btn-giveaway-fast { display: inline-block; margin-top: 10px; color: var(--orange-tr); font-weight: 700; text-decoration: none; font-size: 1rem; transition: 0.2s; }
.btn-giveaway-fast:hover { text-shadow: 0 0 10px var(--orange-tr); transform: translateX(3px); }

/* DESIGN INTERNO DO CARROSSEL */
.past-giveaways-carousel {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid var(--border-rgba);
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    position: relative;
}
.past-giveaways-carousel h4 {
    font-family: var(--font-cyber);
    font-size: 0.95rem;
    color: var(--blue-ct);
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(0,162,255,0.3);
}
.carousel-viewport {
    width: 100%;
    overflow: hidden; /* Esconde os itens fora da caixa */
    border-radius: 8px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.03);
}
.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}
.carousel-item {
    min-width: 100%; /* Cada item ocupa exatamente a largura do contêiner */
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.carousel-item img {
    height: 85px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.05));
    transition: transform 0.3s;
}
.carousel-item:hover img {
    transform: scale(1.08);
}
.carousel-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 700;
}

/* SETAS DO CARROSSEL */
.carousel-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 5px;
    right: 5px;
    transform: translateY(-50%);
    pointer-events: none; /* Permite clicar no que tá embaixo se necessário */
}
.carousel-btn {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--border-rgba);
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    pointer-events: auto; /* Devolve o clique para os botões */
    transition: 0.2s;
}
.carousel-btn:hover {
    background: var(--blue-ct);
    color: #000;
    box-shadow: 0 0 10px rgba(0,162,255,0.4);
    border-color: var(--blue-ct);
}

/* ========================================= */
/* ESTILIZAÇÃO COMPLETA DA SEÇÃO DE SORTEIOS */
/* ========================================= */
.sorteios-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(5,5,5,0) 0%, rgba(10,10,10,0.9) 50%, rgba(5,5,5,0) 100%);
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.sorteios-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sorteios-title {
    font-family: Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Caixa de Texto Explicativa (Cupom) */
.sorteios-instruction-box {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    margin-bottom: 50px;
    max-width: 850px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.sorteios-instruction-box p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 25px;
}
.highlight-cupom {
    color: #ff8c00;
    font-weight: 900;
    background: rgba(255, 140, 0, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px dashed #ff8c00;
}

/* Botões de Ação */
.instruction-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-copy-instruction {
    background: #ff8c00;
    color: #000;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
}
.btn-copy-instruction:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
}
.btn-access-platform {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-access-platform:hover {
    background: #00a2ff;
    color: #000;
    border-color: #00a2ff;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 162, 255, 0.4);
}

/* Grid Dividido Lateral */
.sorteios-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}
@media (max-width: 800px) {
    .sorteios-split-grid { grid-template-columns: 1fr; }
}

.sorteios-column {
    background: rgba(15, 15, 15, 0.6);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    backdrop-filter: blur(10px);
}
.sorteios-column h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.column-subtitle {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 25px;
}

/* Customização de Cores dos Blocos (Laranja Ativo / Azul Terminado) */
.active-box { border: 1px solid rgba(255, 140, 0, 0.15); box-shadow: inset 0 0 20px rgba(255, 140, 0, 0.02); }
.active-box h3 { color: #ff8c00; }
.finished-box { border: 1px solid rgba(0, 162, 255, 0.15); box-shadow: inset 0 0 20px rgba(0, 162, 255, 0.02); }
.finished-box h3 { color: #00a2ff; }

/* Efeito de bolinha piscando nos Ativos */
.dot-pulse-green {
    width: 10px;
    height: 10px;
    background: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff66;
    animation: pulse 1.5s infinite;
}

/* Lista de Itens Finalizados (Cards menores compactados) */
.finished-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.finished-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0,0,0,0.3);
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.02);
}
.finished-item-card img {
    height: 55px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.05));
}
.finished-info h4 { font-size: 1.05rem; color: #fff; margin-bottom: 2px; }
.finished-info p { font-size: 0.9rem; color: #aaa; }
.winner-tag { color: #00a2ff; font-weight: 700; }

/* CARROSSEL REAJUSTADO PARA A COLUNA */
.past-giveaways-carousel { width: 100%; position: relative; }
.carousel-viewport { width: 100%; overflow: hidden; border-radius: 10px; background: rgba(0,0,0,0.3); padding: 15px 0; }
.carousel-track { display: flex; transition: transform 0.4s ease; width: 100%; }
.carousel-item { min-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: relative; }
.item-badge-rarity { font-size: 0.75rem; font-weight: 900; padding: 2px 8px; border-radius: 4px; }
.rarity-cover { background: rgba(235, 75, 75, 0.15); color: #eb4b4b; border: 1px solid #eb4b4b; }
.rarity-classified { background: rgba(211, 44, 230, 0.15); color: #d32ce6; border: 1px solid #d32ce6; }
.carousel-item img { height: 110px; object-fit: contain; }
.item-name { font-size: 1rem; color: #fff; font-weight: 700; }

.carousel-controls { display: flex; justify-content: space-between; position: absolute; top: 50%; left: -10px; right: -10px; transform: translateY(-50%); pointer-events: none; }
.carousel-btn { background: #111; border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; pointer-events: auto; transition: 0.2s; }
.carousel-btn:hover { background: #ff8c00; color: #000; border-color: #ff8c00; }

/* Remove qualquer overlay escuro ou azul que cortava o topo da seção */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Certifique-se de que sua imagem de fundo não tem filtros lineares escuros no topo */
    background: url('img/bg-cs2.jpg') center center / cover no-repeat; 
}

/* Centraliza todo o conteúdo interno */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

/* Deixa o logo BHS maior e imponente no centro */
.hero-logo {
    width: 650px; /* Ajuste esse valor para o tamanho ideal que você deseja no centro */
    max-width: 90%; /* Garante que não vai quebrar em telas de celular */
    height: auto;
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.03);
}

/* Garante que o cabeçalho/menu fixo não jogue uma faixa azul por cima do BG */
header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* BACKGROUND ESTILIZADO COM O BANNER DE RAIOS (CT vs TR) */
.sorteios-section {
    padding: 90px 20px;
    /* BANNER DE RAIOS SUBSTITUINDO O DEGRADÊ PRETO */
    background: linear-gradient(180deg, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.9) 100%), 
                url('../img/banner-ct-tr-raios.png') center center / cover no-repeat fixed;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* Container da Imagem do Mosqueteiro */
.giveaway-banner-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    background: #000;
}
.giveaway-brand-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}
.giveaway-banner-wrapper:hover .giveaway-brand-img {
    transform: scale(1.03);
}

.btn-join-direct {
    display: block;
    text-align: center;
    background: #ff8c00;
    color: #000;
    padding: 12px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}
.btn-join-direct:hover {
    background: #fff;
    box-shadow: 0 0 15px #ff8c00;
}

/* ESTILIZAÇÃO DO BANNER HORIZONTAL NOS PARCEIROS */
.partner-featured-link {
    text-decoration: none;
    display: block;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}
.partner-banner-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    transition: transform 0.3s, border-color 0.3s;
}
.partner-horizontal-banner {
    width: 100%;
    height: auto;
    display: block;
}
.banner-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    text-align: center;
}
.banner-overlay-text span {
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.banner-overlay-text b {
    color: #ff8c00;
}

/* Efeito de Brilho ao passar o mouse no Parceiro */
.partner-banner-card:hover {
    transform: translateY(-4px);
    border-color: #00a2ff;
    box-shadow: 0 0 30px rgba(0, 162, 255, 0.25);
}

.partner-banner-link {
    display: block;
    width: 100%;
    height: 120px;
    background-size: contain; /* Ajusta a imagem sem distorcer */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a; /* Cor de fundo caso a imagem não carregue */
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

.video-container {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0; /* Remove espaço extra abaixo do vídeo */
}

.partner-video-banner {
    width: 100%;
    height: 120px; /* Mantém a altura dos banners que definimos */
    object-fit: cover; /* Recorta o vídeo para preencher o espaço sem esticar */
    pointer-events: none; /* Garante que o clique passe para o link pai */
}

.partner-img-banner {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
}

.video-container {
    display: block;
    line-height: 0;
}

/* Estilização Geral para a Grid de Parceiros */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Card base dos parceiros */
.partner-card {
    background: #0d0d0d;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #333;
    text-align: center;
    transition: all 0.3s ease;
}

/* Efeito de brilho para o PIRATESWAP (Vermelho) */
.card-glow-red {
    border: 1px solid rgba(255, 69, 58, 0.4);
    box-shadow: 0 0 20px rgba(255, 69, 58, 0.15);
}

.card-glow-red:hover {
    box-shadow: 0 0 30px rgba(255, 69, 58, 0.3);
}

/* Cor do ícone e destaque do PirateSwap */
.icon-red { color: #ff453a; }
.highlight-red { color: #ff453a; }

/* Botão do PirateSwap igual aos outros */
.red-bg {
    background: linear-gradient(135deg, #ff453a, #b32d26);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s;
}

.red-bg:hover {
    background: #ff6a61;
}

/* Garantia de que o botão tenha o mesmo tamanho dos demais */
.btn-partner {
    width: 100%;
    text-align: center;
    padding: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Efeito de brilho para o PIRATESWAP (Amarelo) */
.card-glow-yellow {
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.card-glow-yellow:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

/* Cor do ícone e destaque do PirateSwap */
.icon-yellow { color: #ffd700; }
.highlight-yellow { color: #ffd700; }

/* Botão do PirateSwap em Amarelo */
.yellow-bg {
    background: linear-gradient(135deg, #ffd700, #b8860b);
    color: #000; /* Texto preto para melhor leitura no amarelo */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s;
}

.yellow-bg:hover {
    background: #ffea00;
}

/* Botão de cópia amarelo (CTA) */
.setup-yellow {
    border: 1px solid #ffd700 !important;
    color: #ffd700 !important;
}

.setup-yellow:hover {
    background: #ffd700 !important;
    color: #000 !important;
}

/* Brilho Amarelo */
.card-glow-yellow {
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

/* Ícone Amarelo */
.icon-yellow { color: #ffd700; }

/* Texto Amarelo */
.highlight-yellow { color: #ffd700; }

/* Botão Amarelo */
.yellow-bg {
    background: linear-gradient(135deg, #ffd700, #b8860b);
    color: #000; /* Preto para contraste no botão */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
}
.yellow-bg:hover { background: #ffea00; color: #000; }

/* Botão de cópia amarelo (CTA) */
.setup-yellow {
    border: 1px solid #ffd700 !important;
    color: #ffd700 !important;
}

.setup-yellow:hover {
    background: #ffd700 !important;
    color: #000 !important;
}

.btn-copy-action .btn-text {
    display: block; /* Garante que o texto se comporte como bloco */
    line-height: 1.2; /* Ajusta o espaçamento entre as linhas */
    margin-bottom: 5px;
}

/* Opcional: aumenta um pouco a altura do botão se necessário */
.btn-copy-action {
    height: auto; 
    padding: 15px; 
}

/* ==========================================================================
   1. REGRAS GERAIS E FLUIDEZ (Base para qualquer tela)
   ========================================================================== */
:root {
    --orange-tr: #ff8c00;
    --blue-ct: #00a2ff;
    /* Usar rem facilita o escalonamento em TVs */
    font-size: 16px; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden; /* Evita barra de rolagem horizontal indesejada */
    background-color: #0b0c10;
    color: #fff;
}

/* Imagens, Vídeos e Iframes fluidos */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ajuste específico para os containers de vídeos do YouTube/Twitch mantendo proporção 16:9 */
.thumb-box, .short-viewport, .popup-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Proporção 16:9 */
}

.thumb-box iframe, .short-viewport iframe, .popup-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Otimização para Shorts (Proporção vertical 9:16) */
.short-viewport {
    padding-top: 177.77%; 
}

/* Containers principais com margens seguras nas laterais */
.content-wrapper, .nav-container, .sorteios-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Ocultar o botão de menu por padrão no PC/TV */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}


/* ==========================================================================
   2. MEDIA QUERY: DISPOSITIVOS MÓVEIS (Telas até 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    
    /* Menu de Navegação Vertical no Mobile */
    .nav-container {
        position: relative;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block; /* Mostra o botão hamburguer */
    }

    .main-menu {
        display: none; /* Oculta o menu padrão. Você pode alternar para 'flex' via JavaScript (classe .active) */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 12, 16, 0.95);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 2px solid var(--orange-tr);
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-actions {
        display: none; /* Esconde o botão de cupom do topo para poupar espaço (pode mantê-lo apenas no CTA do final) */
    }

    /* Hero Section (Início) */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        min-height: auto;
    }

    /* Esconder ou diminuir os Agentes do CS2 no mobile para não cobrirem o texto */
    .hero-agent {
        display: none; 
    }

    .hero-logo {
        max-width: 150px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    /* Grids transformados em coluna única (Sorteios, Parceiros, Redes, Vídeos) */
    .sorteios-split-grid,
    .partners-grid,
    .quick-access-grid,
    .social-links-bar-grid,
    .media-mega-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Ajuste da seção Ao Vivo */
    .live-container {
        display: flex;
        flex-direction: column-reverse; /* Banner em cima, texto e botões embaixo */
        gap: 20px;
    }

    .live-platforms-btns {
        flex-direction: column;
        width: 100%;
    }

    .platform-btn {
        width: 100%;
        text-align: center;
    }

    /* Ajuste dos botões de copiar cupom */
    .cta-actions-btns, .instruction-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-copy-action, .btn-copy-instruction, .btn-access-platform {
        width: 100%;
    }
    
    /* Pop-up flutuante menor no Mobile */
    #live-popup-stream {
        width: 90vw;
        bottom: 10px;
        right: 5%;
    }
}


/* ==========================================================================
   3. MEDIA QUERY: TABLETS E NOTEBOOKS (Telas entre 769px e 1200px)
   ========================================================================== */
@media screen and (min-width: 769px) and (max-width: 1200px) {
    .main-menu ul {
        gap: 15px;
        font-size: 0.9rem;
    }

    .hero-agent {
        max-height: 70vh; /* Reduz o tamanho dos bonecos para não espremer o texto */
    }

    .partners-grid, .quick-access-grid {
        grid-template-columns: repeat(2, 1fr); /* Transforma grids de 3 colunas em 2 colunas */
    }

    .media-mega-grid {
        grid-template-columns: repeat(2, 1fr); /* Agrupa colunas de mídia de forma equilibrada */
    }
}


/* ==========================================================================
   4. MEDIA QUERY: COMPUTADORES / DESKTOP PADRÃO (Telas de 1201px até 1920px)
   ========================================================================== */
@media screen and (min-width: 1201px) {
    /* Definição de layouts em Grid nativo para alta performance */
    .sorteios-split-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 30px;
    }

    .partners-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .quick-access-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .media-mega-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .live-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 50px;
    }
}


/* ==========================================================================
   5. MEDIA QUERY: SMART TVS E TELAS 4K ULTRA-WIDE (Acima de 1921px)
   ========================================================================== */
@media screen and (min-width: 1921px) {
    :root {
        /* A mágica para Smart TVs: Aumentando a base do Rem, tudo escalona proporcionalmente de forma nítida */
        font-size: 24px; 
    }

    .content-wrapper, .nav-container, .sorteios-container {
        max-width: 2200px; /* Expande o limite do conteúdo em telas gigantes */
    }

    header {
        padding: 25px 0;
    }

    /* Adiciona espaçamentos generosos adequados para navegação à distância (sofá) */
    .block-section {
        padding: 100px 0;
    }

    /* Melhora a legibilidade e contraste de elementos brilhantes (Glow) comuns em TVs */
    .card-glow-blue, .card-glow-orange, .card-glow-yellow {
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    }
    
    /* Garante que os vídeos fiquem gigantes e bem distribuídos na TV */
    .media-mega-grid {
        gap: 40px;
    }
}
