/* ═══════════════════════════════════════════════
   سكن Magnific/Freepik v2 — صفحة فاتحة كريمية حقيقية:
   ناف كبسولة بيضاء، هيرو غامق واحد بزوايا دائرية،
   بطاقات بيضاء، فوتر فاتح — للصفحة الرئيسية فقط
   ═══════════════════════════════════════════════ */

body {
  background: #f5f1e8 !important;
  color: #2b1310;
}
.aurora { display: none !important; }

::-webkit-scrollbar-track { background: #f5f1e8; }
::-webkit-scrollbar-thumb { border-color: #f5f1e8; }

/* شاشة التحميل بنفس الروح الفاتحة */
#royal-splash { background: #f5f1e8 !important; }
#royal-splash .rs-stats > div { background: #fff; border-color: #e8e1d5; }
#royal-splash .rs-stats span { color: #7a6c60; }
#royal-splash .rs-badge { background: #fff; border-color: #e8e1d5; }

/* ── الناف بار: كبسولة بيضاء عائمة ── */
.navbar, .navbar.scrolled {
  position: sticky;
  top: 14px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 clamp(10px, 2vw, 26px);
}
.navbar::after { display: none !important; }
.navbar .container {
  background: #ffffff;
  border-radius: 999px;
  height: 64px;
  max-width: 1240px;
  box-shadow: 0 10px 34px rgba(43, 19, 16, 0.10), 0 1px 0 rgba(43, 19, 16, 0.04);
  padding: 0 10px 0 16px;
  gap: 8px;
}
.navbar .brand { flex: none; }
.navbar .brand, .navbar .brand-txt { color: #17120e !important; }
.navbar .brand-txt { font-size: 1rem; white-space: nowrap; }
.navbar .brand-txt small { display: none !important; }
.nav-links { flex-wrap: nowrap; gap: 0; }
.nav-links a {
  color: #3d332b !important;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.88rem;
  white-space: nowrap;
}
.nav-links a::after { display: none !important; }
.nav-links a:hover { background: #f2ede4 !important; color: #17120e !important; box-shadow: none !important; }
.nav-links a.active {
  background: #17120e !important;
  color: #fff !important;
  box-shadow: none !important;
}
#nav-admin-link { color: #c9891c !important; }
.navbar .user-chip { background: #f2ede4 !important; border-color: #e4dccf !important; color: #17120e !important; }
.navbar .user-chip .user-name { color: #17120e !important; }
.navbar .user-logout { color: #8d3b3b !important; }
.navbar .presence-nav-btn, .navbar #credit-chip {
  background: #17120e !important;
  color: #fff !important;
  border: none !important;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { background: #17120e !important; }
@media (max-width: 980px) {
  .nav-links { background: #17120e !important; border-radius: 22px; }
}

/* ── الهيرو: اللوحة الغامقة الوحيدة الكبيرة (ستايل ماغنيفيك) ── */
.home-head {
  background:
    radial-gradient(ellipse at 70% 0%, #241c0a 0%, #171029 45%, #10132e 100%);
  border-radius: 36px;
  margin: 16px clamp(10px, 2.5vw, 30px) 0;
  overflow: clip;
  box-shadow: 0 30px 80px rgba(43, 19, 16, 0.22);
  position: relative;
  min-height: min(640px, 78vh);
  display: flex;
  align-items: center;
}
.home-head::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* عناوين الهيرو: فاتحة دائماً على اللوحة الغامقة */
.home-head h1 {
  color: #f7f0df !important;
  -webkit-text-fill-color: #f7f0df !important;
  background: none !important;
}
.home-head h1 .grad-text, .home-head h1 .shimmer-text {
  background: linear-gradient(120deg, #f5c451, #e8b429 60%, #c9891c) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.promo-banner h2 {
  color: #f7f0df !important;
  -webkit-text-fill-color: #f7f0df !important;
  background: none !important;
}
.promo-banner h2 .grad-text {
  background: linear-gradient(120deg, #f5c451, #22d3ee) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.sd25-banner h3 {
  color: #f7f0df !important;
  -webkit-text-fill-color: #f7f0df !important;
  background: none !important;
}

/* بطاقة الأداة العائمة داخل الهيرو (زي Image Upscaler عندهم) */
.hero-tool {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  top: clamp(84px, 15vh, 150px);
  z-index: 3;
  width: 250px;
  background: rgba(16, 14, 24, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  text-align: right;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-tool .ht-head {
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-tool label {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 10px 0 6px;
}
.hero-tool .ht-select {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
}
.hero-tool .ht-bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  margin-top: 10px;
}
.hero-tool .ht-bar i {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #c9891c, #f5c451);
}
.hero-tool .ht-bar i::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f5c451;
  box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.25);
}
.hero-tool .ht-go {
  width: 100%;
  margin-top: 16px;
  border: none;
  border-radius: 11px;
  padding: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  color: #1a1508;
  background: linear-gradient(120deg, #e8b429, #f5c451);
  cursor: default;
}
@media (max-width: 1060px) { .hero-tool { display: none; } }

/* ── الروبوت الغامق الطويل: مخفي بالنسخة الفاتحة ── */
.robot-stage { display: none !important; }

/* ── شريط الأرقام: بطاقات بيضاء ── */
.cine-strip { padding: clamp(36px, 5vw, 60px) 0 10px; }
.cine-cell {
  background: #ffffff !important;
  border: 1px solid #eee7db !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 26px rgba(43, 19, 16, 0.06);
}
.cine-cell b { color: #3f0d0d !important; -webkit-text-fill-color: #3f0d0d !important; background: none !important; }
.cine-cell span { color: #9b8f83 !important; }

/* ── شرائط الموديلات: حبوب بيضاء ── */
.marquee-sec .sec-label { color: #3f0d0d !important; font-weight: 800; }
.mq-item, .m-item {
  background: #ffffff !important;
  color: #2b1310 !important;
  border: 1px solid #eee7db !important;
  box-shadow: 0 4px 14px rgba(43, 19, 16, 0.05);
}

/* ── عناوين السيكشنات على الكريمي ── */
.section-head .kicker { color: #c9891c !important; }
.section-head h2, .section-head h2 * {
  color: #3f0d0d !important;
  -webkit-text-fill-color: #3f0d0d !important;
  background: none !important;
}

/* ── بانر Seedance والبانر الكبير: لوحات غامقة دائرية ── */
.sd25-banner, .promo-banner {
  border-radius: 30px !important;
  overflow: clip;
  box-shadow: 0 24px 60px rgba(43, 19, 16, 0.16);
}

/* ── بطاقات الموديلات (شبكة الشيبس): بيضاء ── */
.model-chip {
  background: #ffffff !important;
  border: 1px solid #eee7db !important;
  box-shadow: 0 6px 20px rgba(43, 19, 16, 0.05);
}
.model-chip b { color: #2b1310 !important; }
.model-chip small { color: #9b8f83 !important; }

/* ── بطاقات التطبيقات: بيضاء ── */
.store-card {
  background: #ffffff !important;
  border: 1px solid #eee7db !important;
  box-shadow: 0 8px 26px rgba(43, 19, 16, 0.06);
}
.store-card .sc-bar b { color: #2b1310 !important; }
.store-card .sc-bar small { color: #9b8f83 !important; }
.store-card:hover { box-shadow: 0 18px 44px rgba(43, 19, 16, 0.12) !important; }

/* بطاقات الصف المميز: صور غامقة بزوايا أنعم + ظل فاتح */
.feature-card {
  border-radius: 24px !important;
  box-shadow: 0 14px 40px rgba(43, 19, 16, 0.14);
}

/* ── سيكشنات فاتحة (الموديلات + ابدأ ببساطة) ── */
.lux { padding: clamp(50px, 7vw, 92px) 0 0; text-align: center; }
.lux h2, .lux h2 *, .lux-type h2, .lux-type h2 * {
  color: #3f0d0d !important;
  -webkit-text-fill-color: #3f0d0d !important;
  background: none !important;
}
.lux h2 {
  font-family: "Cairo", "Tajawal", sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  letter-spacing: -0.02em;
}
.lux .sub {
  color: #7a6c60;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  max-width: 640px;
  margin: 14px auto 0;
  line-height: 2;
}
.mgf-strip { margin-top: 40px; overflow: hidden; position: relative; }
.mgf-strip::before, .mgf-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(30px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.mgf-strip::before { left: 0; background: linear-gradient(90deg, #f5f1e8, transparent); }
.mgf-strip::after { right: 0; background: linear-gradient(-90deg, #f5f1e8, transparent); }
.mgf-track {
  display: flex;
  gap: 16px;
  width: max-content;
  direction: ltr;
  padding: 6px 0 28px;
  animation: mgfslide 46s linear infinite;
}
.mgf-strip:hover .mgf-track { animation-play-state: paused; }
@keyframes mgfslide { to { transform: translateX(-50%); } }
.mgf-card {
  width: 212px;
  height: 258px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #eee7db;
  box-shadow: 0 10px 30px rgba(43, 19, 16, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mgf-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(43, 19, 16, 0.12); }
.mgf-card i {
  width: 56px;
  height: 56px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
  font-family: "Cairo", sans-serif;
  font-size: 1.3rem;
  color: #fff;
}
.mgf-card b { color: #2b1310; font-size: 1.05rem; font-family: "Cairo", sans-serif; }
.mgf-card small { color: #9b8f83; font-size: 0.8rem; }

.lux-type { padding: clamp(34px, 6vw, 74px) 0 clamp(50px, 7vw, 92px); }
.lux-type h2 {
  font-family: "Cairo", "Tajawal", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.lux-type .sub {
  color: #7a6c60;
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  margin-top: 14px;
  max-width: 560px;
  line-height: 2;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  background: #17120e;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(23, 18, 14, 0.25); }

/* ── الفوتر: فاتح ── */
footer {
  background: transparent !important;
  border-top: 1px solid #e4dccf !important;
  color: #5c5148;
}
footer .brand, footer .brand-txt { color: #17120e !important; }
footer .brand-txt small { color: #9b8f83 !important; }
.footer-grid h4 { color: #17120e; }
.footer-grid a { color: #4a4038 !important; }
.footer-grid a:hover { color: #c9891c !important; }
.footer-grid p { color: #7a6c60 !important; }
footer .copyright { color: #9b8f83 !important; border-color: #e4dccf !important; }
footer [data-visits] { color: #c9891c !important; }
footer div[style*="border"] { border-color: #e4dccf !important; color: #7a6c60 !important; }
