/* Compact storefront language control shared by every public header. */
.header-store-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;justify-self:end}
.header-language{position:relative;flex:0 0 auto;color:#f5efff;font-family:Rajdhani,Arial,sans-serif;z-index:65}
.header-language-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:78px;min-height:40px;padding:8px 11px;border:1px solid #b68cdb33;border-radius:10px;background:linear-gradient(135deg,#aa70ee12,#ffffff04);color:#eee7fa;font:700 15px/1 Rajdhani,Arial,sans-serif;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
.header-language-button:hover,.header-language-button[aria-expanded="true"]{border-color:#b88be48c;background:#a675db17;box-shadow:0 0 18px #9b5ce910}
.header-language-button:focus-visible,.header-language-option:focus-visible{outline:2px solid #c69bf4;outline-offset:3px}
.header-language-globe{display:block;width:17px;height:17px;color:#c5a3e8;flex-shrink:0}
.header-language-chevron{font-family:Arial,sans-serif;color:#bda6d1;transition:transform .18s}
.header-language-button[aria-expanded="true"] .header-language-chevron{transform:rotate(180deg)}
.header-language-menu{position:absolute;right:0;top:calc(100% + 12px);width:min(286px,calc(100vw - 32px));max-height:min(440px,calc(100dvh - 100px));padding:8px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:1px solid #bd8df14f;border-radius:16px;background:#100b1bfA;box-shadow:0 24px 60px #0009,0 0 28px #8b5cf614;scrollbar-width:thin;scrollbar-color:#9b6ed6 #100b1b;transform-origin:top right;animation:header-language-menu-in .16s ease-out}
.header-language-menu[hidden]{display:none}
.header-language-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px 13px;margin-bottom:4px;border-bottom:1px solid #b88ce81f}
.header-language-heading strong{font-size:14px;font-weight:700;line-height:1.3;color:#f5efff}
.header-language-heading>span{font-size:11px;color:#bca0d8;white-space:nowrap}
.header-language-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:8px 11px;color:#e9e2f4;text-align:left;border:1px solid transparent;border-radius:10px;background:transparent;cursor:pointer;font-family:inherit}
.header-language-option:hover{color:#fff;background:#a978e416}
.header-language-option.is-selected{border-color:#c192f13d;background:#ae7fea1c}
.header-language-option small[hidden]{display:none}
.header-language-option strong,.header-language-option small{display:block}
.header-language-option strong{font-size:16px;line-height:1.25;font-weight:700}
.header-language-option small{margin-top:2px;font-size:12px;color:#aa9ab8;line-height:1.2}
.language-option-check{color:#d0a7ff;font-size:18px;font-weight:700}
.language-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@keyframes header-language-menu-in{from{opacity:0;transform:translateY(-4px) scale(.985)}to{opacity:1;transform:none}}
@media(min-width:1281px){
 body.unified-store>.topbar .nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:18px;max-width:none!important}
 body.unified-store>.topbar .navlinks{display:contents!important}
 body.unified-store>.topbar .nav-menu{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
 body.unified-store>.topbar .header-store-actions{grid-column:3;grid-row:1}
 body.unified-store>.topbar .hamb{display:none!important}
 body.unified-store>.topbar .header-store-actions>.discord{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;padding:7px 12px!important;min-height:40px;background:#5865f2!important;border:1px solid #5865f2!important;border-radius:10px;color:#fff!important;font-size:15px!important;white-space:nowrap;text-decoration:none}
 body.unified-store>.topbar .header-store-actions>.discord:hover{background:#4752c4!important}
 body.unified-store>.topbar .header-store-actions .nav-discord-symbol{width:17px;height:14px}
}
@media(max-width:1280px){
 body.unified-store>.topbar .nav{display:flex!important;justify-content:space-between;gap:12px}
 body.unified-store>.topbar .navlinks:not(.open):not(.preview-menu-open){display:none!important}
 body.unified-store>.topbar .navlinks:is(.open,.preview-menu-open){display:flex!important;position:absolute;left:14px!important;right:14px!important;top:calc(100% + 8px)!important;flex-direction:column;align-items:stretch;padding:10px!important;gap:4px!important;border:1px solid #a77bd72e;border-radius:16px;background:#110c19!important;box-shadow:0 18px 44px #0007;max-height:calc(100dvh - 110px);overflow-y:auto}
 body.unified-store>.topbar .nav-menu{display:contents!important}
 body.unified-store>.topbar .hamb{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px;min-height:44px;margin:0}
 body.unified-store>.topbar .navlinks:is(.open,.preview-menu-open) a{width:100%;min-height:44px;text-align:left;justify-content:flex-start;padding:11px 14px}
 body.unified-store>.topbar .navlinks:is(.open,.preview-menu-open) .discord{justify-content:center}
}
@media(max-width:480px){.header-store-actions{gap:7px}.header-language-button{min-width:66px;min-height:44px;padding:8px;gap:6px}.header-language-globe{width:16px;height:16px}.header-language-menu{right:-51px}body.unified-store>.topbar .nav{gap:7px}body.unified-store>header .store-brand{gap:6px!important}body.unified-store>header .store-brand .wordmark{font-size:17px!important}}
@media(max-width:359px){body.unified-store>header .store-brand .wordmark{font-size:15px!important}body.unified-store>header .store-brand-logo{width:28px!important;height:28px!important;flex-basis:28px}.header-language-button{min-width:60px}}
@media(prefers-reduced-motion:reduce){.header-language-button,.header-language-chevron,.header-language-menu{transition:none;animation:none}}
body.i18n-active :is(.btn,.home-service-card,.compact-package-card,.market-product-card,.product-catalog-card,.after-step,.footer-column,.modalbox){min-width:0}
body.i18n-active :is(.btn,.home-service-card p,.compact-package-card li,.market-product-card p,.product-catalog-card p,.after-step p,.footer-column a,.modalbox p){white-space:normal;overflow-wrap:anywhere;hyphens:auto}
html.language-hydrating body{visibility:hidden}
html.language-hydrating:before{content:"MODZGT1";position:fixed;inset:0;z-index:100000;display:grid;place-items:center;background:radial-gradient(circle at 50% 38%,rgba(168,85,247,.2),transparent 31%),#07050d;color:#f5efff;font:900 clamp(1.65rem,5vw,3rem)/1 Orbitron,Arial,sans-serif;letter-spacing:.08em}
.language-policy-note{width:min(100% - 36px,var(--store-width,1180px));margin:18px auto 0;padding:13px 17px;border:1px solid #b58bd438;border-radius:12px;background:#a273d510;color:#d5c4e4;font:inherit;font-size:14px;line-height:1.7}
.language-policy-note[hidden]{display:none}
.policy-content[data-language-policy-fallback]{direction:ltr;text-align:left}
html[lang="zh"] body :is(h1,h2,h3,h4,.mg-kicker,.hero p,.lead,.btn,.nav-menu a,.header-language-heading,.home-benefit-label,.mg-caption-text){font-family:"Microsoft YaHei","PingFang SC","Noto Sans SC",Arial,sans-serif!important;letter-spacing:0!important}
/* Arabic changes text only. Keep grids, icons, controls and navigation in place. */
html[lang="ar"] :is(p,h1,h2,h3,h4,.lead,.mg-kicker,.btn,.navlinks a,.footer-column a,.header-language-option strong,.home-benefit-label,.mg-caption-text,.local-plan-name,.local-plan-selected>span:first-child){unicode-bidi:plaintext}
html[lang="ar"] :is(.price,.local-plan-price,.success-order-id span,code,pre,[data-key-value],input[type="email"],input[name="order_reference"],input[type="number"],.crypto-payment-address){direction:ltr;unicode-bidi:isolate}
