/* LWR Store - Night Shift theme (Tebex legacy template 'ahmad').
   Brand rules: .claude/skills/lwr-brand/SKILL.md. Motion lives in motion.css / motion.js.
   Image URLs come from head.twig as CSS variables (--hero-bg, --hero-bg-m) because Tebex serves assets from hashed CDN paths. */
:root {
  --page: #08080C; --card: #0B0F18; --navy: #0E1E3A;
  --primary: #3A6BC9; --hover: #5090D8; --press: #2A55A8; --glow: #C0F0F2; --link: #5090D8;
  --text: #fff; --soft: #d5dbe6; --muted: #9CA3AF; --line: rgba(255,255,255,.1);
  --ar: "Thmanyah Sans", "IBM Plex Sans Arabic", Tahoma, system-ui, sans-serif;
  --display: "Big Shoulders Display", "Thmanyah Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--page); color: var(--text); font: 500 16px/1.75 var(--ar); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="en"] body { line-height: 1.6; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }
.d { font-family: var(--display); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.icon { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .flip, [dir="ltr"] .flip-ltr { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--hover); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border: 0; cursor: pointer; font-weight: 600; font-size: 16px; border-radius: 999px; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 0 0 1px var(--hover), 0 0 0 5px rgba(80,144,216,.18); }
.btn-primary:active { background: var(--press); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--hover); }
.glow { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 40px -8px rgba(192,240,242,.45); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* Header */
.hdr { position: fixed; inset-inline: 0; top: 0; z-index: 30; transition: background-color .25s var(--ease); }
.hdr.solid { background: rgba(8,8,12,.9); backdrop-filter: blur(12px); }
.hdr .wrap { display: flex; align-items: center; gap: 36px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand b { font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: .04em; }
.nav { display: flex; gap: 28px; font-size: 15px; color: rgba(255,255,255,.7); }
.nav a:hover, .nav a.on { color: #fff; }
.nav a.on { text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 10px; text-decoration-thickness: 2px; }
.tools { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 14px; border-radius: 999px; background: rgba(8,8,12,.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); border: 0; cursor: pointer; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--hover); }
.lang { padding: 4px; gap: 2px; }
.lang span { padding: 3px 10px; border-radius: 999px; color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 15px; }
.lang span.on { background: #fff; color: var(--page); }
.menu { display: none; }

/* Hero: poster */
.hero { position: relative; min-height: 100vh; overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.hero .layer { position: absolute; will-change: transform; }
/* Background = the owner's banner (in the template: an asset), with its own phone crop */
.hero .shot { inset: -6% 0; background: var(--hero-bg) center / cover no-repeat; }
.hero .dim { inset: 0; background: rgba(8,8,12,.38); }
/* The real logo file (in the template: //dunb17ur4ymx4.cloudfront.net/webstore/logos/6c0babfdfdd386cee33e9ef5f0877586edccd6c0.png) as a large, lit layer */
.hero .logo { top: 50%; inset-inline-end: 9%; width: min(36vw, 520px); aspect-ratio: 1; margin-top: calc(min(36vw, 520px) / -2 - 40px); }
.hero .logo .gem-img { filter: drop-shadow(0 0 1px rgba(192,240,242,.4)); }
.hero .tint { inset: 0; background:
  radial-gradient(60% 70% at 70% 30%, rgba(58,107,201,.28), transparent 60%),
  linear-gradient(to top, var(--page) 3%, transparent 45%); mix-blend-mode: normal; }
[dir="rtl"] .hero .tint { background: radial-gradient(60% 70% at 30% 30%, rgba(58,107,201,.28), transparent 60%), linear-gradient(to top, var(--page) 3%, transparent 45%); }
.hero .side { inset: 0; background: linear-gradient(to right, rgba(8,8,12,.92) 12%, rgba(8,8,12,.55) 38%, transparent 62%); }
[dir="rtl"] .hero .side { background: linear-gradient(to left, rgba(8,8,12,.92) 12%, rgba(8,8,12,.55) 38%, transparent 62%); }
.hero .giant { inset: auto -2% -4% auto; font-family: var(--display); font-weight: 900; font-size: 34vw; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(192,240,242,.18); letter-spacing: -.02em; white-space: nowrap; direction: ltr; }
.hero .content { position: relative; z-index: 2; align-self: end; padding-block: 160px 40px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: 1.05; margin: 0 0 24px; font-weight: 700; max-width: 9.5em; letter-spacing: -.01em; }
html[lang="en"] .hero h1 { font-family: var(--display); font-weight: 900; text-transform: none; line-height: .92; max-width: 11em; font-size: clamp(56px, 8vw, 128px); }
.hero .row { display: flex; align-items: end; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.hero p { font-size: 19px; color: var(--soft); margin: 0; max-width: 30em; }
.acts { display: flex; gap: 12px; flex-wrap: wrap; }
.ticker { position: relative; z-index: 2; border-block: 1px solid var(--line); display: flex; gap: 0; }
.ticker > div { flex: 1; padding: 18px 24px; display: flex; gap: 14px; align-items: baseline; }
.ticker > div + div { border-inline-start: 1px solid var(--line); }
.ticker small { color: var(--muted); font-size: 14px; }
.ticker b { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: .01em; }

/* Product rail */
.sec { padding-block: 96px; }
.head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-block-end: 30px; }
.head h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -.01em; }
.head p { margin: 10px 0 0; color: var(--muted); max-width: 30em; }
.arrows { display: flex; gap: 8px; }
.arrows .chip { width: 48px; height: 48px; justify-content: center; padding: 0; }
.arrows .chip:disabled { opacity: .3; cursor: default; }
.cats { display: flex; gap: 20px; margin-block-end: 26px; overflow-x: auto; scrollbar-width: none; }
.cats a { font-size: 15px; color: var(--muted); white-space: nowrap; padding-block-end: 6px; border-block-end: 2px solid transparent; }
.cats a.on { color: #fff; border-color: var(--primary); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 6px 12px; }
.track::-webkit-scrollbar { display: none; }
.pc { scroll-snap-align: start; position: relative; border-radius: 22px; overflow: hidden; background: var(--card); aspect-ratio: 3 / 4.2; isolation: isolate; transition: transform .3s var(--ease); }
.pc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s var(--ease), filter .3s var(--ease); filter: grayscale(.25); }
.pc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,8,12,1) 6%, rgba(8,8,12,.72) 34%, rgba(8,8,12,0) 62%); }
.pc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .25s var(--ease); pointer-events: none; }
.pc .body { position: absolute; inset: auto 0 0; padding: 18px; display: grid; gap: 10px; }
.pc h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 34px; line-height: .95; letter-spacing: .005em; }
.pc .tags { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.tag { white-space: nowrap; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--soft); backdrop-filter: blur(4px); }
.pc .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--display); font-weight: 800; font-size: 28px; white-space: nowrap; letter-spacing: .01em; }
.price small { font-family: var(--ar); font-size: 13px; color: var(--muted); font-weight: 500; margin-inline-start: 4px; letter-spacing: 0; }
.pc:not(.m-tilt):hover { transform: translateY(-4px); }
.pc:hover::after, .pc.is-hover::after { box-shadow: inset 0 0 0 1px rgba(80,144,216,.8); }
.pc:hover img, .pc.is-hover img { transform: scale(1.05); filter: grayscale(0); }

/* How: oversized numerals, stepped layout */
.how .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.how h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin: 0; position: sticky; top: 120px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.how li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding-block: 26px; border-block-start: 1px solid var(--line); }
.how li:nth-child(2) { margin-inline-start: 48px; }
.how li:nth-child(3) { margin-inline-start: 96px; }
/* Diamond step markers (taken from direction A) */
.dm { width: 64px; height: 64px; display: grid; place-items: center; position: relative; }
.dm::before { content: ""; position: absolute; inset: 9px; transform: rotate(45deg); background: var(--card); box-shadow: inset 0 0 0 1px rgba(80,144,216,.75), 0 0 0 6px var(--page); }
.dm b { position: relative; font-family: var(--display); font-size: 24px; font-weight: 900; }
.how li { align-items: start; }

/* Reviews counter: hidden unless real data says count >= 10 */
.rv { padding-block: 72px; border-block: 1px solid var(--line); background: radial-gradient(50% 120% at 85% 50%, rgba(58,107,201,.12), transparent 70%); }
[dir="rtl"] .rv { background: radial-gradient(50% 120% at 15% 50%, rgba(58,107,201,.12), transparent 70%); }
.rv[hidden] { display: none; }
.rv .wrap { display: grid; grid-template-columns: auto auto 1fr; gap: 56px; align-items: center; }
.rv .big { font-family: var(--display); font-weight: 900; font-size: clamp(96px, 12vw, 176px); line-height: .8; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.rv .lbl { color: var(--muted); font-size: 16px; margin-block-start: 10px; }
.rv .avg { display: grid; gap: 10px; padding-inline-start: 40px; border-inline-start: 1px solid var(--line); }
.rv .avg b { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: .9; font-variant-numeric: tabular-nums; }
.rv .avg b small { font-size: 24px; color: var(--muted); font-weight: 700; }
.stars { position: relative; display: inline-block; width: 160px; height: 28px; }
.stars .row { position: absolute; inset: 0; display: flex; gap: 4px; }
.stars svg { width: 28px; height: 28px; flex: none; }
.stars .base { color: rgba(255,255,255,.14); }
.stars .fill { color: var(--hover); overflow: hidden; width: 0; transition: none; }
[dir="rtl"] .stars .fill { inset-inline-start: 0; flex-direction: row; }
.rv .note { color: var(--muted); max-width: 26em; justify-self: end; font-size: 15px; }
.how h3 { margin: 0 0 6px; font-size: 22px; }
.how p { margin: 0; color: var(--muted); }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.faq h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin: 0 0 16px; }
.faq .aside p { color: var(--muted); margin: 0 0 22px; }
details { border-block-start: 1px solid var(--line); padding-block: 22px; }
details:last-child { border-block-end: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 600; font-size: 20px; }
summary::-webkit-details-marker { display: none; }
summary .icon { width: 22px; height: 22px; transition: transform .2s var(--ease); color: var(--link); }
details[open] summary .icon { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); font-size: 17px; max-width: 36em; }

.ftr { padding-block: 40px; color: var(--muted); font-size: 14px; border-block-start: 1px solid var(--line); }
.ftr .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ftr .links { display: flex; gap: 22px; margin-inline-start: auto; }
.saudi { width: 110px; height: auto; }

/* Product page */
.p-hero { position: relative; min-height: 76vh; display: grid; align-items: end; overflow: hidden; }
.p-hero .layer { position: absolute; inset: -4% 0; will-change: transform; }
.p-hero .shot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.1) brightness(.8); }
.p-hero .fade { inset: 0; background: linear-gradient(to top, var(--page) 4%, rgba(8,8,12,.4) 45%, rgba(8,8,12,.25) 80%, rgba(8,8,12,.75)); }
.p-hero .content { position: relative; z-index: 2; padding-block: 140px 36px; }
.crumbs { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); font-size: 14px; margin-block-end: 14px; }
.crumbs .icon { width: 14px; height: 14px; }
.p-hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(72px, 12vw, 190px); line-height: .82; margin: 0; letter-spacing: -.01em; }
.p-hero p { font-size: 20px; color: var(--soft); margin: 16px 0 0; max-width: 30em; }
.thumbs { display: flex; gap: 8px; margin-block-start: 26px; }
.thumbs button { padding: 0; border: 0; cursor: pointer; width: 92px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; position: relative; opacity: .6; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: opacity .2s var(--ease); background: var(--card); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.on, .thumbs button:hover { opacity: 1; }
.thumbs button.on { outline: 2px solid #fff; outline-offset: 2px; }
.thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; }
.thumbs .play span { width: 30px; height: 30px; border-radius: 50%; background: rgba(8,8,12,.7); display: grid; place-items: center; }
.thumbs .play svg { width: 12px; height: 12px; }

.p-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; margin-block-start: -120px; position: relative; z-index: 3; }
.buy { grid-column: 2; grid-row: 1; background: rgba(11,15,24,.92); backdrop-filter: blur(14px); border-radius: 24px; padding: 26px; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -20px rgba(0,0,0,.8); }
.buy .price { font-size: 56px; line-height: .9; display: block; margin-block-end: 16px; }
.buy .row { display: flex; gap: 6px; margin-block-end: 14px; }
.escrow-badge { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(58,107,201,.14); box-shadow: inset 0 0 0 1px rgba(80,144,216,.4); margin-block-end: 18px; font-size: 14px; }
.escrow-badge .icon { width: 22px; height: 22px; color: var(--glow); }
.escrow-badge b { display: block; font-size: 15px; }
.escrow-badge span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.buy .stack { display: grid; gap: 10px; }
.buy .help { margin-block-start: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 14px; }
.buy .help a { color: var(--link); display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.intro { grid-column: 1; grid-row: 1; padding-block-start: 150px; }
/* the body overlaps the hero; let clicks reach the gallery thumbs underneath */
.p-body, .intro { pointer-events: none; }
.buy, .intro > * { pointer-events: auto; }
.intro p { font-size: 22px; line-height: 1.7; color: var(--soft); margin: 0; max-width: 28em; }
.scenes { margin-block-start: 96px; }
.scenes h2, .tabs-box h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin: 0 0 36px; }
.scene { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; margin-block-end: 56px; }
.scene:nth-child(even) { grid-template-columns: 5fr 7fr; }
.scene:nth-child(even) .pic { order: 2; }
.scene .pic { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; }
.scene .pic img { width: 100%; height: 100%; object-fit: cover; }
.scene .n { font-family: var(--display); font-weight: 900; font-size: 120px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(80,144,216,.9); }
.scene h3 { font-size: 30px; margin: 10px 0 8px; line-height: 1.2; }
.scene p { margin: 0; color: var(--muted); font-size: 18px; }
.tabs-box { margin-block-start: 40px; }
.tablist { display: flex; gap: 28px; border-block-end: 1px solid var(--line); margin-block-end: 26px; overflow-x: auto; scrollbar-width: none; }
.tablist button { background: none; border: 0; padding: 0 0 14px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 18px; white-space: nowrap; border-block-end: 2px solid transparent; margin-block-end: -1px; }
.tablist button[aria-selected="true"] { color: #fff; border-color: var(--primary); }
.panel { font-size: 17px; }
.panel p { color: var(--soft); margin: 0 0 12px; max-width: 42em; }
.panel dl { display: grid; grid-template-columns: 200px 1fr; gap: 14px 24px; margin: 0; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.panel li { display: flex; gap: 12px; align-items: center; }
.panel li .icon { color: var(--link); }
.log { display: grid; grid-template-columns: 100px 1fr; gap: 12px 24px; }
.log b { font-family: var(--display); font-size: 22px; color: var(--link); }

.buybar { position: fixed; z-index: 25; inset-inline: 0; top: 76px; display: flex; align-items: center; gap: 18px; padding: 10px max(20px, calc((100% - 1320px) / 2)); background: rgba(8,8,12,.92); backdrop-filter: blur(12px); border-block-end: 1px solid var(--line); transform: translateY(calc(-100% - 90px)); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .36s; }
.buybar.show { transform: none; visibility: visible; transition-delay: 0s; }
.buybar .bb-name { font-family: var(--display); font-size: 30px; font-weight: 900; line-height: 1; }
.buybar .bb-esc { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; }
.buybar .bb-esc .icon { color: var(--link); width: 16px; }
.buybar .price { margin-inline-start: auto; }
.buybar .btn { min-height: 44px; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .menu { display: inline-flex; }
  .hero .shot { background-image: var(--hero-bg-m); background-position: center top; }
  .hero .side, [dir="rtl"] .hero .side { background: linear-gradient(to top, var(--page) 34%, rgba(8,8,12,.55) 58%, rgba(8,8,12,.1)); }
  .hero .logo { top: 110px; inset-inline: 0; margin: 0 auto; width: 58vw; }
  .rv .wrap { grid-template-columns: auto 1fr; gap: 24px 28px; }
  .rv .avg { padding-inline-start: 24px; }
  .rv .avg b { font-size: 44px; }
  .rv .note { grid-column: 1 / -1; justify-self: start; }
  .how .dm { width: 56px; height: 56px; }
  .hero .giant { font-size: 58vw; bottom: 22%; }
  .hero .content { padding-block: 120px 28px; }
  .hero .row { gap: 22px; }
  .ticker { flex-direction: column; }
  .ticker > div { padding: 12px 20px; justify-content: space-between; }
  .ticker > div + div { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .ticker b { font-size: 22px; }
  .track { grid-auto-columns: 46%; }
  .how .wrap, .faq .wrap { grid-template-columns: 1fr; gap: 26px; }
  .how h2 { position: static; }
  .how li, .how li:nth-child(2), .how li:nth-child(3) { margin-inline-start: 0; grid-template-columns: 76px 1fr; gap: 16px; }
  .p-hero { min-height: 70vh; }
  .p-body { grid-template-columns: minmax(0, 1fr); margin-block-start: 0; gap: 28px; }
  .buy, .intro { grid-column: 1; grid-row: auto; }
  .intro { padding-block-start: 0; }
  .intro p { font-size: 18px; }
  .scene, .scene:nth-child(even) { grid-template-columns: 1fr; gap: 16px; }
  .scene:nth-child(even) .pic { order: 0; }
  .scene .n { font-size: 72px; }
  .scene h3 { font-size: 24px; }
  .panel dl { grid-template-columns: 1fr; gap: 4px; }
  .panel dd { margin-block-end: 10px; }
  .thumbs { overflow-x: auto; }
  .thumbs button { width: 76px; flex: none; }
  .buybar { top: auto; bottom: 0; padding: 12px 16px; border-block-end: 0; border-block-start: 1px solid var(--line); transform: translateY(110%); }
  .buybar .bb-name, .buybar .bb-esc { display: none; }
  .buybar .price { margin-inline-start: 0; }
  .buybar .btn { flex: 1; }
  .sec { padding-block: 64px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .tools .cur, .tools .login-t { display: none; }
  .brand b { display: none; }
  .hdr .wrap { gap: 10px; }
  .tools { gap: 6px; }
  .chip { height: 38px; padding-inline: 11px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 17px; }
  .track { grid-auto-columns: 72%; }
  .pc h3 { font-size: 28px; }
  .head { grid-template-columns: 1fr; }
  .p-hero h1 { font-size: 72px; }
  .p-hero p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Sign-in (header button, account menu, login page) ---------- */
/* Ghost button with a metallic edge: a 1px gradient ring drawn by a mask, not a filled gradient */
.btn-login { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 14px 16px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; background: rgba(8,8,12,.35); backdrop-filter: blur(6px); white-space: nowrap; }
.btn-login::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(80,144,216,.55) 40%, rgba(255,255,255,.12) 60%, rgba(192,240,242,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.btn-login .icon { width: 18px; height: 18px; color: var(--glow); }
.btn-login:hover { background: rgba(14,30,58,.55); }
.btn-login:focus-visible { outline: 2px solid var(--hover); outline-offset: 3px; }
.tip { position: relative; display: inline-flex; }
.tip .tip-t { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; white-space: nowrap; font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 8px; background: #0B0F18; box-shadow: inset 0 0 0 1px var(--line); color: var(--soft); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.tip:hover .tip-t, .tip:focus-within .tip-t, .tip.show-tip .tip-t { opacity: 1; transform: none; }
.btn-login .shine-clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.acct { position: relative; }
.acct[hidden] { display: none; }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(8,8,12,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); font-size: 14px; font-weight: 600; }
[dir="rtl"] .acct-btn { padding: 4px 4px 4px 12px; }
.acct-btn:hover { box-shadow: inset 0 0 0 1px var(--hover); }
.acct-btn .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); box-shadow: inset 0 0 0 1px rgba(80,144,216,.6); font-family: var(--display); font-size: 16px; font-weight: 800; }
.acct-btn .nm { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.acct-btn .icon { width: 14px; height: 14px; color: var(--muted); }
.acct-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 240px; padding: 6px; border-radius: 16px; background: rgba(11,15,24,.97); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -10px rgba(0,0,0,.8); z-index: 40; }
.acct-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.acct-menu a:hover, .acct-menu a:focus-visible { background: rgba(255,255,255,.05); }
.acct-menu a small { display: block; color: var(--muted); font-size: 12px; }
.acct-menu .icon { color: var(--link); }
.acct-menu hr { border: 0; border-block-start: 1px solid var(--line); margin: 4px 6px; }

.login { min-height: 100vh; display: grid; place-items: center; position: relative; overflow: hidden; padding: 96px 20px 40px; }
.login .layer { position: absolute; will-change: transform; }
.login .bg { inset: -6% 0; background: var(--hero-bg) center / cover no-repeat; }
.login .dim { inset: 0; background: radial-gradient(60% 60% at 50% 45%, rgba(8,8,12,.35), rgba(8,8,12,.9)), linear-gradient(to top, var(--page), transparent 40%); }
.login .giant { inset: auto 0 -6% 0; text-align: center; font-family: var(--display); font-weight: 900; font-size: 30vw; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(192,240,242,.12); direction: ltr; }
.login-card { position: relative; z-index: 2; width: min(460px, 100%); text-align: center; padding: 36px 32px 28px; border-radius: 28px; background: rgba(11,15,24,.82); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0,0,0,.9); }
.login-card .close { position: absolute; top: 14px; inset-inline-end: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.login-card .close:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--hover); }
.login-card .mark { width: 150px; height: 150px; margin: -10px auto 6px; }

.login-card h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.25; }
.login-card .why { margin: 0 auto 26px; color: var(--soft); font-size: 17px; max-width: 24em; }
.btn-cfx { width: 100%; min-height: 58px; font-size: 17px; gap: 12px; }
.btn-cfx .icon { width: 22px; height: 22px; }
.btn-cfx.m-btn .m-spin { gap: 10px; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.login-card .trust { display: flex; gap: 10px; align-items: flex-start; justify-content: center; text-align: start; color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.login-card .trust .icon { width: 16px; height: 16px; margin-block-start: 3px; color: var(--link); }
.login-card .back { display: inline-block; margin-block-start: 18px; color: var(--muted); font-size: 14px; }
.login-card .back:hover { color: #fff; }
.login-card .prov { margin-block-start: 22px; padding-block-start: 16px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: 12px; }
@media (max-width: 560px) {
  .btn-login { width: 40px; padding: 0; justify-content: center; }
  .btn-login .t { display: none; }
  .acct-btn .nm { display: none; }
  .acct-btn { padding: 4px !important; }
  .acct-btn > .icon { display: none; }
  .login { padding: 84px 16px 24px; place-items: end center; }
  .login-card { padding: 30px 22px 22px; border-radius: 24px; }
  .login-card h1 { font-size: 28px; }
  .login .giant { font-size: 52vw; bottom: 30%; }
}
.acct-hello { padding: 10px 12px 6px; color: var(--muted); font-size: 13px; }
.acct-hello b { color: #fff; font-size: 14px; }

/* the hero text block spans the full width; let the pointer reach the logo behind it */
.hero .content { pointer-events: none; }
.hero .content h1, .hero .content .row > * { pointer-events: auto; }
.hero .logo { z-index: 1; }

/* ================= Tebex template parts ================= */
:root {
  --tebex-legal-footer-background-color: #08080C;
  --tebex-legal-footer-text-color: #9CA3AF;
  --tebex-legal-footer-border-color: rgba(255,255,255,.1);
  --tebex-legal-footer-logo-color: #9CA3AF;
  --color-primary: #3A6BC9; --color-secondary: #0E1E3A; /* read by Tebex.js checkout */
  --fade-duration: 300ms;
}
.no-scroll { overflow: hidden; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site > main, .site > .page { flex: 1; }
.cart-count { min-width: 20px; height: 20px; padding-inline: 6px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; display: inline-grid; place-items: center; font-family: var(--display); }
.chip.basket-btn { gap: 8px; }

/* Mobile navigation drawer (driven by store.js: .toggle-navigation, .site-navigation, .close-navigation) */
.site-navigation { position: fixed; inset: 0; z-index: 60; background: rgba(8,8,12,.6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity var(--m-base, 260ms) var(--ease); }
.site-navigation .menu { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(320px, 86vw); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; display: flex; flex-direction: column; gap: 4px; list-style: none; margin: 0; transform: translateX(-100%); transition: transform 360ms cubic-bezier(.22,1,.36,1); }
[dir="rtl"] .site-navigation .menu { transform: translateX(100%); }
.show-navigation .site-navigation { opacity: 1; pointer-events: auto; }
.show-navigation .site-navigation .menu { transform: none; }
.site-navigation .menu a { display: block; padding: 12px 14px; border-radius: 12px; font-size: 17px; }
.site-navigation .menu a.on { background: rgba(58,107,201,.16); }
.site-navigation .close-navigation { align-self: flex-end; width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; display: grid; place-items: center; margin-block-end: 10px; }
@media (min-width: 1001px) { .site-navigation { display: none; } }

/* Popups (login, basket, product options, gift, quote) */
.popup { position: fixed; inset: 0; z-index: 70; background: rgba(8,8,12,.7); backdrop-filter: blur(8px); opacity: 1; transition: opacity var(--fade-duration) var(--ease); }
.popup[hidden] { display: block !important; opacity: 0; pointer-events: none; }
.popup-scroll-cont { position: absolute; inset: 0; overflow-y: auto; display: grid; place-items: center; padding: 24px 16px; }
.popup-content { position: relative; width: min(480px, 100%); background: rgba(11,15,24,.97); border-radius: 24px; padding: 30px 26px 24px; box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0,0,0,.9); transition: transform var(--fade-duration) cubic-bezier(.22,1,.36,1); }
.popup[hidden] .popup-content { transform: translateY(16px) scale(.98); }
.popup-loading .popup-content { min-height: 160px; }
.popup-loading .popup-content::after { content: ""; position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: #fff; animation: m-rot 700ms linear infinite; }
.popup-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: none; box-shadow: inset 0 0 0 1px var(--line); color: transparent; font-size: 0; overflow: hidden; z-index: 2; }
.popup-close::before, .popup-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--muted); border-radius: 2px; transform: rotate(45deg); }
.popup-close::after { transform: rotate(-45deg); }
.popup-close:hover { box-shadow: inset 0 0 0 1px var(--hover); }
.login-popup .popup-content { padding: 0; background: none; box-shadow: none; }
.login-popup .login-card { margin: 0; }
.login-popup .popup-close { top: 14px; }

/* Basket popup: slides in from the side */
.basket-popup .popup-scroll-cont { place-items: stretch end; padding: 0; }
[dir="rtl"] .basket-popup .popup-scroll-cont { place-items: stretch start; }
.basket-popup .popup-content { width: min(440px, 100%); min-height: 100%; border-radius: 0; padding: 0; display: flex; flex-direction: column; }
.basket-popup[hidden] .popup-content { transform: translateX(100%); }
[dir="rtl"] .basket-popup[hidden] .popup-content { transform: translateX(-100%); }
.basket-header { padding: 24px 24px 16px; border-block-end: 1px solid var(--line); }
.basket-header h3 { margin: 0; font-size: 22px; }
.basket-header .sub { color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; margin-block-start: 6px; }
.basket-content { flex: 1; padding: 8px 24px; overflow-y: auto; }
.basket-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding-block: 16px; border-block-end: 1px solid var(--line); }
.basket-item .title { margin: 0; font-size: 16px; }
.basket-item .price { font-size: 20px; }
.basket-item .actions { display: flex; align-items: center; gap: 10px; grid-column: 1 / -1; }
.quantity-field { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.quantity-field button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--soft); }
.quantity-field input { width: 44px; text-align: center; background: none; border: 0; color: #fff; font: inherit; -moz-appearance: textfield; }
.quantity-field input::-webkit-inner-spin-button { -webkit-appearance: none; }
.basket-item a.remove { margin-inline-start: auto; color: var(--muted); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.basket-item a.remove:hover { color: #fff; }
.basket-empty { padding: 48px 24px; text-align: center; color: var(--muted); }
.basket-checkout { padding: 20px 24px 24px; border-block-start: 1px solid var(--line); display: grid; gap: 14px; }
.basket-checkout .total { display: flex; justify-content: space-between; align-items: baseline; }
.basket-checkout .total .price { font-size: 32px; }
.basket-checkout .btn { width: 100%; }
.updating { opacity: .6; pointer-events: none; transition: opacity .2s var(--ease); }

/* Forms inside popups (options, gift, quote, non-external login) */
.store-form h2, .store-product-options h2 { font-size: 22px; margin: 0 0 16px; line-height: 1.4; }
.store-form .field, .store-product-options .field { margin-block-end: 16px; }
.store-form .field p, .store-product-options .field p { margin: 0 0 8px; color: var(--soft); font-size: 15px; }
.store-form input[type="text"], .store-form input[type="number"], .store-form select,
.store-product-options input[type="text"], .store-product-options input[type="number"], .store-product-options select,
.form-control { width: 100%; height: 48px; padding-inline: 14px; border-radius: 12px; border: 0; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); color: #fff; font: inherit; }
.store-form input:focus, .store-form select:focus, .store-product-options input:focus, .store-product-options select:focus, .form-control:focus { outline: none; box-shadow: inset 0 0 0 1px var(--hover); }
.store-form .actions, .store-product-options .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-block-start: 8px; }
.btn-primary:not(.btn), .btn-secondary:not(.btn), .btn-tertiary:not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; }
.btn-primary:not(.btn) { background: var(--primary); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.btn-secondary:not(.btn), .btn-tertiary:not(.btn) { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.link-text { color: var(--link); align-self: center; font-size: 14px; }

/* Toasts */
.toaster { position: fixed; z-index: 80; bottom: 20px; inset-inline-end: 20px; display: grid; gap: 10px; width: min(360px, calc(100% - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(11,15,24,.97); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -10px rgba(0,0,0,.8); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast[hidden] { display: flex !important; opacity: 0; transform: translateY(10px); }
.toast p { margin: 0; flex: 1; font-size: 15px; }
.toast-error { box-shadow: inset 0 0 0 1px rgba(255,59,59,.5); }
.toast-close { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; }

/* Category page */
.cat-hero { padding-block: 150px 30px; position: relative; }
.cat-hero h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1; margin: 0 0 12px; }
.cat-hero p { color: var(--muted); max-width: 40em; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; padding-block-end: 96px; }
.grid .pc { aspect-ratio: 3 / 4.2; }
.empty { color: var(--muted); padding-block: 40px 96px; }
a.pc { display: block; color: inherit; }
.pc .link-cover { position: absolute; inset: 0; z-index: 0; }
.pc .body > * { position: relative; z-index: 1; }

/* Home rail while products load */
.track[aria-busy="true"] > .pc-skel { background: linear-gradient(110deg, var(--card) 40%, #111827 50%, var(--card) 60%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; border-radius: 22px; aspect-ratio: 3 / 4.2; }
@keyframes skel { to { background-position: -150% 0; } }

/* CMS pages (refund, terms, support, about, rules) */
.page-hero { padding-block: 150px 24px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.05; margin: 0 0 12px; }
.page-hero p { color: var(--muted); margin: 0; max-width: 40em; font-size: 18px; }
.prose { max-width: 760px; padding-block: 16px 96px; font-size: 17px; color: var(--soft); }
.prose h2, .prose h3 { color: #fff; line-height: 1.3; margin: 1.6em 0 .5em; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-inline-start: 1.2em; }
.rules-list { list-style: none; padding: 0; margin: 0 0 96px; display: grid; gap: 0; max-width: 820px; }
.rules-list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding-block: 22px; border-block-start: 1px solid var(--line); }
.rules-list h3 { margin: 0 0 6px; font-size: 20px; }
.rules-list p { margin: 0; color: var(--muted); }
.support-card { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 28px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); max-width: 820px; margin-block-end: 24px; }
.support-card p { margin: 0; color: var(--soft); max-width: 34em; }

/* Sidebar widgets (only used by tiered categories) and tiered/quote pages */
.widget { background: var(--card); border-radius: 18px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line); margin-block-end: 16px; }
.widget-title { margin: 0 0 10px; font-size: 16px; }
.progress { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); }
.store-category-tiered { padding-block: 150px 96px; }
.store-products-tiered { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.store-product-tiered { background: var(--card); border-radius: 22px; padding: 20px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; }
.store-product-tiered.subscribed { box-shadow: inset 0 0 0 1px var(--hover); }
.store-product-tiered .image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.product-actions .price { font-size: 26px; margin: 0; }
.product-actions .wide { width: 100%; }
.buybar .product-actions { display: flex; gap: 8px; align-items: center; }
.buybar .product-actions .btn { min-height: 44px; }
.buy .product-actions .btn { width: 100%; }
.popup .login-card .close { display: none; }
@media (max-width: 1000px) { .buybar .product-actions { flex: 1; } .buybar .product-actions .btn { flex: 1; } }

.price small.ltr { margin-inline: 4px 0; }
[dir="rtl"] .price small.ltr { margin-inline: 0 4px; }

/* ================= Ambient background: slow, faint shapes behind every dark area ================= */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .22; will-change: transform; }
.ambient .orb.a { width: 46vw; height: 46vw; left: -12vw; top: 10vh; background: radial-gradient(closest-side, #3A6BC9, transparent); animation: amb-a 38s ease-in-out infinite alternate; }
.ambient .orb.b { width: 38vw; height: 38vw; right: -10vw; top: 45vh; background: radial-gradient(closest-side, #1B3A73, transparent 70%); opacity: .5; animation: amb-b 46s ease-in-out infinite alternate; }
.ambient .orb.c { width: 28vw; height: 28vw; left: 40vw; bottom: -12vw; background: radial-gradient(closest-side, #5090D8, transparent); opacity: .12; animation: amb-c 54s ease-in-out infinite alternate; }
.ambient .dia { position: absolute; border: 1px solid rgba(80,144,216,.13); transform: rotate(45deg); will-change: transform; }
.ambient .dia.d1 { width: 220px; height: 220px; left: 8%; top: 62%; animation: amb-d1 60s linear infinite; }
.ambient .dia.d2 { width: 120px; height: 120px; right: 12%; top: 18%; border-color: rgba(192,240,242,.1); animation: amb-d2 48s linear infinite; }
.ambient .dia.d3 { width: 340px; height: 340px; right: 30%; top: 75%; border-color: rgba(80,144,216,.07); animation: amb-d1 80s linear infinite reverse; }
.ambient .dia.d4 { width: 70px; height: 70px; left: 46%; top: 30%; border-color: rgba(192,240,242,.12); animation: amb-d2 36s linear infinite reverse; }
.ambient .lines { position: absolute; inset: -20%; opacity: .5;
  background: repeating-linear-gradient(45deg, transparent 0 140px, rgba(80,144,216,.035) 140px 141px), repeating-linear-gradient(-45deg, transparent 0 140px, rgba(80,144,216,.035) 140px 141px);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  animation: amb-lines 90s linear infinite; }
@keyframes amb-a { to { transform: translate3d(18vw, 12vh, 0) scale(1.15); } }
@keyframes amb-b { to { transform: translate3d(-16vw, -18vh, 0) scale(.9); } }
@keyframes amb-c { to { transform: translate3d(-20vw, -30vh, 0) scale(1.2); } }
@keyframes amb-d1 { from { transform: rotate(45deg) translate3d(0, 0, 0); } to { transform: rotate(405deg) translate3d(40px, -60px, 0); } }
@keyframes amb-d2 { 0% { transform: rotate(45deg) translate3d(0, 0, 0); } 50% { transform: rotate(225deg) translate3d(-50px, 40px, 0); } 100% { transform: rotate(405deg) translate3d(0, 0, 0); } }
@keyframes amb-lines { to { transform: translate3d(141px, 141px, 0); } }
@media (prefers-reduced-motion: reduce) { .ambient * { animation: none !important; } }

/* ================= Category bar: segmented pill with a sliding highlight ================= */
.cats { width: fit-content; max-width: 100%; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(11,15,24,.7); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -14px rgba(58,107,201,.5); position: relative; }
.cats a { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; border: 0 !important; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .25s var(--ease); }
.cats a:hover, .cats a.on { color: #fff; }
.cats .m-ind { top: 5px; bottom: 5px; height: auto; left: 0; width: var(--wpx, 0); transform: translateX(var(--x, 0px)); border-radius: 999px;
  background: linear-gradient(rgba(58,107,201,.32), rgba(58,107,201,.22)); box-shadow: inset 0 0 0 1px rgba(80,144,216,.55), inset 0 1px 0 rgba(255,255,255,.18), 0 6px 18px -6px rgba(80,144,216,.6);
  transition: transform .45s cubic-bezier(.22,1,.36,1), width .45s cubic-bezier(.22,1,.36,1); z-index: 0; }
.cat-hero { display: grid; gap: 18px; }

/* ================= Currency menu ================= */
.cur-menu-wrap { position: relative; }
.cur-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 240px; max-height: 360px; overflow-y: auto; padding: 6px; border-radius: 16px; background: rgba(11,15,24,.97); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -10px rgba(0,0,0,.8); z-index: 45; }
.cur-menu button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer; font-size: 14px; color: var(--soft); text-align: start; }
.cur-menu button:hover { background: rgba(255,255,255,.05); color: #fff; }
.cur-menu button.on { background: rgba(58,107,201,.18); color: #fff; }
.cur-menu b { font-family: var(--display); font-size: 15px; letter-spacing: .04em; }
.cur-menu .note { padding: 8px 12px 6px; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ================= Basket (side panel) ================= */
.basket-popup .popup-content { background: linear-gradient(180deg, rgba(14,30,58,.55), rgba(11,15,24,.98) 30%); box-shadow: inset 1px 0 0 var(--line), -30px 0 80px -20px rgba(0,0,0,.9); }
.basket-header { padding: 28px 26px 18px; display: grid; gap: 4px; }
.basket-header h3 { font-size: 28px; display: flex; align-items: center; gap: 12px; }
.basket-header h3::before { content: ""; width: 10px; height: 10px; transform: rotate(45deg); background: var(--primary); box-shadow: 0 0 0 4px rgba(58,107,201,.25); }
.basket-content { padding: 6px 18px; }
.basket-item { grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px 14px; padding: 14px 12px; margin-block: 8px; border: 0; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s var(--ease); }
.basket-item:hover { box-shadow: inset 0 0 0 1px rgba(80,144,216,.5); }
.basket-item .thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--navy); display: grid; place-items: center; grid-row: span 2; }
.basket-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.basket-item .thumb svg { width: 26px; height: 26px; color: var(--link); }
.basket-item .title { font-size: 16px; line-height: 1.35; }
.basket-item .price { font-size: 22px; justify-self: end; }
.basket-item .actions { grid-column: 2 / -1; }
.quantity-field { background: rgba(8,8,12,.6); }
.quantity-field button { transition: color .2s var(--ease), transform .15s var(--ease); }
.quantity-field button:hover { color: #fff; }
.quantity-field button:active { transform: scale(.85); }
.basket-item a.remove { padding: 6px 10px; border-radius: 999px; }
.basket-item a.remove:hover { background: rgba(255,59,59,.12); color: #ff8a8a; }
.basket-empty { display: grid; justify-items: center; gap: 14px; padding: 70px 24px; }
.basket-empty svg { width: 46px; height: 46px; color: var(--link); opacity: .7; }
.basket-checkout { padding: 20px 26px 26px; gap: 12px; background: rgba(8,8,12,.6); backdrop-filter: blur(10px); }
.basket-checkout .total .price { font-size: 38px; }
.basket-checkout .secure { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; margin: 0; }
.basket-checkout .secure svg { width: 15px; height: 15px; color: var(--link); }
.basket-checkout .cur-note { color: var(--muted); font-size: 12px; text-align: center; margin: -4px 0 0; }

/* ================= Policies page: index on the side that follows scrolling ================= */
.policy { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; padding-block-end: 96px; }
.policy-toc { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow-y: auto; padding: 14px; border-radius: 20px; background: rgba(11,15,24,.75); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); }
.policy-toc h4 { margin: 4px 8px 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.policy-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.policy-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: baseline; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--muted); line-height: 1.45; transition: color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease); }
.policy-toc a b { font-family: var(--display); font-size: 14px; color: rgba(80,144,216,.7); }
.policy-toc a:hover { color: #fff; background: rgba(255,255,255,.04); }
.policy-toc a.on { color: #fff; background: rgba(58,107,201,.18); box-shadow: inset 0 0 0 1px rgba(80,144,216,.45); }
.policy-toc a.on b { color: var(--glow); }
.policy-progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,.06); margin: 0 8px 12px; overflow: hidden; }
.policy-progress span { display: block; height: 100%; width: 100%; background: var(--primary); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .policy-progress span { transform-origin: 100% 50%; }
.policy-body { min-width: 0; }
.policy-note { padding: 16px 18px; border-radius: 16px; background: rgba(14,30,58,.55); box-shadow: inset 0 0 0 1px rgba(80,144,216,.35); color: var(--soft); margin-block-end: 26px; font-size: 15px; }
.policy-sec { scroll-margin-top: 100px; padding: 26px 28px; margin-block-end: 14px; border-radius: 20px; background: rgba(11,15,24,.55); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s var(--ease); }
.policy-sec.on { box-shadow: inset 0 0 0 1px rgba(80,144,216,.4); }
.policy-sec h2 { display: flex; gap: 14px; align-items: baseline; margin: 0 0 12px; font-size: 22px; line-height: 1.35; color: #fff; }
.policy-sec h2 b { font-family: var(--display); font-size: 30px; font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgba(80,144,216,.9); flex: none; }
.policy-sec .src { font-size: 15px; color: var(--soft); }
.policy-sec .src[dir="ltr"] { text-align: left; }
.policy-sec .src p { margin: 0 0 10px; }
@media (max-width: 1000px) {
  .policy { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .policy-toc { top: 76px; z-index: 5; max-height: none; padding: 8px; border-radius: 16px; }
  .policy-toc h4, .policy-progress { display: none; }
  .policy-toc ol { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .policy-toc a { white-space: nowrap; grid-template-columns: auto auto; }
  .policy-sec { padding: 20px 18px; }
}

/* ================= Reviews + servers counters ================= */
.rv .wrap { grid-template-columns: repeat(3, auto) 1fr; gap: 48px; }
.rv .srv { display: grid; gap: 6px; padding-inline-start: 40px; border-inline-start: 1px solid var(--line); }
.rv .srv[hidden], .rv .avg[hidden], .rv .cnt[hidden] { display: none; }
.rv .srv b { font-family: var(--display); font-weight: 900; font-size: 56px; line-height: .9; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 12px; }
.rv .srv .live { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; animation: live 2.2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70% { box-shadow: 0 0 0 12px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
@media (max-width: 1000px) { .rv .wrap { grid-template-columns: 1fr 1fr; } .rv .srv { padding-inline-start: 0; border: 0; } }
@media (prefers-reduced-motion: reduce) { .rv .srv .live { animation: none; } }

/* ================= Basket page ================= */
.bk-page { padding-block: 130px 96px; }
.bk-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-block-end: 30px; }
.bk-head h1 { margin: 0; font-size: clamp(40px, 6vw, 76px); line-height: 1; display: flex; align-items: center; gap: 16px; }
.bk-head h1::before { content: ""; width: 14px; height: 14px; transform: rotate(45deg); background: var(--primary); box-shadow: 0 0 0 6px rgba(58,107,201,.22), 0 0 30px rgba(80,144,216,.5); }
.bk-sub { margin: 10px 0 0; color: var(--muted); }
.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.bk-page .basket-content { padding: 0; overflow: visible; display: grid; gap: 14px; }
.bk-page .basket-item { grid-template-columns: 110px minmax(0, 1fr) auto; gap: 14px 20px; padding: 16px; margin: 0; border-radius: 22px; background: rgba(11,15,24,.72); backdrop-filter: blur(8px); position: relative; overflow: hidden; }
.bk-page .basket-item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(58,107,201,.14), transparent 60%); pointer-events: none; }
[dir="ltr"] .bk-page .basket-item::before { background: radial-gradient(60% 120% at 0% 0%, rgba(58,107,201,.14), transparent 60%); }
.bk-page .basket-item .thumb { width: 110px; height: 80px; border-radius: 14px; grid-row: span 2; }
.bk-page .basket-item .thumb img { transition: transform .5s cubic-bezier(.22,1,.36,1); }
.bk-page .basket-item:hover .thumb img { transform: scale(1.06); }
.bk-page .basket-item .title { font-size: 19px; margin: 0; }
.bi-meta { display: flex; gap: 10px; align-items: center; margin-block-start: 6px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.bk-page .basket-item .price { font-size: 28px; align-self: start; }
.bk-page .basket-item .actions { grid-column: 2 / -1; }
.bk-summary { position: sticky; top: 96px; padding: 24px; border-radius: 26px; background: linear-gradient(180deg, rgba(14,30,58,.65), rgba(11,15,24,.92) 45%); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 70px -30px rgba(0,0,0,.9); display: grid; gap: 18px; }
.bk-summary h3 { margin: 0; font-size: 20px; }
.bk-label { font-size: 14px; color: var(--soft); font-weight: 600; }
.bk-codes { display: grid; gap: 10px; }
.bk-field { display: flex; gap: 8px; }
.bk-field .form-control { flex: 1; min-width: 0; height: 48px; letter-spacing: .06em; text-transform: uppercase; font-family: var(--display); font-size: 17px; }
.bk-field .btn { min-height: 48px; padding-inline: 18px; }
.bk-gift summary { font-size: 14px; color: var(--link); cursor: pointer; padding: 4px 0; font-weight: 600; }
.bk-gift[open] summary { margin-block-end: 8px; }
.bk-gift { border: 0; padding: 0; }
.bk-msg { margin: 0; font-size: 14px; padding: 10px 12px; border-radius: 12px; }
.bk-msg.ok { color: #9ff0c2; background: rgba(61,220,132,.1); box-shadow: inset 0 0 0 1px rgba(61,220,132,.35); }
.bk-msg.bad { color: #ffb4b4; background: rgba(255,59,59,.08); box-shadow: inset 0 0 0 1px rgba(255,59,59,.35); }
.bk-applied { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bk-applied li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(58,107,201,.14); box-shadow: inset 0 0 0 1px rgba(80,144,216,.4); }
.bk-applied li .icon { color: #3ddc84; width: 16px; height: 16px; }
.bk-applied li b { font-family: var(--display); letter-spacing: .06em; font-size: 16px; }
.bk-applied li button { margin-inline-start: auto; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; }
.bk-applied li button:hover { color: #ff8a8a; }
.bk-summary .basket-checkout { padding: 18px 0 0; background: none; backdrop-filter: none; border-block-start: 1px solid var(--line); }
.bk-summary .basket-checkout .btn { width: 100%; min-height: 56px; font-size: 17px; }
.bk-page .basket-empty { padding: 80px 24px; border-radius: 26px; background: rgba(11,15,24,.6); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.bk-page .basket-empty h3 { margin: 0; font-size: 28px; }
.bk-page .basket-empty p { margin: 0 0 8px; }
.be-gem { width: 92px; height: 92px; display: grid; place-items: center; position: relative; }
.be-gem::before { content: ""; position: absolute; inset: 14px; transform: rotate(45deg); border-radius: 10px; background: rgba(14,30,58,.8); box-shadow: inset 0 0 0 1px rgba(80,144,216,.6), 0 0 40px rgba(80,144,216,.3); animation: be-float 5s ease-in-out infinite; }
.be-gem svg { position: relative; width: 34px; height: 34px; color: var(--glow); }
@keyframes be-float { 50% { transform: rotate(45deg) translateY(-6px); } }
.bk-page .basket-empty:only-child { grid-column: 1 / -1; }
@media (max-width: 1000px) {
  .bk-grid { grid-template-columns: minmax(0, 1fr); }
  .bk-summary { position: static; }
  .bk-page .basket-item { grid-template-columns: 80px minmax(0, 1fr); }
  .bk-page .basket-item .thumb { width: 80px; height: 64px; }
  .bk-page .basket-item .price { grid-column: 2; font-size: 22px; }
  .bk-page .basket-item .actions { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .be-gem::before { animation: none; } }
.bk-grid:has(.basket-empty) { grid-template-columns: minmax(0, 1fr); }

/* ================= Scrollbars: slim blue rail on the page and every scrolling box ================= */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 999px; background: linear-gradient(180deg, var(--hover), var(--primary)) padding-box; min-height: 48px; }
::-webkit-scrollbar-thumb:hover { border-width: 3px; background: linear-gradient(180deg, var(--glow), var(--hover) 40%, var(--primary)) padding-box; }
::-webkit-scrollbar-thumb:active { background: var(--press) padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
html::-webkit-scrollbar-track { background: linear-gradient(90deg, transparent 5px, rgba(255,255,255,.05) 5px, rgba(255,255,255,.05) 7px, transparent 7px); }
.cur-menu::-webkit-scrollbar, .policy-toc::-webkit-scrollbar, .popup-scroll-cont::-webkit-scrollbar { width: 8px; }
.cur-menu::-webkit-scrollbar-thumb, .policy-toc::-webkit-scrollbar-thumb, .popup-scroll-cont::-webkit-scrollbar-thumb { border-width: 2px; }
/* Firefox only: Chrome ignores the rules above when scrollbar-color is set */
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: var(--primary) transparent; } }

/* Scroll progress line under the header */
.scroll-prog { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 40; pointer-events: none; transform-origin: right; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--primary), var(--hover), var(--glow)); box-shadow: 0 0 12px rgba(80,144,216,.6); }
[dir="ltr"] .scroll-prog { transform-origin: left; }

/* Reveal on scroll, both ways: rises in going down, drops in going up. Only when motion.js sets html.m-rv. */
html.m-rv .rvl { opacity: 0; translate: 0 34px; transition: opacity .7s cubic-bezier(.22,1,.36,1), translate .8s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--rd, 0) * 70ms); }
html.m-rv .rvl.from-top { translate: 0 -34px; }
html.m-rv .rvl.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { html.m-rv .rvl { opacity: 1; translate: none; transition: none; } }

/* ================= Support page: ticket block, join block, ticket form ================= */
.sp { display: grid; gap: 16px; max-width: 920px; margin-block-end: 28px; }
.sp-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 32px; border-radius: 26px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(14,30,58,.7), rgba(11,15,24,.92) 60%); box-shadow: inset 0 0 0 1px rgba(80,144,216,.35), 0 30px 70px -30px rgba(0,0,0,.9); }
.sp-main::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 0%, rgba(58,107,201,.22), transparent 60%); pointer-events: none; }
[dir="ltr"] .sp-main::before { background: radial-gradient(50% 120% at 0% 0%, rgba(58,107,201,.22), transparent 60%); }
.sp-gem { width: 76px; height: 76px; display: grid; place-items: center; position: relative; }
.sp-gem::before { content: ""; position: absolute; inset: 12px; transform: rotate(45deg); border-radius: 10px; background: rgba(14,30,58,.9); box-shadow: inset 0 0 0 1px rgba(80,144,216,.6), 0 0 34px rgba(80,144,216,.3); }
.sp-gem svg { position: relative; width: 28px; height: 28px; color: var(--glow); }
.sp-txt h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.sp-txt p { margin: 0; color: var(--soft); max-width: 36em; }
.sp-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; font-size: 14px; color: var(--muted); }
.sp-steps li { display: flex; align-items: center; gap: 8px; }
.sp-steps b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-size: 13px; color: #fff; background: var(--primary); }
.sp-join { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 26px; border-radius: 20px; background: rgba(11,15,24,.6); box-shadow: inset 0 0 0 1px var(--line); }
.sp-join h3 { margin: 0; font-size: 18px; }
.sp-join p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .sp-main { grid-template-columns: minmax(0, 1fr); padding: 24px; } .sp-main .btn { width: 100%; } }

.sp-dlg { width: min(560px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 24px; color: var(--text); background: linear-gradient(180deg, rgba(14,30,58,.96), rgba(11,15,24,.99) 40%);
  box-shadow: inset 0 0 0 1px rgba(80,144,216,.35), 0 40px 90px -20px rgba(0,0,0,.95); }
.sp-dlg::backdrop { background: rgba(4,6,12,.72); backdrop-filter: blur(6px); }
.sp-dlg[open] { animation: sp-in .45s cubic-bezier(.22,1,.36,1); }
@keyframes sp-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.sp-form { display: grid; gap: 16px; padding: 26px; }
.sp-dh { display: flex; align-items: center; justify-content: space-between; }
.sp-dh h3 { margin: 0; font-size: 22px; }
.sp-x { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 6px; border-radius: 10px; }
.sp-x:hover { color: #fff; background: rgba(255,255,255,.06); }
.sp-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 14px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.sp-kind.is-buyer { color: #9ff0c2; background: rgba(61,220,132,.08); box-shadow: inset 0 0 0 1px rgba(61,220,132,.35); }
.sp-kind.is-guest { color: var(--soft); }
.sp-kind a { color: var(--link); margin-inline-start: auto; }
.sp-kind small { flex-basis: 100%; font-weight: 400; color: var(--muted); }
.sp-load { color: var(--muted); font-weight: 400; }
.sp-f { display: grid; gap: 6px; }
.sp-f label { font-size: 14px; font-weight: 600; color: var(--soft); }
.sp-f small { font-size: 12px; color: var(--muted); }
.sp-f .form-control { width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 14px; color: #fff; font: inherit; background: rgba(8,8,12,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.sp-f .form-control:focus { outline: none; box-shadow: inset 0 0 0 1px var(--hover), 0 0 0 4px rgba(80,144,216,.18); }
.sp-f select:disabled { opacity: 1; color: var(--glow); cursor: not-allowed; background: rgba(14,30,58,.55); }
.sp-f textarea.form-control { resize: vertical; height: auto; min-height: 130px; line-height: 1.6; }
.sp-df .btn { width: 100%; min-height: 54px; }
.sp-df .m-label { display: inline-flex; align-items: center; gap: 10px; }
/* The custom cursor lives under the dialog's top layer, so show the normal cursor while a dialog is open */
html .sp-dlg, html .sp-dlg * { cursor: auto; }
html .sp-dlg a, html .sp-dlg button, html .sp-dlg select, html .sp-dlg summary { cursor: pointer; }
html .sp-dlg input, html .sp-dlg textarea { cursor: text; }
html .sp-dlg select:disabled { cursor: not-allowed; }
html.dlg-open .cur-dot, html.dlg-open .cur-ring { opacity: 0 !important; }
/* Ticket form choices: cards and chips instead of browser dropdowns */
.sp-lbl { font-size: 14px; font-weight: 600; color: var(--soft); }
.sp-opts { display: grid; gap: 8px; }
.sp-opts label { position: relative; display: block; cursor: pointer; }
.sp-opts input { position: absolute; opacity: 0; pointer-events: none; }
.sp-opts span { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; border-radius: 14px; color: var(--soft); background: rgba(8,8,12,.6);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.sp-opts label:hover span { box-shadow: inset 0 0 0 1px rgba(80,144,216,.6); color: #fff; }
.sp-opts input:checked + span { color: #fff; background: linear-gradient(180deg, rgba(58,107,201,.28), rgba(14,30,58,.6)); box-shadow: inset 0 0 0 1px var(--hover), 0 0 0 4px rgba(80,144,216,.14); }
.sp-opts input:focus-visible + span { outline: 2px solid var(--hover); outline-offset: 2px; }
.sp-opts label:active span { transform: scale(.98); }
.sp-cards span .icon { width: 20px; height: 20px; color: var(--hover); flex: none; }
.sp-cards input:checked + span .icon { color: var(--glow); }
.sp-cards span::after { content: ""; margin-inline-start: auto; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); transition: box-shadow .2s var(--ease); }
.sp-cards input:checked + span::after { box-shadow: inset 0 0 0 5px var(--hover); }
.sp-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-chips span { justify-content: center; padding: 10px; font-family: var(--display); font-size: 16px; letter-spacing: .03em; }
.sp-orders input:checked + span { color: var(--glow); }
@media (max-width: 480px) { .sp-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================= Policies: last updated ================= */
.pol-date { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 6px; padding: 6px 14px; border-radius: 999px; font-size: 14px; color: var(--soft); background: rgba(58,107,201,.12); box-shadow: inset 0 0 0 1px rgba(80,144,216,.35); }
.pol-date .icon { width: 15px; height: 15px; color: var(--glow); }
.pol-date b { font-family: var(--display); font-size: 16px; letter-spacing: .04em; color: #fff; }

/* ================= Loading screen (first page of a visit) ================= */
.pre { display: none; }
html.pre-on .pre { display: grid; place-items: center; position: fixed; inset: 0; z-index: 2000; background: radial-gradient(55% 55% at 50% 45%, #0E1E3A 0%, #0a0f1c 40%, #08080C 75%);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), visibility .6s; animation: pre-fallback 0s 6s forwards; }
html.pre-on body { overflow: hidden; }
html.pre-on .cur-dot, html.pre-on .cur-ring { opacity: 0; }
.pre-in { display: grid; justify-items: center; gap: 22px; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.pre.out { opacity: 0; visibility: hidden; }
.pre.out .pre-in { transform: translateY(-14px) scale(1.04); }
.pre-in { gap: 18px; }
.pre-mark { overflow: visible; animation: pre-pop .9s cubic-bezier(.22,1,.36,1) both; }
.pre-ring { fill: none; stroke: rgba(192,240,242,.12); stroke-width: 1; stroke-dasharray: 2 7; transform-origin: 100px 100px; animation: pre-turn 14s linear infinite; }
.pre-track { fill: rgba(14,30,58,.55); stroke: rgba(255,255,255,.07); stroke-width: 3; stroke-linejoin: round; }
.pre-prog { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.pre-logo { filter: drop-shadow(0 0 10px rgba(80,144,216,.55)); }
.pre-head { fill: #C0F0F2; filter: drop-shadow(0 0 6px #C0F0F2) drop-shadow(0 0 12px #5090D8); }
.pre-word { display: flex; align-items: baseline; gap: .12em; font: 800 30px/1 var(--display); letter-spacing: .16em; color: #fff; }
.pre-word i { font-style: normal; display: inline-block; animation: pre-up .7s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(.25s + var(--i) * .08s); }
.pre-word em { font-style: normal; margin-inline-start: .45em; font-size: .62em; letter-spacing: .42em; color: var(--muted); animation: pre-up .7s .55s cubic-bezier(.22,1,.36,1) both; }
.pre-meter { display: grid; justify-items: center; gap: 4px; animation: pre-up .7s .45s cubic-bezier(.22,1,.36,1) both; }
.pre-pct { display: flex; align-items: flex-start; font: 800 40px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.pre-pct small { font-size: .45em; margin: .15em .12em 0; color: var(--hover); }
.pre-lbl { font: 700 11px/1 var(--display); letter-spacing: .6em; color: var(--muted); margin-inline-start: .6em; }
@keyframes pre-turn { to { transform: rotate(360deg); } }
@keyframes pre-pop { from { opacity: 0; transform: scale(.6) rotate(-12deg); } }
@keyframes pre-spin { to { transform: rotate(405deg); } }
@keyframes pre-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes pre-fallback { to { opacity: 0; visibility: hidden; } }

/* ================= Home: what guides our development ================= */
.fc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block-start: 26px; }
.fc { position: relative; padding: 26px; border-radius: 22px; background: rgba(11,15,24,.7); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .3s var(--ease), translate .3s var(--ease); }
.fc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 100% 0%, rgba(58,107,201,.16), transparent 60%); pointer-events: none; }
[dir="ltr"] .fc::before { background: radial-gradient(70% 90% at 0% 0%, rgba(58,107,201,.16), transparent 60%); }
.fc:hover { box-shadow: inset 0 0 0 1px rgba(80,144,216,.55); }
.fc-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(14,30,58,.9); box-shadow: inset 0 0 0 1px rgba(80,144,216,.45); color: var(--glow); margin-block-end: 16px; }
.fc h3 { margin: 0 0 8px; font-size: 20px; }
.fc p { margin: 0; color: var(--soft); line-height: 1.8; }
@media (max-width: 860px) { .fc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ================= Footer: company details ================= */
.ftr .co { flex: 1 1 420px; display: grid; gap: 6px; }
.ftr .co p { margin: 0; }
.co-desc { color: var(--soft); max-width: 46em; }
.co-own { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--soft); }
.co-ok { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #9ff0c2; background: rgba(61,220,132,.1); box-shadow: inset 0 0 0 1px rgba(61,220,132,.35); }
.co-ok .icon { width: 14px; height: 14px; }
.co-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 13px; }
.co-meta b { font-family: var(--display); letter-spacing: .04em; color: #fff; }
.co-meta a { color: var(--link); }

/* Arabic text a touch heavier; headings at full weight */
h1, h2, h3, h4, h5, strong, b { font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] .hero h1 { font-weight: 900; }
.lang span.ar-lbl { font-family: var(--ar); font-size: 13px; font-weight: 700; }
.ar-cur { font-family: var(--ar) !important; letter-spacing: 0 !important; direction: rtl; }
.price small.ar-cur { font-size: 15px; font-weight: 700; }
b.ar-cur { font-size: 13px; font-weight: 700; }

/* Product description card */
.desc-card { background: linear-gradient(180deg, rgba(14,30,58,.55), rgba(11,15,24,.6)); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); box-shadow: inset 0 0 0 1px var(--line); margin-block-end: 64px; font-size: 17px; line-height: 1.85; color: var(--soft); }
.desc-card[dir="ltr"] { font-family: "Thmanyah Sans", system-ui, sans-serif; }
.desc-card > div { display: contents; }
.desc-card h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; color: #fff; margin: 0 0 18px; }
.desc-card h4 { display: flex; align-items: center; gap: 10px; font-size: 19px; color: #fff; margin: 30px 0 14px; }
.desc-card h4::before { content: ""; width: 4px; height: 20px; border-radius: 4px; background: linear-gradient(var(--link), var(--primary)); }
.desc-card p { margin: 0 0 12px; max-width: none; color: var(--soft); }
.desc-card ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.desc-card ul > li { position: relative; padding: 12px 16px; padding-inline-start: 46px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); display: block; }
.desc-card ul > li::before { content: ""; position: absolute; inset-inline-start: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; background: rgba(80,144,216,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.desc-card ol { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 16px; }
.desc-card ol > li { counter-increment: st; position: relative; display: block; padding: 20px 22px; padding-inline-start: 70px; border-radius: 18px; background: rgba(8,8,12,.45); box-shadow: inset 0 0 0 1px var(--line); }
.desc-card ol > li::before { content: counter(st); position: absolute; inset-inline-start: 20px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font: 800 16px/1 var(--display); }
.desc-card h5 { font-size: 18px; color: #fff; margin: 4px 0 6px; line-height: 1.4; }
.desc-card ol > li p { margin: 0; }
.d-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 16px 2px; }
.d-shots.one { grid-template-columns: minmax(0, 1fr); }
.d-shots a { display: block; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: #0b0f18; }
.d-shots img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; transition: transform .5s var(--ease); }
.d-shots a:hover img { transform: scale(1.03); }
.desc-card .d-yt { margin-block-start: 22px; text-decoration: none; }
.desc-card a:not(.btn) { color: var(--link); }
@media (max-width: 720px) {
  .desc-card ol > li { padding: 16px; padding-inline-start: 58px; }
  .desc-card ol > li::before { inset-inline-start: 14px; width: 30px; height: 30px; }
  .d-shots { grid-template-columns: minmax(0, 1fr); }
}

/* Footer CR verification QR */
.co-qr { display: inline-flex; align-items: center; gap: 12px; padding: 10px; padding-inline-end: 16px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .2s var(--ease); align-self: center; }
.co-qr:hover { box-shadow: inset 0 0 0 1px var(--link); }
.co-qr svg { width: 92px; height: 92px; flex: none; border-radius: 8px; }
.co-qr span { display: grid; gap: 2px; max-width: 13em; }
.co-qr b { color: #fff; font-size: 14px; }
.co-qr small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.intro .desc-card p { font-size: 17px; line-height: 1.85; max-width: none; font-weight: 500; }
.money .cur.ar-cur { margin-inline-start: 6px; }

/* Follow us */
.social .head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-block-end: 26px; }
.social h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
.social .head-row p { margin: 0; color: var(--muted); }
.soc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.soc-c { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 20px; overflow: hidden; color: #fff; background: rgba(11,15,24,.7); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease), translate .3s var(--ease); }
.soc-c::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px 140px at 85% 0%, var(--g, rgba(80,144,216,.28)), transparent 70%); opacity: 0; transition: opacity .3s var(--ease); }
.soc-c:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgba(80,144,216,.55), 0 24px 40px -24px rgba(58,107,201,.9); }
.soc-c:hover::before { opacity: 1; }
.soc-c .si { position: relative; width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(135deg, var(--primary), #2A55A8); box-shadow: 0 10px 22px -10px rgba(58,107,201,.9); transition: transform .4s var(--ease); }
.soc-c:hover .si { transform: rotate(-6deg) scale(1.06); }
.soc-c .si .icon { width: 24px; height: 24px; }
.soc-c .st { position: relative; display: grid; gap: 2px; flex: 1; min-width: 0; }
.soc-c .st b { font-size: 18px; }
.soc-c .st small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.soc-c .go { position: relative; width: 18px; height: 18px; color: var(--muted); transition: color .2s, transform .3s var(--ease); }
html[dir="rtl"] .soc-c .go { transform: scaleX(-1); }
.soc-c:hover .go { color: #fff; transform: translate(2px, -2px); }
html[dir="rtl"] .soc-c:hover .go { transform: scaleX(-1) translate(2px, -2px); }
.soc-c.yt { --g: rgba(255,60,60,.22); } .soc-c.tt { --g: rgba(192,240,242,.22); } .soc-c.dc { --g: rgba(88,101,242,.3); }
@media (max-width: 1080px) { .soc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .soc-grid { grid-template-columns: minmax(0, 1fr); } }
/* social icons in the header */
.socials { display: flex; align-items: center; gap: 2px; padding-inline-end: 8px; margin-inline-end: 4px; border-inline-end: 1px solid var(--line); }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--soft); transition: color .2s, background .2s, transform .25s var(--ease); }
.socials a:hover { color: #fff; background: rgba(255,255,255,.06); transform: translateY(-2px); }
.socials .icon { width: 19px; height: 19px; }
.m-socials { display: flex; gap: 10px; margin-block-start: 18px; }
.m-socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); color: #fff; }
.m-socials .icon { width: 22px; height: 22px; }
@media (max-width: 1180px) { .socials { display: none; } }

/* After purchase: link your Discord */
.link-bar { position: fixed; inset-inline: 0; bottom: 18px; z-index: 60; pointer-events: none; transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.link-bar.in { transform: none; opacity: 1; }
.link-bar .wrap { pointer-events: auto; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: rgba(11,15,24,.94); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(80,144,216,.45), 0 30px 60px -20px rgba(0,0,0,.9), 0 0 50px -20px rgba(58,107,201,.8); max-width: 980px; }
.lk-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #C0F0F2; background: rgba(58,107,201,.18); box-shadow: inset 0 0 0 1px rgba(80,144,216,.45); }
.lk-ic .icon { width: 24px; height: 24px; }
.lk-tx { display: grid; gap: 2px; flex: 1; min-width: 0; }
.lk-tx b { font-size: 17px; }
.lk-tx span { color: var(--soft); font-size: 14px; }
.link-bar .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; white-space: nowrap; }
.lk-x { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.lk-x:hover { color: #fff; background: rgba(255,255,255,.06); }
@media (max-width: 760px) {
  .link-bar .wrap { flex-wrap: wrap; }
  .lk-tx { flex-basis: calc(100% - 110px); }
  .link-bar .btn { flex: 1; }
  .lk-x { position: absolute; top: 10px; inset-inline-end: 10px; }
}

/* Basket: optional Discord link */
.dc-link { display: grid; gap: 12px; padding: 16px; margin-block-end: 6px; border-radius: 18px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(14,30,58,.85), rgba(11,15,24,.75)); box-shadow: inset 0 0 0 1px rgba(80,144,216,.28); animation: dlIn .5s var(--ease) both; }
.dc-link::before { content: ""; position: absolute; width: 220px; height: 220px; inset-inline-end: -90px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(80,144,216,.22), transparent 65%); pointer-events: none; }
@keyframes dlIn { from { opacity: 0; transform: translateY(6px); } }
.dl-head { position: relative; display: flex; align-items: center; gap: 12px; }
.dl-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px; color: #C0F0F2; background: rgba(58,107,201,.18); box-shadow: inset 0 0 0 1px rgba(80,144,216,.45); }
.dl-ic .icon { width: 23px; height: 23px; }
.dl-tx { display: grid; gap: 2px; flex: 1; min-width: 0; }
.dl-tx b { font-size: 16px; line-height: 1.3; }
.dl-tx > span { color: var(--soft); font-size: 13px; line-height: 1.55; }
.dl-opt { align-self: flex-start; flex: none; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.dl-safe { position: relative; list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 7px; border-radius: 12px; background: rgba(8,8,12,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.dl-safe li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); }
.dl-safe .icon { width: 15px; height: 15px; flex: none; color: #9ff0c2; }
.dl-go { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(180deg, #3f72cf, #2f5fb8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 24px -14px rgba(58,107,201,.9); transition: background .2s, transform .25s var(--ease), box-shadow .25s; }
.dl-go:hover { background: linear-gradient(180deg, #4a7fd8, #3567c2); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 16px 30px -14px rgba(58,107,201,1); }
.dl-go .icon { width: 20px; height: 20px; }
.dl-go small { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.18); }
.dl-go small .icon { width: 11px; height: 11px; }
.dl-go.is-loading { opacity: .65; pointer-events: none; }
.dl-ok { display: none; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #9ff0c2; background: rgba(61,220,132,.12); box-shadow: inset 0 0 0 1px rgba(61,220,132,.4); flex: none; }
.dl-ok .icon { width: 14px; height: 14px; }
.dl-un { display: none; justify-self: start; border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.dl-un:hover { color: #fff; }
.dc-link.is-linked { background: linear-gradient(160deg, rgba(61,220,132,.08), rgba(11,15,24,.6)); box-shadow: inset 0 0 0 1px rgba(61,220,132,.3); }
.dc-link.is-linked::before { display: none; }
.dc-link.is-linked .dl-go, .dc-link.is-linked .dl-safe, .dc-link.is-linked .dl-opt { display: none; }
.dc-link.is-linked .dl-ok { display: inline-flex; }
.dc-link.is-linked .dl-un { display: inline-block; }
.dc-link.just .dl-ok { animation: dlPop .6s var(--ease); }
@keyframes dlPop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } }
.dc-link > *, .dl-head > * { min-width: 0; }
.dl-fast { display: flex; align-items: center; justify-content: center; gap: 5px; margin-block-start: -4px; font-size: 12px; font-weight: 700; color: #C0F0F2; }
.dl-fast .icon { width: 13px; height: 13px; }
.dc-link.is-linked .dl-fast { display: none; }
.co-meta b[data-i18n="footer_addr"] { font-family: var(--ar); letter-spacing: 0; font-weight: 700; }
