/* ============================================================
   1. VARIÁVEIS, CORES E RESET
   ============================================================ */
:root {
    --cor-jogos: #ff4757;
    --cor-tech: #2ed573;
    --cor-energia: #eccc68;
    --cor-saude: #70a1ff;
    --cor-pet: #ffa502;
    --cor-casa: #a29bfe;
    --primary-color: #ffffff;
    --amazon-orange: #FF9900;
    --bg-dark: #0f1418;
    --card-bg: #1a2329;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Roboto', sans-serif;
    color: white;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================================
   2. ANIMAÇÕES (NEON E CICLO DE CORES)
   ============================================================ */
@keyframes neon-text-cycle {
    0%, 100% { color: var(--cor-jogos); border-color: var(--cor-jogos); text-shadow: 0 0 8px var(--cor-jogos); }
    16%      { color: var(--cor-tech); border-color: var(--cor-tech); text-shadow: 0 0 8px var(--cor-tech); }
    33%      { color: var(--cor-energia); border-color: var(--cor-energia); text-shadow: 0 0 8px var(--cor-energia); }
    50%      { color: var(--cor-saude); border-color: var(--cor-saude); text-shadow: 0 0 8px var(--cor-saude); }
    66%      { color: var(--cor-pet); border-color: var(--cor-pet); text-shadow: 0 0 8px var(--cor-pet); }
    83%      { color: var(--cor-casa); border-color: var(--cor-casa); text-shadow: 0 0 8px var(--cor-casa); }
}

@keyframes neon-line-cycle {
    0%, 100% { background-color: var(--cor-jogos); box-shadow: 0 0 8px var(--cor-jogos); }
    16%      { background-color: var(--cor-tech); box-shadow: 0 0 8px var(--cor-tech); }
    33%      { background-color: var(--cor-energia); box-shadow: 0 0 8px var(--cor-energia); }
    50%      { background-color: var(--cor-saude); box-shadow: 0 0 8px var(--cor-saude); }
    66%      { background-color: var(--cor-pet); box-shadow: 0 0 8px var(--cor-pet); }
    83%      { background-color: var(--cor-casa); box-shadow: 0 0 8px var(--cor-casa); }
}

/* ============================================================
   3. HEADER (CABECALHO E MENU)
   ============================================================ */
.site-header { 
    background: #000; 
    border-bottom: 3px solid; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    animation: neon-text-cycle 20s linear infinite;
}

.nav-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 60px; 
    padding: 0 20px; 
}
.nav-container a{
    text-decoration: none;
    
}

.logo { 
    font-family: 'Oswald', sans-serif; 
    font-size: 24px; 
    font-weight: bold; 
    animation: neon-text-cycle 20s linear infinite;
}

.menu-trigger { 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: bold; 
    animation: neon-text-cycle 20s linear infinite;
}

.hamburguer div { 
    width: 22px; 
    height: 2px; 
    margin: 4px 0; 
    animation: neon-line-cycle 20s linear infinite;
}

.nav-dropdown { 
    position: absolute; 
    right: 0; 
    top: 100%; 
    background: #111; 
    border: 2px solid currentColor; 
    display: none; 
    width: 200px; 
    list-style: none; 
}

.nav-dropdown li a { 
    display: block; 
    padding: 15px; 
    color: #fff; 
    text-decoration: none; 
    border-bottom: 1px solid #222; 
}

.menu-wrapper.active .nav-dropdown { display: block; }

/* ============================================================
   4. ESTRUTURA GERAL DA PÁGINA (CONTAINER)
   ============================================================ */
.container { 
    max-width: 800px; 
    margin: 30px auto; 
    background: #1a1a1a; 
    padding: 30px; 
    border-radius: 12px; 
    text-align: center; 
    border: 1px solid #222; 
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#btn-reset { 
    width: 100%; 
    padding: 15px; 
    background: var(--primary-color); 
    border: none; 
    font-weight: bold; 
    cursor: pointer; 
    border-radius: 8px; 
    margin-bottom: 20px; 
    color: #000; 
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* AJUSTE AQUI: Stats-row com largura total e espaçamento */
.stats-row { 
    display: flex; 
    justify-content: center; /* Centraliza o grupo */
    gap: 80px;              /* Cria um espaço grande e limpo entre as duas métricas */
    margin: 25px 0; 
    width: 50%;            /* Garante que use a largura do container */
}

.stat-box {
    flex: 1;                /* Faz cada caixa ocupar o mesmo espaço */
    text-align: center;
}

.stat-box span { 
    display: block; 
    font-size: 38px; 
    color: var(--primary-color); 
    font-family: 'Oswald'; 
    font-weight: bold;
    line-height: 1.2;       /* Melhora o respiro vertical do número */
}

.stat-box label { 
    font-size: 11px; 
    color: #666; 
    text-transform: uppercase; 
    letter-spacing: 1px;    /* Deixa a legenda mais elegante */
}
/* ============================================================
   5. ÁREAS DE JOGO (REACTION, CPS, EYE TRACKING, TRACKING)
   ============================================================ */

/* Base comum para todos os jogos */
.reaction-area {
    width: 100%;
    height: 400px;
    background: #000;
    border: 2px solid #333;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.2s;
}

#sound-grid {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    z-index: 5;
}

.sound-middle-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    align-items: center;
}

.sound-btn {
    background: none;
    border: 2px solid var(--cor-tech);
    color: var(--cor-tech);
    font-family: 'Oswald';
    padding: 15px;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 4px;
}

.sound-btn:hover { background: rgba(46, 213, 115, 0.2); transform: scale(1.05); }

.btn-front { border-color: #00d2ff; color: #00d2ff; padding: 20px 30px; font-weight: bold; }

#start-msg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: 'Oswald';
    font-size: 1.5rem;
    z-index: 10;
}

#btn-reset {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: var(--primary-color);
    border: none;
    font-family: 'Oswald';
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

.seo-text { text-align: left; margin-top: 30px; border-top: 1px solid #333; padding-top: 20px; }
.seo-text h2 { color: var(--cor-tech); font-family: 'Oswald'; margin-bottom: 10px; }
.seo-text p { color: #ccc; font-size: 14px; line-height: 1.6; margin-bottom: 10px; }

.btn-amazon {
    display: block;
    background: #FF9900;
    color: #000;
    text-decoration: none;
    padding: 15px;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 15px;
}

/* ============================================================
   6. HISTÓRICO, LOJA E ADS
   =========================================================== */
.history-list { text-align: left; background: #111; padding: 15px; border-radius: 8px; margin-top: 20px; max-height: 150px; overflow-y: auto; border: 1px solid #222; }
.history-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #222; font-size: 14px; }

.shop-zone { margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; }
.support-box { background: rgba(255, 159, 67, 0.1); padding: 15px; border-radius: 8px; margin-bottom: 15px; font-size: 14px; color: #ccc; text-align: left; }

.btn-amazon {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background-color: var(--amazon-orange); color: #000 !important;
    text-decoration: none; font-weight: bold; padding: 15px; border-radius: 8px;
    margin-bottom: 10px; transition: 0.3s; font-size: 13px;
}

.ad-container { width: 100%; max-width: 728px; height: 90px; background: #000; border: 1px dashed #444; margin: 15px auto; display: flex; align-items: center; justify-content: center; }

/* ============================================================
   7. FOOTER NEON (NOMES BRANCOS + TEMAS COLORIDOS)
   ============================================================ */
.site-footer {
    width: 100%;
    background: #000;
    padding: 60px 20px 20px 20px;
    margin-top: 50px;
    border-top: 3px solid;
    /* A LINHA SUPERIOR continua mudando de cor */
    animation: neon-text-cycle 20s linear infinite;
}

.footer-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

/* Títulos (Ex: "Gargalo PC", "Ferramentas") */
/* Eles VÃO continuar mudando de cor (Temas) */
.footer-column h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    /* Aplica a animação de troca de cor apenas nos títulos */
    animation: neon-text-cycle 20s linear infinite;
}

/* Listas (Removendo os pontos/bolinhas) */
.footer-column ul { 
    list-style: none !important; 
    padding: 0 !important; 
    margin: 0 !important;
}

.footer-column ul li { 
    list-style: none !important;
    margin-bottom: 10px;
}

/* Links e Nomes (Itens da lista) */
/* Brancos e sem brilho quando parados */
.footer-column p, 
.footer-column ul li a {
    color: #ffffff !important; 
    text-shadow: none !important; 
    animation: none !important; 
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    display: inline-block;
    transition: padding 0.3s ease; /* Transição suave para o movimento */
}

/* Efeito ao passar o mouse (Hover) */
/* Aqui ele ganha a cor do tema e o brilho neon */
.footer-column ul li a:hover {
    padding-left: 8px; /* Pequeno movimento para a direita */
    opacity: 1;
    /* Aplica a animação do tema apenas quando o mouse está em cima */
    animation: neon-text-cycle 20s linear infinite !important;
    /* Se quiser que ele mude de cor instantaneamente para a cor do tema atual */
    color: currentColor !important; 
}
/* ============================================================
   RODAPÉ FINAL (COPYRIGHT E AVISO AMAZON)
   ============================================================ */
.footer-bottom {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 12px;
    
    /* Trava em branco puro e remove animações */
    color: #ffffff !important;
    text-shadow: none !important;
    animation: none !important;
}

/* Garante que qualquer texto pequeno dentro dele também fique branco */
.footer-bottom p, 
.footer-bottom p small,
.footer-bottom span {
    color: #ffffff !important;
    text-shadow: none !important;
    animation: none !important;
    opacity: 0.8; /* Um pouco mais discreto, mas fixo no branco */
}