/* ============================================================
   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: white;
    --amazon-orange: white;
    --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: 900px; 
    margin: 30px auto; 
    background: #1a1a1a; 
    padding: 30px; 
    border-radius: 12px; 
    text-align: center; 
    border: 1px solid #222; 
    height: auto;
}

#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;
}

.stats-row { display: flex; justify-content: space-around; margin: 25px 0; }
.stat-box span { display: block; font-size: 38px; color: var(--primary-color); font-family: 'Oswald'; font-weight: bold; }
.stat-box label { font-size: 11px; color: #666; text-transform: uppercase; }

/* ============================================================
   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 {
    background: #000;
    cursor: crosshair;
    border-color: white;
    display: flex;
    justify-content: center;
    align-items: center
}

/* Estados do Teste de Reação */
.reaction-area.ready { background: #2ed573 !important; box-shadow: 0 0 30px #2ed573; }
.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 rgba(46, 213, 115, 0.2);
    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
   ============================================================ */
.site-footer {
    width: 100%;
    background: #000;
    padding: 60px 20px 20px 20px;
    margin-top: 50px;
    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;
}

.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 10px; }

.footer-column h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: neon-text-cycle 20s linear infinite;
}

.footer-column p, .footer-column ul li a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
}

.footer-column ul li a:hover {
    padding-left: 8px;
    animation: neon-text-cycle 20s linear infinite !important;
    color: currentColor !important;
    transition: 0.3s;
}

.footer-bottom {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 12px;
    color: #ffffff !important;
}/* 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; }