/* ====================================================
   NOOR IDENTITY v4 — الروح الكاملة · اندماج بصري
   Aether Engine v-inf · Eternal · Unforgettable
==================================================== */

/* === خلفية الكون — مطابقة للمنصة مع اندماج لوني === */
html, body {
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh !important;
}

/* === أضواء محيطية — اندماج بصري بين البرتقالي والأزرق === */
body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  background:
    radial-gradient(ellipse 70% 40% at 15% 0%, rgba(240,120,32,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 60% 35% at 85% 95%, rgba(29,78,216,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(10,16,40,0.3) 0%, transparent 80%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* === زر الرجوع — ثلاثي الأبعاد بألوان المنصة الكاملة === */
.back a {
  background: linear-gradient(135deg, rgba(4,18,37,0.97) 0%, rgba(10,28,60,0.97) 100%) !important;
  border: 1px solid rgba(240,120,32,0.22) !important;
  color: #8090b0 !important;
  box-shadow:
    0 5px 0 rgba(0,0,0,0.55),
    0 8px 20px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(240,120,32,0.07),
    inset 0 -1px 0 rgba(0,0,0,0.3) !important;
  transition: all 0.16s cubic-bezier(.25,.46,.45,.94) !important;
}
.back a:hover {
  background: linear-gradient(135deg, rgba(8,28,60,0.99) 0%, rgba(15,40,80,0.99) 100%) !important;
  border-color: rgba(240,120,32,0.45) !important;
  color: #f07820 !important;
  transform: translateY(-2px) !important;
  box-shadow:
    0 7px 0 rgba(0,0,0,0.55),
    0 12px 28px rgba(240,120,32,0.12),
    inset 0 1px 0 rgba(240,120,32,0.12) !important;
}
.back a:active {
  transform: translateY(4px) !important;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.55),
    inset 0 3px 6px rgba(0,0,0,0.3) !important;
}

/* === شعار الرأس — توهج ناري+كهربائي معمّق === */
.hlogo {
  filter:
    drop-shadow(0 4px 24px rgba(240,120,32,0.5))
    drop-shadow(0 0 50px rgba(29,78,216,0.2)) !important;
  transition: filter 0.5s ease !important;
}
.hlogo:hover {
  filter:
    drop-shadow(0 4px 36px rgba(240,120,32,0.7))
    drop-shadow(0 0 70px rgba(29,78,216,0.35)) !important;
}

/* === بطاقة الحالة (scard) — تدرج أزرق ملكي حقيقي === */
.scard {
  background: radial-gradient(circle at top left, #1d4ed8, #0b1120 55%, #020617 100%) !important;
  border: 1px solid rgba(30,64,175,0.65) !important;
  box-shadow:
    0 0 0 1px rgba(30,64,175,0.2),
    0 12px 40px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.06) !important;
  border-radius: 16px !important;
}
.stxt { color: #94a3b8 !important; }
.dot {
  background: #22c55e !important;
  width: 9px !important;
  height: 9px !important;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2) !important;
}

/* === شاشة الفيديو — فخامة ونبض عند التحويم === */
.vmain {
  transition: all 0.35s cubic-bezier(.25,.46,.45,.94) !important;
  position: relative !important;
}
.vmain:hover {
  transform: scale(1.015) !important;
  box-shadow:
    0 0 50px rgba(240,120,32,0.2),
    0 0 0 1px rgba(240,120,32,0.25) !important;
}

/* === بطاقات الحلقات — انزلاق ناري === */
.vitem { transition: all 0.22s cubic-bezier(.25,.46,.45,.94) !important; }
.vitem:hover { transform: translateX(-5px) !important; }

/* === خط فاصل ناري بين التسميات والمحتوى === */
.vlabel, .vlist-label {
  position: relative !important;
  padding-bottom: 10px !important;
}
.vlabel::after, .vlist-label::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 40px !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(240,120,32,0.6), transparent) !important;
}

/* === زر الدخول للكون — ثلاثي الأبعاد ناري كامل === */
a.portal-cta {
  transition: all 0.16s cubic-bezier(.25,.46,.45,.94) !important;
  box-shadow:
    0 5px 0 rgba(0,0,0,0.5),
    0 8px 22px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.08) !important;
}
a.portal-cta:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 8px 0 rgba(0,0,0,0.5),
    0 16px 36px rgba(240,120,32,0.2),
    inset 0 1px 0 rgba(255,255,255,0.12) !important;
}
a.portal-cta:active {
  transform: translateY(4px) !important;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.5),
    inset 0 3px 6px rgba(0,0,0,0.25) !important;
}

/* === نبضة شعار أثير — نار + كهرباء بلونين الشعار الحقيقيين === */
.float-badge img {
  animation: aether-fire-pulse 2.6s ease-in-out infinite !important;
  border-radius: 50% !important;
}
@keyframes aether-fire-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(240,120,32,0.25),
      0 0 14px rgba(240,120,32,0.18),
      0 0 0 5px rgba(29,78,216,0.07);
  }
  35% {
    box-shadow:
      0 0 0 4px rgba(240,120,32,0.6),
      0 0 28px rgba(240,120,32,0.45),
      0 0 0 9px rgba(29,78,216,0.2),
      0 0 55px rgba(240,120,32,0.1);
  }
  65% {
    box-shadow:
      0 0 0 3px rgba(29,78,216,0.52),
      0 0 22px rgba(29,78,216,0.38),
      0 0 0 7px rgba(240,120,32,0.12),
      0 0 45px rgba(29,78,216,0.08);
  }
}

/* === علامة أثير النور الخالدة === */
body::after {
  content: "NOOR  AETHER  ENGINE" !important;
  position: fixed !important;
  bottom: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-size: 6px !important;
  letter-spacing: 0.4em !important;
  color: rgba(240,120,32,0.08) !important;
  pointer-events: none !important;
  z-index: 9997 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

/* === شاشة الفيديو السينمائية === */
.vmain {
  background: linear-gradient(160deg, #06101e 0%, #081520 40%, #050e1a 100%) !important;
  border: 1px solid rgba(240,120,32,0.2) !important;
  box-shadow: 0 0 0 1px rgba(240,120,32,0.08), 0 8px 40px rgba(0,0,0,0.7), inset 0 0 60px rgba(240,120,32,0.04) !important;
}
.vmain::before {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(240,120,32,0.1) 0%, transparent 65%), radial-gradient(ellipse 40% 30% at 20% 80%, rgba(29,78,216,0.06) 0%, transparent 60%) !important;
}
.vmain:hover {
  transform: scale(1.012) !important;
  border-color: rgba(240,120,32,0.38) !important;
  box-shadow: 0 0 0 1px rgba(240,120,32,0.2), 0 16px 60px rgba(0,0,0,0.8), 0 0 80px rgba(240,120,32,0.1) !important;
}
.vplay-big { animation: play-pulse 3s ease-in-out infinite !important; }
.vmain:hover .vplay-big {
  transform: scale(1.12) !important;
  background: rgba(240,120,32,0.28) !important;
  border-color: rgba(240,120,32,0.7) !important;
  box-shadow: 0 0 30px rgba(240,120,32,0.4) !important;
}
@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,120,32,0.3); }
  50% { box-shadow: 0 0 0 14px rgba(240,120,32,0); }
}
.vitem { border-left: 2px solid transparent !important; }
.vitem:hover {
  transform: translateX(-4px) !important;
  border-left-color: rgba(240,120,32,0.5) !important;
  box-shadow: 4px 0 20px rgba(240,120,32,0.08) !important;
}
.copyright {
  background: linear-gradient(135deg, #050c1a 0%, #070f1e 100%) !important;
  border: 1px solid rgba(240,120,32,0.1) !important;
  border-top: 2px solid rgba(240,120,32,0.18) !important;
}
footer { border-top: 1px solid rgba(240,120,32,0.08) !important; }

/* === فريم سينمائي لشاشة الفيديو === */
.vmain {
  border: 2px solid rgba(240,120,32,0.32) !important;
  box-shadow:
    0 0 0 5px rgba(5,13,26,0.98),
    0 0 0 6px rgba(240,120,32,0.1),
    0 0 0 7px rgba(5,13,26,0.85),
    0 0 0 8px rgba(29,78,216,0.08),
    0 20px 60px rgba(0,0,0,0.85),
    inset 0 0 50px rgba(240,120,32,0.05) !important;
  background: linear-gradient(160deg, #060f1c 0%, #081420 50%, #050c18 100%) !important;
}
.vmain::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  background: linear-gradient(180deg, transparent 55%, rgba(5,13,26,0.65) 100%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
.vmain:hover {
  border-color: rgba(240,120,32,0.5) !important;
  box-shadow:
    0 0 0 5px rgba(5,13,26,0.98),
    0 0 0 6px rgba(240,120,32,0.22),
    0 0 0 7px rgba(5,13,26,0.85),
    0 0 0 8px rgba(29,78,216,0.15),
    0 24px 80px rgba(0,0,0,0.9),
    0 0 100px rgba(240,120,32,0.08) !important;
  transform: scale(1.012) !important;
}

/* === فريم بطاقات الحلقات — متسق مع شاشة الفيديو === */
.vlist {
  border: 1px solid rgba(240,120,32,0.1) !important;
  border-radius: 12px !important;
  padding: 6px !important;
  background: rgba(5,12,22,0.6) !important;
  box-shadow: 0 0 0 4px rgba(5,13,26,0.9), 0 0 0 5px rgba(240,120,32,0.06) !important;
}
.vitem {
  border-radius: 7px !important;
  border-left: 2px solid transparent !important;
  margin-bottom: 2px !important;
}
.vitem:hover {
  transform: translateX(-4px) !important;
  border-left-color: rgba(240,120,32,0.55) !important;
  background: linear-gradient(135deg, #091525, #0c1c30) !important;
}
.vitem:hover .vtitle { color: #c8d8f0 !important; }
.vthumb { transition: all 0.25s ease !important; }
.vitem:hover .vthumb { color: #f07820 !important; box-shadow: inset 0 0 12px rgba(240,120,32,0.12) !important; }

/* === نص الملكية الفكرية — واضح ومنسجم === */
.copyright {
  background: linear-gradient(135deg, #050c1a 0%, #07101e 100%) !important;
  border: 1px solid rgba(240,120,32,0.14) !important;
  border-top: 2px solid rgba(240,120,32,0.25) !important;
  box-shadow: 0 0 0 4px rgba(5,13,26,0.9), 0 0 0 5px rgba(240,120,32,0.06) !important;
}
.cr-title {
  font-size: 9px !important;
  letter-spacing: .22em !important;
  color: rgba(200,216,240,0.55) !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
  text-fill-color: unset !important;
  border-bottom: 1px solid rgba(240,120,32,0.15) !important;
  padding-bottom: 10px !important;
  margin-bottom: 14px !important;
}
.cr-text {
  color: #5a7898 !important;
  line-height: 1.85 !important;
}
.cr-text strong { color: #8aaccc !important; }

/* === نبض badge NEW RELEASE === */
.vnew-badge {
  animation: badge-breathe 3.5s ease-in-out infinite !important;
}
@keyframes badge-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,120,32,0.4); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(240,120,32,0); opacity: 0.88; }
}

/* === زر التشغيل — نبض ناري حقيقي === */
@keyframes play-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(240,120,32,0.5),
      0 0 20px rgba(240,120,32,0.15);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(240,120,32,0),
      0 0 40px rgba(240,120,32,0.25);
  }
}
.vplay-big {
  animation: play-pulse 2.8s ease-in-out infinite !important;
  position: relative !important;
  z-index: 3 !important;
}

/* === عنوان الحلقة الأخيرة — واضح ومضيء === */
.vnew-title {
  color: #7a9ab8 !important;
  letter-spacing: .12em !important;
  z-index: 3 !important;
  position: relative !important;
}

/* === فاصل التذييل === */
footer {
  border-top: 1px solid rgba(240,120,32,0.1) !important;
  color: #2a3a50 !important;
}
.back, .page-header, .hero, .vsec, .scard {
  will-change: opacity, transform;
}

/* === رمز التصنيف (PORTAL 05) === */
.pcode {
  color: rgba(240,120,32,0.5) !important;
  letter-spacing: .32em !important;
  font-size: 10px !important;
}

/* === شارة النوع (QUESTIONS · FINAL ANSWERS) === */
.ptag {
  background: rgba(240,120,32,0.05) !important;
  border: 1px solid rgba(240,120,32,0.22) !important;
  color: rgba(240,120,32,0.65) !important;
  letter-spacing: .18em !important;
  transition: all 0.3s ease !important;
}
.ptag:hover {
  background: rgba(240,120,32,0.1) !important;
  border-color: rgba(240,120,32,0.4) !important;
  color: rgba(240,120,32,0.9) !important;
}

/* === العنوان العربي (ألغاز الوجود) === */
.psub {
  color: rgba(240,120,32,0.38) !important;
  font-style: italic !important;
  letter-spacing: .04em !important;
}

/* === النبضة الحية في scard === */
.dot {
  animation: dot-live 2s ease-in-out infinite !important;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18) !important;
}
@keyframes dot-live {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(34,197,94,0.18); }
  50% { transform: scale(0.82); box-shadow: 0 0 0 6px rgba(34,197,94,0.04); }
}

/* === إطار المخرج — زوايا المشاهدة === */
.noor-bracket {
  position: absolute !important;
  width: 22px !important;
  height: 22px !important;
  z-index: 10 !important;
  pointer-events: none !important;
  transition: opacity 0.5s ease !important;
}
.noor-b-tl {
  top: 4px !important; left: 4px !important;
  border-top: 2px solid rgba(240,120,32,0.75) !important;
  border-left: 2px solid rgba(240,120,32,0.75) !important;
}
.noor-b-tr {
  top: 4px !important; right: 4px !important;
  border-top: 2px solid rgba(240,120,32,0.75) !important;
  border-right: 2px solid rgba(240,120,32,0.75) !important;
}
.noor-b-bl {
  bottom: 4px !important; left: 4px !important;
  border-bottom: 2px solid rgba(240,120,32,0.75) !important;
  border-left: 2px solid rgba(240,120,32,0.75) !important;
}
.noor-b-br {
  bottom: 4px !important; right: 4px !important;
  border-bottom: 2px solid rgba(240,120,32,0.75) !important;
  border-right: 2px solid rgba(240,120,32,0.75) !important;
}

/* === خط المسح السينمائي — مشعة الضوء === */
.noor-scanline {
  position: absolute !important;
  left: 0 !important; right: 0 !important;
  height: 1px !important;
  z-index: 6 !important;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(240,120,32,0.08) 20%,
    rgba(240,120,32,0.35) 50%,
    rgba(240,120,32,0.08) 80%,
    transparent 100%) !important;
  pointer-events: none !important;
  animation: cinema-scan 9s linear infinite !important;
}
@keyframes cinema-scan {
  0%   { top: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  94%  { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

/* === وميض الزاوية — lens flare === */
.noor-flare {
  position: absolute !important;
  top: 8px !important; left: 8px !important;
  width: 28px !important; height: 28px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(240,120,32,0.25) 0%, transparent 70%) !important;
  pointer-events: none !important;
  z-index: 7 !important;
  animation: flare-blink 7s ease-in-out infinite !important;
}
@keyframes flare-blink {
  0%, 100% { opacity: 0; }
  25% { opacity: 1; }
  50% { opacity: 0.3; }
  75% { opacity: 0.8; }
}

/* === شريط الزمن فوق الحلقات === */
.noor-timeline {
  font-size: 9px !important;
  letter-spacing: .08em !important;
  color: rgba(240,120,32,0.18) !important;
  text-align: center !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  animation: timeline-scroll 30s linear infinite !important;
}
@keyframes timeline-scroll {
  0%   { letter-spacing: .08em; opacity: 0.18; }
  50%  { opacity: 0.35; }
  100% { letter-spacing: .08em; opacity: 0.18; }
}


/* ============================================================
   NOOR SECRET GATE — CSS
   Logo ripple + Command Room modal
============================================================ */

/* رابطة شعار قابل للنقر */
/* hlogo: normal */


  100% { transform: translate(-50%,-50%) scale(3.8); opacity:0; }
}

/* غطاء نافذة غرفة القيادة */
#noor-gate-modal {
  position: fixed !important; inset: 0 !important; z-index: 99998 !important;
  background: rgba(2,5,14,0.88) !important;
  display: flex !important;
  align-items: center !important; justify-content: center !important;
  animation: ngm-in 0.45s cubic-bezier(0.22,1,0.36,1) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
@keyframes ngm-in {
  from { opacity:0; backdrop-filter:blur(0); }
  to   { opacity:1; backdrop-filter:blur(12px); }
}

/* بطاقة تسجيل الدخول */
.ngm-card {
  position: relative !important;
  width: 100% !important; max-width: 340px !important;
  margin: 16px !important; padding: 38px 26px 26px !important;
  border-radius: 24px !important;
  background: radial-gradient(circle at top left,rgba(20,40,80,0.97),rgba(4,8,20,0.99)) !important;
  border: 1px solid rgba(240,120,32,0.28) !important;
  box-shadow: 0 0 80px rgba(0,0,0,0.95), 0 0 24px rgba(240,120,32,0.07) !important;
  animation: card-rise 0.5s cubic-bezier(0.22,1,0.36,1) !important;
}
@keyframes card-rise {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

/* زر الإغلاق */
.ngm-close {
  position: absolute !important; top:14px !important; right:16px !important;
  background:transparent !important; border:none !important;
  color:rgba(255,255,255,0.35) !important; font-size:18px !important;
  cursor:pointer !important; padding:4px 8px !important;
  transition:color 0.2s !important; line-height:1 !important;
}
.ngm-close:hover { color:rgba(240,120,32,0.9) !important; }

/* أيقونة القيادة */
.ngm-logomark {
  text-align:center !important; font-size:36px !important;
  color:rgba(240,120,32,0.65) !important; margin-bottom:8px !important;
  animation: logopulse 3s ease-in-out infinite !important;
}
@keyframes logopulse {
  0%,100% { opacity:0.65; }
  50% { opacity:1; }
}

/* عنوان النافذة */
.ngm-title {
  text-align:center !important; font-size:12px !important;
  letter-spacing:0.38em !important; color:rgba(240,120,32,0.9) !important;
  margin-bottom:5px !important; font-weight:700 !important;
  text-transform:uppercase !important;
}

/* العنوان الفرعي */
.ngm-sub {
  text-align:center !important; font-size:11px !important;
  color:rgba(148,163,184,0.6) !important;
  margin-bottom:22px !important; letter-spacing:0.06em !important;
}

/* ملصق الحقل */
.ngm-label {
  display:block !important; font-size:9px !important;
  letter-spacing:0.28em !important; color:rgba(240,120,32,0.5) !important;
  margin-bottom:5px !important; font-weight:600 !important;
  text-transform:uppercase !important;
}

/* حقل الإدخال */
.ngm-input {
  display:block !important; width:100% !important;
  background:rgba(255,255,255,0.04) !important;
  border:1px solid rgba(240,120,32,0.2) !important;
  border-radius:10px !important; color:#e0eaff !important;
  font-size:14px !important; padding:11px 14px !important;
  margin-bottom:14px !important; outline:none !important;
  transition:border-color 0.25s !important;
  box-sizing:border-box !important;
  font-family:inherit !important;
}
.ngm-input:focus {
  border-color:rgba(240,120,32,0.55) !important;
  background:rgba(240,120,32,0.04) !important;
}

/* رسالة الخطأ */
.ngm-err {
  min-height:18px !important; font-size:11px !important;
  color:rgba(240,80,80,0.85) !important; text-align:center !important;
  margin-bottom:10px !important; letter-spacing:0.04em !important;
}

/* زر الدخول */
.ngm-submit {
  display:block !important; width:100% !important;
  background:linear-gradient(135deg,rgba(240,120,32,0.88),rgba(210,90,18,0.88)) !important;
  border:none !important; border-radius:12px !important;
  color:#fff !important; font-size:12px !important;
  letter-spacing:0.18em !important; font-weight:700 !important;
  padding:13px !important; cursor:pointer !important;
  text-transform:uppercase !important;
  transition:opacity 0.2s,transform 0.2s !important;
  box-shadow:0 4px 18px rgba(240,120,32,0.25) !important;
}
.ngm-submit:hover { opacity:0.9 !important; transform:translateY(-1px) !important; }
.ngm-submit:active { transform:translateY(0) !important; }
.ngm-submit:disabled { opacity:0.45 !important; cursor:default !important; transform:none !important; }

.hlogo { -webkit-tap-highlight-color: transparent !important; user-select: none !important; }img,canvas{-webkit-touch-callout:none!important;-webkit-user-drag:none!important;pointer-events:auto;}
