/* ===== Age Gate France ===== */

/* Blur applied to body when gate is active */
body.agf-blurred > *:not(#agf-overlay) {
    filter: blur(12px);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

body.agf-blurred {
    overflow: hidden;
}

/* ===== Bottom Banner ===== */
#agf-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: linear-gradient(135deg, #4a1942, #6b2fa0);
    padding: 14px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.agf-banner-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.agf-banner-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.agf-banner-text strong {
    font-size: 15px;
}

.agf-banner-text span {
    opacity: 0.85;
    font-size: 13px;
}

.agf-btn-banner {
    display: inline-block;
    background: #f5a623;
    color: #1a1a2e !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}

.agf-btn-banner:hover {
    background: #e6951a;
    transform: scale(1.03);
}

/* ===== Modal Backdrop ===== */
#agf-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ===== Modal ===== */
#agf-modal {
    background: #1e1e2f;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: agf-fadeIn 0.3s ease;
    text-align: center;
}

@keyframes agf-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.agf-modal-header {
    background: #2a2a3d;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agf-modal-body {
    padding: 30px 24px 24px;
}

.agf-fire {
    font-size: 48px;
    margin-bottom: 8px;
}

.agf-age-badge {
    font-size: 64px;
    font-weight: 900;
    color: #f5a623;
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
}

.agf-modal-desc {
    color: #b0b0c0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.agf-btn-verify {
    display: inline-block;
    background: linear-gradient(135deg, #f5a623, #e6951a);
    color: #1a1a2e !important;
    font-weight: 800;
    font-size: 16px;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.agf-btn-verify:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(245, 166, 35, 0.5);
}

.agf-modal-footer-text {
    color: #777;
    font-size: 12px;
    margin-top: 16px;
}

/* ===== Mobile ===== */
@media (max-width: 600px) {
    .agf-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .agf-modal-header {
        font-size: 14px;
        padding: 14px 16px;
    }

    .agf-age-badge {
        font-size: 48px;
    }

    .agf-btn-verify {
        padding: 12px 32px;
        font-size: 15px;
    }
}
