/* باتون العنوان - أعرض وأفخم */
h1 {
  color: #FFFFFF;
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  text-align: center;
  font-family: 'Traditional Arabic', 'Scheherazade', serif;
  font-size: 32px;
  padding: 16px 60px; /* كبرت العرض */
  border-radius: 60px;
  display: inline-block;
  min-width: 320px; /* يخلي الباتون عريض حتى لو الكلمة صغيرة */
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
  transition: all 0.4s ease;
  margin: 0 auto 30px;
  border: none;
}

h1:hover {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.5);
  letter-spacing: 1.5px;
}

/* الفيديو - من غير فراغات */

video {
  border: 2px solid #3B82F6;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(30, 58, 138, 0.15);
  transition: all 0.4s ease;
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

video:hover {
  border-color: #1D4ED8;
  box-shadow: 0 10px 35px rgba(30, 58, 138, 0.35);
  transform: scale(1.02);
}




.husary-wrap {
  max-width: 700px;
  margin: 35px auto;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  direction: rtl;
}

/* الألوان */
:root {
  --card-bg: #151a22;
  --card-hover: #1c2330;
  --blue-main: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.4);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-subtle: rgba(59, 130, 246, 0.2);
}

/* كارت الشيخ - في النص */
.sheikh-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #0f141c 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.sheikh-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-main), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.sheikh-card:hover::before {
  opacity: 1;
}

.sheikh-card:hover {
  background: var(--card-hover);
  box-shadow: 0 8px 30px var(--blue-glow);
  transform: translateY(-4px);
}

.sheikh-icon {
  font-size: 24px;
  color: var(--blue-main);
  background: rgba(59, 130, 246, 0.1);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.sheikh-info h3 {
  margin: 0;
  font-size: 24px;
  color: var(--text-main);
  font-weight: 700;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

.sheikh-info p {
  margin: 4px 0 0;
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 300;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

/* شبكة الإحصائيات - ارتفاع أقل */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card:hover {
  background: var(--card-hover);
  border-color: var(--blue-main);
  box-shadow: 0 6px 20px var(--blue-glow);
  transform: translateY(-3px);
}

.stat-card i {
  font-size: 22px;
  color: var(--blue-main);
  margin-bottom: 6px;
}

.stat-title {
  display: block;
  font-size: 22px;
  color: var(--text-muted);
  margin-bottom: 4px;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

.stat-num {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

/* كارت المصحف المعلم */
.quran-card {
  background: var(--card-bg);
  border: 1px dashed var(--border-subtle);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
  transition: all 0.3s;
}

.quran-card:hover {
  border-color: var(--blue-main);
  background: var(--card-hover);
}

.quran-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 22px;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 10px;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

.quran-icon {
  color: var(--blue-main);
  font-size: 20px;
}

.arrows {
  margin: 8px 0 14px;
  color: var(--text-muted);
  font-size: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

.arrows span:nth-child(1),
.arrows span:nth-child(3) {
  color: var(--blue-main);
  font-size: 22px;
  animation: bounce 1.6s infinite;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

.download-link {
  display: inline-block;
  padding: 9px 22px;
  background: var(--blue-main);
  color: white;
  text-decoration: none;
  border-radius: 9px;
  font-weight: 600;
  font-size: 19px;
  transition: all 0.3s;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

.download-link:hover {
  background: #2563eb;
  box-shadow: 0 6px 20px var(--blue-glow);
  transform: scale(1.05);
  color: #0f141c;
}

@keyframes bounce {
 0%, 100% { transform: translateY(0); }
 50% { transform: translateY(4px); }
}

/* موبايل */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    min-height: auto;
    padding: 14px;
  }
 
}

/* الألوان الأساسية المعتمدة في مشروعك */
:root {
  --card-bg: #151a22;
  --card-hover: #1c2330;
  --blue-main: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.4);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-subtle: rgba(59, 130, 246, 0.2);
}

/* تنسيق وترتيب رأس الكروت */
.section-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  padding-bottom: 10px;
  width: 100%;
}

.section-badge {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-main);
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 6px;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

/* تم التعديل هنا: جعل عناوين الكروت باللون الأبيض الفخم والثابت */
.custom-sec-title {
  margin: 0;
  font-size: 25px;
  color: #FFFFFF !important; 
  font-weight: 700;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

/* تنسيق العناصر الداخلية للنص */
.nested-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin-top: 15px;
  text-align: right;
}

.feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(59, 130, 246, 0.05);
  padding: 15px;
  border-radius: 8px;
  transition: background 0.3s;
}

.feature-item:hover {
  background: rgba(59, 130, 246, 0.03);
}

.feature-item h5 {
  color: var(--blue-main);
  margin: 0 0 6px 0;
  font-size: 24px;
  font-weight: 600;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

.feature-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

/* تنسيق الخط الزمني (Timeline) */
.timeline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 15px;
  position: relative;
  padding-right: 20px;
  border-right: 2px solid rgba(59, 130, 246, 0.1);
  text-align: right;
}

.timeline-step {
  position: relative;
}

.timeline-step::before {
  content: '';
  position: absolute;
  right: -26px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--blue-main);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue-main);
}

.step-year {
  display: inline-block;
  color: #fff;
  background: linear-gradient(135deg, #1E3A8A 0%, var(--blue-main) 100%);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 5px;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}

.timeline-step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
}
/* ضبط الصورة لتصبح مطاطية ومتجاوبة بالكامل */
.hosary {
    width: 800px;            /* تملأ المساحة المتاحة على الموبايل والشاشات الصغيرة */
    max-width: 600px;       /* أقصى عرض تصل إليه الصورة على اللاب توب لكي لا تفرش بشكل ضخم (يمكنك تعديل الرقم حسب رغبتك) */
    height: 400px;           /* الحفاظ على أبعاد الصورة ونسب الطول والعرض لكي لا تمط أو تتشوه */
    display: inline-block;  /* لكي تحترم التوسيط الموجود في الحاوية الأب text-center */
    box-sizing: border-box; /* لضمان حساب أي هوامش من ضمن العرض الكلي */
}

/* تحسينات إضافية مريحة جداً للموبايل */
@media (max-width: 576px) {
    .hosary {
        max-width: 90%;     /* ترك مسافة أمان خفيفة يميناً ويساراً على شاشات الهواتف الضيقة */
        margin-top: 25px !important; /* تقليل الهامش العلوي mt-5 القديم ليتناسب مع حجم الموبايل */
    }
}


:root {
  --cyber-bg-gradient: linear-gradient(145deg, #090d16, #111827);
  --cyber-surface: #111827;
  --cyber-surface-hover: #162238;
  --cyber-neon-blue: #00f0ff; 
  --cyber-neon-purple: #9d00ff; 
  --cyber-neon-gold: #ffaa00; 
  --cyber-neon-red: #ff2a2a;
  --cyber-text-primary: #f8fafc;
  --cyber-text-secondary: #64748b;
  --cyber-border-neon: rgba(0, 240, 255, 0.08);
}

/* الكارد الأم الخارق - حجم صغير ومنظم */
.cyber-beast-container {
    background: var(--cyber-bg-gradient) !important;
    border: 1px solid var(--cyber-border-neon) !important;
    border-radius: 24px !important;
    width: 100% !important;
    max-width: 350px !important; 
    margin: 60px auto !important; 
    padding: 22px 18px !important; 
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    direction: rtl !important;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cyber-beast-container:hover {
    background: var(--cyber-surface-hover) !important;
    border-color: rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 40px 80px -20px rgba(0, 240, 255, 0.15), 0 0 25px rgba(157, 0, 255, 0.1) !important;
    transform: translateY(-4px) !important;
}

/* خط النيون السحري العلوي */
.cyber-beast-glow-line {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, var(--cyber-neon-blue), var(--cyber-neon-purple), transparent) !important;
    animation: cyberGlowAnim 3.5s linear infinite !important;
    z-index: 2 !important;
}

@keyframes cyberGlowAnim {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* الحفاظ على السلايدر لتقليب الصور بوضعه الأصلي المستقر */
.cyber-beast-viewport { width: 100% !important; overflow: hidden !important; position: relative; z-index: 1; }
.cyber-beast-track { display: flex !important; width: 600% !important; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important; }
.cyber-beast-slide { width: 16.666% !important; display: flex !important; flex-direction: column !important; align-items: center !important; padding: 0 6px !important; box-sizing: border-box !important; }

/* إطار الصورة الشفاف للسلايدر الصغير */
.cyber-beast-img-holder {
    width: 100% !important;
    height: 175px !important; 
    background: transparent !important; 
    border: none !important; 
    overflow: visible !important; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    box-shadow: none !important;
    margin-top: 5px !important;
}

.cyber-beast-img-holder img {
    width: 100% !important; 
    height: 100% !important; 
    object-fit: fill !important; 
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.6)) !important; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cyber-beast-container:hover .cyber-beast-img-holder img {
    transform: scale(1.03) !important; 
    filter: drop-shadow(0 20px 30px rgba(0, 240, 255, 0.25)) !important; 
}

/* بادج نيون فخم ومنسق */
.cyber-beast-badge {
    position: absolute !important;
    top: -5px !important;
    right: 5px !important;
    background: linear-gradient(135deg, var(--cyber-neon-gold) 0%, #ff6600 100%) !important;
    color: #05070c !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    z-index: 5 !important;
    box-shadow: 0 4px 12px rgba(255, 170, 0, 0.3) !important;
}

/* تنسيق النصوص والميتا */
.cyber-beast-meta { 
    width: 100% !important; 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 8px !important; 
}

.cyber-beast-title {
    color: var(--cyber-text-primary) !important;
    font-size: 0.92rem !important; 
    font-weight: 600 !important;
    line-height: 1.5 !important;
    height: 42px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 18px 0 0 0 !important; 
    text-align: center !important;
}

/* التقييمات الرقمية - الرقم فوق والنجوم تحت */
.cyber-beast-rating { 
    display: flex !important; 
    flex-direction: column !important; 
    align-items: center !important; 
    justify-content: center !important; 
    gap: 4px !important; 
    margin-top: 10px !important; 
}
.cyber-beast-rate-num { color: var(--cyber-neon-gold) !important; font-size: 0.85rem !important; font-weight: 700 !important; }
.cyber-beast-stars { color: var(--cyber-neon-gold) !important; font-size: 0.85rem !important; letter-spacing: 1px !important; }

/* لوحة الأسعار المودرن المدمجة باللون الأزرق */
.cyber-beast-price-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    margin-top: 0 !important; 
}
.cyber-beast-price-now { color: var(--cyber-neon-blue) !important; font-size: 1.2rem !important; font-weight: 800 !important; text-shadow: 0 0 8px rgba(0, 240, 255, 0.2) !important; }
.cyber-beast-price-was { color: var(--cyber-text-secondary) !important; font-size: 0.8rem !important; text-decoration: line-through !important; opacity: 0.5 !important; }

/* كبسولة نبض الاستعجال */
.cyber-beast-urgency {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: rgba(255, 42, 42, 0.03) !important;
    border: 1px dashed rgba(255, 42, 42, 0.15) !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    margin-top: 0 !important; 
}
.cyber-beast-pulse { 
    width: 6px !important; height: 6px !important; 
    background-color: var(--cyber-neon-red) !important; 
    border-radius: 50% !important; 
    box-shadow: 0 0 8px var(--cyber-neon-red) !important;
}
.cyber-beast-urgency span { color: var(--cyber-neon-red) !important; font-size: 0.72rem !important; font-weight: 600 !important; }

/* زر الشراء بالتدرج الأزرق البنفسجي الأصلي */
.cyber-beast-btn {
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%) !important; 
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 11px 0 !important;
    border-radius: 100px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: block !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.25s ease !important;
    margin-top: 0 !important; 
}
.cyber-beast-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
    box-shadow: 0 6px 15px rgba(109, 40, 217, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* 🎯 تعديل نزول الأسهم: تم تغيير الحساب من +6px إلى +25px لإنزالها لأسفل أكثر بمحاذاة حامل الصورة المستقر */
.cyber-beast-arrow {
    position: absolute !important;
    top: calc(50% + 25px) !important; 
    transform: translateY(-50%) !important;
    background: rgba(17, 24, 39, 0.8) !important;
    border: 1px solid rgba(0, 240, 255, 0.2) !important; 
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10 !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cyber-beast-arrow:hover {
    background: var(--cyber-neon-blue) !important;
    border-color: var(--cyber-neon-blue) !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5) !important;
}

.cyber-beast-prev { right: 6px !important; }
.cyber-beast-next { left: 6px !important; }

.cyber-chevron-right, .cyber-chevron-left {
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-right: 2px solid var(--cyber-text-primary) !important;
    border-top: 2px solid var(--cyber-text-primary) !important;
    transition: border-color 0.2s ease !important;
}
.cyber-chevron-right { transform: rotate(45deg) !important; }
.cyber-chevron-left { transform: rotate(-135deg) !important; }

.cyber-beast-arrow:hover .cyber-chevron-right,
.cyber-beast-arrow:hover .cyber-chevron-left {
    border-color: #05070c !important;
}

/* الكبسولات السفلية المضيئة للتقليب بالأزرق */
.cyber-beast-indicators { display: flex !important; justify-content: center !important; gap: 5px !important; margin-top: 14px !important; }
.cyber-beast-dot { width: 5px !important; height: 5px !important; background-color: var(--cyber-text-secondary) !important; border-radius: 50% !important; cursor: pointer; opacity: 0.3 !important; transition: all 0.3s ease !important; }
.cyber-beast-dot.cyber-beast-dot-active { background-color: var(--cyber-neon-blue) !important; width: 16px !important; border-radius: 3px !important; opacity: 1 !important; box-shadow: 0 0 8px var(--cyber-neon-blue) !important; }

@media (max-width: 380px) {
    .cyber-beast-container { padding: 16px 14px !important; }
    .cyber-beast-img-holder { height: 155px !important; }
}

