/*
 * 18+ életkor-kapu overlay.
 *
 * A réteg fix pozícióban, nagy z-indexszel takarja a teljes oldalt, amíg a
 * látogató meg nem erősíti a nagykorúságát. A mögötte lévő tartalom a DOM-ban
 * marad (nem display:none), ezért a keresőrobotok továbbra is indexelhetik.
 */

body.age-locked {
    overflow: hidden;
}

.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
    overflow-y: auto;
    color: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(circle at top, rgba(43, 14, 46, 0.97) 0%, rgba(13, 4, 16, 0.98) 70%);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.age-gate-overlay * {
    box-sizing: border-box;
}

.age-gate-card {
    width: 100%;
    max-width: 560px;
    margin: auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 44px 36px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.age-gate-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2d6f, #6a1b9a);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #fff;
}

.age-gate-heading {
    margin: 6px 0 14px;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: #fff;
}

.age-gate-lead {
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 22px;
    font-size: 1rem;
    line-height: 1.5;
}

.age-gate-points {
    text-align: left;
    margin: 0 auto 28px;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.age-gate-points li {
    margin: 6px 0;
}

.age-gate-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 0 22px;
    padding: 0;
}

.age-gate-btn {
    border: 0;
    cursor: pointer;
    padding: 14px 22px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.age-gate-btn-enter {
    background: linear-gradient(135deg, #ff2d6f, #c2185b);
    color: #fff;
    font-weight: 600;
}

.age-gate-btn-enter:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 45, 111, 0.35);
}

.age-gate-btn-leave {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.age-gate-btn-leave:hover {
    background: rgba(255, 255, 255, 0.08);
}

.age-gate-disclaimer {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.5;
}
