/* ═══════════════════════════════════════════════════════════════════
   WYNQ — نظام التصميم
   مستخرَج بالقياس من أصول التطبيق الـ94، لا مخترَع.

   ثلاثة مبادئ تحكم كل ما تحته:
   1. لا وضع فاتح. كل أصل في التطبيق تركيب داكن.
   2. العمق توهّج لا ظلّ. لا ظلال سوداء مزاحة — بلوم بنفسجي بطبقات.
   3. الذهب مكانة لا زينة. البنفسجي للأفعال، والذهب لـVIP والرتب والمحفظة.
   ═══════════════════════════════════════════════════════════════════ */

/* ── الخطّ — عائلة واحدة للنصّين ─────────────────────────────────── */
@font-face {
  font-family: 'Plex Arabic';
  src: url('/assets/fonts/PlexArabic-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Arabic';
  src: url('/assets/fonts/PlexArabic-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* الأرضيات — كلّها سوداء بميل بنفسجي */
  --ground:       #0A0716;
  --ground-deep:  #04030F;
  --surface-1:    #141024;
  --surface-2:    #1E1836;
  --surface-3:    #2B2148;
  --surface-glass: rgba(32, 24, 56, .55);

  /* الحدود — بنفسجية دائماً، لا رمادية */
  --border:        rgba(168, 140, 250, .14);
  --border-strong: rgba(168, 140, 250, .28);
  --border-gold:   rgba(224, 192, 96, .38);
  --border-glow:   rgba(124, 92, 255, .55);

  /* البنفسجي — الأساس */
  --violet-300: #A98BFA;   /* الوحيد الآمن لنصّ بحجم الجسم — 7.36:1 */
  --violet-400: #8B6EFF;
  --violet-500: #7C5CFF;   /* الأساسي */
  --violet-600: #6B45E8;
  --violet-700: #4E2FB0;

  /* الذهب — مكانة فقط: VIP · الرتب · المحفظة · العائلات */
  --gold-300: #F0D890;     /* 14:1 — آمن بأي حجم */
  --gold-400: #E0C060;
  --gold-500: #C89840;
  --gold-600: #8E5F1E;
  --gold-ink: #100A20;
  --gold: var(--gold-400); /* اسم قديم تستعمله صفحات المستندات */

  /* سماوي/وردي — ثنائي، وللألعاب والتقنية فقط */
  --cyan-400:    #44D8E5;
  --cyan-600:    #1580A6;
  --magenta-400: #F6388E;

  /* النصّ — أبيض بميل بنفسجي، لا أبيض نقي */
  --text-1: #F4F1FB;
  --text-2: #BDB4D6;
  --text-3: #8B82A8;
  --text-off: #5A5378;

  /* دلالي */
  --live:    #F9418D;
  --success: #34D399;
  --warning: #FBBF24;
  --danger:  #FF4D6A;

  /* التوهّج — طبقات متراكزة دائماً، لا ظلّ واحد */
  --glow-violet:
      0 0 0 1px rgba(124, 92, 255, .45),
      0 0 12px  rgba(124, 92, 255, .55),
      0 0 34px  rgba(124, 92, 255, .30),
      0 0 80px  rgba(107, 69, 232, .18);
  --glow-violet-sm:
      0 0  8px rgba(124, 92, 255, .45),
      0 0 22px rgba(124, 92, 255, .22);
  --glow-gold:
      0 0 10px rgba(224, 192, 96, .50),
      0 0 30px rgba(224, 192, 96, .26),
      0 0 70px rgba(200, 152, 64, .14);

  --r-chip: 999px;
  --r-btn:  14px;
  --r-card: 20px;
  --r-media: 24px;
  --r-modal: 28px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --maxw: 1200px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-family: 'Plex Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* العربية: المسافة بين الحروف تقطع الوصلات — صفر إلزاماً.
   وتحتاج ارتفاع سطر أعلى بـ0.15 لخلوص الصاعد والنازل. */
[dir="rtl"], :lang(ar) { letter-spacing: 0 !important; }
html[lang="ar"] body { line-height: 1.80; }
html[lang="ar"] .eyebrow { text-transform: none; }

/* ── اللغة ──────────────────────────────────────────────────────── */
html[lang="ar"] [data-lang="en"],
html[lang="en"] [data-lang="ar"] { display: none !important; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--violet-300);
  outline-offset: 3px;
  border-radius: 8px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.6vw, 3.5rem); line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem);  line-height: 1.20; letter-spacing: -.015em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.35; letter-spacing: -.01em; }
h4 { font-size: 1.15rem; font-weight: 600; line-height: 1.40; }
html[lang="ar"] h1 { line-height: 1.35; }
html[lang="ar"] h2 { line-height: 1.40; }
html[lang="ar"] h3 { line-height: 1.45; }
p { margin: 0; text-wrap: pretty; max-width: 68ch; }
html[lang="ar"] p { max-width: 58ch; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--violet-300);
}
.lead { font-size: 1.125rem; color: var(--text-2); }
.muted { color: var(--text-3); }
.small { font-size: .875rem; }
.meta  { color: var(--text-3); font-size: .88rem; font-variant-numeric: tabular-nums; }
.tight { margin-block: .55rem .9rem; }

.h-glow {
  background: linear-gradient(180deg, #FFFFFF 0%, #DCD2FF 55%, var(--violet-300) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(124, 92, 255, .35));
}
.gold-text {
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-400) 55%, var(--gold-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* اسم WYNQ — بنفسجي إلى وردي، بتوهّج. الوردي هنا هويّة لا سياق ألعاب */
.wordmark {
  display: block; font-weight: 700; line-height: 1.05; margin: 0 0 .9rem;
  font-size: clamp(3.2rem, 8vw, 5rem);
  background: linear-gradient(100deg, #8B6EFF 0%, #A98BFA 38%, #E86BD0 72%, #F9418D 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(124, 92, 255, .45))
          drop-shadow(0 0 70px rgba(124, 92, 255, .22));
}
.wordmark--inline { display: inline; font-size: inherit; margin: 0; filter: none; }

/* نبض الموجة الصوتية بجانب العناوين */
.wave {
  width: 30px; height: 22px; display: inline-block; vertical-align: middle;
  color: var(--violet-400); margin-inline-end: .5rem;
  filter: drop-shadow(0 0 8px rgba(124, 92, 255, .60));
}
.wave--sm { width: 24px; height: 18px; }

/* ── الشعار — قصاصة شفّافة بلا هالة مخبوزة، فالتوهّج من CSS ───────── */
.logo { height: 40px; width: auto; }
.logo--nav {
  filter: drop-shadow(0 0 8px rgba(124, 92, 255, .55))
          drop-shadow(0 0 28px rgba(124, 92, 255, .28))
          drop-shadow(0 6px 18px rgba(0, 0, 12, .60));
}
.logo--dl {
  height: clamp(120px, 16vw, 180px);
  filter: drop-shadow(0 0 22px rgba(139, 110, 255, .60))
          drop-shadow(0 0 70px rgba(124, 92, 255, .30))
          drop-shadow(0 14px 40px rgba(0, 0, 10, .70));
}
.brand-mark { width: 28px; height: 28px; }

/* ── الزجاج — الحافّة العلوية البيضاء إلزامية ─────────────────────── */
.glass {
  background: linear-gradient(160deg,
    rgba(124, 92, 255, .16) 0%,
    rgba(32, 24, 56, .55)  42%,
    rgba(10, 7, 22, .68)  100%);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14),
              inset 0 -1px 0 rgba(0,0,0,.35),
              0 12px 40px rgba(0,0,6,.55);
}

/* ── الأجواء الشعاعية — بلومان بحدّ أقصى للقسم ─────────────────────── */
.ambient { position: relative; isolation: isolate; }
.ambient::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(720px 420px at 22% 12%, rgba(124, 92, 255, .20), transparent 62%),
    radial-gradient(560px 380px at 82% 78%, rgba(168, 60, 220, .13), transparent 66%);
}
.ambient--gold::before {
  background:
    radial-gradient(680px 400px at 78% 18%, rgba(224, 192, 96, .14), transparent 62%),
    radial-gradient(520px 360px at 18% 82%, rgba(124, 92, 255, .12), transparent 66%);
}

/* ── الأزرار — تدرّج المنصّة في showcase-stage حرفياً ───────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: .875rem 1.75rem; border: 0; border-radius: var(--r-btn);
  cursor: pointer; color: #fff;
  background: linear-gradient(180deg, var(--violet-400) 0%, var(--violet-500) 48%, var(--violet-600) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30),
              inset 0 -2px 0 rgba(40,20,100,.45),
              var(--glow-violet-sm),
              0 8px 24px rgba(70,40,180,.38);
  transition: transform 160ms var(--ease), box-shadow 200ms var(--ease), background 160ms linear;
}
.btn:hover {
  background: linear-gradient(180deg, #9C82FF 0%, var(--violet-400) 48%, #7449F0 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38),
              0 0 14px rgba(139,110,255,.60),
              0 0 40px rgba(124,92,255,.32),
              0 12px 32px rgba(70,40,180,.46);
}
.btn:active {
  background: linear-gradient(180deg, var(--violet-600) 0%, #5C39CE 100%);
  transform: translateY(1px);
  box-shadow: inset 0 2px 6px rgba(20,8,60,.55), 0 0 10px rgba(124,92,255,.28);
}
.btn-ghost {
  background: transparent; color: var(--text-1);
  border: 1px solid var(--border-strong); box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(124,92,255,.10); border-color: var(--border-glow);
  transform: translateY(-2px); box-shadow: var(--glow-violet-sm);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .86rem; border-radius: 12px; }
.is-disabled { opacity: .72; cursor: default; }
.is-disabled:hover { transform: none; background: transparent; box-shadow: none; border-color: var(--border-strong); }
.mini-soon {
  font-size: .6rem; font-weight: 700; line-height: 1; color: var(--gold-300);
  border: 1px solid var(--border-gold); border-radius: var(--r-chip);
  padding: .14rem .45rem; margin-inline-start: .15rem;
}

/* ── الشريط العلوي ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(10, 7, 22, .72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-block-end: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; gap: 1.4rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 700; font-size: 1.2rem; }
.nav-links { display: flex; gap: 1.35rem; margin-inline-start: auto; font-size: .93rem; }
.nav-links a { color: var(--text-2); transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--violet-300); }
.nav-tools { display: flex; gap: .6rem; align-items: center; }
/* ── قائمة الجوّال ─────────────────────────────────────────────────
   الهامبرغر يظهر تحت 980px فقط. القائمة زجاجية منسدلة تحت الشريط،
   وتُغلق بالنقر على رابط أو خارجها أو بمفتاح Escape. */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 10px;
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--r-btn); cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.burger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--text-2);
  transition: transform .25s var(--ease), opacity .2s var(--ease), background .2s var(--ease);
}
.burger:hover { border-color: var(--border-glow); box-shadow: var(--glow-violet-sm); }
.burger:hover span { background: var(--violet-300); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mnav {
  display: none;
  border-block-start: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20,16,36,.97), rgba(10,7,22,.98));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 48px rgba(0,0,6,.6);
}
.mnav a {
  display: block; padding: .95rem var(--pad);
  color: var(--text-2); font-size: 1.02rem; font-weight: 600;
  border-block-end: 1px solid rgba(168,140,250,.08);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.mnav a:last-child { border-block-end: 0; }
.mnav a:hover { color: var(--violet-300); background: rgba(124,92,255,.07); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-tools { margin-inline-start: auto; }
  .burger { display: flex; }
  .mnav:not([hidden]) { display: block; }
}
/* الزرّ المملوء يزاحم الهامبرغر على الشاشات الضيّقة جداً */
@media (max-width: 420px) { .nav-tools .btn-sm { display: none; } }

.chip {
  font: inherit; font-size: .8rem; font-weight: 600;
  padding: .38rem .85rem; border-radius: var(--r-chip); cursor: pointer;
  background: var(--surface-1); border: 1px solid var(--border); color: var(--text-2);
  transition: border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.chip:hover { border-color: var(--border-glow); color: var(--violet-300); box-shadow: var(--glow-violet-sm); }

/* زرّ اللغة — كرة أرضية مرسومة بقناع، فالنصّ يبدّله site.js بحرّية */
.chip-lang { display: inline-flex; align-items: center; gap: .4rem; }
.chip-lang::before {
  content: ''; width: 14px; height: 14px; flex: 0 0 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='none'%20stroke='black'%20stroke-width='2'%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20Zm0%200c-3%202.6-4.5%206-4.5%2010S9%2019.4%2012%2022m0-20c3%202.6%204.5%206%204.5%2010S15%2019.4%2012%2022M2.6%208.5h18.8M2.6%2015.5h18.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='none'%20stroke='black'%20stroke-width='2'%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20Zm0%200c-3%202.6-4.5%206-4.5%2010S9%2019.4%2012%2022m0-20c3%202.6%204.5%206%204.5%2010S15%2019.4%2012%2022M2.6%208.5h18.8M2.6%2015.5h18.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 600; padding: .22rem .6rem;
  border-radius: var(--r-chip); border: 1px solid var(--border-strong);
  color: var(--violet-300); background: rgba(124,92,255,.10);
}
.badge--soon { color: var(--gold-300); border-color: var(--border-gold); background: rgba(16,10,32,.78); }
.badge--live { color: var(--live); border-color: rgba(249,65,141,.4); background: rgba(249,65,141,.10); }

.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: 0 0 7px; }
@media (prefers-reduced-motion: no-preference) {
  .dot-live { animation: livePulse 1.8s ease-in-out infinite; }
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,65,141,.55); opacity: 1; }
  70%      { box-shadow: 0 0 0 10px rgba(249,65,141,0); opacity: .55; }
}

/* ── البطل ──────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(760px 460px at 18% 20%, rgba(124, 92, 255, .16), transparent 62%),
    radial-gradient(620px 420px at 88% 70%, rgba(249, 65, 141, .08), transparent 66%),
    linear-gradient(180deg, var(--ground) 0%, var(--ground-deep) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(3.2rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 4rem);
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-sub { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--text-2); margin-block-start: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-block-start: 2rem; }

/* الجانب البصري: hero-cosmos سرير التوهّج + دوّامة CSS + حلقة مقاعد الغرفة */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 500px; }
.hero-cosmos {
  /* الدوّامة المولّدة 1600×686 — الجانب الفارغ منها يقع خلف النصّ */
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 50%;
  opacity: .92;
}
.vortex {
  position: absolute; inset: 0; margin: auto; z-index: -1; pointer-events: none;
  width: min(460px, 96%); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 210deg,
    transparent 0deg 30deg,
    rgba(124, 92, 255, .50) 85deg,
    rgba(246, 56, 142, .26) 140deg,
    transparent 195deg,
    rgba(124, 92, 255, .34) 290deg,
    transparent 335deg);
  filter: blur(26px) saturate(140%); opacity: .85;
}
@media (prefers-reduced-motion: no-preference) {
  .vortex { animation: vortexSpin 16s linear infinite; } /* حلقة الجوّ الوحيدة في هذه الشاشة */
}
@keyframes vortexSpin { to { transform: rotate(360deg); } }

.float-art { position: absolute; z-index: 3; width: auto; }
.fa-gift    { inset-block-start: 7%;  inset-inline-start: 2%;
              filter: drop-shadow(0 0 14px rgba(124,92,255,.5)) drop-shadow(0 10px 20px rgba(0,0,6,.55)); }
.fa-diamond { inset-block-start: 1%;  inset-inline-end: 14%;
              filter: drop-shadow(0 0 12px rgba(169,139,250,.55)) drop-shadow(0 8px 16px rgba(0,0,6,.5)); }
.fa-heart   { inset-block-end: 6%;    inset-inline-end: 3%;
              filter: drop-shadow(0 0 14px rgba(249,65,141,.5)) drop-shadow(0 10px 20px rgba(0,0,6,.55)); }
@media (max-width: 500px) { .fa-diamond { display: none; } }

/* بطاقة الغرفة — واجهة الغرفة الحقيقية: مضيف تحيط به المقاعد */
.stage { position: relative; z-index: 2; width: min(340px, 88vw); border-radius: var(--r-modal);
         padding: 1.15rem 1.1rem 1.25rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.14),
         inset 0 -1px 0 rgba(0,0,0,.35), var(--glow-violet), 0 30px 80px rgba(0,0,6,.6); }
.stage-head { display: flex; align-items: center; gap: .55rem; margin-block-end: .9rem; font-size: .95rem; }
.stage-count {
  margin-inline-start: auto; font-size: .74rem; color: var(--text-3);
  border: 1px solid var(--border); border-radius: var(--r-chip); padding: .1rem .6rem;
  font-variant-numeric: tabular-nums;
}

.ring { position: relative; width: 264px; height: 264px; margin-inline: auto; }
.seat {
  position: absolute; width: 40px; height: 40px; border-radius: 50%;
  inset-block-start: calc(50% - 20px); inset-inline-start: calc(50% - 20px);
  transform: rotate(var(--a)) translateY(-108px) rotate(calc(-1 * var(--a)));
}
.seat--full {
  background: radial-gradient(circle at 32% 28%, var(--c1, #8B6EFF), var(--c2, #4E2FB0) 74%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 10px rgba(124,92,255,.35), 0 4px 10px rgba(0,0,6,.5);
}
.seat--empty {
  border: 1px dashed var(--border-strong); background: rgba(32,24,56,.45);
  color: var(--text-off); display: grid; place-items: center; font-size: .85rem; line-height: 1;
}
.host { position: absolute; width: 124px; height: 124px;
        inset-block-start: calc(50% - 62px); inset-inline-start: calc(50% - 62px); }
.host::before {
  content: ''; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, var(--surface-3), var(--ground-deep) 82%);
  border: 1px solid var(--border);
}
.host-frame { position: absolute; inset: 0; width: 100%; height: 100%;
              filter: drop-shadow(0 0 14px rgba(224,192,96,.40)); }
.host-logo { position: absolute; inset-block-start: 25%; inset-inline-start: 26%; width: 48%; height: auto;
             filter: drop-shadow(0 0 10px rgba(124,92,255,.60)) drop-shadow(0 0 26px rgba(124,92,255,.30)); }

.stage-foot { margin-block-start: 1rem; display: grid; gap: .6rem; }
.heat { display: flex; align-items: center; gap: .6rem; font-size: .72rem; color: var(--text-3); }
.heat-bar { flex: 1; height: 6px; border-radius: var(--r-chip); background: var(--surface-3); overflow: hidden; }
.heat-bar i { display: block; height: 100%; inline-size: 62%; border-radius: var(--r-chip);
              background: linear-gradient(90deg, var(--violet-500), var(--live)); }
.stage-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.bubble {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--text-2);
  background: rgba(32,24,56,.72); border: 1px solid var(--border);
  border-radius: var(--r-chip); padding: .32rem .75rem;
}
.bubble--combo { color: var(--violet-300); border-color: var(--border-strong); font-variant-numeric: tabular-nums; }
.bubble--combo img { filter: drop-shadow(0 0 6px rgba(124,92,255,.5)); }

/* شارات المتاجر — غير تفاعلية حتى الإطلاق */
.stores { display: flex; flex-wrap: wrap; gap: .8rem; margin-block-start: 1.5rem; }
.stores--start { justify-content: flex-start; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: .65rem;
  padding: .55rem 1.05rem; border-radius: 12px;
  border: 1px solid var(--border-strong); color: var(--text-2); opacity: .88;
  background: linear-gradient(180deg, rgba(30,24,54,.92), rgba(10,7,22,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 8px 24px rgba(0,0,6,.4);
}
.store > svg { color: var(--text-1); flex: none; }
.store-txt small { display: block; font-size: .6rem; color: var(--text-3); line-height: 1.25; }
.store-txt b { display: block; font-size: .93rem; line-height: 1.2; color: var(--text-1); }
.store-soon {
  position: absolute; inset-block-start: -9px; inset-inline-end: -7px; font-style: normal;
  font-size: .58rem; font-weight: 700; color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  padding: .14rem .5rem; border-radius: var(--r-chip);
  box-shadow: 0 0 10px rgba(224,192,96,.35);
}

/* ── شريط الأرقام ───────────────────────────────────────────────── */
.statbar-sec { padding-block: 0 clamp(1rem, 3vw, 2rem); }
.statbar {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem;
  padding: 1.35rem clamp(1.1rem, 3vw, 2rem);
}
@media (max-width: 860px) { .statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { display: flex; align-items: center; gap: .85rem; }
.stat-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--border-gold); background: rgba(224,192,96,.07);
  box-shadow: inset 0 1px 0 rgba(240,216,144,.18), 0 0 12px rgba(224,192,96,.10);
}
.stat-ico img { width: 30px; height: 30px; object-fit: contain;
                filter: drop-shadow(0 0 8px rgba(224,192,96,.30)) drop-shadow(0 4px 8px rgba(0,0,6,.5)); }
.stat b {
  display: block; font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 700;
  font-variant-numeric: tabular-nums; line-height: 1.15;
  background: linear-gradient(180deg, #FFF 0%, var(--violet-300) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .82rem; color: var(--text-3); display: block; line-height: 1.45; }

/* ── الأقسام ────────────────────────────────────────────────────── */
section { padding-block: clamp(3.2rem, 8vw, 6rem); }
.sec-head { margin-block-end: clamp(1.8rem, 5vw, 3rem); }
.sec-head h2 { margin-block: .7rem .9rem; }
.sec-head--center { text-align: center; }
.sec-head--center p { margin-inline: auto; }
.divider {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, rgba(168,140,250,.24), transparent);
}

.grid { display: grid; gap: 1.15rem; }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ── البطاقات ───────────────────────────────────────────────────── */
.card {
  position: relative;
  background: linear-gradient(165deg, rgba(124,92,255,.07), var(--surface-1) 46%);
  border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 1.6rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.card:hover {
  transform: translateY(-4px); border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), var(--glow-violet-sm), 0 12px 34px rgba(0,0,6,.5);
}
.card--gold {
  background: linear-gradient(165deg, rgba(224,192,96,.10), rgba(20,16,36,.9) 45%);
  border-color: var(--border-gold);
  box-shadow: inset 0 1px 0 rgba(240,216,144,.22);
}
.card--gold:hover { box-shadow: inset 0 1px 0 rgba(240,216,144,.3), var(--glow-gold); }
.card h3, .card h4 { margin-block-end: .55rem; }
.card p { font-size: .95rem; color: var(--text-2); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }

/* الأيقونات ثلاثية الأبعاد — توهّج ملوّن أرضي، لا ظلّ رمادي */
.ico { width: 52px; height: 52px; margin-block-end: 1rem; }
.ico img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(124,92,255,.45)) drop-shadow(0 8px 16px rgba(0,0,6,.6));
}
.ico--gold img { filter: drop-shadow(0 0 14px rgba(224,192,96,.45)) drop-shadow(0 8px 16px rgba(0,0,6,.6)); }
.ico--cyan img { filter: drop-shadow(0 0 14px rgba(68,216,229,.45)) drop-shadow(0 8px 16px rgba(0,0,6,.6)); }
.ico--pink img { filter: drop-shadow(0 0 14px rgba(249,65,141,.45)) drop-shadow(0 8px 16px rgba(0,0,6,.6)); }

/* ── الكتلة العريضة — نصّ عند البداية وصورة عند النهاية ─────────────── */
.block {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
  border: 1px solid var(--border); border-radius: var(--r-media);
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: linear-gradient(165deg, rgba(124,92,255,.08), var(--surface-1) 45%, rgba(4,3,15,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 18px 60px rgba(0,0,6,.5);
  position: relative; overflow: hidden;
}
.block-copy { order: 1; }
.block-media { order: 2; }
.block-media img {
  width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--border-strong);
  box-shadow: var(--glow-violet-sm), 0 18px 50px rgba(0,0,6,.6);
}
.block-copy h2 { margin-block-end: .9rem; }
.block-copy .btn { margin-block-start: .4rem; }
@media (max-width: 940px) { .block { grid-template-columns: 1fr; } }

/* أزرار القدرات الدائرية */
.caps {
  list-style: none; padding: 0; margin: 1.6rem 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem;
}
@media (max-width: 560px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cap { display: grid; gap: .55rem; justify-items: center; text-align: center;
       font-size: .8rem; color: var(--text-2); }
.cap-ico {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: var(--violet-300);
  background: linear-gradient(160deg, rgba(124,92,255,.18), rgba(32,24,56,.6));
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 14px rgba(124,92,255,.22);
}
.cap-ico svg { width: 26px; height: 26px; }

/* ── بطاقات العرض الخمس — من data.js ────────────────────────────── */
.show-row { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.show-card { display: flex; flex-direction: column; }
.show-card h3 { font-size: 1.12rem; }
.show-card p { flex: 1; font-size: .9rem; }
.show-media {
  position: relative; height: 172px; border-radius: 14px; overflow: hidden;
  margin-block-end: 1.05rem; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 12%, rgba(124,92,255,.20), var(--surface-2) 72%);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.show-media--gold {
  background: radial-gradient(120% 90% at 50% 12%, rgba(224,192,96,.16), var(--surface-2) 72%);
  border-color: var(--border-gold);
}
.show-media.is-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.show-media.is-contain img {
  height: 96px; width: auto;
  filter: drop-shadow(0 0 16px rgba(124,92,255,.45)) drop-shadow(0 10px 18px rgba(0,0,6,.6));
}
.show-media--gold.is-contain img {
  filter: drop-shadow(0 0 16px rgba(224,192,96,.45)) drop-shadow(0 10px 18px rgba(0,0,6,.6));
}
.show-media .badge { position: absolute; inset-block-start: .6rem; inset-inline-start: .6rem; }
.show-card .btn-ghost { margin-block-start: 1.05rem; font-size: .88rem; padding: .58rem 1rem; }

/* ── المجتمع العالمي ────────────────────────────────────────────── */
.block--community { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.block-media--map { border: 0; }
.globe { width: 100%; max-width: 440px; margin-inline: auto; height: auto;
         filter: drop-shadow(0 0 30px rgba(124,92,255,.18)); }
@media (prefers-reduced-motion: no-preference) {
  .pin--hq { animation: pinPulse 3.2s ease-in-out infinite; transform-origin: center; }
}
@keyframes pinPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.avatars { display: flex; margin-block: 1.4rem 1.7rem; }
.ava {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ground);
  background: radial-gradient(circle at 32% 28%, var(--a1, #8B6EFF), var(--a2, #4E2FB0) 76%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 10px rgba(124,92,255,.22);
}
.ava + .ava { margin-inline-start: -12px; }

/* ── الأمان ─────────────────────────────────────────────────────── */
.safety-grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr);
  gap: clamp(1.8rem, 4vw, 3rem); align-items: center;
}
@media (max-width: 900px) { .safety-grid { grid-template-columns: 1fr; } }
.safety-lead h2 { margin-block-end: .9rem; }
.shield {
  width: 112px; height: 112px; object-fit: contain; margin-block-end: 1.2rem;
  filter: drop-shadow(0 0 18px rgba(124,92,255,.50)) drop-shadow(0 10px 24px rgba(0,0,6,.6));
}
.safety-cards .card { padding: 1.35rem; }
.safety-cards .card h3 { font-size: 1.08rem; }
.safety-cards .card p { font-size: .9rem; }

/* ── معرض الغرف — الطولية 3:4 لا تُقصّ عرضياً، والأغلفة مربّعة ────── */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile {
  position: relative; margin: 0; border-radius: var(--r-media); overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.tile:hover { transform: translateY(-4px); border-color: var(--border-strong);
              box-shadow: var(--glow-violet-sm), 0 14px 36px rgba(0,0,6,.55); }
.tile--tall { aspect-ratio: 3 / 4; }
.tile--sq   { aspect-ratio: 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,7,22,.15) 0%, transparent 38%, rgba(10,7,22,.86) 100%);
}
.tile-label {
  position: absolute; inset-block-end: 0; inset-inline: 0; z-index: 2;
  padding: .9rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.tile-label b { font-size: .98rem; font-weight: 600; }

/* ── الهدايا — الترقّي يُقرأ صعوداً ──────────────────────────────── */
.gifts { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: flex-end; margin-block-start: 1.7rem; }
.gift { text-align: center; }
.gift img {
  width: 88px; height: 88px; object-fit: contain; margin-inline: auto;
  filter: drop-shadow(0 0 14px rgba(124,92,255,.45)) drop-shadow(0 8px 16px rgba(0,0,6,.6));
}
.gift--gold img { filter: drop-shadow(0 0 14px rgba(224,192,96,.45)) drop-shadow(0 8px 16px rgba(0,0,6,.6)); }
.gift span { display: block; font-size: .76rem; color: var(--text-3); margin-block-start: .5rem; }

/* ── أرقام الاقتصاد ─────────────────────────────────────────────── */
.val {
  display: block; font-size: 2rem; font-weight: 700; line-height: 1.1;
  font-variant-numeric: tabular-nums; margin-block-end: .55rem;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── اللافتة — النصّ فوق الجانب الفارغ من الصورة (يمينها مادياً) ────── */
.banner {
  position: relative; border-radius: var(--r-media); overflow: hidden;
  border: 1px solid var(--border); min-height: 300px; display: grid; align-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 18px 60px rgba(0,0,6,.5);
}
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgba(10,7,22,.94) 0%, rgba(10,7,22,.55) 45%, transparent 72%);
}
/* الموضوع في اللافتتين على يسار الصورة، فالنصّ يميناً في الاتجاهين */
.banner-in { padding: clamp(1.8rem, 5vw, 3rem); max-width: 36rem; margin-inline-start: auto; }
[dir="rtl"] .banner-in { margin-inline-start: 0; margin-inline-end: auto; }

/* ── كتلة التحميل ───────────────────────────────────────────────── */
.dl {
  display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.6fr) auto;
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
  border-radius: var(--r-media); padding: clamp(1.8rem, 5vw, 3.2rem);
  position: relative; overflow: hidden;
}
.dl::before {
  content: ''; position: absolute; inset-block-start: -60%; inset-inline-start: 50%;
  translate: -50% 0; width: 720px; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(124,92,255,.20), transparent 62%);
}
.dl > * { position: relative; }
.dl-art { display: grid; place-items: center; }
.dl-copy h2 { margin-block-end: .9rem; }
.dl-qr { display: grid; place-items: center; }
.qr {
  width: 160px; height: 160px; border-radius: 20px; text-align: center;
  border: 1.5px dashed var(--border-strong); background: rgba(20,16,36,.75);
  display: grid; place-content: center; gap: .3rem; color: var(--text-3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 24px rgba(124,92,255,.14);
}
.qr b { font-size: 1.05rem; color: var(--text-1); }
.qr span { font-size: .72rem; padding-inline: .8rem; }
@media (max-width: 1000px) {
  .dl { grid-template-columns: 1fr; text-align: center; }
  .dl .hero-cta, .dl .stores { justify-content: center; }
  .dl-copy p { margin-inline: auto; }
}

/* ── التذييل ────────────────────────────────────────────────────── */
footer { border-block-start: 1px solid var(--border); padding-block: 3.2rem 2.2rem; position: relative; }
.foot-grid { display: grid; gap: 2.2rem; grid-template-columns: 1.7fr 1fr 1fr 1fr; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-block-end: .9rem; }
html[lang="ar"] .foot-grid h4 { text-transform: none; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .92rem; }
.foot-grid a { color: var(--text-2); transition: color .2s var(--ease); }
.foot-grid a:hover { color: var(--violet-300); }

.socials { display: flex; gap: .6rem; margin-block-start: 1.1rem; }
.soc {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: var(--text-3); border: 1px solid var(--border); background: var(--surface-1);
}
.soc svg { width: 18px; height: 18px; }

.foot-btm {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-block-start: 2.6rem; padding-block-start: 1.7rem;
  border-block-start: 1px solid var(--border); font-size: .85rem; color: var(--text-3);
}
.foot-lang { display: inline-flex; gap: .5rem; }
.foot-lang a {
  color: var(--text-2); border: 1px solid var(--border); border-radius: var(--r-chip);
  padding: .3rem .95rem; font-size: .82rem;
  transition: color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.foot-lang a:hover { color: var(--violet-300); border-color: var(--border-glow); box-shadow: var(--glow-violet-sm); }
.totop {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-2); border: 1px solid var(--border-strong); background: var(--surface-1);
  transition: transform 160ms var(--ease), box-shadow 200ms var(--ease), color .2s var(--ease);
}
.totop:hover { color: var(--violet-300); transform: translateY(-2px); box-shadow: var(--glow-violet-sm); }

/* ── صفحات المستندات — لا تُمسّ صفوفها ──────────────────────────── */
.doc { max-width: 74ch; margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 4rem); }
html[lang="ar"] .doc { max-width: 64ch; }
.doc h1 { margin-block-end: .6rem; }
.doc h2 {
  font-size: 1.3rem; margin-block: 2.8rem .9rem; padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--border);
}
.doc h3 { font-size: 1.05rem; margin-block: 1.7rem .5rem; color: var(--violet-300); }
.doc p, .doc li { color: var(--text-2); font-size: .98rem; }
.doc p + p { margin-block-start: 1rem; }
.doc ul, .doc ol { padding-inline-start: 1.35rem; display: grid; gap: .5rem; margin-block: 1rem; }
.doc strong { color: var(--text-1); font-weight: 700; }
.doc .meta { color: var(--text-3); font-size: .88rem; font-variant-numeric: tabular-nums; }
.doc a[href^="mailto"] { color: var(--violet-300); }

.callout {
  border: 1px solid var(--border); border-inline-start: 3px solid var(--violet-500);
  border-radius: var(--r-btn); padding: 1.15rem 1.35rem; margin-block: 1.5rem;
  background: linear-gradient(160deg, rgba(124,92,255,.08), var(--surface-1));
}
.callout--gold { border-inline-start-color: var(--gold-400); background: linear-gradient(160deg, rgba(224,192,96,.08), var(--surface-1)); }
.callout--warn { border-inline-start-color: var(--warning); background: linear-gradient(160deg, rgba(251,191,36,.08), var(--surface-1)); }
.callout p { font-size: .95rem; }

.toc { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.4rem 1.6rem; margin-block: 2rem; }
.toc ol { margin: 0; padding-inline-start: 1.25rem; gap: .42rem; }
.toc a { color: var(--text-2); font-size: .93rem; }
.toc a:hover { color: var(--violet-300); }

.tablewrap {
  overflow-x: auto; border: 1px solid var(--border);
  border-radius: var(--r-card); background: var(--surface-1);
}
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 480px; }
th, td { padding: .9rem 1.15rem; text-align: start; border-block-end: 1px solid var(--border); }
th { font-weight: 600; font-size: .78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; background: var(--surface-2); }
html[lang="ar"] th { text-transform: none; letter-spacing: 0; }
tbody tr:last-child td { border-block-end: 0; }
td b { font-variant-numeric: tabular-nums; color: var(--gold-300); }

.skip { position: absolute; inset-inline-start: -9999px; background: var(--violet-500); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 200; }
.skip:focus { inset-inline-start: 1rem; inset-block-start: 1rem; }

/* ── ظهور الأقسام ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .vortex, .dot-live, .pin--hq { animation: none !important; }
  .card:hover, .tile:hover, .btn:hover, .totop:hover { transform: none !important; }
}
