/* isGamer Popup System 2.0 — scoped presentation layer. */
.isgamer-popup { position:fixed; z-index:9999; display:none; max-width:calc(100vw - 28px); color:var(--text,#f7f9ff); }
.isgamer-popup.is-visible { display:block; }
.isgamer-popup__inner { position:relative; display:grid; grid-template-columns:minmax(0,.42fr) minmax(0,1fr); gap:16px; align-items:center; padding:16px; border:1px solid rgba(57,231,255,.24); border-radius:18px; background:linear-gradient(135deg,rgba(57,231,255,.12),rgba(255,61,129,.08)),rgba(5,9,16,.96); box-shadow:0 26px 90px rgba(0,0,0,.5),0 0 50px rgba(57,231,255,.12); box-sizing:border-box; }
.isgamer-popup__content { display:grid; gap:8px; min-width:0; }
.isgamer-popup__close { position:absolute; top:8px; right:8px; z-index:3; width:36px; height:36px; display:grid; place-items:center; border:1px solid rgba(57,231,255,.55); border-radius:50%; background:linear-gradient(135deg,#7657ff,#ff3d81); color:#fff; cursor:pointer; font-size:1.1rem; font-weight:900; box-shadow:0 0 18px rgba(57,231,255,.25); }
.isgamer-popup__close:hover,.isgamer-popup__close:focus-visible { border-color:#39e7ff; box-shadow:0 0 24px rgba(57,231,255,.6); transform:scale(1.04); }
.isgamer-popup--center { top:50%; left:50%; transform:translate(-50%,-50%); isolation:isolate; }
.isgamer-popup--center::before { content:""; position:fixed; inset:0; z-index:-1; background:rgba(2,6,12,.68); backdrop-filter:blur(4px); }
.isgamer-popup--top { top:82px; left:50%; transform:translateX(-50%); }
.isgamer-popup--bottom { width:min(calc(100vw - 28px),var(--isgamer-popup-max-width,760px)); max-width:none; bottom:var(--isgamer-popup-bottom-offset,24px); left:50%; transform:translateX(-50%); }
.isgamer-popup--bottom .isgamer-popup__inner { grid-template-columns:minmax(120px,.34fr) minmax(0,1fr); padding:12px 48px 12px 12px; gap:12px; }
.isgamer-popup--bottom_left { left:24px; bottom:24px; }
.isgamer-popup--bottom_right { right:24px; bottom:24px; }
.isgamer-popup--small { max-width:min(calc(100vw - 28px),380px); }
.isgamer-popup--medium { max-width:min(calc(100vw - 28px),560px); }
.isgamer-popup--large { max-width:min(calc(100vw - 28px),760px); }
.isgamer-popup--wide { max-width:min(calc(100vw - 28px),980px); }
.isgamer-popup--top_bar { position:relative; width:100%; max-width:none; }
.isgamer-popup--top_bar .isgamer-popup__inner { min-height:42px; display:flex; justify-content:center; gap:14px; padding:6px 52px 6px 18px; border:0; border-radius:0; background:linear-gradient(90deg,#17102c,#071526 55%,#101027); box-shadow:0 10px 30px rgba(0,0,0,.25); text-align:center; }
.isgamer-popup--top_bar .isgamer-popup__content { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; }
.isgamer-popup--media-first { width:fit-content; max-width:calc(100vw - 32px); }
.isgamer-popup--media-first .isgamer-popup__inner,.isgamer-popup--media-first .isgamer-popup__content,.isgamer-popup--media-first .isgamer-popup__body,.isgamer-popup--media-first .isgamer-popup-creative,.isgamer-popup--media-first .isgamer-popup-creative>a { display:block; width:fit-content; max-width:100%; margin-inline:auto; }
.isgamer-popup--media-first .isgamer-popup__inner { padding:12px; }
.isgamer-popup--media-first .isgamer-popup-creative img,.isgamer-popup--media-first .isgamer-popup-creative video { display:block; width:auto; height:auto; max-width:70vw; max-height:70vh; object-fit:contain; margin-inline:auto; }
.isgamer-popup--media-first .isgamer-popup__body>p:empty { display:none; }
.isgamer-popup--fade { animation:isgamer-popup-fade .24s ease both; }
.isgamer-popup--slide_down { animation:isgamer-popup-down .28s ease both; }
.isgamer-popup--slide_up { animation:isgamer-popup-up .28s ease both; }
.isgamer-popup--neon { animation:isgamer-popup-neon .5s ease both; }
@keyframes isgamer-popup-fade { from{opacity:0} to{opacity:1} }
@keyframes isgamer-popup-down { from{opacity:0;transform:translate(-50%,-16px)} to{opacity:1;transform:translate(-50%,0)} }
@keyframes isgamer-popup-up { from{opacity:0;transform:translate(-50%,16px)} to{opacity:1;transform:translate(-50%,0)} }
@keyframes isgamer-popup-neon { from{opacity:0;filter:brightness(.7)} to{opacity:1;filter:brightness(1)} }
@media (max-width:720px) { .isgamer-popup--media-first .isgamer-popup-creative img,.isgamer-popup--media-first .isgamer-popup-creative video { max-width:calc(100vw - 48px); max-height:calc(100vh - 64px); } .isgamer-popup__inner { grid-template-columns:1fr; } .isgamer-popup--top_bar .isgamer-popup__inner { padding-inline:44px; } .isgamer-popup--bottom { width:calc(100vw - 28px); } .isgamer-popup--bottom .isgamer-popup__inner { grid-template-columns:1fr; padding:12px 48px 12px 12px; } .isgamer-popup--bottom_left,.isgamer-popup--bottom_right { left:14px; right:14px; bottom:14px; } }
@media (prefers-reduced-motion:reduce) { .isgamer-popup,.isgamer-popup * { animation:none!important; transition:none!important; } }
