.vape-age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background:
        radial-gradient(circle at top, rgba(255, 190, 90, 0.16), transparent 36%),
        rgba(8, 12, 20, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.vape-age-gate-overlay.is-visible {
    display: flex !important;
}

.vape-age-gate-modal {
    position: relative;
    width: min(92vw, 480px);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 34px 30px 28px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    color: #111827;
    text-align: center;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
    animation: vapeAgeGateIn 0.36s cubic-bezier(0.2, 0.85, 0.25, 1.12);
}

.vape-age-gate-modal::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #ef4444);
}

.vape-age-gate-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.vape-age-gate-title {
    margin: 0 0 14px;
    color: #111827;
    font-size: clamp(28px, 6vw, 38px);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -0.4px;
}

.vape-age-gate-warning {
    margin: 0 0 10px;
    color: #dc2626;
    font-size: 17px;
    line-height: 1.65;
    font-weight: 800;
}

.vape-age-gate-desc {
    margin: 0 0 18px;
    color: #374151;
    font-size: 15px;
    line-height: 1.75;
}

.vape-age-gate-question {
    margin: 0 0 16px;
    color: #111827;
    font-size: 19px;
    font-weight: 900;
}

.vape-age-gate-remember {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    margin: 0 auto 20px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.45;
    cursor: pointer;
    user-select: none;
}

.vape-age-gate-remember input {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: #111827;
}

.vape-age-gate-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    margin-bottom: 16px;
}

.vape-age-gate-btn {
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.vape-age-gate-btn-primary {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.24);
}

.vape-age-gate-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.32);
}

.vape-age-gate-btn-secondary {
    color: #374151;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.16);
}

.vape-age-gate-btn-secondary:hover {
    color: #111827;
    background: #f3f4f6;
    transform: translateY(-1px);
}

.vape-age-gate-note {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.65;
}

@keyframes vapeAgeGateIn {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .vape-age-gate-overlay {
        padding: 14px;
    }

    .vape-age-gate-modal {
        width: 100%;
        padding: 30px 20px 24px;
        border-radius: 20px;
    }

    .vape-age-gate-warning {
        font-size: 16px;
    }

    .vape-age-gate-desc {
        font-size: 14px;
    }

    .vape-age-gate-question {
        font-size: 18px;
    }

    .vape-age-gate-btn {
        font-size: 15px;
        min-height: 47px;
    }

    .vape-age-gate-remember {
        text-align: left;
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vape-age-gate-modal,
    .vape-age-gate-btn {
        animation: none;
        transition: none;
    }
}
