* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #07090f;
    font-family: 'Inter', sans-serif;
    color: #eef0f6;
    line-height: 1.6;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #07090f;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== HEADER / MENU ===== */
.header {
    background: #1e1e2a;
    padding: 1rem 0;
    border-bottom: 1px solid #2c2c3a;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo a {
    text-decoration: none;
}
.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7aa9ff, #4c6ef5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav-menu {
    display: flex;
    gap: 1.5rem;
}
.nav-menu a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-menu a:hover, .nav-menu a.active {
    color: #7aa9ff;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== MAIN ===== */
.main {
    background: url('../assets/background_bg.png') center/cover no-repeat;
    flex: 1;
    padding: 2rem 0 0;  /* remove o padding inferior, se houver */
}

/* Se o último elemento dentro do main tiver margin-bottom, ela pode empurrar o footer. Adicione: */
.main > :last-child {
    margin-bottom: 0;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(30, 30, 42, 0.7); /* mesma cor do update-list */
    backdrop-filter: blur(4px);
    padding: 1.5rem;                 /* mesmo padding do update-list */
    border-radius: 12px;             /* mesmo border-radius do update-list */
    margin: 0 auto;                  /* centraliza, mas sem max-width agora */
}
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    margin: 0 0.5rem;
}
.btn-primary {
    background: #0d6efd;
    color: white;
}
.btn-primary:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
}
.btn-secondary {
    background: #6c757d;
    color: white;
}
.btn-outline {
    background: transparent;
    border: 1px solid #7aa9ff;
    color: #7aa9ff;
}
.btn-outline:hover {
    background: #7aa9ff;
    color: #0f0f1a;
}
.btn-block {
    width: 100%;
}

/* ===== CARDS (INDEX) ===== */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.card-item {
    background: rgba(30, 30, 42, 0.75);
    backdrop-filter: blur(6px);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(122, 169, 255, 0.15);
    text-align: center;
    transition: transform 0.2s;
}
.card-item:hover {
    transform: translateY(-5px);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.card-item h4 {
    color: #7aa9ff;
    margin-bottom: 0.75rem;
}
.update-list {
    background: rgba(30, 30, 42, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 1.5rem;
    list-style: none;
}

/* ===== DOWNLOAD ===== */
.download-card, .faq-card, .store-card {
    background: #1e1e2a;
    border-radius: 20px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
}
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}
.btn-download {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}
.btn-download:hover { transform: scale(1.05); }
.mega { background: #D90000; }
.mediafire { background: #00A859; }
.google { background: #4285F4; }
.divider {
    margin: 2rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #2c2c3a, transparent);
}

/* ===== FAQ ACORDEÃO ===== */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}
.faq-question {
    width: 100%;
    background: #252535;
    border: none;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    color: #eef;
}
.faq-answer {
    display: none;
    background: #1a1a2a;
    padding: 1rem;
}
.faq-answer.show { display: block; }

/* ===== LOJA ===== */
.store-icon {
    font-size: 3rem;
    color: #7aa9ff;
    margin-bottom: 1rem;
}
.btn-discord {
    background: #5865F2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
}
.btn-discord:hover { background: #4752c4; }

/* ===== CADASTRO (CARD CENTRALIZADO) ===== */
.register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 0;
}
.register-card {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    background: #1e1e2a;
    border-radius: 24px;
    padding: 2rem 2rem 2.5rem;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid #2c2c3a;
    transition: transform 0.2s ease;
}
.register-card:hover {
    transform: translateY(-3px);
}
.register-card h1 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #7aa9ff;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #ddd;
    font-size: 0.9rem;
}
.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #2a2a3a;
    border: 1px solid #3d3d4f;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: 0.2s;
}
.form-group input:focus {
    outline: none;
    border-color: #7aa9ff;
    box-shadow: 0 0 0 2px rgba(122, 169, 255, 0.2);
}
.captcha-box {
    background: #252535;
    padding: 0.8rem;
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 0.5rem;
    font-weight: bold;
    border-radius: 12px;
    font-family: monospace;
    margin-bottom: 0.5rem;
}
.alert.error {
    background: #ff4444;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.text-center { text-align: center; }

/* ===== FOOTER ===== */
.footer {
    background: #1a1a24;
    padding: 3rem 0 1.5rem;
    margin-top: 0;  /* antes era 2rem */
    border-top: 1px solid #2c2c3a;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h4 {
    color: #7aa9ff;
    margin-bottom: 1rem;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-section a:hover {
    color: #7aa9ff;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    font-size: 1.5rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #2c2c3a;
    color: #777;
    font-size: 0.9rem;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
    }
    .nav-menu.show {
        display: flex;
    }
    .nav-menu a {
        padding: 0.75rem 0;
        border-top: 1px solid #2c2c3a;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-download {
        width: 80%;
        justify-content: center;
    }
    .register-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}
/* CAPTCHA OFUSCADO */
.captcha-container {
    background: #1e1e2a;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 10px;
    border: 1px solid #3d3d4f;
    user-select: none; /* impede seleção */
    pointer-events: none; /* impede interação com o texto (mas o botão atualizar fica fora) */
    position: relative;
    overflow: hidden;
}
.captcha-text {
    letter-spacing: 5px;
    font-weight: bold;
    color: #7aa9ff;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.captcha-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 8px);
    pointer-events: none;
}
.btn-refresh {
    background: none;
    border: none;
    color: #7aa9ff;
    cursor: pointer;
    margin-left: 10px;
    font-size: 1.2rem;
}
.btn-refresh:hover {
    color: #0d6efd;
}
.alert.success {
    background: #28a745;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}
/* ===== PÁGINA DE REGRAS ===== */
.rules-card {
    background: #1e1e2a;
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 20px 35px rgba(0,0,0,0.3);
}
.rules-card h1 {
    color: #7aa9ff;
    text-align: center;
    margin-bottom: 0.5rem;
}
.rules-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.rules-section {
    margin-bottom: 2rem;
    border-left: 4px solid #7aa9ff;
    padding-left: 1.5rem;
}
.rules-section h2 {
    color: #7aa9ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.rules-list {
    padding-left: 1.5rem;
}
.rules-list li {
    margin: 0.8rem 0;
    line-height: 1.5;
}
.rules-note {
    background: #2a2a3a;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* ===== PÁGINA DE POLÍTICAS (REEMBOLSO) ===== */
.policy-card {
    background: #1e1e2a;
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 20px 35px rgba(0,0,0,0.3);
}
.policy-card h1 {
    color: #7aa9ff;
    text-align: center;
    margin-bottom: 0.5rem;
}
.policy-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #2c2c3a;
    padding-bottom: 1rem;
}
.policy-section {
    margin-bottom: 2rem;
    border-left: 4px solid #7aa9ff;
    padding-left: 1.5rem;
}
.policy-section h2 {
    color: #7aa9ff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.policy-list, .policy-steps {
    padding-left: 1.5rem;
    margin: 1rem 0;
}
.policy-list li, .policy-steps li {
    margin: 0.5rem 0;
}
.policy-list i.fa-check-circle {
    color: #28a745;
    margin-right: 8px;
}
.policy-list i.fa-times-circle {
    color: #dc3545;
    margin-right: 8px;
}
.policy-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
    border-top: 1px solid #2c2c3a;
    padding-top: 1rem;
}
/* ===== DESTAQUE DE REEMBOLSO NA LOJA ===== */
.refund-highlight {
    background: linear-gradient(135deg, #1e1e2a 0%, #252542 100%);
    border: 2px solid #7aa9ff;
    border-radius: 20px;
    padding: 1.8rem;
    margin: 2rem auto;
    text-align: center;
    max-width: 700px;
    box-shadow: 0 0 15px rgba(122,169,255,0.2);
}
.refund-icon {
    font-size: 3rem;
    color: #7aa9ff;
    margin-bottom: 0.5rem;
}
.refund-highlight h3 {
    color: #7aa9ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.refund-highlight p {
    margin-bottom: 0.75rem;
}
.refund-highlight .btn-outline {
    margin-top: 0.5rem;
}
/* Checkbox estilizado para alinhar com os outros campos */
.checkbox-group {
    margin: 1.2rem 0;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    color: #ddd;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #7aa9ff;
}
.checkbox-label span {
    font-size: 0.9rem;
}
.checkbox-label a {
    color: #7aa9ff;
    text-decoration: none;
}
.checkbox-label a:hover {
    text-decoration: underline;
}

.login-wrapper, .profile-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem 0;
}
.login-card, .profile-card {
    background: #1e1e2a;
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.3);
}
.profile-card h3 {
    color: #7aa9ff;
    margin: 1.5rem 0 1rem;
}
.login-links, .profile-links {
    text-align: center;
    margin-top: 1.5rem;
}
.login-links a, .profile-links a {
    color: #7aa9ff;
    text-decoration: none;
}
.divider {
    margin: 1.5rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #2c2c3a, transparent);
}
.alert.success {
    background: #28a745;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.logged-in-link {
    color: #28a745 !important;
    font-weight: bold;
}
.logged-in-link:hover {
    color: #34ce57 !important;
}

/* Links de usuário logado (verde) */
.nav-menu a.logged-in-link {
    color: #28a745 !important;
}
.nav-menu a.logged-in-link:hover {
    color: #20c997 !important;
}

/* Campo de senha com botão de visualização interno */
.password-group {
    position: relative;
    margin-bottom: 1.2rem;
}
.password-group input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem; /* espaço maior à direita */
    background: #2a2a3a;
    border: 1px solid #3d3d4f;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
}
.password-group input:focus {
    outline: none;
    border-color: #7aa9ff;
    box-shadow: 0 0 0 2px rgba(122,169,255,0.2);
}
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #7aa9ff;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    margin: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.toggle-password:hover {
    opacity: 1;
    color: #0d6efd;
}

/* ===== CONTADOR REGRESSIVO ===== */
.countdown-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 2rem;
}

.countdown-card {
    background: rgba(30, 30, 42, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(122, 169, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.countdown-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffd700; /* dourado, combine com o tema */
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.countdown {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(0, 0, 0, 0.75);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    min-width: 90px;
    border: 1px solid rgba(255, 160, 0, 0.1);
}

.time-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffb347; /* laranja suave */
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
    display: block;
    line-height: 1;
}

.time-label {
    font-size: 0.8rem;
    color: #f3e6d6;
    letter-spacing: 1px;
    margin-top: 0.3rem;
    display: block;
}

.done {
    font-size: 1.2rem;
    color: #ffd700;
    margin-top: 0.5rem;
}

/* Responsivo */
@media (max-width: 520px) {
    .time-value {
        font-size: 1.5rem;
    }
    .countdown-card {
        padding: 1rem;
    }
}