/* ── Gated Assets Frontend v3 ───────────────────────────────────────── */

/* ── Full-page overlay ───────────────────────────────────────────────── */
.ga-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* Frosted glass backdrop */
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Animate in */
    animation: ga-fade-in .3s ease both;
}

@keyframes ga-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Blur the page content underneath */
body.ga-is-locked > *:not(.ga-overlay) {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

/* ── Overlay card ────────────────────────────────────────────────────── */
.ga-overlay-card {
    background: #fff;
    border-radius: 20px;
    padding: 44px 40px 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, .22),
        0 0 0 1px rgba(255,255,255,.08);
    animation: ga-card-in .35s cubic-bezier(.34,1.56,.64,1) both;
    animation-delay: .05s;
}

@keyframes ga-card-in {
    from { opacity:0; transform:scale(.9) translateY(16px); }
    to   { opacity:1; transform:scale(1) translateY(0); }
}

/* Icon */
.ga-overlay-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #2563eb;
}
.ga-overlay-icon svg {
    width: 28px;
    height: 28px;
}

/* Text */
.ga-overlay-heading {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.25;
}
.ga-overlay-subtext {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
}

/* CTA button */
.ga-overlay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .1s, box-shadow .15s;
    box-shadow: 0 2px 8px rgba(37,99,235,.35);
    margin-bottom: 14px;
}
.ga-overlay-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 16px rgba(37,99,235,.45);
}
.ga-overlay-btn:active { transform: scale(.98); }

/* Note below button */
.ga-overlay-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}
.ga-overlay-note svg { opacity: .7; }

/* ── Mobile ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .ga-overlay-card {
        padding: 32px 24px 28px;
        border-radius: 16px;
    }
    .ga-overlay-heading { font-size: 19px; }
}
