/* خلفية بطاقة الإعلان متدرجة ومميزة */
.promo-banner {
    background: linear-gradient(135deg, #2b1055, #7579ff);
    border: none;
}

/* خلفية الهيدر البنفسجي */
.bg-purple {
    background: linear-gradient(135deg, #59359a, #361f6d);
}

.text-purple {
    color: #59359a;
}

/* تأثير الحركة (الطفو للأعلى والأسفل) للأيقونة داخل الإعلان */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.floating-icon {
    animation: float 3s ease-in-out infinite;
}

/* تنسيق وتمرير الشريط العلوي الإعلاني */
.announcement-bar {
    background: linear-gradient(90deg, #2b1055, #59359a, #2b1055);
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* إيقاف الحركة عند تمرير الماوس فوق الشريط لقراءة النص براحة */
.announcement-bar:hover .marquee-content {
    animation-play-state: paused;
}
.section-container {
    margin: 25px 0;
    padding: 0 15px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title-wrapper {
    display: flex;
    align-items: center;
}

.line-left {
    height: 35px;
    width: 4px;
    background-color: #e61e25;
    margin-left: 12px;
    border-radius: 2px;
}

.title-content h4 {
    font-weight: 800;
    font-size: 1.15rem;
    background: linear-gradient(90deg, #e61e25, #8e44ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* تنسيق الوصف الصغير */
.subtitle {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px !important;
}

.arrow-icon {
    font-size: 1.4rem;
    color: #e61e25;
    transition: 0.3s;
}

.arrow-icon:hover {
    transform: translateX(-5px);
}



.network-badge{
  padding:15px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.16);
  background:linear-gradient(135deg, rgba(59,130,246,.18), rgba(99,102,241,.16));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  position:relative;
  overflow:hidden;
}
.network-badge::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform:translateX(-100%);
  animation:networkShine 3.2s linear infinite;
  pointer-events:none;
}
.network-bad1ge.ok{
  background:linear-gradient(135deg, rgba(16,185,129,.20), rgba(5,150,105,.16));
  border-color:rgba(110,231,183,.30);
}
.network-badge.ok{
    background: linear-gradient(135deg, #6f42c1 0%, #4e2a96 100%);
    color: #ffffff !important;
}


.network-badge.warn{
  background:linear-gradient(135deg, rgba(245,158,11,.18), rgba(234,88,12,.16));
  border-color:rgba(253,186,116,.28);
}
@keyframes networkShine{
  100%{ transform:translateX(100%); }
}
.network-badge-main{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
  flex:1;
  width:100%;
}
.network-badge-icon{
  width:46px;
  height:46px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  font-size:21px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}
.network-badge-text{
  min-width:0;
  flex:1;
}
.network-badge-label{
  font-size:12px;
  font-weight:700;
  color:rgba(255,255,255,.78);
  margin-bottom:4px;
}
.network-badge-name{
  font-size:18px;
  font-weight:900;
  color:#fff;
  line-height:1.4;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.network-badge-desc{
  font-size:13px;
  color:rgba(255,255,255,.7);
  margin-top:2px;
}
.network-badge-id{
  direction:rtl;
  text-align:right;
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  width:min(100%, 290px);
  max-width:100%;
  margin-top:10px;
  padding:9px 15px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.09));
  border:1px solid rgba(255,255,255,.24);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.12);
  white-space:nowrap;
}
.network-badge-id-label{
  font-size:11px;
  letter-spacing:0;
  opacity:.84;
  font-weight:800;
  flex:0 0 auto;
}
.network-badge-id-value{
  direction:ltr;
  unicode-bidi:embed;
  font-size:15px;
  line-height:1;
  font-weight:900;
  flex:0 0 auto;
}



/* ===================================================
   تنسيقات البطاقات المخصصة (Card Customs)
   =================================================== */

/* 1. النمط الأساسي للبطاقة */
.card-custom {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    user-select: none;
}

/* تأثير التمرير والنقر على البطاقة */
.card-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-custom:active {
    transform: scale(0.98);
}

/* 2. بطاقة خاصة (card-special-100) - خلفية بتدرج ناعم ورائع */
.card-special-100 {
    background: linear-gradient(135deg, #6f42c1 0%, #4e2a96 100%);
    color: #ffffff !important;
    border: none;
}

.card-special-100:hover {
    box-shadow: 0 10px 22px rgba(111, 66, 193, 0.35);
}

/* بطاقة الأسعار الخاصة الأخرى (bg-special-price) */
.bg-special-price {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #ffffff !important;
    border: none;
}

.bg-special-price:hover {
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.35);
}

/* 3. عناصر داخل البطاقة (العنوان والأيقونات) */
.pkgName {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-special-100 .pkgName,
.bg-special-price .pkgName {
    color: #ffffff;
}

.pkgIcon {
    font-size: 1.1rem;
    color: #ffc107; /* لون مميز للأيقونة */
}

/* 4. الشارات والسمات الفرعية (Badges) */
.card-custom .badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 8px;
}

/* الشارة المتاحة */
.badge-available {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    backdrop-filter: blur(4px);
}

/* الشارة المستخدمة/الوقت */
.badge-used {
    background-color: rgba(0, 0, 0, 0.25) !important;
    color: #f8f9fa !important;
}

/* تعديل لون شارة السعر داخل الكروت الملونة */
.card-special-100 .bg-light {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #4e2a96 !important;
    font-weight: 700;
}



/* تنسيق الفوتر */
.footer-section {
    background: linear-gradient(135deg, #1e0c3a, #110722);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}
/* تنسيق الألوان والتدرجات الخاصة بالموقع والنافذة */
.bg-purple {
    background: linear-gradient(135deg, #7c4dff, #59359a) !important;
}

.text-purple {
    color: #59359a !important;
}

.bg-purple-subtle {
    background-color: rgba(124, 77, 255, 0.1) !important;
}

.border-purple {
    border-color: rgba(124, 77, 255, 0.3) !important;
}

/* تنسيق تنبيه "قيمة الإيداع = قيمة الكرت" */
.alert-purple-subtle {
    background-color: rgba(124, 77, 255, 0.05);
    color: #59359a;
}