@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Cores da marca Encontro PRIVÊ */
    --primary-color: #9e2a2b; /* Vinho escuro */
    --secondary-color: #c44554; /* Vermelho suave */
    --bg-dark: #111827; /* Fundo escuro elegante */
    --card-bg: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    /* Fundo escuro com um leve gradiente puxando pro vinho da marca */
    background: linear-gradient(135deg, #111827 0%, #1f090a 100%);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

a {
    text-decoration: none;
}

/* --- MODAL DE VERIFICAÇÃO --- */
.age-gate-card {
    position: relative;
    background-color: var(--card-bg);
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease-out;
}

/* --- LANGUAGE SWITCHER DO GATEWAY --- */
.gateway-lang {
    position: absolute;
    top: 14px;
    right: 16px;
    display: flex;
    gap: 4px;
    align-items: center;
}

.gateway-lang-btn {
    font-size: 1.15rem;
    line-height: 1;
    opacity: 0.35;
    transition: opacity 0.2s, transform 0.15s;
    border-radius: 4px;
    padding: 2px;
}

.gateway-lang-btn:hover {
    opacity: 0.85;
    transform: scale(1.15);
}

.gateway-lang-btn.active {
    opacity: 1;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 480px) {
    .age-gate-card {
        padding: 24px 20px 32px;
    }

    .gateway-lang {
        position: static;
        justify-content: center;
        margin-bottom: 16px;
        gap: 8px;
    }

    .gateway-lang-btn {
        font-size: 1.4rem;
        opacity: 0.45;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- LOGO --- */
.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-text .encontro { color: var(--secondary-color); }
.logo-text .prive { color: var(--primary-color); font-weight: 800; text-transform: uppercase; }

.logo-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* --- CONTEÚDO DO AVISO --- */
.warning-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.age-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.age-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.age-text strong {
    color: var(--text-dark);
}

/* --- BOTÕES DE AÇÃO --- */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.btn {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-enter {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(158, 42, 43, 0.3);
}

.btn-enter:hover {
    background-color: #7a2021;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(158, 42, 43, 0.4);
}

.btn-exit {
    background-color: #f3f4f6;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-exit:hover {
    background-color: #e5e7eb;
    color: var(--text-dark);
}

/* --- TERMOS E CONDIÇÕES --- */
.legal-footer {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.legal-footer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-footer a:hover {
    color: var(--secondary-color);
}

/* --- RESPONSIVO --- */
@media (max-width: 480px) {
    .age-gate-card {
        padding: 30px 20px;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .warning-icon {
        font-size: 3rem;
    }

    .age-title {
        font-size: 1.3rem;
    }

    .age-text {
        font-size: 0.95rem;
    }
}

/* --- GATEWAY MODAIS (Termos / Privacidade) --- */
.gateway-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.gateway-modal-content {
    background-color: var(--card-bg);
    margin: auto;
    padding: 30px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

.gateway-modal-content h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    overflow-y: auto;
    padding-right: 10px;
}

.modal-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-body strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

.gateway-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.gateway-close:hover,
.gateway-close:focus {
    color: var(--text-dark);
    text-decoration: none;
}