/* ============================================================
   IKLIL MARKETS — الموقع العام. هويةُ المنصّة نفسها: فحميٌّ وذهبٌ كلاسيكي وخطُّ Cairo.
   كلُّ المحتوى مرئيٌّ بلا JavaScript؛ الحركةُ طبقةٌ فوقه لا شرطٌ لظهوره.
   ============================================================ */

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/cairo-v31/cairo-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/cairo-v31/cairo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/cairo-v31/cairo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* بديلٌ مضبوطُ المقاييس ريثما يصل Cairo — يقلّل قفزة النص عند تبدّل الخط */
@font-face {
  font-family: 'Cairo Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 104%;
  ascent-override: 96%;
  descent-override: 42%;
  line-gap-override: 0%;
}

:root {
  --gold: #d4af37;
  --gold-300: #ecd591;
  --gold-600: #b8942a;
  --bg: #060809;
  --night: #0c0f12;
  --night-800: #14181c;
  --ink: #e8e5dc;
  --muted: #a8a49a;
  --dim: #7a766d;
  --up: #10b981;
  --down: #f43f5e;
  --line: rgba(232, 229, 220, 0.1);
  --line-soft: rgba(232, 229, 220, 0.06);
  --gline: rgba(212, 175, 55, 0.16);
  --on-gold: #171207;
  --btn-gold: linear-gradient(180deg, #e3c76a 0%, #c9a132 100%);
  --card: rgba(13, 16, 19, 0.9);
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Cairo', 'Cairo Fallback', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
html.menu-open {
  overflow: hidden;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  background: var(--bg);
  background-image: radial-gradient(900px 520px at 50% 6%, rgba(212, 175, 55, 0.06), transparent 70%), radial-gradient(900px 700px at 100% 78%, rgba(212, 175, 55, 0.03), transparent 60%);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
dl,
dd {
  margin: 0;
}
::selection {
  background: rgba(212, 175, 55, 0.85);
  color: var(--on-gold);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
[id] {
  scroll-margin-top: 96px;
}
.num {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 300;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
}
.skip:focus {
  top: 12px;
}
html[dir='rtl'] .flip {
  transform: scaleX(-1);
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}
.narrow {
  max-width: 900px;
}
.section {
  padding: 96px 0;
  position: relative;
}
.section--tight {
  padding: 64px 0;
}
.section--first {
  padding-top: 20px;
}
.center {
  text-align: center;
}
.center .lead {
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.h2 {
  font-size: clamp(27px, 3.8vw, 44px);
}
.lead {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17.5px);
  max-width: 68ch;
  margin-top: 12px;
}
.more {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

/* ---------- أزرار ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 13px;
  padding: 13px 24px;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn--gold {
  background: var(--btn-gold);
  color: var(--on-gold);
  box-shadow: 0 10px 34px rgba(212, 175, 55, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--gold:hover {
  background: linear-gradient(180deg, #ecd591 0%, #d4af37 100%);
  box-shadow: 0 14px 44px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--gold::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36%;
  inset-inline-start: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: inset-inline-start 0.55s var(--ease);
}
.btn--gold:hover::after {
  inset-inline-start: 125%;
}
.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(232, 229, 220, 0.03);
}
.btn--ghost:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.05);
}
.btn--sm {
  padding: 8px 15px;
  font-size: 13.5px;
  border-radius: 10px;
}
/* كبسولات التصميم العائم: إطارٌ رفيع في الترويسة، وذهبيٌّ مضيء في البطل */
.btn--pill {
  border-radius: 999px;
}
.btn--pill.btn--sm {
  padding: 9px 20px;
}
html:not([dir='rtl']) .btn--pill.btn--lg {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn--lg {
  padding: 15px 36px;
  font-size: 16px;
}
.btn--line {
  border: 1px solid rgba(232, 229, 220, 0.22);
  color: var(--ink);
}
.btn--line:hover {
  border-color: rgba(212, 175, 55, 0.65);
  color: var(--gold-300);
  background: rgba(212, 175, 55, 0.05);
}
.hide-sm {
  display: none;
}
@media (min-width: 640px) {
  .hide-sm {
    display: inline-flex;
  }
}

/* ---------- الترويسة ---------- */
/* ترويسةٌ عائمة (تصميمُ المالك 2026-09-15): كبسولةٌ بإطارٍ رفيع فوق الخلفية، تلتصق أعلى الشاشة عند النزول.
   الغلافُ شفافٌ لا يلتقط النقر، والكبسولةُ وحدها تفاعلية. بلا backdrop-filter على عنصرٍ ملتصق: كلفةُ رسمٍ على الجوال */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 14px;
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  height: 62px;
  padding-inline: 22px 9px;
  border-radius: 999px;
  border: 1px solid rgba(232, 229, 220, 0.09);
  background: rgba(10, 12, 14, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header.is-stuck .header__bar {
  background: rgba(10, 12, 14, 0.95);
  border-color: rgba(212, 175, 55, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 44px rgba(0, 0, 0, 0.55);
}
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.header__bar > .logo {
  justify-self: start;
}
.header .logo img {
  height: 32px;
  width: auto;
}
.nav {
  display: none;
  align-items: center;
  gap: 2px;
}
.nav a,
.navmore > summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(232, 229, 220, 0.76);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover,
.navmore > summary:hover,
.navmore[open] > summary {
  color: var(--ink);
  background: rgba(232, 229, 220, 0.05);
}
/* الفرنسيةُ أطولُ الروابط («Conditions de trading»، «Se connecter»): حشوةٌ أضيق تُبقي مسافةً عن أزرار الطرف */
html[lang='fr'] .nav a,
html[lang='fr'] .navmore > summary {
  padding-inline: 9px;
}
.nav a[aria-current],
.navmore > summary.is-current {
  color: var(--gold);
}
.navmore {
  position: relative;
}
.navmore > summary svg {
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}
.navmore[open] > summary svg {
  transform: rotate(180deg);
}
.navmore__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  z-index: 120;
  display: grid;
  background: #0f1215;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65);
}
.nav .navmore__menu a {
  display: flex;
  border-radius: 12px;
  padding: 10px 14px;
}
.header__side {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__login {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(232, 229, 220, 0.76);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.header__login:hover {
  color: var(--ink);
  background: rgba(232, 229, 220, 0.05);
}
@media (min-width: 1140px) {
  .nav {
    display: flex;
  }
}
/* لغاتٌ أطول كلماتٍ من العربية والإنجليزية: الروابطُ في القائمة حتى تتسع الكبسولة لها */
@media (min-width: 1140px) and (max-width: 1239px) {
  html[lang='fr'] .nav,
  html[lang='de'] .nav,
  html[lang='ru'] .nav,
  html[lang='tr'] .nav {
    display: none;
  }
}

details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker {
  display: none;
}
.lang {
  position: relative;
}
.lang > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(232, 229, 220, 0.76);
  transition: color 0.2s, background 0.2s;
}
.lang > summary:hover,
.lang[open] > summary {
  color: var(--ink);
  background: rgba(232, 229, 220, 0.05);
}
.lang__menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 16px);
  min-width: 176px;
  z-index: 120;
  background: #0f1215;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65);
}
.lang__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.lang__menu a:hover {
  background: rgba(232, 229, 220, 0.06);
  color: var(--ink);
}
.lang__menu a[aria-current='true'] {
  color: var(--gold);
}
@media (max-width: 1139px) {
  .header .wrap {
    padding-inline: 14px;
  }
  .header__bar {
    display: flex;
    padding-inline: 18px 8px;
  }
  .header__side {
    margin-inline-start: auto;
  }
}
@media (max-width: 479px) {
  .lang > summary span {
    display: none;
  }
  .header {
    padding-top: 10px;
  }
  .header__bar {
    gap: 4px;
    height: 56px;
    padding-inline: 14px 7px;
  }
  .header .logo img {
    height: 26px;
  }
  .header__side .btn--sm {
    padding: 8px 13px;
    font-size: 12.5px;
  }
}

.burger > summary {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.burger__close,
.burger[open] .burger__open {
  display: none;
}
.burger[open] .burger__close {
  display: block;
}
@media (min-width: 1140px) {
  .burger {
    display: none;
  }
}
@media (min-width: 1140px) and (max-width: 1239px) {
  html[lang='fr'] .burger,
  html[lang='de'] .burger,
  html[lang='ru'] .burger,
  html[lang='tr'] .burger {
    display: block;
  }
}
/* قائمةُ الجوال بطاقةٌ تنسدل تحت الكبسولة بعرضها، لا صفحةٌ تغطي الشاشة من موضعٍ ثابت */
.mobilenav {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline: 0;
  z-index: 99;
  background: #0d1013;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 6px 18px 18px;
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px);
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.mobilenav a:not(.btn) {
  display: block;
  padding: 13px 6px;
  font-size: 16.5px;
  font-weight: 700;
  border-bottom: 1px solid var(--line-soft);
}
.mobilenav .btn {
  width: 100%;
  margin-top: 12px;
  border-radius: 999px;
}

/* ---------- مسار التنقل ---------- */
.crumbs {
  padding-top: 18px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: var(--dim);
}
.crumbs li + li::before {
  content: '/';
  margin-inline-end: 4px;
  color: rgba(232, 229, 220, 0.25);
}
.crumbs a {
  color: var(--muted);
}
.crumbs a:hover {
  color: var(--gold);
}
.crumbs [aria-current] {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- شريط الأسعار ---------- */
.ticker {
  /* خطٌّ ذهبيٌّ فوقه وتحته (المالك 2026-09-15): بلا الخط العلوي بدا ما بين الترويسة والشريط فراغاً بلا حدّ */
  border-top: 1px solid var(--gline);
  border-bottom: 1px solid var(--gline);
  background: var(--bg);
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
}
.ticker__set {
  display: flex;
}
.ticker.is-live .ticker__track {
  animation: tick 60s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}
.tick {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 22px;
  border-inline-end: 1px solid var(--line-soft);
  font-size: 12.5px;
  white-space: nowrap;
  line-height: 1.5;
}
.tick b {
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.tick__p {
  color: var(--muted);
  min-width: 5ch;
}
.tick__c {
  font-weight: 800;
  min-width: 6ch;
}
.tick__c.up {
  color: var(--up);
}
.tick__c.dn {
  color: var(--down);
}

/* ---------- البطل ---------- */
/* تصميمُ المالك (2026-09-15): عنوانٌ في الوسط بلونٍ معدنيٍّ فضّي، ودعوةٌ ذهبيةٌ مضيئة، ومشهدُ المنصّة تحتهما بإطارٍ يضيء
   حدُّه العلوي ويذوب في الصفحة. الإضاءةُ تدرّجاتٌ ثابتة — لا طبقةَ حركةٍ تُثقل المعالج */
.hero {
  position: relative;
  isolation: isolate;
  padding: 88px 0 0;
}
.hero__fx {
  position: absolute;
  inset: -130px 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(720px 360px at 50% 0%, rgba(212, 175, 55, 0.1), transparent 72%);
}
.hero__beam {
  position: absolute;
  top: 90px;
  left: 7%;
  width: 220px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 175, 55, 0.075), transparent);
}
.hero__beam--end {
  left: auto;
  right: 7%;
}
/* خيطا ضوءٍ عند الطرفين بمستوى العنوان — يذوبان قبل النص فلا يعبرانه */
.hero__streak {
  position: absolute;
  top: 356px;
  left: 0;
  width: 19%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 213, 145, 0.55) 60%, transparent);
  box-shadow: 0 0 22px 3px rgba(212, 175, 55, 0.16);
}
.hero__streak--end {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, transparent, rgba(236, 213, 145, 0.55) 60%, transparent);
}
.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
  position: relative;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.eyebrow--plain::before {
  display: none;
}
.hero .eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.hero h1 {
  max-width: 880px;
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  padding-bottom: 0.06em;
  text-wrap: balance;
  /* فضّةٌ معدنية: أفتح في الوسط وأغمق عند الطرفين وفي أسفل الحروف */
  background: linear-gradient(180deg, rgba(6, 8, 9, 0) 42%, rgba(6, 8, 9, 0.34) 100%), linear-gradient(90deg, #8f8b82 0%, #f6f3ea 34%, #f6f3ea 66%, #8f8b82 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent {
  background: none;
}
.accent {
  background: linear-gradient(100deg, var(--gold-300), var(--gold) 45%, var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  color: var(--muted);
  font-size: clamp(15.5px, 1.6vw, 18.5px);
  margin-top: 20px;
  max-width: 60ch;
  text-wrap: balance;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__cta--center {
  justify-content: center;
  margin-top: 34px;
}
.hero .btn--gold {
  box-shadow: 0 0 0 1px rgba(236, 213, 145, 0.3) inset, 0 14px 54px rgba(212, 175, 55, 0.34);
}
.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__note svg {
  flex: none;
  color: var(--gold);
}
/* الملاحظةُ تحت الدعوة في الوسط: الأيقونةُ جزءٌ من السطر فلا تبقى معلّقةً على الطرف حين يلتفّ النص */
.hero__copy .hero__note {
  display: block;
  text-wrap: balance;
}
.hero__copy .hero__note svg {
  display: inline-block;
  vertical-align: -2px;
  margin-inline-end: 7px;
}
.hero__copy .hero__note span {
  display: inline;
}
.hero__show {
  position: relative;
  margin-top: 78px;
}
/* بقعةُ الضوء فوق حدّ الإطار — مصدرُ الإضاءة في التصميم */
.hero__show::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -150px;
  width: min(820px, 92%);
  height: 270px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(212, 175, 55, 0.4), rgba(212, 175, 55, 0.12) 55%, transparent);
  filter: blur(18px);
  pointer-events: none;
}
.hero__frame {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
  padding: 12px 12px 0;
  border-radius: 30px 30px 0 0;
  border: 1px solid rgba(232, 229, 220, 0.12);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(232, 229, 220, 0.09), rgba(232, 229, 220, 0.025) 42%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 94%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 94%);
}
.hero__frame::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: 62%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-300) 50%, transparent);
  box-shadow: 0 0 20px 2px rgba(212, 175, 55, 0.5);
}

/* ---------- مشهد المنصّة ---------- */
.stage {
  position: relative;
  padding: 14px 4px 34px;
  min-width: 0;
}
.stage::after {
  content: '';
  position: absolute;
  inset-inline: 8%;
  bottom: -8px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.22), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
}
.term {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #060809;
  border: 1px solid var(--gline);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  direction: ltr;
  font-size: 11px;
  line-height: 1.5;
}
html[dir='rtl'] .term {
  direction: rtl;
}
.term__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(11, 13, 16, 0.5);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f43f5e;
}
.dots i:nth-child(2) {
  background: #d4af37;
}
.dots i:nth-child(3) {
  background: #10b981;
}
.term__tabs {
  display: flex;
  gap: 2px;
}
.term__tab {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dim);
}
.term__tab.is-on {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.09);
}
.term__acctchip {
  margin-inline-start: auto;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 3px 9px;
  white-space: nowrap;
}
.term__acctchip b {
  color: var(--ink);
}
.term__dep {
  background: var(--btn-gold);
  color: var(--on-gold);
  font-size: 11px;
  font-weight: 800;
  border-radius: 8px;
  padding: 4px 11px;
}
.term__acct {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 6px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 10.5px;
  color: var(--dim);
}
.term__acct b {
  color: var(--ink);
  font-weight: 700;
  padding: 0 5px;
}
.term__body {
  display: flex;
}
.op {
  width: 190px;
  flex: none;
  border-inline-end: 1px solid var(--line-soft);
  padding: 12px;
  background: rgba(11, 13, 16, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.op__head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.op__head b {
  font-size: 13px;
}
/* شعاراتُ الأزواج (المالك 2026-09-16: كما في المنصّة): علمان متراكبان، والكريبتو قرصُه وحدَه — من coins.mjs */
.paircoin {
  position: relative;
  display: inline-block;
  flex: none;
  direction: ltr;
}
.paircoin--one {
  position: static;
  display: inline-flex;
}
.coin {
  display: block;
}
.paircoin__b,
.paircoin__q {
  position: absolute;
}
.paircoin__b {
  top: 0;
  left: 0;
  z-index: 1;
}
.paircoin__q {
  bottom: 0;
  right: 0;
}
.wl__sym {
  display: flex;
  align-items: center;
  gap: 7px;
}
.op__bs {
  display: flex;
  gap: 7px;
}
.op__buy,
.op__sell {
  flex: 1;
  border-radius: 9px;
  padding: 6px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
}
.op__buy {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--up);
}
.op__sell {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: var(--down);
}
.op__buy b,
.op__sell b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
}
.op__tabs {
  display: flex;
  background: rgba(232, 229, 220, 0.05);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}
.op__tabs span {
  flex: 1;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--dim);
  padding: 3px 0;
  border-radius: 6px;
}
.op__tabs .is-on {
  background: rgba(232, 229, 220, 0.1);
  color: var(--ink);
}
.op__lbl {
  font-size: 9.5px;
  color: var(--dim);
  margin-bottom: -4px;
}
.op__field {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 8px;
}
.op__field .st {
  width: 16px;
  text-align: center;
  color: var(--dim);
  font-weight: 800;
  flex: none;
}
.op__ph {
  flex: 1;
  text-align: center;
  font-size: 10.5px;
}
.op__ph--dim {
  color: var(--dim);
  font-size: 9.5px;
}
.term__chart {
  flex: 1;
  min-width: 0;
  padding: 4px 4px 0;
  display: flex;
  flex-direction: column;
}
.term__chart .chart {
  flex: 1;
  width: 100%;
  min-height: 210px;
  height: 100%;
}
.tc__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 2px;
}
.tc__m1 {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--gold);
  font-weight: 900;
  font-size: 10px;
  border-radius: 6px;
  padding: 1px 8px;
}
.tc__btn {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 9.5px;
  color: var(--muted);
  font-weight: 700;
}
.term__tabsbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 12px;
  border-top: 1px solid var(--line-soft);
  background: rgba(11, 13, 16, 0.5);
}
.term__tabsbar span {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--dim);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 3px 9px;
}
.term__tabsbar .is-on {
  background: var(--btn-gold);
  color: var(--on-gold);
  border-color: transparent;
}
/* الشارتُ يمضي: نسختان من السلسلة تنزلقان بعرضها فتعودان إلى موضعهما بلا قفزة — زخرفةٌ لا سعر */
@media (prefers-reduced-motion: no-preference) {
  .chart__run {
    animation: chartrun 36s linear 1.2s infinite;
  }
  .stage.is-idle .chart__run {
    animation-play-state: paused;
  }
}
@keyframes chartrun {
  to {
    transform: translateX(-560px);
  }
}
/* نبضةُ السعر عند تغيّره — خضراء صعوداً وحمراء هبوطاً، كما في المنصّة */
@media (prefers-reduced-motion: no-preference) {
  .is-up,
  .is-dn {
    animation: tickflash 0.9s var(--ease);
    border-radius: 4px;
  }
}
@keyframes tickflash {
  0% {
    background: transparent;
  }
  18% {
    background: var(--flash);
    color: var(--flash-ink);
  }
  100% {
    background: transparent;
  }
}
.is-up {
  --flash: rgba(16, 185, 129, 0.22);
  --flash-ink: #6ee7b7;
}
.is-dn {
  --flash: rgba(244, 63, 94, 0.2);
  --flash-ink: #fda4af;
}
@media (prefers-reduced-motion: no-preference) {
  .term .chart rect,
  .term .chart line {
    animation: candlein 0.6s var(--ease) backwards;
  }
  .term .chart rect:nth-of-type(4n + 1),
  .term .chart line:nth-of-type(4n + 1) {
    animation-delay: 0.08s;
  }
  .term .chart rect:nth-of-type(4n + 2),
  .term .chart line:nth-of-type(4n + 2) {
    animation-delay: 0.16s;
  }
  .term .chart rect:nth-of-type(4n + 3),
  .term .chart line:nth-of-type(4n + 3) {
    animation-delay: 0.24s;
  }
}
@keyframes candlein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
/* الجوال: المشهدُ كاملاً بعرضه الطبيعي مصغّراً كوحدةٍ واحدة — لا لوحةَ تُحذف ولا نصَّ يلتفّ */
@media (max-width: 820px) {
  .stage {
    padding: 0 0 8px;
    overflow: clip;
  }
  .scene {
    width: 575px;
    margin-inline: auto;
    zoom: var(--scene-zoom, 0.6);
  }
  .stage::after {
    height: 64px;
    filter: blur(22px);
  }
}
@media (max-width: 820px) and (min-width: 600px) {
  .scene {
    --scene-zoom: 1;
  }
}
@media (max-width: 820px) {
  .stage--wide .scene {
    width: 900px;
    zoom: var(--scene-zoom, 0.36);
  }
  .stage--wide .term__chart .chart {
    min-height: 380px;
  }
}
@media (max-width: 599px) and (min-width: 400px) {
  .scene {
    --scene-zoom: 0.68;
  }
}

/* المشهدُ العريض تحت بطل الرئيسية: قائمةُ أسعارٍ حيّة، والشارتُ في الوسط، ولوحةُ الأمر في الطرف */
.stage--wide {
  padding: 0;
}
.stage--wide::after {
  display: none;
}
.stage--wide .term {
  border-radius: 20px 20px 0 0;
  border-color: rgba(232, 229, 220, 0.08);
  box-shadow: none;
}
.stage--wide .term__chart {
  order: 1;
}
.stage--wide .op {
  order: 2;
  border-inline-end: 0;
  border-inline-start: 1px solid var(--line-soft);
}
/* قائمةُ الأزواج في كل المقاسات (المالك 2026-09-16: «رجعها مثل ما كانت بس خليها كاملة») — على الجوال يُصغَّر
   المشهدُ كاملاً كوحدةٍ واحدة بدل حذف القائمة */
.stage--wide .wl {
  display: block;
  width: 290px;
  flex: none;
  border-inline-end: 1px solid var(--line-soft);
  background: rgba(11, 13, 16, 0.35);
}
.stage--wide .op {
  width: 214px;
}
.stage--wide .term__chart .chart {
  min-height: 330px;
}
.wl__head,
.wl__row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.8fr;
  gap: 6px;
  align-items: center;
  padding: 7px 14px;
}
.wl__head {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--dim);
  border-bottom: 1px solid var(--line-soft);
}
.wl__row {
  font-size: 11px;
  border-bottom: 1px solid rgba(232, 229, 220, 0.035);
}
.wl__row b {
  font-weight: 800;
  color: var(--ink);
}
.wl__row .num {
  color: var(--muted);
}
/* الأرقامُ ومحاذاةُ عناوينها في طرفٍ واحد بكل اتجاه — الخانةُ الرقمية معزولةٌ ltr فالمحاذاةُ مادّيةٌ عن قصد */
.wl__row > span,
.wl__head > span + span {
  text-align: right;
}
html[dir='rtl'] .wl__row > span,
html[dir='rtl'] .wl__head > span + span {
  text-align: left;
}
.wl__row.is-on {
  background: rgba(212, 175, 55, 0.06);
  box-shadow: inset 2px 0 0 var(--gold);
}
html[dir='rtl'] .wl__row.is-on {
  box-shadow: inset -2px 0 0 var(--gold);
}
.wl .up {
  color: var(--up);
}
.wl .dn {
  color: var(--down);
}

/* ---------- شريط الأرقام ---------- */
.stats {
  background: linear-gradient(180deg, #0b0d10, #07090b);
  border-block: 1px solid var(--gline);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 820px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  padding: 36px 20px;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: var(--gline);
}
@media (max-width: 819px) {
  .stat:nth-child(3)::before {
    display: none;
  }
}
.stat__v {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(180deg, var(--gold-300), var(--gold) 60%, var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__l {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- بطاقات عامة ---------- */
.bcard,
.paycard,
.tier,
.doccard,
.facts,
.faq details,
.tablewrap,
.flowbox,
.gitem,
.toc,
.faqside__card,
.spec,
.paynotes,
.mcard,
.channel,
.sidecard,
.kv,
.fitem,
.note {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 44px -24px rgba(0, 0, 0, 0.55);
}
@media (hover: hover) and (pointer: fine) {
  .bcard::before,
  .tier::before,
  .paycard::before,
  .doccard::before,
  .mcard::before,
  .channel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 175, 55, 0.08), transparent 62%);
  }
  .bcard:hover::before,
  .tier:hover::before,
  .paycard:hover::before,
  .doccard:hover::before,
  .mcard:hover::before,
  .channel:hover::before {
    opacity: 1;
  }
}

.bento {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}
@media (min-width: 760px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .bento > :nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .bento > :nth-child(2) {
    grid-column: span 2;
  }
}
.bcard {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.bcard:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
}
.bcard__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold);
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease);
}
.bcard:hover .bcard__icon {
  transform: rotate(-6deg) scale(1.1);
}
.bcard h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.bcard p {
  color: var(--muted);
  font-size: 14px;
  max-width: 52ch;
}
.gnum {
  position: absolute;
  top: 24px;
  /* خاصّيةٌ مادّية عن قصد: العنصرُ معزولٌ باتجاه ltr فالمنطقيةُ تُحسب باتجاهه لا باتجاه الصفحة */
  right: 22px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 9px;
  padding: 4px 11px;
  pointer-events: none;
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir='rtl'] .gnum {
  right: auto;
  left: 22px;
}
.bcard--xl {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.1), var(--card) 60%);
}
.bcard--xl .gnum {
  font-size: 22px;
  padding: 6px 14px;
}
.bcard--xl .bcard__icon {
  width: 52px;
  height: 52px;
  margin-bottom: auto;
}
.bcard--xl h3 {
  font-size: 22px;
  margin-top: 22px;
}
.bcard--xl p {
  font-size: 15px;
}

/* ---------- الأسواق (الرئيسية) ---------- */
.mlist {
  margin-top: 46px;
  border-top: 1px solid var(--line-soft);
}
.mrow {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--gold);
  transition: background 0.25s var(--ease), border-radius 0.25s var(--ease);
}
.mrow:hover {
  background: var(--gold);
  border-radius: 14px;
  border-bottom-color: transparent;
  color: var(--on-gold);
}
.mrow__ico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.08);
}
.mrow:hover .mrow__ico {
  background: rgba(6, 8, 9, 0.14);
}
.mrow__main {
  flex: 1;
  min-width: 0;
}
.mrow__main b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.mrow__main span {
  color: var(--muted);
  font-size: 13.5px;
}
.mrow:hover .mrow__main b,
.mrow:hover .mrow__main span {
  color: var(--on-gold);
}
.mrow__spark {
  flex: none;
  opacity: 0.9;
}
.mrow__count {
  flex: none;
  text-align: end;
  min-width: 70px;
}
.mrow__count b {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1;
  display: block;
}
.mrow__count span {
  font-size: 11px;
  color: var(--dim);
}
.mrow:hover .mrow__count span {
  color: rgba(6, 8, 9, 0.6);
}
@media (max-width: 600px) {
  .mrow__spark {
    display: none;
  }
  .mrow {
    gap: 14px;
    padding: 18px 10px;
  }
}

/* ---------- الخطوات ---------- */
.steps {
  display: grid;
  margin-top: 44px;
  position: relative;
  counter-reset: s;
  max-width: 760px;
  margin-inline: auto;
}
.steps::before {
  content: '';
  position: absolute;
  inset-inline-start: 28px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--line-soft);
}
.step {
  position: relative;
  padding: 0 0 30px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
}
.step:last-child {
  padding-bottom: 0;
}
.step__n {
  counter-increment: s;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--night);
  border: 2px solid var(--line);
  font-size: 17px;
  font-weight: 900;
  color: var(--dim);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
  transition: background 0.9s var(--ease), color 0.9s var(--ease), border-color 0.9s var(--ease), box-shadow 0.9s var(--ease), transform 0.9s var(--ease);
}
.step__n::before {
  content: counter(s, decimal-leading-zero);
}
.step.is-lit .step__n,
html.no-js .step__n {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 0 0 6px var(--bg), 0 0 34px rgba(212, 175, 55, 0.45);
}
.step.is-lit .step__n {
  transform: scale(1.06);
}
.step__body {
  padding-top: 9px;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.step p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- المنصّة ---------- */
.pfsplit {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .pfsplit {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
  }
  .pfsticky {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}
.pfrow {
  display: flex;
  gap: 16px;
  padding: 20px 6px;
  border-bottom: 1px solid var(--line-soft);
}
.pfrow:last-child {
  border-bottom: 0;
}
.pfrow__ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.16);
  color: var(--gold);
}
.pfrow h3,
.fitem h3 {
  font-size: 16px;
  margin-bottom: 3px;
}
.pfrow p,
.fitem p {
  color: var(--muted);
  font-size: 14px;
}
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.spec {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 10px 14px;
  background: var(--card);
  min-width: 96px;
}
.spec b {
  display: block;
  font-weight: 900;
  font-size: 21px;
  color: var(--gold);
  line-height: 1.2;
}
.spec span {
  font-size: 12px;
  color: var(--dim);
}
.fgrid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 760px) {
  .fgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .fgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.fitem {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--card);
}

/* ---------- الحسابات ---------- */
.tiers {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}
@media (min-width: 700px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1100px) {
  .tiers {
    grid-template-columns: repeat(5, 1fr);
  }
}
.tier {
  position: relative;
  border: 1px solid var(--gline);
  border-radius: 16px;
  background: linear-gradient(180deg, #0d1013, #0a0c0f);
  padding: 24px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.tier:hover {
  border-color: rgba(212, 175, 55, 0.42);
  transform: translateY(-3px);
}
.tier--pop {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 22px 60px -34px rgba(212, 175, 55, 0.45);
}
.tier__pop {
  position: absolute;
  top: -11px;
  inset-inline: 0;
  margin-inline: auto;
  width: max-content;
  background: var(--btn-gold);
  color: var(--on-gold);
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 1px 11px;
}
.tier__name {
  font-size: 21px;
}
.tier__code {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(232, 229, 220, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 11px;
  direction: ltr;
}
.tier__best {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 40px;
}
.tier__rows {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  text-align: start;
}
.tier__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.tier__row i {
  flex: 1;
  min-width: 10px;
  border-bottom: 1px dotted rgba(232, 229, 220, 0.2);
  transform: translateY(-3px);
}
.tier__row b {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}
.tier__cta {
  align-self: stretch;
  margin-top: auto;
  padding-top: 6px;
}
.tier__cta .btn {
  width: 100%;
}

/* ---------- الجداول ---------- */
.tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(12, 15, 18, 0.6);
  margin-top: 28px;
}
.tablewrap::-webkit-scrollbar {
  height: 6px;
}
.tablewrap::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 3px;
}
table th,
table td {
  padding: 13px 16px;
  text-align: start;
  font-size: 14px;
  white-space: nowrap;
  vertical-align: middle;
}
thead th,
thead td {
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}
tbody tr {
  border-bottom: 1px solid var(--line-soft);
}
tbody tr:last-child {
  border-bottom: 0;
}
tbody tr:hover {
  background: rgba(212, 175, 55, 0.035);
}
tbody th {
  font-weight: 800;
  color: var(--ink);
}
tbody th a {
  color: var(--gold);
}
.sym {
  font-weight: 800;
  letter-spacing: 0.02em;
  direction: ltr;
  unicode-bidi: isolate;
}
.th__name {
  display: block;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0;
}
.th__code {
  display: inline-block;
  font-size: 10.5px;
  color: var(--dim);
  direction: ltr;
}
.tablewrap--compare td {
  text-align: center;
  white-space: normal;
  min-width: 120px;
}
.tablewrap--compare tbody th {
  color: var(--muted);
  font-weight: 700;
}
.tablewrap--compare thead th {
  text-align: center;
}
.tfoot-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--dim);
}
.stamp {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--dim);
}
.stamp svg {
  color: var(--gold);
}

/* ---------- الدفع ---------- */
.pay {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .pay {
    grid-template-columns: 1fr 1fr;
  }
}
.paycard {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 26px;
  background: var(--card);
}
.paycard h3 {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}
.paycard h3 svg {
  color: var(--gold);
}
.paycard > p {
  color: var(--muted);
  font-size: 14.5px;
}
.paypoints {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.paypoints li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.paypoints li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold);
  flex: none;
  margin-top: 9px;
  transform: rotate(45deg);
}
.paynotes {
  display: grid;
  margin-top: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}
@media (min-width: 900px) {
  .paynotes {
    grid-template-columns: repeat(3, 1fr);
  }
  .pnote + .pnote {
    border-inline-start: 1px solid var(--line-soft);
  }
}
@media (max-width: 899px) {
  .pnote + .pnote {
    border-top: 1px solid var(--line-soft);
  }
}
.pnote {
  padding: 20px 22px;
}
.pnote h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 8px;
}
.pnote h3 svg {
  color: var(--gold);
  flex: none;
}
.pnote p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}
.flowbox {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
  display: grid;
  margin-top: 28px;
}
@media (min-width: 701px) {
  .flowbox {
    grid-template-columns: 1fr 1fr;
  }
  .flowcol + .flowcol {
    border-inline-start: 1px solid var(--line-soft);
  }
}
@media (max-width: 700px) {
  .flowcol + .flowcol {
    border-top: 1px solid var(--line-soft);
  }
}
.flowcol__h {
  padding: 15px 22px;
  font-size: 15px;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}
.flowcell {
  padding: 18px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.flowcell + .flowcell {
  border-top: 1px solid var(--line-soft);
}
.flowcell i {
  font-style: normal;
  flex: none;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  font-weight: 900;
  font-size: 12px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* ---------- الأمان ---------- */
.secgrid {
  display: grid;
  gap: 34px 44px;
  margin-top: 44px;
}
@media (min-width: 700px) {
  .secgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .secgrid {
    grid-template-columns: repeat(6, 1fr);
  }
  .srule {
    grid-column: span 2;
  }
  /* ثلاثةٌ في الصف، وصفٌّ أخيرٌ بعنصرين يتقاسمان عرضه بدل فراغٍ في آخره */
  .srule:nth-child(3n + 1):nth-last-child(2),
  .srule:nth-child(3n + 2):last-child {
    grid-column: span 3;
  }
}
.srule {
  position: relative;
  padding-top: 18px;
}
.srule::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  transition: width 0.45s var(--ease);
}
.srule:hover::before {
  width: 74px;
}
.srule h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.srule p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- الوثائق ---------- */
.doccards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
@media (min-width: 760px) {
  .doccards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .doccards:not(.doccards--2) {
    grid-template-columns: repeat(4, 1fr);
  }
}
.doccard {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.doccard:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-3px);
}
.doccard__ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
}
.doccard b,
.doccard__h {
  font-size: 16px;
}
.doccard > span:last-child {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  margin-top: auto;
}
.doccard p {
  color: var(--muted);
  font-size: 14px;
}
.doccard__meta {
  color: var(--dim) !important;
  font-weight: 600 !important;
}

/* ---------- الأسئلة ---------- */
.faq {
  max-width: 880px;
  margin-top: 28px;
}
.faq details {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 10px;
  transition: border-color 0.3s;
}
.faq details[open] {
  border-color: rgba(212, 175, 55, 0.3);
}
.faq summary {
  padding: 17px 22px;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq summary::after {
  content: '';
  margin-inline-start: auto;
  width: 9px;
  height: 9px;
  flex: none;
  border-inline-end: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq__a {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 14.5px;
}
.faqwrap {
  display: grid;
  gap: 30px;
  align-items: start;
}
@media (min-width: 1024px) {
  .faqwrap {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .faqside {
    position: sticky;
    top: 96px;
  }
}
.faqgroup + .faqgroup {
  margin-top: 44px;
}
.faqgroup .h2 {
  font-size: clamp(22px, 2.6vw, 30px);
}
.faqside {
  display: grid;
  gap: 14px;
}
.faqside__card {
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.08), var(--card) 60%);
}
.faqside__h {
  font-size: 17px;
  margin-bottom: 6px;
}
.faqside__card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ---------- الصفحات الداخلية ---------- */
.phero {
  position: relative;
  padding: 34px 0 30px;
}
.phero__h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.phero__lead {
  font-size: clamp(16px, 1.8vw, 19px);
}
.phero--split {
  padding: 34px 0 20px;
}
.phero--split .phero__h1 {
  max-width: none;
}
.kv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--gline);
  border-radius: 16px;
  background: linear-gradient(180deg, #0b0d10, #07090b);
  overflow: hidden;
}
@media (min-width: 900px) {
  .kv {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
.kv__i {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  border-inline-end: 1px solid var(--line-soft);
}
.kv dt {
  font-size: 12px;
  color: var(--dim);
  font-weight: 700;
}
.kv dd {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 2px;
}
.kv dd .num {
  color: var(--gold);
}
.split {
  display: grid;
  gap: 30px;
  margin-top: 40px;
  align-items: start;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
  }
  .side {
    position: sticky;
    top: 96px;
  }
}
.sidecard {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.09), var(--card) 60%);
}
.sidecard__h {
  font-size: 19px;
}
.sidecard p {
  color: var(--muted);
  font-size: 14px;
}
.prose {
  max-width: 78ch;
}
.prose__sec + .prose__sec {
  margin-top: 36px;
}
.prose__h,
.prose > h2 {
  font-size: clamp(21px, 2.4vw, 27px);
  margin-bottom: 12px;
}
.prose > h2 {
  margin-top: 34px;
}
.prose > h3 {
  font-size: 18px;
  margin: 22px 0 8px;
}
.prose__sec p,
.prose > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}
.prose__sec p + p,
.prose > p + p {
  margin-top: 12px;
}
.prose p strong,
.ticks strong {
  color: var(--ink);
}
.prose__sec p a,
.prose > p a,
.prose > ul a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose--doc {
  max-width: none;
}
.ticks {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}
.ticks svg {
  flex: none;
  color: var(--gold);
  margin-top: 6px;
}
.ticks--plain li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold);
  flex: none;
  margin-top: 11px;
  transform: rotate(45deg);
}
.prose .tablewrap {
  margin-top: 18px;
}
.risk {
  margin-top: 44px;
  border: 1px solid rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.05);
  border-radius: 16px;
  padding: 22px 24px;
}
.risk__h {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f7a0ae;
  font-size: 16px;
  margin-bottom: 6px;
}
.risk p {
  color: #d9b7b4;
  font-size: 14px;
}
.risk__more {
  display: inline-block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #f7a0ae;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.related {
  margin-top: 44px;
}
.related__h {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}
.related ul {
  display: grid;
  gap: 10px;
}
@media (min-width: 760px) {
  .related ul {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}
.related a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 15px 44px 15px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--card);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
html[dir='rtl'] .related a {
  padding: 15px 18px 15px 44px;
}
.related a:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}
.related b {
  font-size: 15px;
}
.related span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.related__arr {
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  margin-top: -8px;
  color: var(--gold);
}
html[dir='rtl'] .related__arr {
  transform: scaleX(-1);
}

.mcards {
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) {
  .mcards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .mcards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.mcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--card);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.mcard:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-3px);
}
.mcard__ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.09);
  color: var(--gold);
  margin-bottom: 6px;
}
.mcard__h {
  font-size: 21px;
}
.mcard p {
  color: var(--muted);
  font-size: 14px;
}
.mcard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  font-size: 13px;
  color: var(--dim);
  margin-top: 4px;
}
.mcard__meta b {
  color: var(--gold);
  font-size: 15px;
}
.mcard__meta i {
  font-style: normal;
  opacity: 0.5;
  margin-inline: 4px;
}
.mcard__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-weight: 800;
  font-size: 14px;
  color: var(--gold);
}

.guide__g {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 900px) {
  .guide__g {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gitem {
  border: 1px solid var(--line-soft);
  border-inline-start: 3px solid var(--gold);
  border-radius: 14px;
  background: var(--card);
  padding: 20px;
}
.gitem h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.gitem p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.about {
  display: grid;
  gap: 36px;
}
@media (min-width: 1024px) {
  .about {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 60px;
  }
}
.facts {
  border-radius: 18px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--gold);
  align-self: start;
}
.facts__h {
  font-size: 17px;
  margin-bottom: 12px;
}
.facts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--muted);
}
.facts li:last-child {
  border-bottom: 0;
}
.facts li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  flex: none;
  margin-top: 10px;
  transform: rotate(45deg);
}

.channels {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .channels {
    grid-template-columns: repeat(3, 1fr);
  }
}
.channel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--card);
}
.channel__ico {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.09);
  color: var(--gold);
}
.channel__h {
  font-size: 19px;
}
.channel p {
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
}
.channel__value {
  font-weight: 800;
  color: var(--gold);
  font-size: 16px;
  word-break: break-all;
}
.channel__value:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.note {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 24px;
  background: var(--card);
}
.note__h {
  font-size: 18px;
}

.toc {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--card);
  padding: 16px;
  align-self: start;
}
.toc__h {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}
.toc a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.toc a:hover {
  background: rgba(212, 175, 55, 0.06);
  color: var(--ink);
}
.docwrap {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 1024px) {
  .docwrap {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
  }
  .docwrap > .toc {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow: auto;
  }
}
.docwrap--solo {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 900px;
}
.section--doc {
  padding: 28px 0 80px;
}
.docart h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 8px;
}
.docmeta {
  color: var(--dim);
  font-size: 13.5px;
}
.docnote {
  margin: 14px 0 28px;
  padding: 12px 16px;
  border-inline-start: 3px solid var(--gold);
  background: rgba(212, 175, 55, 0.05);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 14px;
}
html[dir='rtl'] .docnote {
  border-radius: 10px 0 0 10px;
}
.docsec {
  margin-top: 30px;
}
.docsec h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  margin-bottom: 10px;
}
.docsec__n {
  font-weight: 900;
  font-size: 12.5px;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 1px 0;
  min-width: 40px;
  text-align: center;
  flex: none;
}
.docart p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.95;
  margin-bottom: 10px;
  max-width: 80ch;
}
.points {
  list-style: decimal;
  padding-inline-start: 22px;
  margin: 12px 0 20px;
}
.points li {
  color: var(--muted);
  padding-inline-start: 6px;
  margin-bottom: 8px;
}
.points li::marker {
  color: var(--gold);
  font-weight: 800;
}
.sources {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.sources h2 {
  font-size: 17px;
  margin-bottom: 10px;
}
.sources ol {
  list-style: decimal;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 14px;
}
.sources a {
  color: var(--gold);
  word-break: break-all;
}

/* ---------- باند الدعوة ---------- */
.band {
  border-radius: 26px;
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  background: radial-gradient(60rem 22rem at 50% -30%, rgba(212, 175, 55, 0.16), transparent 70%), linear-gradient(180deg, #0d1013, #08090b);
  border: 1px solid var(--gline);
  box-shadow: 0 30px 90px -40px rgba(212, 175, 55, 0.3);
}
.band .hero__cta {
  justify-content: center;
}
.band .h2 {
  font-size: clamp(28px, 4.2vw, 48px);
}
.band .lead {
  margin-inline: auto;
}

/* ---------- التذييل ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 60px 0 30px;
  background: rgba(11, 13, 16, 0.6);
}
.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, 1fr);
}
.footer__grid > :first-child {
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 1.6fr repeat(4, 1fr);
  }
  .footer__grid > :first-child {
    grid-column: auto;
  }
}
.footer .logo img {
  height: 38px;
  width: auto;
}
.footer__h {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}
.footer li {
  margin-bottom: 8px;
}
.footer li a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer li a:hover {
  color: var(--gold);
}
.footer__blurb {
  font-size: 14px;
  color: var(--muted);
  max-width: 40ch;
  margin-top: 14px;
}
/* حسابا الشركة على الشبكات — مربّعان صغيران تحت الوصف */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer .footer__social li {
  margin: 0;
}
.footer .footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.footer .footer__social a:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.footer__risk {
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.85;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.footer__risk strong {
  color: var(--muted);
}
.footer__bottom {
  margin-top: 18px;
}
.footer__bottom p {
  font-size: 12.5px;
  color: var(--dim);
}

/* ---------- صفحة اختيار اللغة و404 ---------- */
.root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}
.root__wrap {
  width: 100%;
  max-width: 1000px;
  text-align: center;
}
.root__logo {
  height: 52px;
  width: auto;
  margin: 0 auto 26px;
}
.root__h1 {
  font-size: clamp(24px, 3.4vw, 34px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
}
.root__sep {
  color: var(--gold);
}
.root__langs {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  text-align: start;
}
@media (min-width: 700px) {
  .root__langs {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .root__langs:not(.root__langs--404) {
    grid-template-columns: repeat(3, 1fr);
  }
}
.root__lang {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--card);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.root__lang:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
}
.root__lang b {
  font-size: 20px;
  color: var(--gold);
}
.root__lang span {
  color: var(--muted);
  font-size: 14px;
}
.root__code {
  font-size: clamp(72px, 12vw, 128px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212, 175, 55, 0.5);
  margin-bottom: 8px;
}
.nf {
  padding: 20px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--card);
}
.nf__h {
  font-size: 19px;
  margin-bottom: 4px;
}
.nf p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.nf .btn {
  margin-inline-end: 6px;
  margin-top: 4px;
}

/* ---------- الطبقة المحيطية ---------- */
.fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.fx i {
  position: absolute;
  display: block;
  width: 52rem;
  height: 52rem;
  border-radius: 50%;
  filter: blur(105px);
}
.fx__a {
  top: -19rem;
  inset-inline-end: -15rem;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.075), transparent 70%);
}
.fx__b {
  bottom: -21rem;
  inset-inline-start: -15rem;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05), transparent 70%);
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .fx__a {
    animation: drift-a 48s ease-in-out infinite;
  }
  .fx__b {
    animation: drift-b 56s ease-in-out infinite;
  }
  .hero h1 .accent {
    background-size: 220% 100%;
    animation: goldshift 3s var(--ease) 0.5s 2 alternate;
  }
}
@keyframes drift-a {
  50% {
    transform: translate(-5%, 4%) scale(1.1);
  }
}
@keyframes drift-b {
  50% {
    transform: translate(5%, -4%) scale(0.95);
  }
}
@keyframes goldshift {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 100% 0;
  }
}

/* ---------- الظهور التدريجي: JavaScript وحده يعلّق عنصراً تحت الشاشة، فلا يختفي محتوى عن زاحفٍ أو قارئ ---------- */
.js .is-pending {
  opacity: 0;
  transform: translateY(30px) scale(0.975);
  transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms);
}
.js .is-pending.is-in {
  opacity: 1;
  transform: none;
}
.stat__v {
  animation: statpop 0.75s var(--ease) 0.2s backwards;
}
@keyframes statpop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.85);
  }
  60% {
    transform: translateY(0) scale(1.05);
  }
}
.hero__copy > *,
.phero .wrap > * {
  animation: rise 0.7s var(--ease) backwards;
}
.hero__copy > :nth-child(2),
.phero .wrap > :nth-child(2) {
  animation-delay: 0.06s;
}
.hero__copy > :nth-child(3),
.phero .wrap > :nth-child(3) {
  animation-delay: 0.12s;
}
.hero__copy > :nth-child(4),
.phero .wrap > :nth-child(4) {
  animation-delay: 0.18s;
}
.hero__show {
  animation: rise 0.9s var(--ease) 0.26s backwards;
}
@keyframes rise {
  from {
    opacity: 0.001;
    transform: translateY(14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .is-pending {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 56px 0;
  }
  .section--tight {
    padding: 40px 0;
  }
  .section--first {
    padding-top: 12px;
  }
  .hero {
    padding: 44px 0 0;
  }
  .hero__grid {
    gap: 24px;
  }
  .hero__show {
    margin-top: 46px;
  }
  .hero__show::before {
    top: -90px;
    height: 170px;
  }
  .hero__frame {
    padding: 7px 7px 0;
    border-radius: 22px 22px 0 0;
    -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 99%);
    mask-image: linear-gradient(180deg, #000 86%, transparent 99%);
  }
  .hero__streak {
    display: none;
  }
  .stat {
    padding: 20px 12px;
  }
  .stat__v {
    font-size: 30px;
  }
  .stat__l {
    font-size: 12px;
  }
  .bcard--xl {
    min-height: 0;
    padding: 24px;
  }
  .band {
    padding: 32px 18px;
  }
  .footer {
    padding: 42px 0 24px;
  }
  .phero {
    padding: 22px 0 18px;
  }
  table th,
  table td {
    padding: 11px 13px;
    font-size: 13.5px;
  }
}

@media print {
  .header,
  .ticker,
  .fx,
  .band,
  .footer .footer__grid {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
