/* GC Announcement Popup */
.gc-popup{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:24px;font-family:inherit;direction:rtl}
.gc-popup.is-open{display:flex}
.gc-popup__overlay{position:absolute;inset:0;background:radial-gradient(120% 120% at 50% 0%,rgba(1,103,148,.55) 0%,rgba(3,26,42,.9) 60%,rgba(2,14,24,.95) 100%);opacity:0;transition:opacity .45s ease;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.gc-popup.is-open .gc-popup__overlay{opacity:1}
.gc-popup__card{position:relative;width:min(980px,100%);max-height:calc(100vh - 48px);background:#0B4F73;border-radius:22px;overflow:hidden;box-shadow:0 40px 90px -20px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.08);opacity:0;transform:translateY(40px) scale(.88);filter:blur(8px);transition:opacity .55s cubic-bezier(.2,.8,.2,1),transform .75s cubic-bezier(.16,1.1,.3,1),filter .55s ease;display:flex;flex-direction:column}
.gc-popup.is-open .gc-popup__card{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
.gc-popup.is-closing .gc-popup__card{opacity:0;transform:translateY(20px) scale(.94);filter:blur(4px);transition-duration:.3s}
.gc-popup.is-closing .gc-popup__overlay{opacity:0;transition-duration:.3s}
/* animated glow border */
.gc-popup__glow{position:absolute;inset:-2px;border-radius:24px;pointer-events:none;z-index:0;background:conic-gradient(from 0deg,rgba(255,182,6,0) 0%,rgba(255,182,6,.9) 12%,rgba(255,182,6,0) 24%,rgba(255,255,255,0) 50%,rgba(1,167,214,.9) 62%,rgba(1,167,214,0) 74%,rgba(255,182,6,0) 100%);opacity:0;animation:gcSpin 6s linear infinite;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;padding:2px}
.gc-popup.is-open .gc-popup__glow{opacity:.9;transition:opacity 1s ease .6s}
@keyframes gcSpin{to{transform:rotate(360deg)}}
/* media */
.gc-popup__media{position:relative;overflow:hidden;background:#0B4F73;line-height:0;flex:0 1 auto;min-height:0}
.gc-popup__media img{display:block;width:100%;height:auto;max-height:calc(100vh - 48px - 92px);object-fit:cover;transform:scale(1.06);opacity:0;transition:transform 8s ease-out,opacity .8s ease .15s}
.gc-popup.is-open .gc-popup__media img{opacity:1;transform:scale(1)}
.gc-popup__shine{position:absolute;top:-30%;bottom:-30%;left:-45%;width:38%;background:linear-gradient(115deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.5) 50%,rgba(255,255,255,0) 100%);transform:skewX(-18deg);pointer-events:none;opacity:0}
.gc-popup.is-open .gc-popup__shine{animation:gcShine 2.4s cubic-bezier(.4,0,.2,1) 1s 2}
@keyframes gcShine{0%{left:-45%;opacity:0}10%{opacity:1}90%{opacity:1}100%{left:135%;opacity:0}}
/* bottom bar */
.gc-popup__bar{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px;background:linear-gradient(90deg,#0B4F73 0%,#016794 100%);color:#fff;opacity:0;transform:translateY(22px);transition:opacity .6s ease .55s,transform .7s cubic-bezier(.2,.8,.2,1) .55s}
.gc-popup.is-open .gc-popup__bar{opacity:1;transform:translateY(0)}
.gc-popup__text{min-width:0;flex:1 1 auto}
.gc-popup__title{font-size:16px;font-weight:700;line-height:1.5;color:#fff}
.gc-popup__sub{font-size:14px;font-weight:600;line-height:1.5;color:#FFB606;margin-top:2px}
.gc-popup__btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:9px;background:#FFB606;color:#1B1B1B!important;text-decoration:none!important;font-weight:700;font-size:15px;padding:12px 24px;border-radius:50px;box-shadow:0 8px 24px rgba(255,182,6,.35);transition:transform .25s,box-shadow .25s,background .25s;animation:gcPulse 2.2s ease-in-out 1.8s infinite;white-space:nowrap}
.gc-popup__btn:hover{transform:translateY(-2px);background:#ffc633;box-shadow:0 14px 32px rgba(255,182,6,.55);color:#000!important}
.gc-popup__btn svg{flex:0 0 auto}
@keyframes gcPulse{0%,100%{box-shadow:0 8px 24px rgba(255,182,6,.35)}50%{box-shadow:0 8px 36px rgba(255,182,6,.75)}}
/* close */
.gc-popup__close{position:absolute;top:12px;left:12px;z-index:5;width:42px;height:42px;border:0;border-radius:50%;background:rgba(3,26,42,.55);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:background .25s,transform .35s,color .25s;opacity:0;transform:scale(.6) rotate(-90deg)}
.gc-popup.is-open .gc-popup__close{opacity:1;transform:scale(1) rotate(0);transition:opacity .4s ease .7s,transform .5s cubic-bezier(.2,.8,.2,1) .7s,background .25s,color .25s}
.gc-popup__close:hover{background:#FFB606;color:#1B1B1B;transform:rotate(90deg) scale(1.05)}
.gc-popup__close:focus-visible{outline:2px solid #FFB606;outline-offset:2px}
body.gc-popup-lock{overflow:hidden}
/* responsive */
@media (max-width:782px){
  .gc-popup{padding:14px}
  .gc-popup__card{border-radius:16px;max-height:calc(100vh - 28px)}
  .gc-popup__media img{max-height:none}
  .gc-popup__bar{flex-direction:column;align-items:stretch;text-align:center;padding:14px 16px 16px;gap:12px}
  .gc-popup__title{font-size:14px}
  .gc-popup__sub{font-size:13px}
  .gc-popup__btn{justify-content:center;font-size:14px;padding:12px 18px;white-space:normal}
  .gc-popup__close{top:8px;left:8px;width:38px;height:38px}
}
@media (prefers-reduced-motion:reduce){
  .gc-popup__card,.gc-popup__bar,.gc-popup__media img,.gc-popup__close{transition:opacity .3s ease!important;transform:none!important;filter:none!important}
  .gc-popup__glow,.gc-popup__shine,.gc-popup__btn{animation:none!important}
}
/* hardening against theme overrides */
.gc-popup__close svg{width:22px!important;height:22px!important;min-width:22px;display:block;flex:0 0 auto}
.gc-popup__close svg path{stroke:currentColor!important;fill:none!important}
.gc-popup__btn svg{width:20px!important;height:20px!important;min-width:20px;display:block}
.gc-popup__btn svg path{fill:currentColor!important}
.gc-popup__close,.gc-popup__close:hover,.gc-popup__close:focus{padding:0;margin:0;line-height:0;min-height:0;box-shadow:none;text-transform:none}
.gc-popup__btn,.gc-popup__btn:hover,.gc-popup__btn:focus{line-height:1.3;border:0;outline:0;text-transform:none;letter-spacing:0}
