/* ============================================================
   1. VARIÁVEIS, CORES E RESET
   ============================================================ */
:root {
    --cor-jogos: #ff4757;
    --cor-tech: white;
    --cor-energia: #eccc68;
    --cor-saude: #70a1ff;
    --cor-pet: #ffa502;
    --cor-casa: #a29bfe;
    --primary-color: #ff9f43;
    --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: 350px;
    background: #ff9f43;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.1s ease;
    margin-bottom: 20px;
    border: 4px solid rgba(109, 14, 88, 0.05);
    position: relative;
    overflow: hidden;
}

/* Customização para Eye Tracking e Tracking (Canvas Negro) */
#game-canvas {
    height: 400px !important; 
    background: #000;
    cursor: crosshair;
    width: 550px;
    border-color: white ;
}

/* Estados do Teste de Reação */
.reaction-area.ready { background: white !important; box-shadow: 0 0 30px white; }
.reaction-area.too-early { background: #eccc68 #eccc68 !important; }

/* Alvos do Eye Tracking (Bolinhas Numeradas) */
.eye-target {
    width: 35px;
    height: 35px;
    background: #000;
    border: 2px solid var(--cor-tech);
    color: var(--cor-tech);
    border-radius: 50%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 0 10px white;
    transition: transform 0.1s;
    z-index: 10;
}

/* Alvo do Tracking (Bolinha que se move sozinha) */
.tracking-target {
    width: 50px;
    height: 50px;
    background: var(--cor-tech);
    border-radius: 50%;
    position: absolute;
    display: none;
    box-shadow: 0 0 20px var(--cor-tech);
    /* Controle de velocidade do tracking aqui (1.2s é mais lento que 0.6s) */
    transition: top 1.2s ease-in-out, left 1.2s ease-in-out; 
}

#start-msg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 5;
    pointer-events: none;
    font-family: 'Oswald', sans-serif;
    text-align: center;
}

/* ============================================================
   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 */
}
:root {
    --primary-color: white;
    --amazon-orange: white;
    --bg-dark: #1e272e;
}

body { font-family: 'Roboto', sans-serif; background: var(--bg-dark); color: white; margin: 0; }

/* 1. RESET E ESTRUTURA BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-jogos: #ff4757;
    --cor-tech: white;
    --cor-energia: #eccc68;
    --cor-saude: #70a1ff;
    --cor-pet: #ffa502;
    --cor-casa: #a29bfe;
    --primary: white;
    --bg-dark: #0f1418;
    --card-bg: #1a2329;
    --text-muted: #94a3b8;
}

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 (CORRIGIDAS) */
@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 E MENU (COM NEON) */
.site-header { 
    background: #000; 
    border-bottom: 3px solid; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    animation: neon-text-cycle 20s linear infinite; /* Anima a borda */
}

.site-header a {
    text-decoration: none;
}

.nav-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 60px; 
    padding: 0 20px; 
}

.logo { 
    font-family: 'Oswald', sans-serif; 
    font-size: 24px; 
    font-weight: bold; 
    animation: neon-text-cycle 20s linear infinite; /* Anima o nome Tech & Games */
}

.menu-trigger { 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: bold; 
    animation: neon-text-cycle 20s linear infinite; /* Anima a palavra MENU */
}

.hamburguer div { 
    width: 22px; 
    height: 2px; 
    margin: 4px 0; 
    animation: neon-line-cycle 20s linear infinite; /* Anima as 3 linhas */
}

.nav-dropdown { 
    position: absolute; 
    right: 0; 
    top: 100%; 
    background: #111; 
    /* Mudança aqui: ele vai seguir a cor da animação do header */
    border: 2px solid currentColor; 
    display: none; 
    width: 200px; 
    list-style: none; 
    padding: 0; 
    /* Remova a linha da animação daqui se ela existir, 
       deixe apenas no site-header ou no pai */
}

.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. HERO SECTION */
.hero-section { text-align: center; padding: 60px 20px; }
.hero-section h1 { font-family: 'Oswald', sans-serif; font-size: 3rem; margin-bottom: 10px; }
.highlight { animation: neon-text-cycle 20s linear infinite; }
.hero-section p { color: var(--text-muted); font-size: 1.1rem; }

/* ÁREA DO JOGO */
.container-aim { max-width: 750px; margin: 20px auto; background: #2c3e50; padding: 25px; border-radius: 15px; text-align: center; }
.aim-game-area { 
    width: 100%; height: 380px; background: #000; border: 2px solid var(--primary-color); 
    border-radius: 10px; position: relative; cursor: crosshair; overflow: hidden; margin-bottom: 20px;
    transition: 0.3s;
}
.aim-game-area:hover:not(.active) { box-shadow: inset 0 0 20px rgba(255, 159, 67, 0.3); }

.target { width: 32px; height: 32px; background: transparent; border: 3px solid var(--primary-color); border-radius: 50%; position: absolute; box-shadow: 0 0 10px var(--primary-color); }
#start-msg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--primary-color); font-weight: bold; pointer-events: none; }

/* STATS */
.stats-grid-fps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-bottom: 20px; }
.stat-card { background: rgba(0,0,0,0.5); padding: 8px; border-radius: 8px; border: 1px solid #444; }
.stat-card span { display: block; font-size: 18px; color: var(--primary-color); font-family: 'Oswald'; }
.stat-card label { font-size: 9px; color: #aaa; }

/* BOTÕES E SEO */
.controls-fps { display: flex; gap: 10px; margin-bottom: 25px; }
button { flex: 1; padding: 15px; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; }
#btn-start-fps { background: var(--primary-color); color: #000; }
#btn-reset-fps { background: #576574; color: #fff; }

.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; }
.shop-zone-fps { text-align: left; background: #1a252f; padding: 20px; border-radius: 10px; }
.btn-amazon-fps { display: flex; align-items: center; justify-content: center; text-decoration: none; background: var(--amazon-orange); color: #000 !important; padding: 15px; border-radius: 6px; margin-top: 10px; font-weight: bold; }

.site-footer { background: #000; padding: 40px; margin-top: 50px; border-top: 2px solid var(--primary-color); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 0 auto; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column a { color: #aaa; text-decoration: none; font-size: 14px; }
.footer-bottom { text-align: center; margin-top: 30px; color: #555; font-size: 12px; }
/* SEÇÃO SEO */
.seo-section { text-align: left; margin-top: 40px; color: #95a5a6; font-size: 14px; line-height: 1.6; }
.seo-section h2 { color: var(--primary-color); font-family: 'Oswald'; font-size: 20px; }
.seo-section hr { border: 0; border-top: 1px solid #444; margin-bottom: 20px; }

/* FOOTER PROFISSIONAL COM EFEITO NEON */
.site-footer {
    width: 100%;
    background: #000;
    padding: 60px 20px 20px 20px;
    margin-top: 50px;
    /* APLICAÇÃO NA BORDA DE CIMA */
    border-top: 3px solid;
    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;
    text-align: left;
}

/* APLICAÇÃO NOS NOMES: Tech & Games, Navegação e Legal */
.footer-column h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Animação de cor neon */
    animation: neon-text-cycle 20s linear infinite;
}

/* 1. Trava a descrição do footer para ficar estática */
.footer-column p {
    color: #ffffff !important; /* Branco puro */
    animation: none !important; /* Remove a mudança de cor */
    text-shadow: none !important; /* Remove qualquer brilho */
    opacity: 0.9; /* Deixa levemente suave para não brilhar tanto quanto os títulos */
    font-size: 14px;
    line-height: 1.6;
}

/* 2. Caso você tenha alguma classe específica nesse parágrafo, use esta também: */
.footer-column > p {
    animation: none !important;
    color: #ffffff !important;
}

.footer-column ul { 
    list-style: none; 
    padding: 0; 
}

.footer-column ul li { 
    margin-bottom: 10px; 
}

/* 1. Links do Footer - Branco Puro e Sem Animação no estado normal */
.footer-column ul li a {
    color: #ffffff !important; /* Força o branco puro */
    text-decoration: none;
    font-size: 14px;
    transition: padding 0.3s ease, color 0.1s ease;
    
    /* REMOVE TUDO no estado normal */
    animation: none !important; 
    text-shadow: none !important;
    opacity: 1;
}

/* 2. No HOVER - Ele ativa a animação sincronizada */
.footer-column ul li a:hover {
    padding-left: 8px;
    
    /* Ativa a animação apenas agora */
    animation: neon-text-cycle 20s linear infinite !important;
    
    /* O currentColor faz ele assumir a cor da animação instantaneamente */
    color: currentColor !important;
    text-shadow: 0 0 10px currentColor;
}

/* FOOTER BOTTOM - Fixado em branco sem animação */
.footer-bottom {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 12px;
    
    /* AS LINHAS ABAIXO PARAM A MUDANÇA DE COR */
    animation: none !important; /* Mata qualquer animação herdada */
    color: #ffffff !important;  /* Força a cor branca */
    text-shadow: none !important; /* Garante que não tenha brilho neon */
}

/* Garante que os parágrafos e o texto pequeno dentro dela também fiquem brancos */
.footer-bottom p, 
.footer-bottom p small {
    color: #ffffff !important;
    animation: none !important;
    text-shadow: none !important;
}
