/* ============================================================
   SEU CÓDIGO ORIGINAL (INTACTO)
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --corvus-gold: #c4a060;        
    --corvus-green: #1a5e20;       
    --corvus-green-light: #2e7d32; 
    --whatsapp-green: #25D366;     
    
    --bg-dark: #0f0f0f;            
    --text-color: #f0f0f0;         
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    overflow-x: hidden;
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #111;
    background-image: 
        radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,1) 100%),
        url('https://img.freepik.com/fotos-gratis/fundo-texturizado-grunge-abstrato_1048-11100.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
    opacity: 1; 
    filter: sepia(100%) hue-rotate(5deg) contrast(150%) brightness(40%);
    z-index: -1;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, #1a1a1a 0%, #050505 100%);
    border-bottom: 2px solid var(--corvus-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.9);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    z-index: 2;
    text-decoration: none; 
}

.logo img {
    height: 45px; 
    width: auto;
    filter: drop-shadow(0 0 5px rgba(196, 160, 96, 0.3));
}

.logo span {
    color: var(--corvus-gold);
    text-shadow: 0 0 10px rgba(196, 160, 96, 0.4);
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--corvus-gold);
    text-shadow: 0 0 10px rgba(196, 160, 96, 0.6);
}

/* Novo: Botão Menu Mobile (Oculto no Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--corvus-gold);
    border-radius: 2px;
    transition: 0.3s;
}

.btn-login-trigger {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--corvus-gold);
    color: var(--corvus-gold);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.4s;
    font-family: 'Cinzel', serif;
    z-index: 2;
}

.btn-login-trigger:hover {
    background: var(--corvus-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(196, 160, 96, 0.5);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 20px 20px;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px black;
    color: white;
}

.hero h1 span {
    color: var(--corvus-gold);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    color: #ddd;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    padding: 15px 45px;
    background: linear-gradient(45deg, var(--corvus-green), var(--corvus-green-light));
    color: white;
    border: 1px solid var(--corvus-gold);
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: transform 0.2s, box-shadow 0.3s;
    text-decoration: none; 
    display: inline-block; 
    text-align: center;    
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.6);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 2000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Responsivo (mudança de largura fixa para max-width) */
.login-box {
    background: #181818;
    padding: 40px;
    width: 100%;
    max-width: 400px; /* Alterado de width: 400px */
    border: 1px solid #333;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    margin: 20px; /* Espaço nas laterais no mobile */
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--corvus-gold);
    box-shadow: 0 0 15px var(--corvus-gold);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    color: var(--corvus-gold);
}

.login-box h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: #252525;
    border: 1px solid #444;
    color: white;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--corvus-gold);
    box-shadow: 0 0 5px rgba(196, 160, 96, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--corvus-green);
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--corvus-green-light);
}

footer {
    background: linear-gradient(0deg, #0c0b09 0%, #1a1a1a 100%);
    border-top: 2px solid var(--corvus-gold);
    color: #888;
    padding-top: 50px;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px 40px 20px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section h3 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-section h3 span {
    color: var(--corvus-gold);
}

.footer-section h4 {
    color: var(--corvus-gold);
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    text-decoration: none;
    color: #888;
    transition: 0.3s;
}

.footer-section ul a:hover {
    color: var(--corvus-gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    font-size: 14px;
    transition: 0.3s;
}

.social-btn.discord { background-color: #5865F2; }
.social-btn.whatsapp { background-color: var(--whatsapp-green); }

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.footer-bottom {
    background: #000;
    text-align: center;
    padding: 20px;
    font-size: 12px;
    border-top: 1px solid #222;
}

/* Shop Section Styles */
.shop-section {
    padding: 120px 20px 50px 20px;
    text-align: center;
    min-height: 100vh;
}

.shop-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 5px 10px black;
}

.shop-title span {
    color: var(--corvus-gold);
}

.shop-subtitle {
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 60px;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

.vip-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.vip-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #333;
    width: 320px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: 0.4s;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.vip-card:hover {
    transform: translateY(-10px);
    border-color: var(--corvus-gold);
}

.vip-card.apollo:hover { box-shadow: 0 0 30px rgba(205, 127, 50, 0.5); }
.vip-card.poseidon:hover { box-shadow: 0 0 30px rgba(192, 192, 192, 0.5); }
.vip-card.zeus:hover { box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); }

.vip-image {
    width: 100%;
    height: 200px;
    position: relative;
}

.vip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
    transition: 0.4s;
}

.vip-card:hover .vip-image img {
    filter: brightness(110%);
}

.vip-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--corvus-gold);
    color: black;
    padding: 5px 15px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    font-size: 12px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 25%);
}

.vip-card.apollo .vip-badge {
    background: linear-gradient(45deg, #8B4513, #CD7F32);
    color: white;
}

.vip-card.poseidon .vip-badge {
    background: linear-gradient(45deg, #707070, #C0C0C0);
    color: black;
}

.vip-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vip-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--corvus-gold);
    border-bottom: 1px solid rgba(196, 160, 96, 0.3);
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
}

.vip-benefits {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 25px;
    font-size: 14px;
    color: #ccc;
}

.vip-benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vip-benefits li span {
    color: var(--corvus-gold);
    font-size: 18px;
}

.vip-price {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    margin-top: auto;
}

.vip-price span {
    font-size: 14px;
    color: #888;
    font-weight: normal;
}

.vip-btn {
    width: 100%;
    font-size: 16px;
    padding: 12px;
}

/* Toast Styles */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    background: rgba(15, 15, 15, 0.95);
    color: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    border-left: 4px solid;
    backdrop-filter: blur(5px);
    
    animation: slideInRight 0.5s ease forwards;
    opacity: 0;
    transform: translateX(100%);
}

.toast.success { border-color: var(--whatsapp-green); }
.toast.error { border-color: #ff3c3c; }
.toast.info { border-color: var(--corvus-gold); }

.toast-icon { font-size: 18px; font-weight: bold; }
.toast.success .toast-icon { color: var(--whatsapp-green); }
.toast.error .toast-icon { color: #ff3c3c; }
.toast.info .toast-icon { color: var(--corvus-gold); }

@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeOut {
    to { opacity: 0; transform: translateX(20px); }
}

/* Payment Box Styles */
.payment-box {
    background: #121212;
    padding: 35px;
    width: 650px; 
    border: 1px solid var(--corvus-gold);
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.9);
    border-radius: 8px;
    margin: 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 25px;
}

.checkout-header h2 { font-family: 'Cinzel', serif; color: white; margin-bottom: 5px; }
.checkout-header h2 span { color: var(--corvus-gold); }
.checkout-header p { color: #888; font-size: 14px; }

.duration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px;
    margin: 25px 0;
}

.duration-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px 5px; 
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.duration-card:hover { border-color: var(--corvus-gold); }

.duration-card.active { 
    background: rgba(196, 160, 96, 0.1); 
    border-color: var(--corvus-gold); 
}

.dur-title { display: block; font-weight: bold; color: #fff; font-size: 10px; text-transform: uppercase; margin-bottom: 4px; }
.dur-price { display: block; color: var(--corvus-gold); font-size: 14px; font-weight: 900; margin-bottom: 4px; }
.dur-save { display: block; color: #2ecc71; font-size: 9px; font-weight: bold; }

.dur-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--corvus-gold);
    color: black;
    font-size: 8px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 900;
    white-space: nowrap; 
}

.method-section h4 { color: #fff; margin: 15px 0; font-size: 13px; text-transform: uppercase; text-align: left; letter-spacing: 1px; }
.method-grid { display: flex; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }

.method-card { flex: 1; cursor: pointer; min-width: 120px; }
.method-card input { display: none; }
.method-info {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}

.method-card input:checked + .method-info {
    border-color: var(--corvus-gold);
    background: rgba(196, 160, 96, 0.1);
}

.checkout-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.total-info span { color: #888; font-size: 12px; display: block; text-align: left; }
.total-info h3 { color: #fff; font-size: 26px; font-weight: 900; }

.finish-btn { 
    padding: 12px 25px !important; 
    font-size: 13px !important; 
}

/* User Menu Dropdown */
.user-menu-container {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none; 
    position: absolute;
    right: 0;
    top: 110%; 
    background-color: #151515;
    min-width: 180px;
    border: 1px solid var(--corvus-gold);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
    z-index: 1100;
    border-radius: 4px;
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    color: #ddd;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    transition: 0.3s;
    text-align: left;
    border-bottom: 1px solid #222;
}

.dropdown-content a:last-child { border-bottom: none; }

.dropdown-content a:hover {
    background-color: var(--corvus-gold);
    color: #000;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Profile Styles */
.profile-container {
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.profile-card {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid var(--corvus-gold);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    text-align: center;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #222;
    border: 2px solid var(--corvus-gold);
    border-radius: 50%;
    padding: 10px;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--corvus-gold));
}

.profile-header h1 {
    font-family: 'Cinzel', serif;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
    text-align: left;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 4px;
}

.info-item label {
    display: block;
    font-size: 11px;
    color: var(--corvus-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item p {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.badge-admin { background: var(--corvus-gold); color: black; }
.badge-membro { background: #333; color: #ccc; }


/* ============================================================
   RESPONSIVIDADE (MEDIA QUERIES) - CORRIGIDO AGORA
   ============================================================ */

/* TABLETS E MENORES (max-width: 900px) */
@media (max-width: 900px) {
    
    /* 1. Header: Reduz o padding lateral que estava em 50px */
    header {
        padding: 15px 20px;
    }

    /* 2. Menu Hambúrguer: Torna visível */
    .menu-toggle {
        display: flex;
        order: 3;
    }

    .user-menu-container {
        order: 2;
        margin-right: 15px;
    }

    /* 3. Navegação: Transforma em gaveta lateral */
    nav {
        position: fixed;
        top: 0;
        right: -100%; /* Esconde na direita */
        width: 70%;
        height: 100vh;
        background: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        border-left: 1px solid var(--corvus-gold);
        
        /* Reseta estilos do Desktop */
        left: auto; 
        transform: none; 
        z-index: 1100;
    }
    
    nav.active {
        right: 0; /* Aparece */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

/* CELULARES (max-width: 600px) */
@media (max-width: 600px) {
    
    /* Hero Title Menor */
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; padding: 0 10px; }

    /* Footer Colunas */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .social-links { justify-content: center; }

    /* =======================================================
       CORREÇÃO DO BUG DOS MODAIS E PAGAMENTO
       Usamos !important para sobrescrever os 650px do código de cima
       ======================================================= */
    .payment-box {
        width: 95% !important; /* Força largura da tela */
        max-width: none !important;
        margin: 0 auto;
        padding: 15px;
    }

    .login-box {
        width: 95% !important;
        max-width: none !important;
        margin: 0 auto;
    }

    /* Grid do Checkout (De 4 colunas para 2) */
    .duration-grid {
        grid-template-columns: 1fr 1fr;
    }

    .checkout-footer {
        flex-direction: column;
        gap: 15px;
    }
}