:root {
  --bg: #000000;
  --orange: #f5900a;
  --line: rgba(255, 255, 255, 0.08);
}
 
* { box-sizing: border-box; }
 
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: #fff;
}
body { overflow-x: hidden; }
 
/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 110px 6% 70px;
  overflow: hidden;
}
 
/* شبكة خفيفة بالخلفية */
.grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 45% 40%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 45% 40%, #000 25%, transparent 78%);
}
 
/* واتر مارك كبير خلف النص */
.watermark {
  position: absolute;
  left: 2%;
  bottom: -3%;
  font-family: 'Saira', sans-serif;
  font-weight: 900;
  font-size: 20vw;
  line-height: 1;
  color: #fff;
  opacity: 0.028;
  letter-spacing: -0.02em;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
 
/* توهج خفيف بالخلفية */
.ambient {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 600px;
  height: 600px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(245,144,10,0.18), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}
 
/* توهج خفيف على اليسار */
.ambient-left {
  position: absolute;
  top: 32%;
  left: -6%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(245,144,10,0.10), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse2 7s ease-in-out infinite;
}
 
/* الشعار */
.logo {
  position: absolute;
  top: 28px;
  left: 36px;
  font-family: 'Saira', sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  user-select: none;
  z-index: 3;
  opacity: 0;
  animation: dropIn 0.9s cubic-bezier(.2,.8,.2,1) 0.2s both;
}
.logo .imod { color: #fff; }
.logo .accounts { color: var(--orange); }
 
/* نص الهيرو على اليسار */
.hero-text {
  flex: 1 1 auto;
  max-width: 600px;
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', sans-serif;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.3px;
  background: rgba(245,144,10,0.10);
  border: 1px solid rgba(245,144,10,0.30);
  padding: 7px 16px;
  border-radius: 999px;
  opacity: 0;
  animation: riseIn .8s cubic-bezier(.2,.8,.2,1) .3s both;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: ping 1.6s ease-out infinite;
}
.hero-text h1 {
  margin: 22px 0 0;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.14;
  color: #fff;
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.2,.8,.2,1) .42s both;
}
.hero-text h1 .accent { color: var(--orange); }
.hero-text .sub {
  margin: 20px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.95;
  color: #b3b3b3;
  max-width: 540px;
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.2,.8,.2,1) .55s both;
}
.cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn .9s cubic-bezier(.2,.8,.2,1) .7s both;
}
.btn {
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--orange);
  color: #1a1208;
  box-shadow: 0 10px 30px rgba(245,144,10,0.30);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(245,144,10,0.45); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--orange); color: var(--orange); }
 
/* مؤشر التمرير لتحت */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #777;
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 1.6s both;
}
.scroll-cue .mouse { font-size: 20px; line-height: 1; animation: bob 1.6s ease-in-out infinite; }
 
/* بلوك الصورة + الخط + النص */
.profile {
  flex: 0 0 auto;
  width: 30%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2;
}
 
/* الصورة ثابتة (دخول بسيط بس بدون اهتزاز مستمر) */
.person {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  opacity: 0;
  animation: popIn 1s cubic-bezier(.2,.8,.2,1) 0.5s both;
  -webkit-mask-image:
    linear-gradient(to right, transparent 1%, #000 1%, #000 87%, transparent 1%),
    linear-gradient(to bottom, #000 1%, #000 1%, transparent 1%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;

}
 
/* الخط الأبيض: يبدأ من نص الصورة ويمتد لليسار (ممدود شوي زياده) */
.divider {
  height: 2px;
  background: #fff;
  width: calc(50% + 80px);
  margin-right: 50%;
  margin-top: 24px;
  transform: scaleX(0);
  transform-origin: right;
  animation: drawLine 0.8s cubic-bezier(.2,.8,.2,1) 1s both;
}
 
/* الكلام تحت قريب من نهاية الخط */
.bio {
  align-self: stretch;        /* ياخذ نفس عرض الصورة كامل */
  margin-right: 0;
  width: auto;
  margin-top: 18px;
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', sans-serif;
  opacity: 0;
  animation: riseIn 0.9s cubic-bezier(.2,.8,.2,1) 1.1s both;
}
.bio h2 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.5; }
.bio p  { margin: 0; font-size: 16.5px; color: #c6c6c6; line-height: 1.95; font-weight: 400; }
.bio p strong { color: #fff; font-weight: 700; }
.bio .chars { color: var(--orange); font-weight: 700; }
 
/* ===================== المنصات ===================== */
.platforms {
  padding: 20px 20px 90px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
 
.platform {
  width: 128px;
  padding: 22px 12px;
  background: #0c0c0c;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.platform:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  box-shadow: 0 14px 34px rgba(245,144,10,0.22);
}
.p-icon { width: 40px; height: 40px; display: flex; }
.p-icon svg { width: 100%; height: 100%; fill: var(--orange); }
.p-name {
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #e8e8e8;
}
 
/* ===================== الكركترات ===================== */
.section-head {
  text-align: center;
  margin: 30px auto 34px;
  font-family: 'Tajawal', sans-serif;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
}
.section-head span {
  display: block;
  margin-top: 8px;
  color: #8a8a8a;
  font-size: 15px;
}
 
.characters { padding: 20px 20px 90px; }
.char-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.char-card {
  width: 180px;
  background: #161616;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.char-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(245,144,10,0.18);
}
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3px;
  background: var(--orange);
  display: flex;
}
.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #222 center/cover no-repeat;
  border: 3px solid #161616;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: #fff;
}
.avatar-inner.av-img {
  background-image: url('person.png');
  background-position: center 20%;
}
.char-name {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.5px;
}
.char-role {
  font-family: 'Saira', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7a7a7a;
}
 
/* ===================== الفوتر ===================== */
.site-footer {
  border-top: 2px solid #f5900a;     /* الخط البرتقالي فوق الفوتر */
  background: #050505;
  font-family: 'Saira', sans-serif;  /* نفس خط IMOD ACCOUNTS */
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 40px;
  padding: 48px 30px 36px;
  text-align: center;
}
.fcol { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fcol h3 {
  margin: 0;
  color: var(--orange);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.social { display: flex; gap: 22px; }
.social a { display: flex; }
.social svg { width: 22px; height: 22px; fill: #fff; transition: fill .2s ease; }
.social a:hover svg { fill: var(--orange); }
 
.flink {
  color: #cfcfcf;
  text-decoration: none;
  font-size: 15px;
  transition: color .2s ease;
}
.flink:hover { color: var(--orange); }
 
.footer-logo { font-size: 26px; font-weight: 800; letter-spacing: 0.5px; }
.footer-logo .imod { color: #fff; }
.footer-logo .fam  { color: var(--orange); }
 
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  color: #8a8a8a;
  font-size: 13px;
  letter-spacing: 0.5px;
}
 
/* ===================== الإشعار ===================== */
.toast {
  position: fixed;
  top: 26px;
  right: 26px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #111;
  border: 1px solid var(--line);
  border-right: 4px solid var(--orange);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  direction: rtl;
  font-family: 'Tajawal', sans-serif;
  transform: translateX(130%);
  opacity: 0;
  animation: toastInOut 6s cubic-bezier(.2,.8,.2,1) 0.8s forwards;
}
.toast .icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(245,144,10,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.toast .t-title { color: #fff; font-weight: 700; font-size: 15px; margin: 0; }
.toast .t-sub   { color: #b8b8b8; font-size: 13px; margin: 2px 0 0; }
 
/* ===================== Keyframes ===================== */
@keyframes dropIn { from { opacity:0; transform: translateY(-22px);} to { opacity:1; transform: translateY(0);} }
@keyframes riseIn { from { opacity:0; transform: translateY(24px);} to { opacity:1; transform: translateY(0);} }
@keyframes popIn  { from { opacity:0; transform: translateY(20px) scale(.92);} to { opacity:1; transform: translateY(0) scale(1);} }
@keyframes drawLine { from { transform: scaleX(0);} to { transform: scaleX(1);} }
@keyframes glowPulse { 0%,100%{opacity:.7; transform: translateY(-50%) scale(1);} 50%{opacity:1; transform: translateY(-50%) scale(1.08);} }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(245,144,10,.55);} 70%{box-shadow:0 0 0 9px rgba(245,144,10,0);} 100%{box-shadow:0 0 0 0 rgba(245,144,10,0);} }
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);} }
@keyframes glowPulse2 { 0%,100%{opacity:.6; transform: scale(1);} 50%{opacity:.95; transform: scale(1.1);} }
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
@keyframes toastInOut {
  0%{transform:translateX(130%); opacity:0;}
  10%{transform:translateX(0); opacity:1;}
  85%{transform:translateX(0); opacity:1;}
  100%{transform:translateX(130%); opacity:0;}
}
 
/* الشاشات الصغيرة */
@media (max-width: 880px) {
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding: 96px 24px 70px;
  }
  .hero-text { text-align: center; max-width: 100%; }
  .hero-text .sub { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .watermark { display: none; }
  .scroll-cue { display: none; }
 
  .profile { width: 78%; align-items: center; margin-top: 40px; }
  .divider { margin-right: 0; width: 80%; transform-origin: center; }
  .bio { margin-right: 0; width: 100%; text-align: center; }
}
 
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .logo, .person, .bio { opacity: 1 !important; }
  .divider { transform: scaleX(1) !important; }
  .toast { opacity: 1 !important; transform: none !important; }
}



.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 240px;
}
.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
}