.elementor-17011 .elementor-element.elementor-element-3fa7c43{--display:flex;}/* Start custom CSS for html, class: .elementor-element-0727446 *//* إعدادات الحاوية */
.comic-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
  padding: 50px 20px;
  /* خط يميل للطابع الكرتوني أو المرح */
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', sans-serif;
}

/* التصميم الأساسي للكارت (العلبة) */
.comic-card {
  width: 240px;
  height: 160px;
  position: relative;
  border-radius: 16px;
  cursor: pointer;
  /* الظل الصلب الكرتوني */
  box-shadow: 8px 8px 0px #000000;
  border: 4px solid #000000;
  background-color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* حركة الكارت بالكامل عند الضغط عليه (إحساس الزر الحقيقي) */
.comic-card:active {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0px #000000;
}

/* إعدادات الواجهتين */
.comic-front, .comic-reveal {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px; /* أقل قليلاً من الإطار الخارجي */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  box-sizing: border-box;
}

/* الواجهة الأمامية - الغطاء */
.comic-front {
  background-color: #ffffff;
  z-index: 2;
  border: 4px solid #000000;
  /* جعل الغطاء يغطي الكارت تماماً مع إزاحة خفيفة للإطار */
  top: -4px;
  left: -4px;
  /* حركة ارتدادية مرحة (Bouncy) */
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* الواجهة الخلفية - محتوى الشورت كود */
.comic-reveal {
  z-index: 1;
  top: 0;
  left: 0;
  /* نمط خلفية كرتوني (نقاط صغيرة) */
  background-image: radial-gradient(#000000 15%, transparent 16%);
  background-size: 20px 20px;
}

/* تنسيق النصوص */
.comic-front h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comic-reveal p {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  color: #000000;
  background-color: #ffffff;
  padding: 5px 15px;
  border: 3px solid #000000;
  border-radius: 8px;
  /* دوران خفيف للنص ليعطي طابعاً عشوائياً محبباً */
  transform: rotate(-3deg); 
  box-shadow: 3px 3px 0px #000000;
}

/* =========================================
   تأثير الانزلاق الكرتوني عند تمرير الماوس
   ========================================= */
.comic-card:hover .comic-front {
  /* الغطاء يطير للأعلى ولليسار مع دوران خفيف */
  transform: translate(-10px, -110%) rotate(-5deg);
}

/* =========================================
   تخصيص الألوان المبهجة لكل كارت
   ========================================= */
.card-yellow .comic-reveal { background-color: #ffd900; }
.card-pink .comic-reveal { background-color: #ff7bac; }
.card-cyan .comic-reveal { background-color: #00e5ff; }
.card-lime .comic-reveal { background-color: #a2ff00; }
.card-orange .comic-reveal { background-color: #ff8c00; }/* End custom CSS */