* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
}

body {
    background-color: #000000; 
    padding-top: 70px; padding-bottom: 20px;
}

/* =========================================
   CABEÇALHO
========================================= */
#header-principal {
    position: fixed; top: 0; left: 0; width: 100%; height: 60px;
    background-color: #050505;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 15px; z-index: 1000; border-bottom: 1px solid #111;
}
.logo-container img { height: 35px; object-fit: contain; }
.header-acoes { display: flex; align-items: center; gap: 8px; }

#btn-depositar {
    background: linear-gradient(90deg, #7c12f2, #560aab);
    color: #ffffff; border: none; padding: 8px 16px;
    border-radius: 20px; font-size: 13px; font-weight: 800; cursor: pointer;
}

#saldo-container {
    background-color: #1e1e28; 
    padding: 6px 12px; 
    border-radius: 20px; 
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: bold; border: 1px solid #2d2d3b;
}
#valor-saldo { color: #ffffff; }

#icone-refresh { 
    width: 14px; height: 14px; cursor: pointer; transition: 0.3s; 
    filter: brightness(0) invert(1); 
}
#icone-refresh:hover { transform: rotate(180deg); }

.fundo-fosco {
    background-color: #1e1e28; 
    border: 1px solid #2d2d3b; 
    border-radius: 50%; 
    padding: 6px; cursor: pointer; 
    display: flex; align-items: center; justify-content: center;
}
#icone-perfil-btn { 
    width: 18px; height: 18px; 
    filter: brightness(0) invert(1); 
}

/* =========================================
   MENU DROPDOWN E ÍCONES
========================================= */
.perfil-wrapper { position: relative; }
.dropdown-oculto { display: none; }
.dropdown-ativo {
    display: flex; flex-direction: column; position: absolute; top: 45px; right: 0;
    background-color: #0a0a0d; border: 1px solid #222;
    border-radius: 8px; width: 220px; z-index: 2000; overflow: hidden;
}
.dropdown-item {
    padding: 12px 15px; font-size: 13px; color: #ffffff;
    border-bottom: 1px solid #1a1a24; cursor: pointer; display: flex; align-items: center; gap: 12px;
}
/* 🔥 IMPEDE O ÍCONE DE SER ESMAGADO */
.dropdown-item img { 
    width: 18px; height: 18px; min-width: 18px; 
    object-fit: contain; filter: brightness(0) invert(1); opacity: 1; 
}
.dropdown-item:hover { background-color: #1a1a24; }
.dropdown-item.sair { color: #ffffff; border-bottom: none; }

.item-idioma select { 
    flex: 1; 
    background: transparent; color: #ffffff; 
    border: none; outline: none; cursor: pointer; font-size: 13px; 
}
.item-idioma select option { background-color: #0a0a0d; color: #ffffff; }

/* =========================================
   BANNERS E PESQUISA
========================================= */
.sessao-banner { width: 100%; overflow: hidden; border-radius: 8px; padding: 0 15px; }
#carrossel-trilho { display: flex; width: 100%; transition: transform 0.5s ease-in-out; }
#carrossel-trilho img { width: 100%; flex-shrink: 0; object-fit: cover; border-radius: 8px; }

.barra-pesquisa { padding: 15px; }
.input-wrapper {
    display: flex; align-items: center; 
    background-color: #111116; 
    border-radius: 8px; padding: 10px 15px; border: 1px solid #222;
}
.icone-busca { width: 16px; height: 16px; filter: brightness(0) invert(1); opacity: 1; }
.input-wrapper input { background: transparent; border: none; color: #ffffff; width: 100%; margin-left: 10px; outline: none; font-size: 14px; }
.input-wrapper input::placeholder { color: #ffffff; opacity: 1; }

/* =========================================
   ATALHOS 
========================================= */
.categorias-atalhos {
    display: flex; gap: 15px; padding: 0 15px 20px 15px; overflow-x: auto; scrollbar-width: none;
}
.categorias-atalhos::-webkit-scrollbar { display: none; }
.atalho-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; min-width: 65px; }

.icone-circulo {
    width: 60px; height: 60px; border-radius: 50%; 
    background-color: #120824; 
    display: flex; justify-content: center; align-items: center;
    border: 1px solid #2a144d; transition: 0.2s;
}
/* 🔥 ÍCONES ATALHO: Cor branca sólida sem opacidade para manter a qualidade */
.icone-circulo img { 
    width: 32px; height: 32px; object-fit: contain; 
    filter: brightness(0) invert(1); opacity: 0.5;
}
.atalho-item:hover .icone-circulo { background-color: #2a144d; transform: scale(1.05); }
.atalho-item span { font-size: 11px; font-weight: bold; color: #ffffff; text-align: center; }

/* =========================================
   TOP GANHOS 
========================================= */
.sessao-top-ganhos {
    padding: 15px; display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.bloco-top-ganhos-titulo {
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.4), transparent);
    border: 1px solid rgba(255, 204, 0, 0.5); border-right: none; border-radius: 12px 0 0 12px;
    padding: 10px 15px; min-width: 140px; height: 90px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
}
.bloco-top-ganhos-titulo img { height: 55px; object-fit: contain; }
.texto-top-ganhos { display: flex; flex-direction: column; line-height: 1.1; }
.top-txt { font-size: 15px; font-weight: 900; color: #ffcc00; }
.ganhos-txt { font-size: 12px; font-weight: bold; color: #ffffff; }

.carrossel-ganhos-wrapper {
    overflow: hidden; width: 100%; white-space: nowrap; position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.grid-top-ganhos {
    display: flex; gap: 12px; animation: scrollAnimado 35s linear infinite;
}

@keyframes scrollAnimado { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.ganho-card {
    background: linear-gradient(145deg, #42424e, #2e2e38);
    border-radius: 10px; padding: 12px; 
    display: flex; align-items: center; gap: 12px; min-width: 210px;
    border: 1px solid #5a5a66; height: 90px; 
}
.ganho-card img { width: 55px; height: 55px; border-radius: 8px; object-fit: cover; }
.ganho-info { display: flex; flex-direction: column; font-size: 13px; }
.ganho-info .ganhador { color: #ffffff; font-weight: bold; } 
.ganho-info .premio { color: #00e676; font-weight: 900; font-size: 15px; margin-top: 4px; }

/* =========================================
   RECOMENDADOS (Tamanho Responsivo)
========================================= */
.grade-jogos { padding: 15px 0 15px 15px; }
.header-categoria {
    display: flex; justify-content: space-between; align-items: center;
    padding-right: 15px; margin-bottom: 12px;
}
.header-categoria h2 { font-size: 14px; color: #ffffff; display: flex; align-items: center; gap: 10px; }
.setinhas { color: #7c12f2; font-weight: 900; font-size: 16px; letter-spacing: -2px; }
.header-categoria .ver-todos { font-size: 12px; color: #ffffff; cursor: pointer; font-weight: bold; } 

.grid-container-recomendados {
    display: grid; grid-auto-flow: column; 
    grid-auto-columns: minmax(320px, 1fr); /* PC = Grande */
    gap: 15px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none;
}
.grid-container-recomendados::-webkit-scrollbar { display: none; }

/* 🔥 MÁGICA: No Celular, os Recomendados ficam do tamanho dos jogos normais (120px) */
@media (max-width: 768px) {
    .grid-container-recomendados {
        grid-auto-columns: minmax(120px, 1fr);
    }
}

.card-recomendado {
    position: relative; border-radius: 12px; overflow: hidden; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}
.card-recomendado img, .card-recomendado picture {
    width: 100%; display: block; object-fit: cover; transition: 0.3s; border-radius: 12px;
}
.card-recomendado:hover img { transform: scale(1.02); }

/* =========================================
   GRADES DE JOGOS COMUNS
========================================= */
.grid-container-linha {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr);
    gap: 12px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; 
}
.grid-container-linha::-webkit-scrollbar { display: none; }

.jogo-card {
    position: relative; border-radius: 10px; overflow: hidden;
    aspect-ratio: 3 / 4; cursor: pointer; background-color: #0a0a0d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); border: 1px solid #111;
}
.jogo-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: 0.3s; }
.jogo-card:hover img { transform: scale(1.05); }

.jogo-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75); display: flex; justify-content: center;
    align-items: center; opacity: 0; transition: 0.3s;
}
.jogo-card:hover .jogo-overlay { opacity: 1; }
.jogo-btn {
    background: linear-gradient(90deg, #7c12f2, #560aab); color: #ffffff;
    border: none; padding: 6px 12px; border-radius: 20px; font-size: 11px;
    font-weight: bold; pointer-events: none;
}

/* =========================================
   RODAPÉ
========================================= */
#rodape-site {
    background-color: #050505; padding: 40px 20px 15px 20px;
    border-top: 1px solid #111; margin-top: 30px; font-size: 12px; color: #ffffff;
}
.rodape-links-topo {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px;
    border-bottom: 1px solid #111; padding-bottom: 30px; margin-bottom: 20px;
}
.logo-rodape-principal { width: 120px; filter: grayscale(1%); opacity: 2.0; }
.coluna-links h4, .coluna-pagamento h4, .coluna-redes h4 { color: #ffffff; margin-bottom: 15px; font-size: 13px; }
.coluna-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 30px; max-width: 500px; }
.coluna-links li:hover { color: #7c12f2; cursor: pointer; }

/* 🔥 FILTROS DO RODAPÉ: Opacidade removida para garantir nitidez nos PNGs brancos */
.img-pix { height: 22px; filter: brightness(0) invert(1); opacity: 1; } 
.icones-sociais { display: flex; gap: 15px; }
.icones-sociais img { width: 20px; height: 20px; cursor: pointer; object-fit: contain; filter: brightness(0) invert(1); opacity: 1; transition: 0.2s; }
.icones-sociais img:hover { transform: scale(1.1); }

.rodape-bandeira { text-align: center; margin-bottom: 30px; }
.icone-brasil { width: 25px; margin-bottom: 5px; opacity: 1; }
.rodape-texto-seo { text-align: center; max-width: 950px; margin: 0 auto 30px auto; line-height: 1.8; color: #ffffff; opacity: 0.7; }

.rodape-selos { display: flex; justify-content: center; align-items: center; gap: 15px; flex-wrap: wrap; }
/* 🔥 SELOS DO RODAPÉ: Sem opacity para não embaçar */
.rodape-selos img { height: 30px; max-width: 100px; object-fit: contain; filter: brightness(0) invert(1); opacity: -1; } 
.selo-18 { height: 35px !important; }

/* =========================================
   MODAL DO BUG DO BÔNUS E NOVOS MODAIS
========================================= */
.modal-oculto { display: none; }
.modal-ativo {
    display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); z-index: 9999; justify-content: center; align-items: center;
}
.modal-conteudo {
    background: linear-gradient(145deg, #1a1a24, #2a2a35); padding: 30px; position: relative;
    border-radius: 12px; text-align: center; border: 2px solid #3d236b; max-width: 320px; width: 90%;
}
.fechar-modal {
    position: absolute; top: 10px; right: 15px; font-size: 24px; color: #a0a0b0; 
    cursor: pointer; font-weight: bold; transition: 0.2s;
}
.fechar-modal:hover { color: #ff4444; }

/* Formatação base do modal bônus */
#modal-bug .modal-conteudo { border-color: #d500f9; }
#modal-bug h2 { color: #d500f9; margin-bottom: 10px; font-size: 20px; }
.valor-bonus { font-size: 32px; font-weight: 900; color: #00ff88; margin-bottom: 5px; }
.valor-convertido { font-size: 11px; color: #ffaa00; margin-bottom: 20px; }
#btn-resgatar {
    background: #00ff88; color: #0f0f13; border: none; padding: 12px 25px;
    border-radius: 6px; font-weight: 900; cursor: pointer; width: 100%; text-transform: uppercase;
}

/* Formatação Formulários Login/Cadastro/Depósito */
.modal-form h2 { font-size: 20px; margin-bottom: 20px; color: #ffffff; }
.modal-form input {
    width: 100%; background-color: #111116; border: 1px solid #2d2d3b;
    color: #ffffff; padding: 12px 15px; border-radius: 8px; margin-bottom: 15px; outline: none;
}
.modal-form input:focus { border-color: #7c12f2; }
.btn-acao {
    background: linear-gradient(90deg, #7c12f2, #560aab); color: #ffffff;
    border: none; padding: 12px; border-radius: 8px; font-weight: 900; cursor: pointer; width: 100%; font-size: 14px;
}
.btn-acao:hover { filter: brightness(1.2); }
.link-alternar { font-size: 12px; margin-top: 15px; color: #a0a0b0; }
.link-alternar span { color: #7c12f2; font-weight: bold; cursor: pointer; }
.link-alternar span:hover { text-decoration: underline; }

/* Depósito Pix Específico */
.desc-deposito { font-size: 12px; color: #a0a0b0; margin-bottom: 15px; }
.input-dinheiro {
    display: flex; align-items: center; background-color: #111116;
    border: 1px solid #2d2d3b; border-radius: 8px; padding-left: 15px; margin-bottom: 10px;
}
.input-dinheiro span { color: #00ff88; font-weight: bold; font-size: 16px; }
.input-dinheiro input { border: none; margin-bottom: 0; font-size: 18px; font-weight: bold; }
.atalhos-valor { display: flex; gap: 10px; margin-bottom: 20px; }
.btn-valor {
    flex: 1; background-color: #1e1e28; border: 1px solid #3a3a4a; color: #a0a0b0;
    padding: 8px; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: bold; transition: 0.2s;
}
.btn-valor:hover { border-color: #00ff88; color: #00ff88; background-color: #111116; }