/* ===== fonts (self-hosted, SIL OFL) ===== */
@font-face{font-family:'Cairo';font-style:normal;font-weight:600 800;font-display:swap;src:url(/fonts/cairo-arabic-93eb79.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Cairo';font-style:normal;font-weight:600 800;font-display:swap;src:url(/fonts/cairo-latin-e06377.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}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:500 700;font-display:swap;src:url(/fonts/cinzel-latin-63551c.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}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400 500;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-arabic-00b30d.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400 500;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-latin-b9f686.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}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600 700;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-arabic-dda025.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600 700;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-latin-5344fa.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}
/* ===== /fonts ===== */
/* ZYRON — نظام التصميم
   الفكرة: فخامة معدنية داكنة. الأسود العميق أساس، الفضي للعناوين، الأزرق الكهربائي للتفاعل والطاقة،
   والذهبي نادر (المراكز الأولى والمكافآت فقط). العنصر الأجرأ واحد: حلقة الرموز خلف الشعار في الواجهة. */
:root {
  --void: #04060b;
  --night: #0a0f1c;
  --night-2: #0f1728;
  --line: rgba(176, 196, 230, .14);
  --line-strong: rgba(176, 196, 230, .28);
  --steel: #dfe5ef;
  --text: #b9c2d4;
  --muted: #8a93aa;
  --arc: #3f8cff;
  --arc-deep: #1f5fd6;
  --arc-soft: #8fc0ff;
  --relic: #cfae67;
  --danger: #ff8f8f;
  --ok: #7fe0a4;

  --f-body: 'IBM Plex Sans Arabic', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --f-display: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-latin: 'Cinzel', 'Times New Roman', serif;

  --s-1: .875rem; --s0: 1.0625rem; --s1: 1.25rem; --s2: 1.5625rem; --s3: 1.95rem; --s4: 2.45rem; --s5: 3.05rem; --s6: clamp(2.4rem, 5.4vw, 4rem);
  --wrap: 1180px; --narrow: 760px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; background: var(--void); color: var(--text);
  font: 400 var(--s0)/1.8 var(--f-body); overflow-x: hidden;
  background-image: radial-gradient(120% 60% at 50% -10%, #0d1f45 0, transparent 60%);
  background-repeat: no-repeat;
}
:lang(en) body, body:lang(en), :lang(ru) body, body:lang(ru) { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--arc-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--steel); font-weight: 700; line-height: 1.3; margin: 0 0 .5em; text-wrap: balance; }
:lang(en) h1, :lang(en) h2, :lang(ru) h1, :lang(ru) h2 { font-family: var(--f-latin); letter-spacing: .02em; }
:lang(en) h3, :lang(en) h4, :lang(ru) h3, :lang(ru) h4 { font-family: var(--f-body); font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--arc-soft); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--arc-deep); color: #fff; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--arc); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)); }
.container.narrow { max-width: var(--narrow); }
.fine { font-size: var(--s-1); color: var(--muted); margin-top: 1em; }

/* ---------- الأزرار ---------- */
.btn {
  --cut: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.7em;
  font: 600 var(--s0)/1.2 var(--f-body); color: #fff; text-decoration: none; cursor: pointer; border: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color .2s var(--ease), color .2s, box-shadow .2s, transform .15s var(--ease);
}
.btn-primary { background: linear-gradient(180deg, #4f9bff, var(--arc-deep)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { background: linear-gradient(180deg, #6aaeff, #2a6ce6); color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: rgba(10, 15, 28, .6); color: var(--steel); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--arc-soft); background: rgba(63, 140, 255, .12); }
.btn-ghost[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--arc-soft); }
.btn-small { min-height: 40px; padding: .45em 1.1em; font-size: var(--s-1); --cut: 7px; }
.discord-link { width: 40px; padding: 0; display: inline-grid; place-items: center; }
.discord-link svg { width: 20px; height: 20px; }
.btn-large { min-height: 56px; padding-inline: 2.2em; font-size: var(--s1); }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { background: #1a2236; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); cursor: not-allowed; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-inline-start: .5em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); vertical-align: .1em; }
[dir="rtl"] .link-arrow::after { transform: rotate(-135deg); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- الرأس والتنقل ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: linear-gradient(rgba(4, 6, 11, .92), rgba(4, 6, 11, .78));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { max-width: 1320px; margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 24px; padding-inline: 20px; }
.brand img { height: 52px; width: auto; mix-blend-mode: screen; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  position: relative; display: block; padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap;
}
.site-nav ul a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 2px; background: var(--arc); transform: scaleX(0); transition: transform .25s var(--ease); }
.site-nav ul a:hover { color: #fff; }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { color: #fff; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { color: var(--muted); text-decoration: none; padding: 8px 10px; font-size: var(--s-1); }
.lang-switch:hover { color: #fff; }
.menu-btn { display: none; margin-inline-start: auto; width: 48px; height: 48px; background: none; border: 1px solid var(--line-strong); color: var(--steel); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn path { transition: transform .25s var(--ease), opacity .2s; transform-origin: center; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 8px 20px 24px;
    background: #060911; border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 4px; font-size: var(--s1); border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .site-nav ul a[aria-current="page"] { color: var(--arc-soft); }
  .nav-tools { justify-content: space-between; padding-top: 16px; }
  .nav-tools .btn { flex: 1; }
}

/* ---------- الواجهة السينمائية ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 24px) 20px 120px; min-height: clamp(580px, 88svh, 860px); display: grid; place-items: center; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 45% at 50% 42%, rgba(31, 95, 214, .38), transparent 70%),
  radial-gradient(40% 30% at 50% 45%, rgba(143, 192, 255, .14), transparent 70%),
  linear-gradient(180deg, #050912 0%, #060b18 60%, var(--void) 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 80% at 50% 45%, transparent 55%, rgba(0, 0, 0, .75) 100%); }
.hero-mist { position: absolute; inset: -20% -10%; opacity: .55; background:
  radial-gradient(30% 20% at 25% 70%, rgba(63, 140, 255, .16), transparent 70%),
  radial-gradient(35% 22% at 78% 30%, rgba(143, 192, 255, .1), transparent 70%);
  animation: drift 40s ease-in-out infinite alternate; }
.rune-ring { position: absolute; left: 50%; top: 44%; width: min(1100px, 150vw); aspect-ratio: 1; translate: -50% -50%; fill: none; stroke: rgba(160, 196, 255, .34); stroke-width: 1.4; }
.rune-ring .thin { stroke-width: .8; stroke: rgba(160, 196, 255, .22); }
.rune-ring .dash { stroke-dasharray: 2 10; stroke: rgba(160, 196, 255, .3); }
.rune-ring line { stroke-width: 1; stroke: rgba(160, 196, 255, .28); }
.ring-runes path { stroke: rgba(143, 192, 255, .55); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ring-outer, .ring-runes, .ring-inner { transform-origin: 0 0; }
.ring-outer { animation: spin 240s linear infinite; }
.ring-runes { animation: spin 360s linear infinite reverse; }
.hero-horizon { position: absolute; inset-inline: 0; bottom: 96px; height: 1px; background: linear-gradient(90deg, transparent, rgba(143, 192, 255, .7), transparent); box-shadow: 0 0 24px 4px rgba(63, 140, 255, .35); }
.hero-inner { position: relative; max-width: 880px; }
.hero-logo { width: min(700px, 92vw); margin: 0 auto -2%; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); }
.hero-title { font-size: var(--s6); margin: 0 0 .3em; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .9); }
.hero-lead { max-width: 40em; margin: 0 auto 2em; color: #cdd5e4; font-size: var(--s1); text-shadow: 0 1px 12px rgba(0, 0, 0, .9); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* تسلسل الدخول — مرة واحدة فقط */
@media (prefers-reduced-motion: no-preference) {
  .rune-ring { animation: ring-in 1.8s var(--ease) both; }
  .hero-logo { animation: rise 1.2s .25s var(--ease) both; }
  .hero-title { animation: rise .9s .65s var(--ease) both; }
  .hero-lead { animation: rise .9s .8s var(--ease) both; }
  .hero-actions { animation: rise .9s .95s var(--ease) both; }
  .hero-horizon { animation: horizon 1.6s .2s var(--ease) both; }
}
@keyframes ring-in { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes horizon { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate(4%, -3%); } }

/* ---------- لوحة الحالة ---------- */
.status-band { position: relative; z-index: 2; margin-top: -64px; padding-inline: 20px; }
.status-plate {
  max-width: 980px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  padding: 18px 28px; background: rgba(10, 15, 28, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-top-color: var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.st-state { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--steel); font-weight: 600; }
.st-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
[data-state="online"] .st-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 224, 164, .15); }
[data-state="offline"] .st-dot { background: var(--danger); }
.st-figures { display: flex; gap: 32px; margin: 0; flex-wrap: wrap; }
.st-figures div { display: flex; align-items: baseline; gap: 10px; }
.st-figures dt { color: var(--muted); font-size: var(--s-1); }
.st-figures dd { margin: 0; color: #fff; font: 700 var(--s2)/1 var(--f-latin); font-variant-numeric: tabular-nums; }

/* ---------- الأقسام ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-top: 56px; }
.section-head { max-width: 46rem; margin-bottom: 32px; }
.section-head h2 { font-size: var(--s4); margin-bottom: .25em; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 14px; background: linear-gradient(90deg, var(--arc), transparent); }
[dir="rtl"] .section-head h2::after { background: linear-gradient(270deg, var(--arc), transparent); }
.section-head p { color: var(--muted); margin: 0; }
.section-more { margin-top: 28px; }

/* حقائق السيرفر: لوح منقوش، لا بطاقات */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; border-top: 1px solid var(--line-strong); }
.fact { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fact dt { color: var(--muted); font-size: var(--s-1); }
.fact dd { margin: 0; color: var(--steel); }
.fact-big dd { font: 700 var(--s3)/1.1 var(--f-latin); color: #fff; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .fact { grid-template-columns: 1fr; gap: 2px; } }

/* رحلة اللاعب: مسار متصل */
.section-journey { background: linear-gradient(180deg, transparent, rgba(15, 23, 40, .6) 30%, rgba(15, 23, 40, .6) 70%, transparent); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.journey::before { content: ""; position: absolute; top: 27px; inset-inline-start: 28px; inset-inline-end: calc(25% - 49px); height: 1px; background: linear-gradient(90deg, var(--arc), var(--line-strong), var(--arc)); }
.journey li { position: relative; }
.step-n { position: relative; z-index: 0; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; font: 700 var(--s1)/1 var(--f-latin); color: #fff; }
.step-n::before {
  content: ""; position: absolute; inset: 8px; z-index: -1; transform: rotate(45deg);
  background: var(--void); border: 1px solid var(--arc-soft); box-shadow: 0 0 0 8px var(--void), 0 0 24px rgba(63, 140, 255, .4);
}
.journey h3 { font-size: var(--s1); margin-bottom: .3em; }
.journey p { color: var(--text); font-size: .98rem; }
.journey a { font-weight: 600; }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 8px; }
  .journey::before { top: 28px; bottom: 28px; inset-inline-start: 27px; inset-inline-end: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--arc), var(--line-strong)); }
  .journey li { padding-inline-start: 84px; min-height: 96px; }
  .journey .step-n { position: absolute; inset-inline-start: 0; top: 0; }
}

/* الظهور عند التمرير (يُفعّل فقط مع JavaScript ودون تقليل الحركة) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .journey .reveal:nth-child(2) { transition-delay: .08s; }
.js .journey .reveal:nth-child(3) { transition-delay: .16s; }
.js .journey .reveal:nth-child(4) { transition-delay: .24s; }

/* الأخبار */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.news-row { display: grid; grid-template-columns: 11rem 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.news-row time { color: var(--muted); font-size: var(--s-1); padding-top: 4px; }
.news-main :is(h2, h3) { font-size: var(--s1); margin: 6px 0 4px; }
.news-main :is(h2, h3) a { color: var(--steel); text-decoration: none; }
.news-main :is(h2, h3) a:hover { color: #fff; text-decoration: underline; }
.news-main p { color: var(--text); margin: 0; max-width: 62ch; }
.news-thumb { width: 220px; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.tag { display: inline-block; font-size: .8rem; line-height: 1.6; padding: 0 10px; color: var(--arc-soft); background: rgba(63, 140, 255, .1); border: 1px solid rgba(63, 140, 255, .35); }
@media (max-width: 760px) { .news-row { grid-template-columns: 1fr; gap: 6px; } .news-thumb { width: 100%; } }

/* المجتمع */
.community { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.community a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; color: var(--steel); text-decoration: none; border: 1px solid var(--line-strong); }
.community a:hover { border-color: var(--arc-soft); color: #fff; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* حالة فارغة */
.empty-state { padding: 28px; border: 1px dashed var(--line-strong); color: var(--muted); }
.empty-state p:last-child { margin: 0; }
.empty-state.big { padding: 56px 28px; text-align: center; }
.empty-state.big h2 { font-size: var(--s2); }

/* ---------- الصفحات الداخلية ---------- */
.page-hero { position: relative; padding: 72px 0 40px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 50% 0%, rgba(31, 95, 214, .25), transparent 70%); }
.page-hero h1 { font-size: var(--s5); margin-bottom: .2em; }
.page-hero p { color: var(--muted); max-width: 46rem; margin: 0; font-size: var(--s1); }
.page-body { padding-block: 48px 24px; }
.crumbs { margin-bottom: 12px !important; font-size: var(--s-1); }
.crumbs a { color: var(--muted); }
.article-meta { display: flex; gap: 14px; align-items: center; color: var(--muted) !important; font-size: var(--s-1) !important; margin-top: 8px !important; }
.article-body { padding-block: 40px; font-size: 1.1rem; }
.article-body p { max-width: 68ch; }
.article-image { width: 100%; margin-bottom: 32px; border: 1px solid var(--line); }

.tablet { position: relative; background: linear-gradient(180deg, var(--night-2), var(--night)); border: 1px solid var(--line); padding: 28px; }
.tablet::before { content: ""; position: absolute; inset-inline: -1px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(223, 229, 239, .5), transparent); }
.tablet h2 { font-size: var(--s2); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.ledger { margin: 0; }
.ledger div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ledger div:last-child { border-bottom: 0; }
.ledger dt { color: var(--text); }
.ledger dd { margin: 0; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; text-align: end; }
.ledger.compact div { padding: 6px 0; }
.tablet .st-state { margin-bottom: 8px; }

/* الأعراق والوظائف */
.race-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.race-col { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(31, 95, 214, .1), transparent 40%), var(--night); padding: 24px; }
.race-col h3 { font-size: var(--s3); margin-bottom: 16px; }
.tier + .tier { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.tier h4 { font: 500 var(--s-1)/1.4 var(--f-body); color: var(--muted); margin-bottom: 6px; }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--steel); }
@media (max-width: 900px) { .race-grid { grid-template-columns: 1fr; } }

/* التحميل */
.download-card { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding: 36px; margin-bottom: 24px;
  border: 1px solid var(--line-strong); background: radial-gradient(70% 140% at 100% 0%, rgba(31, 95, 214, .3), transparent 70%), var(--night); }
[dir="rtl"] .download-card { background: radial-gradient(70% 140% at 0% 0%, rgba(31, 95, 214, .3), transparent 70%), var(--night); }
.dl-version { font: 700 var(--s1)/1 var(--f-latin); color: var(--arc-soft); margin-bottom: 10px; letter-spacing: .04em; }
.download-card h2 { font-size: var(--s3); margin: 0; }
.dl-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 360px; }
.dl-actions .fine { margin: 0; }
.steps { margin: 0; padding-inline-start: 1.3em; }
.steps li { padding: 6px 0; }
.steps li::marker { color: var(--arc-soft); font-weight: 700; }

/* الأسئلة الشائعة */
.accordion { border-top: 1px solid var(--line-strong); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; list-style: none; cursor: pointer; padding: 18px 0; padding-inline-end: 40px; color: var(--steel); font-weight: 600; font-size: var(--s1); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border: solid var(--arc-soft); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s var(--ease); }
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.accordion summary:hover { color: #fff; }
.accordion details p { margin: 0 0 20px; max-width: 70ch; }

/* القواعد */
.rule-section { margin-bottom: 40px; }
.rule-section ol { padding-inline-start: 1.4em; }
.rule-section li { padding: 6px 0; }

/* الفعاليات */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.event-when { color: var(--arc-soft); font-weight: 600; }
.event-when span { color: var(--muted); font-weight: 400; }

/* أزرار التصفية */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { min-height: 44px; padding: 0 18px; font: 500 .95rem/1 var(--f-body); color: var(--text); background: transparent; border: 1px solid var(--line-strong); cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; transition: border-color .15s, color .15s, background-color .15s; }
.chip:hover { color: #fff; border-color: var(--arc-soft); }
.chip[aria-pressed="true"] { color: #fff; background: rgba(63, 140, 255, .18); border-color: var(--arc); }

/* الجداول */
.table-wrap { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 500 var(--s-1)/1.4 var(--f-body); color: var(--muted); background: rgba(255, 255, 255, .02); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(63, 140, 255, .06); }
td.empty { text-align: center; color: var(--muted); padding: 40px 18px; white-space: normal; }
.rank { font: 700 var(--s1)/1 var(--f-latin); color: var(--steel); width: 4rem; }
.rank-1 .rank, .rank-2 .rank, .rank-3 .rank { color: var(--relic); }
.rank-table td:nth-child(2) { color: #fff; font-weight: 600; }
.num { font-weight: 700; color: var(--arc-soft); }

/* الحساب والمتجر */
.account-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.account-figures { display: flex; gap: 20px 48px; flex-wrap: wrap; margin: 0; }
.account-figures dt { color: var(--muted); font-size: var(--s-1); }
.account-figures dd { margin: 0; color: #fff; font-size: var(--s2); font-weight: 600; font-variant-numeric: tabular-nums; }
.account-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 32px 20px 24px; border: 1px solid var(--line); background: var(--night); }
.pack-best { border-color: rgba(207, 174, 103, .55); }
.pack-usd { font: 700 var(--s5)/1 var(--f-latin); color: #fff; }
.pack-points { color: var(--arc-soft); font-weight: 600; font-size: var(--s1); margin: 0; }
.pack-bonus { font-size: .8rem; color: var(--relic); border: 1px solid rgba(207, 174, 103, .45); padding: 0 10px; }
.pack-bonus.none { visibility: hidden; }
.pack .btn { margin-top: 12px; }
.pack-gift { margin: 0; font-size: .85rem; color: var(--relic); text-align: center; }
.pack-set { width: 100%; max-width: 100%; padding: 8px 10px; background: rgba(255,255,255,.04); color: inherit; border: 1px solid rgba(207,174,103,.35); font: inherit; font-size: .85rem; }
.pack-set option { color: #111; }
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.item { padding: 24px; border: 1px solid var(--line); background: var(--night); }
.item h3 { font-size: var(--s1); margin: 8px 0 4px; }
.item p { color: var(--muted); }
.notice { margin-top: 16px; padding: 14px 18px; border-inline-start: 3px solid var(--arc); background: rgba(63, 140, 255, .08); color: var(--steel); }
@media (max-width: 900px) { .packs, .items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .packs, .items { grid-template-columns: 1fr; } }

/* ---------- النماذج والدخول ---------- */
.auth-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 56px 20px;
  background: radial-gradient(50% 50% at 50% 30%, rgba(31, 95, 214, .22), transparent 70%); }
.auth-card { width: 100%; max-width: 460px; padding: 40px 36px; background: linear-gradient(180deg, var(--night-2), var(--night)); border: 1px solid var(--line); position: relative; }
.auth-card::before { content: ""; position: absolute; inset-inline: -1px; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--arc), transparent); }
.auth-card.center { text-align: center; }
.auth-card h1 { font-size: var(--s4); margin-bottom: .2em; }
.auth-lead { color: var(--muted); margin-bottom: 28px; }
.auth-alt { margin: 24px 0 0; color: var(--muted); }
.code-404 { font: 700 5rem/1 var(--f-latin); color: var(--arc-soft); margin-bottom: 8px; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--steel); font-weight: 500; }
.field input { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 1rem/1.4 var(--f-body); color: #fff; background: #060a14; border: 1px solid var(--line-strong); border-radius: 0; transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: 0; border-color: var(--arc); box-shadow: 0 0 0 3px rgba(63, 140, 255, .25); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
[dir="rtl"] .field input[dir="ltr"] { text-align: left; }
.help { font-size: var(--s-1); color: var(--muted); margin: 0; }
.error { font-size: var(--s-1); color: var(--danger); margin: 0; min-height: 0; }
.error:empty { display: none; }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }
.form button[aria-busy="true"] { opacity: .7; cursor: progress; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- التذييل ---------- */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 15, 28, .6), #020307); }
.footer-inner { max-width: var(--wrap); margin-inline: auto; padding: 56px 20px 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.footer-brand img { width: 200px; mix-blend-mode: screen; margin-inline-start: -14px; }
.footer-tag { font: 500 var(--s-1)/1.5 var(--f-latin); color: var(--muted); letter-spacing: .03em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 { font: 600 var(--s-1)/1.4 var(--f-body); color: var(--steel); margin-bottom: 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols a { display: inline-block; padding: 5px 0; color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-legal { max-width: var(--wrap); margin-inline: auto; padding: 20px 20px 32px; border-top: 1px solid var(--line); font-size: .85rem; color: #6f7891; }
.footer-legal p { margin: 4px 0; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* انتقالات الصفحات (المتصفحات الداعمة فقط) */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* حالة الاتصال: نص مضيء كالليزر */
.on-tag { display: inline-block; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.on-tag.on { color: #d6ffe6; text-shadow: 0 0 4px #7fe0a4, 0 0 10px #3dff8a, 0 0 22px #1fd66b; animation: laser-on 2.4s ease-in-out infinite; }
.on-tag.off { color: #ffd9d9; text-shadow: 0 0 4px #ff7b7b, 0 0 10px #ff2e2e, 0 0 22px #d11a1a; animation: laser-off 3.2s ease-in-out infinite; }
@keyframes laser-on { 0%, 100% { text-shadow: 0 0 4px #7fe0a4, 0 0 10px #3dff8a, 0 0 22px #1fd66b; } 50% { text-shadow: 0 0 6px #b6ffd2, 0 0 16px #3dff8a, 0 0 32px #1fd66b, 0 0 48px #1fd66b; } }
@keyframes laser-off { 0%, 100% { text-shadow: 0 0 4px #ff7b7b, 0 0 10px #ff2e2e, 0 0 22px #d11a1a; } 50% { text-shadow: 0 0 6px #ffb0b0, 0 0 14px #ff2e2e, 0 0 26px #d11a1a; } }
@media (prefers-reduced-motion: reduce) { .on-tag { animation: none !important; } }

/* ======================================================================
   الزخرفة — طبقة إضافية فوق النظام: أقواس معدنية على الألواح، فواصل رونية،
   توهج عند التفاعل، وخلفية نجوم خافتة. لا تغيّر البنية ولا الألوان الأساسية.
   ====================================================================== */
:root { --glow-arc: 0 0 0 1px rgba(63, 140, 255, .35), 0 0 28px rgba(63, 140, 255, .18); --bracket: rgba(143, 192, 255, .55); }

/* خلفية: نجوم وغبار طاقة ثابتة وخافتة جداً */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(223, 229, 239, .55), transparent 60%),
    radial-gradient(1px 1px at 34% 72%, rgba(143, 192, 255, .5), transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 28%, rgba(223, 229, 239, .45), transparent 60%),
    radial-gradient(1px 1px at 76% 64%, rgba(143, 192, 255, .5), transparent 60%),
    radial-gradient(1px 1px at 90% 12%, rgba(207, 174, 103, .5), transparent 60%),
    radial-gradient(1px 1px at 22% 90%, rgba(223, 229, 239, .4), transparent 60%),
    radial-gradient(1.5px 1.5px at 66% 88%, rgba(143, 192, 255, .4), transparent 60%),
    radial-gradient(60% 40% at 85% 70%, rgba(31, 95, 214, .08), transparent 70%),
    radial-gradient(50% 35% at 10% 40%, rgba(63, 140, 255, .06), transparent 70%);
  background-size: 640px 640px, 640px 640px, 640px 640px, 640px 640px, 640px 640px, 640px 640px, 640px 640px, 100% 100%, 100% 100%;
}

/* الألواح والبطاقات: أقواس زوايا معدنية */
.tablet, .pack, .item { --b: var(--bracket); }
.tablet::after, .pack::after, .item::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: 1;
  background:
    linear-gradient(var(--b), var(--b)) top left / 14px 1px no-repeat,
    linear-gradient(var(--b), var(--b)) top left / 1px 14px no-repeat,
    linear-gradient(var(--b), var(--b)) top right / 14px 1px no-repeat,
    linear-gradient(var(--b), var(--b)) top right / 1px 14px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom left / 14px 1px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom left / 1px 14px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom right / 1px 14px no-repeat;
}
.pack, .item { position: relative; background: linear-gradient(180deg, var(--night-2), var(--night)); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.pack:hover, .item:hover { border-color: rgba(63, 140, 255, .55); box-shadow: var(--glow-arc); transform: translateY(-3px); }
.pack-best { --b: rgba(207, 174, 103, .85); border-color: rgba(207, 174, 103, .45); box-shadow: 0 0 36px rgba(207, 174, 103, .12); }
.pack-best:hover { border-color: rgba(207, 174, 103, .8); box-shadow: 0 0 0 1px rgba(207, 174, 103, .5), 0 0 36px rgba(207, 174, 103, .22); }
.tablet { box-shadow: inset 0 1px 0 rgba(223, 229, 239, .05), 0 18px 40px -24px rgba(0, 0, 0, .8); }

/* عناوين الأقسام: خط يتلاشى مع معين رموز في بدايته */
.section-head h2::after {
  width: 120px; height: 9px; margin-top: 14px; background:
    linear-gradient(45deg, transparent 42%, var(--arc-soft) 42% 58%, transparent 58%) left center / 9px 9px no-repeat,
    linear-gradient(90deg, var(--arc), transparent) 16px center / calc(100% - 16px) 1px no-repeat;
}
[dir="rtl"] .section-head h2::after, :lang(ar) .section-head h2::after {
  background:
    linear-gradient(45deg, transparent 42%, var(--arc-soft) 42% 58%, transparent 58%) right center / 9px 9px no-repeat,
    linear-gradient(270deg, var(--arc), transparent) 0 center / calc(100% - 16px) 1px no-repeat;
}

/* ترويسة الصفحات الداخلية: شبكة رونية خافتة وخط مضيء سفلي */
.page-hero::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent, var(--arc) 30%, var(--arc-soft) 50%, var(--arc) 70%, transparent);
  box-shadow: 0 0 18px rgba(63, 140, 255, .55);
}
.page-hero::before {
  background:
    radial-gradient(50% 120% at 50% 0%, rgba(31, 95, 214, .28), transparent 70%),
    repeating-linear-gradient(135deg, rgba(143, 192, 255, .035) 0 1px, transparent 1px 28px);
}

/* الترويسة والتذييل */
.site-header { box-shadow: 0 1px 0 rgba(63, 140, 255, .18), 0 10px 30px -18px rgba(31, 95, 214, .5); }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; inset-inline: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--relic) 50%, transparent); opacity: .6; }

/* الأزرار: لمعة معدنية تمرّ عند المرور */
.btn { position: relative; overflow: hidden; }
.btn:not(:disabled):not([aria-disabled="true"])::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:not(:disabled):not([aria-disabled="true"]):hover::after { transform: translateX(120%); }
.btn-primary:not(:disabled):hover { box-shadow: 0 0 0 1px rgba(143, 192, 255, .5), 0 0 26px rgba(63, 140, 255, .45); }

/* الترتيب: صفوف تتوهج عند المرور، وذهب/فضة/برونز للثلاثة الأوائل */
.rank-table tbody tr { transition: background-color .2s; }
.rank-table tbody tr:hover { background: rgba(63, 140, 255, .08); }
.rank-table tr.rank-1 td:first-child, .rank-table tr.rank-1 td:nth-child(2) { text-shadow: 0 0 14px rgba(207, 174, 103, .7); color: #f1d99a; }
.rank-table tr.rank-2 td:nth-child(2) { text-shadow: 0 0 12px rgba(200, 212, 235, .55); }
.rank-table tr.rank-3 td:nth-child(2) { text-shadow: 0 0 12px rgba(205, 140, 90, .55); }

/* أخبار وخطوات الرحلة */
.news-row { transition: background-color .2s, padding-inline .25s var(--ease); }
.news-row:hover { background: linear-gradient(90deg, transparent, rgba(63, 140, 255, .06), transparent); }
.journey .step-n { box-shadow: 0 0 0 1px rgba(63, 140, 255, .4), 0 0 22px rgba(63, 140, 255, .28); }

/* شريط التمرير */
html { scrollbar-color: #1f3a6e var(--void); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #1f5fd6, #12306b); border-radius: 6px; border: 2px solid var(--void); }

@media (prefers-reduced-motion: reduce) {
  .pack, .item, .btn::after { transition: none !important; }
  .pack:hover, .item:hover { transform: none; }
}

/* الجداول القابلة للتمرير: بلا أقواس زوايا حتى لا تُنشئ تمريراً زائداً */
.table-wrap::after, .table-wrap::before { display: none; }

/* ======================================================================
   الألوان والحركة — تدرجات حيّة، دخول متتابع، وعدّاد للأرقام
   ====================================================================== */
:root { --cyan: #4de0ff; --violet: #8b6bff; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* خطوط العناوين: كايرو بوزن قوي وبلا تباعد حروف */
h1, h2, h3, h4 { letter-spacing: 0; }
:lang(ar) h1, :lang(ar) h2 { font-weight: 800; line-height: 1.25; }

/* العنوان الرئيسي: تدرج فضي أزرق بلمعة تمرّ ببطء */
.hero-title, .page-hero h1 {
  color: transparent; text-shadow: none;
  background: linear-gradient(100deg, #ffffff 0%, #cfe3ff 30%, #ffffff 48%, #8fc0ff 70%, #ffffff 100%) 0 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, .85));
  animation: sheen 7s linear infinite;
}
.hero-title { animation: rise .9s .65s var(--ease) both, sheen 7s 1.6s linear infinite; }
@keyframes sheen { to { background-position: -260% 0; } }

/* الهالة خلف الشعار: شفق يتبدل لونه ببطء */
.hero-mist {
  opacity: .8; background:
    radial-gradient(34% 24% at 24% 68%, rgba(63, 140, 255, .24), transparent 70%),
    radial-gradient(36% 24% at 78% 32%, rgba(139, 107, 255, .18), transparent 70%),
    radial-gradient(30% 20% at 55% 85%, rgba(77, 224, 255, .12), transparent 70%);
  animation: drift 40s ease-in-out infinite alternate, aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora { from { filter: hue-rotate(-12deg); } to { filter: hue-rotate(22deg); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: rise 1.2s .25s var(--ease) both, float 7s 1.6s ease-in-out infinite; }
  @keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
}

/* الزر الرئيسي: تدرج أزرق سماوي يتحرك */
.btn-primary { background: linear-gradient(110deg, var(--arc-deep), var(--arc) 45%, var(--cyan) 100%) 0 0 / 200% 100%; transition: background-position .6s var(--ease), box-shadow .3s; }
.btn-primary:not(:disabled):hover { background-position: 100% 0; }

/* الظهور المتتابع عند التمرير */
.js .reveal { transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal-x { transform: translateX(28px); }
.js .reveal-x:nth-child(even) { transform: translateX(-28px); }
.js .reveal.in, .js .reveal-x.in { transform: none; }
.js .section-head.reveal h2::after { transform: scaleX(0); transform-origin: right; transition: transform .9s .3s var(--ease); }
html:lang(en).js .section-head.reveal h2::after, html:lang(ru).js .section-head.reveal h2::after { transform-origin: left; }
.js .section-head.reveal.in h2::after { transform: none; }

/* عناصر تُرسم بعد جلب البيانات: تدخل واحداً تلو الآخر */
.pack, .item { animation: rise .7s var(--ease) both; }
.packs > :nth-child(1), .items > :nth-child(1) { animation-delay: .05s; }
.packs > :nth-child(2), .items > :nth-child(2) { animation-delay: .12s; }
.packs > :nth-child(3), .items > :nth-child(3) { animation-delay: .19s; }
.packs > :nth-child(4), .items > :nth-child(4) { animation-delay: .26s; }
.packs > :nth-child(5), .items > :nth-child(5) { animation-delay: .33s; }
.packs > :nth-child(6), .items > :nth-child(6) { animation-delay: .4s; }
.rank-table tbody tr { animation: row-in .55s var(--ease) both; }
.rank-table tbody tr:nth-child(2) { animation-delay: .06s; } .rank-table tbody tr:nth-child(3) { animation-delay: .12s; }
.rank-table tbody tr:nth-child(4) { animation-delay: .18s; } .rank-table tbody tr:nth-child(5) { animation-delay: .24s; }
.rank-table tbody tr:nth-child(n+6) { animation-delay: .3s; }
@keyframes row-in { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

/* حزمة الأفضل: نبض ذهبي هادئ */
.pack-best { animation: rise .7s var(--ease) both, gold-pulse 4s 1s ease-in-out infinite; }
@keyframes gold-pulse { 0%, 100% { box-shadow: 0 0 28px rgba(207, 174, 103, .1); } 50% { box-shadow: 0 0 46px rgba(207, 174, 103, .28); } }

/* الأرقام الحية في لوحة الحالة */
.ledger dd, .st-figures dd { font-variant-numeric: tabular-nums; }
[data-state="online"] .st-dot { animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(127, 224, 164, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(127, 224, 164, 0); } }

/* بطاقات الخبر والخطوات: ألوان أغنى عند المرور */
.journey li:hover .step-n { box-shadow: 0 0 0 1px var(--cyan), 0 0 30px rgba(77, 224, 255, .4); }
.news-row :is(h2, h3) a { background: linear-gradient(90deg, var(--arc-soft), var(--cyan)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease), color .2s; text-decoration: none; }
.news-row:hover :is(h2, h3) a { background-size: 100% 2px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero-title, .page-hero h1, .hero-mist, .hero-logo, .pack-best, .pack, .item, .rank-table tbody tr, [data-state="online"] .st-dot { animation: none !important; }
  .hero-title, .page-hero h1 { color: #fff; background: none; }
  .js .reveal-x { transform: none; }
}

.hero-lead, .page-hero p, .section-head p { text-wrap: balance; }

.nav-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.nav-cart .count { min-width: 20px; height: 20px; font: 700 .72rem/1 var(--f-body); color: #fff; background: var(--arc-deep); border: 1px solid var(--arc-soft); border-radius: 10px; display: inline-grid; place-items: center; padding: 0 5px; }
.nav-cart .count[hidden] { display: none; }

/* صفحة إيداع Binance */
.bx-state { font-size: var(--s1); color: var(--steel); }
.bx-state.ok { color: var(--ok); }
.bx-state.err { color: var(--danger); }
.bx-state.warn { color: var(--relic); }
.bx-grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; margin-top: 18px; }
.bx-grid[hidden], .bx-warn[hidden] { display: none; }
.bx-qr { background: #fff; padding: 8px; width: 220px; height: 220px; }
.bx-qr svg { display: block; width: 100%; height: auto; }
.bx-fields { display: grid; gap: 16px; margin: 0; }
.bx-fields dt { color: var(--muted); font-size: var(--s-1); }
.bx-fields dd { margin: 4px 0 0; }
.bx-val { display: inline-block; max-width: 100%; overflow-wrap: anywhere; word-break: break-all; color: var(--steel); background: rgba(63, 140, 255, .08); padding: .25em .6em; margin-inline-end: 8px; }
.bx-amount { display: block; font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 700; line-height: 1.2; letter-spacing: .02em; color: var(--steel); padding: .3em .5em; margin: 0 0 10px; border: 2px solid var(--relic); background: rgba(207, 174, 103, .08); }
.bx-cents { color: var(--relic); text-decoration: underline; text-underline-offset: 6px; }
.bx-coin { font-size: .45em; color: var(--muted); }
.bx-warn { margin: 22px 0 0; padding-inline-start: 1.2em; color: var(--text); display: grid; gap: 8px; }
.bx-warn li::marker { color: var(--relic); }
@media (max-width: 640px) { .bx-grid { grid-template-columns: 1fr; } .bx-qr { margin-inline: auto; } }
.bx-nets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.bx-gross { padding: 12px 14px; border: 1px dashed var(--arc-soft); background: rgba(63, 140, 255, .06); }
.bx-grossval { font-size: var(--s2); color: var(--arc-soft); }
.pack-gifts { margin: 0; padding: 0; list-style: none; font-size: .8rem; color: var(--relic); text-align: center; }
.pack-pet { width: 100%; }

/* ---- تحسينات 2026-10-27: تباين النص البديل، ترتيب عناوين الأخبار، تقليل الكلمات اليتيمة، عناصر المتصفح ---- */
::placeholder { color: var(--muted); opacity: 1; }
p, li, dd { text-wrap: pretty; }
html { accent-color: var(--arc); }
input, textarea { caret-color: var(--arc-soft); }
:lang(en) .news-main h2, :lang(ru) .news-main h2 { font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
:lang(ar) .news-main h2 { font-weight: 700; line-height: 1.3; }
