/* ثيم فاتح مشرق (٢٨ نوفمبر ٢٠٢٦) — يُحمَّل بعد style.css وninja.css.
   الأقسام النصّية تصير فاتحة. فصول الصورة والفيديو (البطل، المثبّتة، المشاهد) تبقى سينمائية
   لأن نصّها مكتوب فوق اللقطة نفسها؛ تُعاد لها التوكنات الغامقة محلّيًا فلا يُكتب أبيض على أبيض. */
:root {
  --ink:   #f7fbf8;
  --ink-2: #ffffff;
  --ink-3: #edf5f0;
  --smoke: #13261c;
  --muted: rgba(19, 38, 28, 0.78);
  --faint: rgba(19, 38, 28, 0.70);
  --line:  rgba(19, 38, 28, 0.12);
  /* الأخضر والكهرماني كنصّ على الفاتح يحتاجان درجةً أغمق (تباين ≥ ٤٫٥) */
  --amber:   #15803d;
  --amber-2: #b45309;
  --glass: rgba(19, 38, 28, 0.04);
  --amber-text: #15803d;
  --gold-text:  #b45309;
}
html, body { background: var(--ink); color: var(--smoke); }
body { color-scheme: light; }

/* فصول اللقطات: تبقى غامقة من الداخل */
.hero, .pinned, .scenes, .scene, .run__media, .face__clip {
  --ink:   #0d1117;
  --ink-2: #161b22;
  --ink-3: #21262d;
  --smoke: #ece7dd;
  --muted: rgba(236, 231, 221, 0.88);
  --faint: rgba(236, 231, 221, 0.55);
  --line:  rgba(236, 231, 221, 0.12);
  --glass: rgba(236, 231, 221, 0.05);
  --amber:   #22c55e;
  --amber-2: #f59e0b;
  color: var(--smoke);
}

/* الأقسام النصّية: خلفية فاتحة بلمسة لون */
.section { background: var(--ink); }
.section.challenge, #how, #faq {
  background: linear-gradient(180deg, #f2fbf5 0%, #fbfdf9 100%);
}
#levels, #character {
  background:
    radial-gradient(70% 50% at 85% 0%, rgba(245, 158, 11, 0.10), transparent 60%),
    radial-gradient(60% 50% at 10% 100%, rgba(34, 197, 94, 0.10), transparent 60%),
    #fbfdf9;
}
.section--price {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(34, 197, 94, 0.16), transparent 60%),
    linear-gradient(180deg, #f3fbf6, #fffcf3);
}
.cta-final { background: linear-gradient(180deg, #fffcf3, #eefaf2); color: var(--smoke); }

/* نصوص كانت مثبّتة على الفاتح فوق الغامق — تُعكس خارج فصول اللقطات */
.item__opts span, .pkg__inc span { color: rgba(19, 38, 28, 0.82); }
.item__note, .foot, .swipe-hint, .scroll-cue { color: rgba(19, 38, 28, 0.66); }
.tab { color: rgba(19, 38, 28, 0.78); }
.tab:hover { color: var(--smoke); border-color: rgba(19, 38, 28, 0.3); }
.hero .scroll-cue, .pinned .swipe-hint, .scenes .swipe-hint { color: rgba(236, 231, 221, 0.72); }

/* الهيدر بعد التمرير: زجاج فاتح */
.nav.is-solid {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px -16px rgba(19, 38, 28, 0.4);
}
.nav.is-solid, .nav.is-solid .nav__brand { color: var(--smoke); }
.nav.is-solid .nav__links a { color: rgba(19, 38, 28, 0.8); }

/* بطاقات */
.level, .pkg, .item, .tile, .result__btn {
  box-shadow: 0 14px 36px -26px rgba(19, 38, 28, 0.45);
}
.reel__rail i { background: rgba(19, 38, 28, 0.18); }
.scenes .reel__rail i, .pinned .reel__rail i { background: rgba(236, 231, 221, 0.22); }
.reel__rail i.is-on { background: var(--amber); }

.ticker { box-shadow: 0 6px 20px rgba(19, 38, 28, 0.18); }
::-webkit-scrollbar-track { background: #eef4f0; }

/* الهيدر فوق لقطة البطل قبل التمرير: يبقى فاتح النصّ */
.nav:not(.is-solid) { --amber: #22c55e; color: #ece7dd; --smoke: #ece7dd; --muted: rgba(236, 231, 221, 0.88); }
.nav:not(.is-solid) .nav__links a { color: rgba(236, 231, 221, 0.85); }

/* تعتيم الحواف السينمائي يرمّد الخلفية الفاتحة */
.vignette { display: none; }

/* الشريط المتحرّك يبقى بألوانه الزاهية: نصّه غامق فوقها */
.ticker { --amber: #22c55e; --amber-2: #f59e0b; }
.section .btn--solid, .cta-final .btn--solid { color: #fff; }

/* أرقام المستويات على خلفيتها الملوّنة */
.level__no { color: #116430; }
.level--hot .level__no { color: #8f4006; }

/* السعر المشطوب قبل الخصم */
.price__old { color: rgba(19, 38, 28, 0.62); text-decoration-color: #c02d1d; text-decoration-thickness: 2px; }

/* سطر الاستفسار تحت زرّ الدفع */
.price__ask { margin: .9rem 0 0; text-align: center; font-size: .92rem; color: rgba(19, 38, 28, 0.72); }
.price__ask a { color: #15803d; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
