/* Nexus Store: the Nexus app's own look (design 1, Signature layout), sizes and colours taken from the app's styles.css */
@font-face { font-family: "Urbanist"; font-weight: 100 900; font-style: normal; font-display: swap; src: url(/assets/fonts/urbanist-variable.woff2) format("woff2"); }

/* ================= tokens (the app's design 1) ================= */
:root {
  color-scheme: dark;
  --bg: #05080a;
  --teal: #2bb8c6;
  --teal-hi: #3fdcea;
  --teal-deep: #13808c;
  --teal-glow: rgba(63, 220, 234, .35);
  --text: #eaf6f7;
  --strong: #f4f8f9;
  --muted: #95a8ac;
  --soft: #a8b8bb;
  --dim: #6f8488;
  --line: rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .08);
  --glass: rgba(10, 16, 18, .65);
  --panel: rgba(12, 20, 22, .85);
  --green: #35e08a;
  --red: #e4283d;
  --discord: #5865f2;
  --font: "Urbanist", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 500 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[lang="ar"] body { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; border-radius: 8px; }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] svg.flip { transform: scaleX(-1); }
.skip { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--teal); color: #fff; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ================= background: drifting teal specks over the dark (the app's backdrop.js) ================= */
#pic { display: none; }
#dust { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
#view { position: relative; z-index: 2; min-height: 100vh; outline: none; }
#view.enter > * { animation: fade .3s ease; }

/* ================= the top bar: the app's dark glass with its lit teal edge ================= */
.top { position: fixed; z-index: 20; top: 0; inset-inline: 0; height: 76px; transition: background .3s, backdrop-filter .3s; }
.top::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; opacity: 0; transition: opacity .3s;
  background: linear-gradient(90deg, transparent 0%, rgba(63, 224, 238, .25) 20%, rgba(185, 248, 253, .9) 50%, rgba(63, 224, 238, .25) 80%, transparent 100%);
  box-shadow: 0 0 14px rgba(63, 224, 238, .6); }
.top.solid { background: linear-gradient(180deg, rgba(10, 21, 23, .92), rgba(5, 10, 12, .82)); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.top.solid::after { opacity: 1; }
.top-in { height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 30px; }
.top-logo { flex: none; }
.top-logo img { height: 42px; width: auto; }
.top-nav { display: flex; gap: 6px; }
.top-link { position: relative; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 13px; border: 1px solid transparent; color: #9fb1b4; font-size: 15px; font-weight: 600; transition: color .2s, background .2s, border-color .2s, box-shadow .2s; }
.top-link svg.i { width: 19px; height: 19px; stroke-width: 1.7; }
.top-link:hover:not(.on) { color: #e9f4f5; background: rgba(255, 255, 255, .04); }
/* the open page: the app's glowing glass marker */
.top-link.on { color: #fff; background: linear-gradient(180deg, rgba(43, 184, 198, .26), rgba(43, 184, 198, .06)); border-color: rgba(120, 236, 245, .32);
  box-shadow: 0 0 22px -6px rgba(63, 224, 238, .5), inset 0 1px 0 rgba(255, 255, 255, .08); }
.top-link.on svg.i { color: var(--teal-hi); filter: drop-shadow(0 0 6px rgba(63, 224, 238, .7)); }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
/* the cart: the app's account card, as a pill */
.top-cart { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 5px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-soft); transition: border-color .15s; }
[dir="rtl"] .top-cart { padding: 0 5px 0 16px; }
.top-cart:hover { border-color: rgba(43, 184, 198, .6); }
.cart-ring { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--teal-hi);
  background: radial-gradient(circle, rgba(43, 184, 198, .18), rgba(5, 8, 10, .9)); box-shadow: 0 0 0 2px rgba(63, 220, 234, .55), 0 0 14px rgba(63, 220, 234, .35); }
.cart-ring svg.i { width: 17px; height: 17px; }
.cart-ring .count { position: absolute; top: -6px; inset-inline-end: -6px; }
.top-cart b { display: block; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; text-align: start; }
.top-cart small { display: block; font-size: 12px; font-weight: 700; color: #74e6ee; line-height: 1.3; text-align: start; }
.tool-btn { position: relative; height: 42px; min-width: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(10, 16, 18, .6); color: var(--text); font-size: 13px; font-weight: 700; transition: border-color .15s; }
.tool-btn:hover { border-color: rgba(120, 236, 245, .5); }
.menu-btn { display: none; }
.count { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; color: #05080a; background: var(--teal-hi); box-shadow: 0 0 10px rgba(63, 220, 234, .7); }
.count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ================= buttons and small parts (design 1) ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent; background: none;
  font-size: 15.5px; font-weight: 600; white-space: nowrap; transition: border-color .2s, box-shadow .2s, background .2s, transform .1s; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { border-color: rgba(120, 236, 245, .75); background: linear-gradient(180deg, #2bb8c6 0%, #13808c 100%); color: #fff; font-weight: 700;
  box-shadow: 0 0 28px rgba(63, 220, 234, .35), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 0 36px rgba(63, 220, 234, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-glass { border-color: rgba(255, 255, 255, .14); background: rgba(10, 16, 18, .6); color: var(--text); }
.btn-glass:hover:not(:disabled) { border-color: rgba(120, 236, 245, .5); }
.btn-discord { color: #fff; background: var(--discord); border-color: rgba(255, 255, 255, .15); }
.btn-discord:hover:not(:disabled) { background: #6b76f5; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; box-shadow: none; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); background: rgba(4, 6, 7, .45); color: #fff; transition: border-color .15s, background .15s; }
.icon-btn:hover { border-color: var(--teal-hi); }
.icon-btn.added { border-color: var(--teal-hi); color: var(--teal-hi); box-shadow: 0 0 14px rgba(63, 220, 234, .4); }
.link { color: var(--teal-hi); }
.link:hover { text-decoration: underline; }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 10px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  background: rgba(4, 6, 7, .72); border: 1px solid rgba(255, 255, 255, .14); color: var(--text); backdrop-filter: blur(8px); }
.badge svg.i { width: 13px; height: 13px; stroke-width: 2; }
.badge.new { background: linear-gradient(180deg, #3fdcea, #2bb8c6); border-color: transparent; color: #05080a; }
.badge.free { background: var(--strong); border-color: transparent; color: #0b1012; }
.badge.premium { background: linear-gradient(160deg, #e4283d, #a50e1f); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(228, 40, 61, .35); }
.badge.soon { color: var(--soft); }
.badge.teal { background: rgba(53, 212, 226, .16); border-color: rgba(120, 236, 245, .35); color: #74e6ee; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }

.price { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 800; color: var(--strong); }
.price .now { font-size: 17px; }
.price s { color: var(--dim); font-weight: 500; font-size: 13px; }
.price.soon .now { font-size: 14px; font-weight: 600; color: var(--muted); }
.price.free .now { color: #74e6ee; }

/* ================= Home: the app's Home screen ================= */
.home { position: relative; height: 100vh; min-height: 720px; max-height: 1000px; overflow: hidden; }
/* the pack's picture in the far top corner, melting into the dark toward the title and the bottom */
.home-art { position: absolute; top: 0; inset-inline-end: 0; width: min(64vw, 1000px); height: 86%; background: center / cover no-repeat; opacity: 0; transition: opacity .9s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 48%), linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .4) 14%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 48%), linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .4) 14%, #000 34%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
[dir="rtl"] .home-art { -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 48%), linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .4) 14%, #000 34%);
  mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 48%), linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .4) 14%, #000 34%); }
.home-art.on { opacity: 1; }
.home-glow { position: absolute; top: -200px; inset-inline-start: -60px; width: 760px; height: 620px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(40, 190, 205, .1), rgba(40, 190, 205, 0)); }
.home-copy { position: absolute; z-index: 1; top: clamp(150px, 20vh, 200px); inset-inline-start: max(32px, calc((100% - 1320px) / 2 + 32px)); inset-inline-end: 32px; max-width: 760px; }
.big-name { margin: 0; font-size: clamp(80px, 10.5vw, 150px); line-height: .86; font-weight: 900; letter-spacing: -.035em; color: var(--strong); white-space: nowrap; direction: ltr; text-align: start; }
[dir="rtl"] .big-name { text-align: right; }
.big-name .num { color: var(--teal-hi); text-shadow: 0 0 40px rgba(63, 220, 234, .45); }
.big-kicker { margin: 22px 0 0; font-size: 17px; font-weight: 700; letter-spacing: 8px; text-transform: uppercase; color: #eef6f7; }
[lang="ar"] .big-kicker { letter-spacing: 1px; font-size: 18px; text-transform: none; }
.big-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 12px 0 0; font-size: 17px; font-weight: 500; color: var(--soft); }
.big-line .dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-hi); }
.home-copy .actions { margin-top: 34px; }
.home-copy .actions .btn-primary { min-width: 236px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
/* three boxes of 180 under the buttons */
.facts3 { display: grid; grid-template-columns: repeat(3, 180px); gap: 12px; margin-top: 22px; }
.fact { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 0 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); font-size: 17px; font-weight: 700; line-height: 1.2; }
.fact svg.i { width: 24px; height: 24px; stroke-width: 1.6; color: var(--text); }
.fact small { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 400; color: var(--muted); }
.fact .price .now { font-size: 17px; }
.fact .price.soon .now { font-size: 15px; color: var(--text); font-weight: 700; }

/* the packs: one glass strip at the foot, a bubble of teal light under the picked one */
.bar-wrap { position: absolute; z-index: 3; bottom: 40px; inset-inline-start: max(32px, calc((100% - 1320px) / 2 + 32px)); max-width: calc(100% - 64px); }
.bar { position: relative; display: flex; gap: 2px; padding: 5px; overflow-x: auto; scrollbar-width: none; border-radius: 999px;
  background: rgba(8, 16, 18, .45); border: 1px solid rgba(120, 236, 245, .22); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 0 22px rgba(43, 184, 198, .2), 0 16px 34px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.bar::-webkit-scrollbar { display: none; }
.bar-bubble { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(63, 224, 238, .3), rgba(19, 128, 140, .2)); border: 1px solid rgba(150, 240, 248, .55);
  box-shadow: 0 0 16px rgba(63, 224, 238, .4), inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 14px rgba(63, 224, 238, .2);
  transition: left .5s cubic-bezier(.2, .8, .2, 1), width .5s cubic-bezier(.2, .8, .2, 1); }
.bar-item { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 5px; border: 0; border-radius: 999px; background: none;
  color: rgba(225, 240, 242, .62); font: 800 14px/1 var(--font); white-space: nowrap; transition: color .25s, background-color .25s; }
[dir="rtl"] .bar-item { padding: 0 5px 0 14px; }
.bar-item:hover:not(.on) { color: #fff; background-color: rgba(255, 255, 255, .06); }
.bar-item.on { color: #fff; }
.bar-pic { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: #0c262b center / cover; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .16); transition: box-shadow .25s; }
.bar-item.on .bar-pic { box-shadow: 0 0 0 2px #b9f8fd, 0 0 12px rgba(63, 224, 238, .7); }
.bar-pic .art-mark img { width: 18px; }
.bar-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.bar-item.ready .bar-dot { background: #3fe0ee; box-shadow: 0 0 8px rgba(63, 224, 238, .9); }

/* ================= inner pages (like the app's Graphics packs / Addons / Settings) ================= */
.page { padding: 130px 32px 40px; max-width: 1320px; margin: 0 auto; }
/* home sections under the opening screen */
.hsec { max-width: 1320px; margin: 0 auto; padding: 100px 32px 0; }
.hsec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.hsec-k { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 6px; text-transform: uppercase; color: var(--teal-hi); }
[lang="ar"] .hsec-k { letter-spacing: 1px; font-size: 14px; }
.hsec-k::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--teal-hi); box-shadow: 0 0 10px rgba(63, 224, 238, .8); }
.hsec-t { margin: 10px 0 0; font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--strong); }
[lang="ar"] .hsec-t { letter-spacing: 0; line-height: 1.3; }
.hsec-s { margin: 8px 0 0; color: var(--soft); max-width: 60ch; }
.hsec .help-grid { margin-top: 0; }
.hsec .discord-card { margin-top: 0; padding: 26px 28px; }
.page-title { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -.5px; color: var(--strong); line-height: 1.15; }
[lang="ar"] .page-title { letter-spacing: 0; line-height: 1.35; }
.page-sub { margin: 8px 0 30px; font-size: 15px; font-weight: 500; color: var(--soft); max-width: 70ch; }
.sec-title { margin: 44px 0 16px; font-size: 22px; font-weight: 700; color: var(--strong); display: flex; align-items: center; gap: 12px; }
.sec-title svg.i { width: 24px; height: 24px; color: var(--teal-hi); }

/* pack cards (the app's pack cards) */
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.pk { position: relative; display: block; height: 260px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #040607 center / cover; color: var(--strong);
  transition: border-color .2s, box-shadow .2s, transform .2s; }
.pk:hover { transform: translateY(-2px); border-color: var(--teal-hi); box-shadow: 0 0 26px rgba(63, 220, 234, .35); }
.pk-dim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 6, 7, .94) 0%, rgba(4, 6, 7, .2) 60%, rgba(4, 6, 7, 0)); }
.pk .badges { position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px; }
.pk-foot { position: absolute; z-index: 1; inset-inline: 18px 14px; bottom: 14px; display: flex; align-items: flex-end; gap: 12px; }
.pk-foot b { display: block; font-size: 25px; font-weight: 800; letter-spacing: -.4px; line-height: 1.1; }
.pk-foot small { display: block; margin-top: 4px; color: #c2c8c5; font-size: 13.5px; font-weight: 400; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.pk-foot .price { margin-top: 8px; }
.pk-foot .icon-btn { margin-inline-start: auto; }

/* addon cards (the app's Addons page) */
.filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.cats { display: flex; gap: 8px; flex-wrap: wrap; }
.cat { height: 38px; padding: 0 16px; border-radius: 19px; border: 1px solid var(--line); background: rgba(10, 16, 18, .6); color: var(--soft); font-weight: 600; font-size: 13.5px; transition: all .15s; }
.cat:hover { color: #fff; border-color: rgba(120, 236, 245, .5); }
.cat.on { background: linear-gradient(180deg, #2bb8c6, #13808c); border-color: rgba(120, 236, 245, .75); color: #fff; box-shadow: 0 0 16px rgba(63, 220, 234, .3); }
.search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 14px; min-width: 280px; background: var(--glass); border: 1px solid var(--line); color: var(--muted); }
.search:focus-within { border-color: var(--teal-hi); }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--text); font-size: 14.5px; font-weight: 500; }
.search input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.addon { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-soft); transition: border-color .2s, transform .2s; }
.addon:hover { border-color: rgba(120, 236, 245, .5); transform: translateY(-2px); }
.addon-img { position: relative; aspect-ratio: 16 / 9; background: #0a1214 center / cover; }
.addon-img .badges { position: absolute; top: 12px; inset-inline: 12px; justify-content: space-between; }
.addon-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.addon-cat { font-size: 12.5px; font-weight: 700; color: #74e6ee; }
.addon-name { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--strong); }
.addon-name a::after { content: ""; position: absolute; inset: 0; }
.addon-desc { margin: 2px 0 14px; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.addon-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.addon-foot .icon-btn { position: relative; z-index: 1; }
.addon-foot .note { font-size: 13px; color: var(--muted); }

/* no picture yet: Nexus teal art with the mark */
.art-0, .art-1, .art-2, .art-3 { background-image: radial-gradient(120% 90% at 80% 100%, #128a96 0%, #0a2d33 45%, #05080a 100%) !important; }
.art-1 { background-image: radial-gradient(120% 90% at 20% 100%, #13808c 0%, #0b2226 50%, #05080a 100%) !important; }
.art-mark { position: absolute; inset: 0; display: grid; place-items: center; }
.art-mark img { width: 64px; opacity: .6; }

.empty { grid-column: 1 / -1; padding: 50px 20px; text-align: center; color: var(--muted); border: 1px dashed rgba(255, 255, 255, .16); border-radius: 18px; display: grid; justify-items: center; gap: 12px; }
.empty svg.i { width: 30px; height: 30px; color: var(--dim); }
.skel { border-radius: 18px; background: linear-gradient(100deg, rgba(255, 255, 255, .03) 30%, rgba(63, 220, 234, .07) 50%, rgba(255, 255, 255, .03) 70%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ================= a pack's own page (the app's pack page: its picture fills the screen) ================= */
.ph { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px max(32px, calc((100% - 1320px) / 2 + 32px)) 60px; overflow: hidden; }
.ph-art { position: absolute; inset: 0; background: center 30% / cover no-repeat; animation: ph-in .55s ease; }
@keyframes ph-in { from { opacity: 0; transform: scale(1.03); } }
.ph-fade { position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(5, 8, 10, .82) 30%, rgba(5, 8, 10, .25) 62%, rgba(5, 8, 10, .1) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 8, 10, 0) 45%); }
[dir="rtl"] .ph-fade { background: linear-gradient(270deg, var(--bg) 0%, rgba(5, 8, 10, .82) 30%, rgba(5, 8, 10, .25) 62%, rgba(5, 8, 10, .1) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 8, 10, 0) 45%); }
.ph-back { position: absolute; z-index: 2; top: 100px; inset-inline-start: max(32px, calc((100% - 1320px) / 2 + 32px)); width: 44px; height: 44px; }
.ph-copy { position: relative; z-index: 1; max-width: 720px; }
.ph-copy .badges { margin-bottom: 18px; }
.ph .big-name { font-size: clamp(60px, 9vw, 116px); }
.ph .big-line { max-width: 600px; white-space: normal; }
.ph-copy .actions { margin-top: 30px; }
.ph-copy .actions .btn-primary { min-width: 236px; }
.ph-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.ph-note svg.i { width: 16px; height: 16px; }
.ph-gallery { position: absolute; z-index: 2; bottom: 60px; inset-inline-end: 48px; display: flex; gap: 10px; }
.ph-gallery button { position: relative; width: 112px; aspect-ratio: 16 / 9; padding: 0; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .2); background: #0a1214 center / cover; opacity: .7; transition: all .2s; }
.ph-gallery button:hover { opacity: 1; }
.ph-gallery button.on { opacity: 1; border-color: var(--teal-hi); box-shadow: 0 0 16px rgba(63, 220, 234, .45); }
.ph-gallery .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .35); border-radius: 10px; }
.ph-video { position: absolute; inset: 0; z-index: 0; }
.ph-video iframe { width: 100%; height: 100%; border: 0; }
/* the FPS box (the app's fps chip) */
.fps-chip { display: flex; flex-direction: column; justify-content: center; gap: 7px; min-height: 72px; padding: 0 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.fps-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.fps-top b { margin-inline-start: auto; color: var(--strong); font-weight: 800; direction: ltr; }
.fps-top svg.i { width: 16px; height: 16px; color: var(--teal-hi); }
.fps-bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.fps-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #13808c, #3fdcea); box-shadow: 0 0 10px rgba(63, 220, 234, .5); }
[dir="rtl"] .fps-bar i { background: linear-gradient(270deg, #13808c, #3fdcea); margin-inline-start: 0; }

/* details under the picture */
.details { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; padding: 0 32px 30px; max-width: 1320px; margin: 0 auto; }
.card { padding: 26px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-soft); }
.card h2 { margin: 0 0 14px; font-size: 20px; font-weight: 700; color: var(--strong); display: flex; align-items: center; gap: 10px; }
.card h2 svg.i { width: 22px; height: 22px; color: var(--teal-hi); }
.card p { margin: 0 0 10px; color: var(--muted); }
.prose { white-space: pre-line; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--soft); font-size: 14.5px; }
.checks svg.i { color: var(--teal-hi); margin-top: 3px; }
.card + .card, .stack > * + * { margin-top: 18px; }
.related { padding: 10px 32px 40px; max-width: 1320px; margin: 0 auto; }

/* ================= help page: steps, requirements, FAQ ================= */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; padding: 24px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.step-n { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, #2bb8c6, #13808c); border: 1px solid rgba(120, 236, 245, .75); box-shadow: 0 0 20px rgba(63, 220, 234, .35); }
.step h3 { margin: 18px 0 6px; font-size: 19px; font-weight: 700; color: var(--strong); }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.help-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; margin-top: 18px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--glass); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(120, 236, 245, .5); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; font-weight: 700; color: var(--strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.i { color: var(--dim); transition: transform .25s var(--ease), color .2s; }
.faq details[open] summary svg.i { transform: rotate(45deg); color: var(--teal-hi); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.discord-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; margin-top: 18px;
  background: linear-gradient(120deg, rgba(88, 101, 242, .22), rgba(10, 16, 18, .6) 70%); border: 1px solid rgba(88, 101, 242, .35); }
.discord-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--discord); color: #fff; }
.discord-card b { display: block; font-size: 17px; font-weight: 700; color: #fff; }
.discord-card small { color: var(--soft); font-size: 13.5px; }

/* ================= cart and phone menu panels ================= */
.sheet-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(2, 4, 5, .6); backdrop-filter: blur(4px); animation: fade .2s ease; }
.drawer { position: fixed; z-index: 81; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); display: flex; flex-direction: column;
  background: linear-gradient(160deg, #0f2226, #071012 60%); border-inline-start: 1px solid rgba(120, 236, 245, .3); box-shadow: 0 0 40px rgba(43, 184, 198, .15); animation: slide-in .3s var(--ease); }
.drawer.start { inset-inline-end: auto; inset-inline-start: 0; border-inline-start: 0; border-inline-end: 1px solid rgba(120, 236, 245, .3); animation-name: slide-in-start; }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-in-start { from { transform: translateX(-100%); } }
[dir="rtl"] .drawer { animation-name: slide-in-start; }
[dir="rtl"] .drawer.start { animation-name: slide-in; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line-soft); }
.drawer-head h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--strong); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.menu-links { display: grid; gap: 8px; }
.menu-links a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; border-radius: 14px; font-weight: 600; color: #9fb1b4; border: 1px solid transparent; }
.menu-links a.on { color: #fff; background: linear-gradient(90deg, rgba(43, 184, 198, .26), rgba(43, 184, 198, .05)); border-color: rgba(120, 236, 245, .32); }
.menu-links svg.i { width: 22px; height: 22px; }
.menu-links a.on svg.i { color: var(--teal-hi); }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); animation: fade .25s ease; }
.cart-item .img { position: relative; width: 76px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #0a1214 center / cover; }
.cart-item .img .art-mark img { width: 26px; }
.cart-item b { display: block; font-weight: 700; color: var(--strong); line-height: 1.3; }
.cart-item .price .now { font-size: 14px; }
.cart-item .pay { display: inline-flex; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--teal-hi); }
.total { display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: var(--soft); }
.total b { font-size: 24px; font-weight: 800; color: var(--strong); }
.fine { margin: 0; font-size: 12.5px; color: var(--dim); }

/* ================= legal pages + footer ================= */
.legal { max-width: 820px; }
.legal h2 { margin: 30px 0 10px; font-size: 20px; font-weight: 700; color: var(--strong); }
.legal p, .legal li { color: var(--soft); }
.legal ul { padding-inline-start: 20px; display: grid; gap: 6px; }
.updated { color: var(--dim); font-size: 13px; }
/* the website footer: the app's dark glass, lit along its top edge */
.foot { position: relative; margin-top: 110px; background: linear-gradient(180deg, rgba(10, 21, 23, .9), #05080a); border-top: 1px solid rgba(255, 255, 255, .06); }
.foot::before { content: ""; position: absolute; top: -1px; inset-inline: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(185, 248, 253, .8), transparent); box-shadow: 0 0 14px rgba(63, 224, 238, .6); }
.foot-in { max-width: 1320px; margin: 0 auto; padding: 56px 32px 0; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.foot-brand img { height: 44px; width: auto; }
.foot-brand p { margin: 14px 0 18px; color: var(--muted); font-size: 14px; max-width: 34ch; }
.foot h4 { margin: 4px 0 16px; font-size: 13px; font-weight: 700; color: var(--teal-hi); letter-spacing: .12em; text-transform: uppercase; }
[lang="ar"] .foot h4 { letter-spacing: 0; font-size: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot ul a { color: var(--soft); font-size: 14.5px; transition: color .15s; }
.foot ul a:hover { color: #fff; }
.foot-bottom { max-width: 1320px; margin: 40px auto 0; padding: 20px 32px 28px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.flag-line { display: inline-flex; width: 34px; height: 3px; border-radius: 2px; overflow: hidden; vertical-align: middle; margin-inline-start: 8px; }
.flag-line i { flex: 1; }
.flag-line i:nth-child(1) { background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.flag-line i:nth-child(2) { background: #f2f2f2; }
.flag-line i:nth-child(3) { background: #1fae5b; }
.flag-line i:nth-child(4) { background: var(--red); }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-methods span { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 7px; border: 1px solid var(--line); font-size: 12px; color: var(--soft); }

/* ================= messages, lightbox ================= */
.toasts { position: fixed; z-index: 95; bottom: 22px; inset-inline-end: 22px; display: grid; gap: 8px; width: min(380px, calc(100% - 32px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(12, 20, 22, .96); border: 1px solid rgba(120, 236, 245, .35);
  box-shadow: 0 0 24px rgba(43, 184, 198, .2), 0 16px 40px rgba(0, 0, 0, .5); font-weight: 600; font-size: 14px; animation: toast-in .3s var(--ease); }
.toast svg.i { color: var(--teal-hi); }
.toast a { margin-inline-start: auto; color: var(--teal-hi); font-weight: 700; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade { from { opacity: 0; } }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(2, 4, 5, .92); animation: fade .2s ease; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 14px; }
.lightbox .icon-btn { position: absolute; top: 18px; inset-inline-end: 18px; }

/* ================= smaller screens ================= */
@media (max-width: 1180px) {
  .details { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .ph-gallery { position: relative; bottom: auto; inset-inline-end: auto; margin-top: 26px; z-index: 1; }
}
@media (max-width: 1080px) {
  /* the menu goes into a panel opened from the bar */
  .top-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .top { height: 64px; }
  .top-in { padding: 0 14px; gap: 10px; }
  .top-logo img { height: 34px; }
  .top-cart { padding: 0 5px; height: 44px; }
  .top-cart > span:last-child, .top-discord { display: none; }
  .home { height: auto; max-height: none; min-height: 100vh; padding: 64px 20px 120px; }
  .home-art { width: 100%; height: 62%; inset-inline-end: 0; opacity: 0; }
  .home-art.on { opacity: .75; }
  .home-copy { position: relative; top: auto; inset-inline: auto; padding-top: 30vh; }
  .big-name { font-size: clamp(56px, 17vw, 110px); }
  .big-kicker { font-size: 14px; letter-spacing: 5px; }
  .facts3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bar-wrap { inset-inline-start: 20px; max-width: calc(100% - 40px); bottom: 26px; }
  .page { padding: 96px 20px 30px; }
  .hsec { padding: 70px 20px 0; }
  .ph { padding: 110px 20px 34px; }
  .ph-back { top: 80px; inset-inline-start: 20px; }
  .details, .related { padding-inline: 20px; }
  .steps3 { grid-template-columns: 1fr; }
  .foot-in { padding: 40px 20px 0; gap: 28px; }
  .foot-bottom { padding: 18px 20px 24px; }
}
@media (max-width: 560px) {
  .page-title { font-size: 32px; }
  .facts3 { grid-template-columns: 1fr 1fr; }
  .fact { min-height: 62px; font-size: 15px; padding: 0 12px; gap: 10px; }
  .actions .btn, .home-copy .actions .btn-primary, .ph-copy .actions .btn-primary { flex: 1; min-width: 0; }
  .search { min-width: 100%; }
  .discord-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .foot-in { grid-template-columns: 1fr; }
  .toasts { inset-inline: 16px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
