: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: #2ed573;
    --cor-energia: #eccc68;
    --cor-saude: #70a1ff;
    --cor-pet: #ffa502;
    --cor-casa: #a29bfe;
    --primary: #ff9f43;
    --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;
}

/* Container Principal do Histórico */
#historico-jogos {
    margin: 30px auto;
    max-width: 500px;
    background: #1a1a1a; /* Fundo escuro gamer */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #333;
}

#historico-jogos h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    color: #ffffff; /* Verde neon */
    margin-bottom: 15px;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 8px;
}

/* Estilo da Lista */
#lista-resultados {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px; /* Altura máxima com scroll */
    overflow-y: auto; /* Adiciona scroll se tiver muitos jogos */
}

/* Personalização do Scrollbar (para ficar bonito no Chrome/Edge) */
#lista-resultados::-webkit-scrollbar {
    width: 6px;
}
#lista-resultados::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

/* Cada item da lista (partida) */
#lista-resultados li {
    background: #252525;
    margin-bottom: 8px;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #555;
    transition: transform 0.2s;
    font-size: 0.9rem;
}

/* Efeito ao passar o mouse */
#lista-resultados li:hover {
    transform: scale(1.02);
    background: #303030;
}

/* Destaque para o resultado mais recente (a primeira li) */
#lista-resultados li:first-child {
    border-left-color: #fff;
    background: #1e3a2f;
    animation: novoItem 0.5s ease-out;
}

/* Pequena animação quando um novo resultado entra */
@keyframes novoItem {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilo dos números e labels dentro da lista */
#lista-resultados li strong {
    color: #fff;
    font-size: 1rem;
}

/* Rodapé com aviso da Amazon dentro do histórico */
.aviso-amazon-historico {
    font-size: 0.75rem;
    color: #888;
    margin-top: 15px;
    font-style: italic;
}