/* Anti-adblock modal — full-screen hard-block.
   Hidden by default; reveal via [data-isp-gate="on"] on <html>. */

.isp-gate{position:fixed;inset:0;z-index:2147483600;background:rgba(15,29,54,.78);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto;animation:isp-gate-fade .25s ease-out both}
.isp-gate[hidden]{display:none}
.isp-gate__inner{background:#fff;border-radius:18px;max-width:520px;width:100%;padding:36px 28px 28px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.25);animation:isp-gate-pop .35s cubic-bezier(.34,1.56,.64,1) both}
.isp-gate__icon{display:inline-flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:50%;background:#fef3c7;color:#d4572c;margin-bottom:14px}
.isp-gate__title{font-size:24px;font-weight:700;color:var(--isp-ink,#0f1d36);margin:0 0 10px;line-height:1.2}
.isp-gate__lead{font-size:15px;line-height:1.5;color:var(--isp-ink2,#3b4a66);margin:0 0 22px}
.isp-gate__ctas{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.isp-gate__cta{display:block;padding:14px 18px;border-radius:12px;text-decoration:none;text-align:left;transition:transform .12s,box-shadow .12s,filter .12s;border:1px solid transparent}
.isp-gate__cta:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(15,29,54,.12);filter:brightness(1.04)}
.isp-gate__cta--primary{background:linear-gradient(135deg,#1e63d4 0%,#1956b8 100%);color:#fff}
.isp-gate__cta--secondary{background:#f4f6fa;color:var(--isp-ink,#0f1d36);border-color:var(--isp-border-soft,#e4e9f2)}
.isp-gate__cta-title{display:block;font-weight:700;font-size:15px;margin-bottom:2px}
.isp-gate__cta-sub{display:block;font-size:13px;opacity:.85;line-height:1.35}
.isp-gate__login{font-size:14px;color:var(--isp-ink2,#3b4a66);margin:0 0 8px}
.isp-gate__login a{color:var(--isp-brand,#1e63d4);font-weight:600;text-decoration:none}
.isp-gate__login a:hover{text-decoration:underline}
.isp-gate__hint{font-size:12px;color:var(--isp-mute,#7c8aa3);margin:0;line-height:1.45}

/* Scroll lock applicato a <html> quando il modal è on */
html[data-isp-gate="on"],html[data-isp-gate="on"] body{overflow:hidden!important;height:100%!important}

@keyframes isp-gate-fade{from{opacity:0}to{opacity:1}}
@keyframes isp-gate-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}

@media (max-width:480px){
    .isp-gate{padding:16px;align-items:flex-start;padding-top:36px}
    .isp-gate__inner{padding:28px 20px 22px;border-radius:16px}
    .isp-gate__icon{width:64px;height:64px;margin-bottom:10px}
    .isp-gate__icon svg{width:44px;height:44px}
    .isp-gate__title{font-size:20px}
    .isp-gate__lead{font-size:14px}
}

@media (prefers-reduced-motion:reduce){
    .isp-gate,.isp-gate__inner{animation:none}
}
