/* Definindo as variáveis de cor e a fonte principal */
:root {
    --cor-fundo: #121212;
    --cor-fundo-secundaria: #1e1e1e;
    --cor-amarelo: #FFD700;
    --cor-verde: #00ff7f;
    --cor-texto: #e0e0e0;
    --font-principal: 'Poppins', sans-serif;
}

body {
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    font-family: var(--font-principal);
    margin: 0;
    padding: 0;
    /* Espaço para o header e footer fixos */
    padding-top: 110px; 
    padding-bottom: 80px;
}

/* HEADER */
.main-header {
    background-color: var(--cor-fundo-secundaria); /* Mesma cor do footer */
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    border-bottom: 1px solid #333; /* Borda para consistência com o footer */
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cor-amarelo);
    text-shadow: 0 0 5px var(--cor-amarelo);
}

/* --- SCROLLER (PROVA SOCIAL) --- */
.scroller-container {
    width: 100%;
    overflow: hidden;
    position: fixed;
    top: 100px; /* Abaixo do header */
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    box-shadow: 0 -1px 8px rgba(255, 215, 0, 0.15), 0 1px 8px rgba(255, 215, 0, 0.15);
    border: none;
}

.scroller {
    display: flex;
    width: 200%; /* Dobro da largura para loop */
    animation: scroll 30s linear infinite;
}

.scroller-item {
    flex-shrink: 0;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    border: 1px solid var(--cor-amarelo);
    border-radius: 50px;
    margin: 0 0.5rem;
    background-color: var(--cor-fundo-secundaria);
}
.scroller-item span {
    color: #aaa;
    font-size: 0.8em;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move até a metade da largura total */
}

/* --- CONTEÚDO PRINCIPAL (FOCO) --- */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-title {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--cor-texto);
}
.cta-title .fa-gem {
    color: var(--cor-amarelo);
    margin-right: 0.5rem;
}

.image-wrapper {
    position: relative;
    max-width: 300px;
}
.image-wrapper img {
    width: 100%;
    border-radius: 15px;
    border: 3px solid var(--cor-amarelo);
}
.image-label {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--cor-fundo);
    padding: 0.3rem 1rem;
    border-radius: 10px;
    border: 2px solid var(--cor-amarelo);
    font-weight: 600;
}

/* --- BOTÃO (CTA IRRESISTÍVEL) --- */
.cta-button {
    background: linear-gradient(45deg, var(--cor-verde), #00b359);
    color: var(--cor-fundo);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 0 20px rgba(0, 255, 127, 0.7);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 127, 1);
    color: var(--cor-fundo);
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(0, 255, 127, 0.7); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 127, 1); }
    100% { box-shadow: 0 0 20px rgba(0, 255, 127, 0.7); }
}

/* --- FOOTER (NAVEGAÇÃO MÓVEL) --- */
.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--cor-fundo-secundaria);
    border-top: 1px solid var(--cor-borda-dark, #333);
    padding: 0.5rem;
    z-index: 10;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #aaa;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}
.nav-item:hover {
    color: var(--cor-amarelo);
}
.nav-item.active {
    color: var(--cor-amarelo);
    font-weight: 600;
}
.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

/* --- ESTILOS PÁGINA DE LOGIN E CADASTRO --- */

.login-main {
    padding-bottom: 80px; /* Garante que o footer não sobreponha o card */
}

.login-card {
    background-color: var(--cor-fundo-secundaria);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.login-card .form-label {
    color: #aaa;
}

.login-card .form-control {
    background-color: var(--cor-fundo);
    border: 1px solid #444;
    color: var(--cor-texto);
    padding: 0.8rem 1rem;
}

.login-card .form-control:focus {
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    border-color: var(--cor-amarelo);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Estiliza o botão de "Entrar" para ser igual ao CTA da home */
.login-card .btn {
    background: linear-gradient(45deg, var(--cor-verde), #00b359);
    color: var(--cor-fundo);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.5);
    transition: all 0.3s ease;
}
.login-card .btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0, 255, 127, 0.8);
}

.login-card a {
    color: var(--cor-amarelo);
    font-weight: 600;
    text-decoration: none;
}
.login-card a:hover {
    text-decoration: underline;
}

/* Adicione ao final do seu arquivo .css */

.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.success-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.success-box {
    background: var(--cor-fundo-secundaria, #1e1e1e);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--cor-amarelo, #FFD700);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-overlay.visible .success-box {
    transform: scale(1);
}

.success-box h3 {
    color: var(--cor-texto, #e0e0e0);
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 1rem;
}

.success-box .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cor-verde, #00ff7f);
    text-shadow: 0 0 15px rgba(0, 255, 127, 0.7);
    margin: 0.5rem 0;
}

.success-box .subtitle {
    color: #aaa;
    margin-top: 0.5rem;
    margin-bottom: 0;
}


/* Animação do Checkmark (ajustada) */
.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0px 0px 0px var(--cor-verde, #00ff7f);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--cor-verde, #00ff7f);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--cor-verde, #00ff7f);
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}
@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
    100% { box-shadow: inset 0px 0px 0px 50px var(--cor-verde, #00ff7f); }
}

/* --- ESTILOS PÁGINA COMO JOGAR --- */

.tutorial-container {
    max-width: 800px;
}

.tutorial-step {
    display: flex;
    align-items: center;
    background-color: var(--cor-fundo-secundaria);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tutorial-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.tutorial-step .step-icon {
    font-size: 3rem;
    margin-right: 1.5rem;
    color: var(--cor-amarelo);
    width: 60px;
    text-align: center;
}

.tutorial-step .step-content h3 {
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 0.5rem;
}

.tutorial-step .step-content p {
    color: #aaa;
    margin-bottom: 0;
}