/* Start custom CSS for section, class: .elementor-element-b153907 *//* ==========================================================================
   ۱. خنثی‌سازی قاب‌ها و استایل‌های پیش‌فرض قالب وودمارت/مگنیفیک
   ========================================================================== */
.mfp-wrap, 
.mfp-container, 
.mfp-content, 
.wd-popup, 
.wd-promo-popup,
.woodmart-promo-popup {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

.mfp-wrap {
  position: fixed !important;
  inset: 0 !important;
  overflow: hidden !important;
  z-index: 99999 !important;
}

.mfp-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  box-sizing: border-box !important;
}

.mfp-content {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 100000 !important;
}

/* حذف کانتینرهای میانی پیش‌فرض */
.wd-popup-inner, 
.wd-popup-content,
.mfp-figure {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

/* حذف دکمه بستن پیش‌فرض قالب جهت استفاده از دکمه شخصی‌سازی شده */
.mfp-close, 
.wd-popup-close {
  display: none !important;
}

/* ==========================================================================
   ۲. طراحی پاپ‌آپ اصلی ArkaGame (طراحی نئون، عریض و بدون اسکرول)
   ========================================================================== */
.arkapopup-wrapper {
  position: relative;
  width: min(92vw, 760px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px !important; /* رعایت الزام طراحی تیز */
  border: 1px solid rgba(0, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(9, 15, 30, 0.99), rgba(5, 9, 20, 0.99)) !important;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 20px 60px rgba(0, 0, 0, 0.6), 
    0 0 30px rgba(0, 255, 255, 0.1),
    0 0 42px rgba(168, 85, 247, 0.1) !important;
  color: #fff !important;
  direction: rtl;
  box-sizing: border-box;
  z-index: 100001 !important;
}

/* افکت نوری گوشه پاپ‌آپ */
.arkapopup-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    linear-gradient(135deg, rgba(0, 255, 255, 0.06), transparent 35%),
    linear-gradient(315deg, rgba(236, 72, 153, 0.08), transparent 42%);
  z-index: 1;
}

/* دکمه بستن شخصی‌سازی شده با اولویت کلیک بالا */
.arkapopup-close {
  position: absolute !important;
  top: 15px !important;
  left: 15px !important;
  z-index: 999999 !important; /* بالاتر از همه لایه‌ها */
  pointer-events: auto !important; /* فعال‌سازی امکان کلیک */
  width: 36px !important;
  height: 36px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease;
}

.arkapopup-close:hover {
  background: rgba(255, 45, 149, 0.25) !important;
  border-color: #ff2d95 !important;
  transform: rotate(90deg);
}

/* نشان شناور "شروع شد" */
.arkapopup-badge-wrap {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
}

.arkapopup-badge {
  padding: 8px 16px;
  border-radius: 2px !important;
  background: linear-gradient(90deg, #00e5ff, #8b5cf6, #ff2d95);
  box-shadow: 
    0 0 12px rgba(0, 229, 255, 0.35),
    0 0 24px rgba(139, 92, 246, 0.2);
  animation: badgeFloat 2.6s ease-in-out infinite;
}

.arkapopup-badge-text {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* استایل کانتینر محتوا */
.arkapopup-content {
  position: relative;
  z-index: 2;
  padding: 65px 45px 35px;
  box-sizing: border-box;
}

/* باکس لوگو (تراز وسط) */
.arkapopup-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  width: 100%;
}

.arkapopup-logo {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.3));
}

/* تیتر اصلی (تراز وسط) */
.arkapopup-title {
  font-size: 26px !important;
  font-weight: 900 !important;
  margin: 0 0 20px 0 !important;
  text-align: center !important;
  line-height: 1.4 !important;
  width: 100%;
}

/* متن لید (راست‌چین و جاستیفای) */
.arkapopup-lead {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 25px 0 !important;
  text-align: justify;
  direction: rtl;
}

.arkapopup-lead span {
  color: #00e5ff;
  font-weight: bold;
}

/* لیست ویژگی‌ها (راست‌چین) */
.arkapopup-features {
  margin: 0 0 30px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: right;
  direction: rtl;
}

.arkapopup-features li {
  position: relative;
  margin-bottom: 12px;
  padding-right: 25px;
  font-size: 14px;
  color: #e5e7eb;
  line-height: 1.7;
}

.arkapopup-features li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  background: #00e5ff;
  border-radius: 2px !important;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

/* باکس دکمه‌ها (تراز وسط) */
.arkapopup-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.arkapopup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 45px;
  background: linear-gradient(90deg, #00d9ff, #7c3aed);
  border-radius: 2px !important;
  color: #fff !important;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
}

.arkapopup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 25px rgba(124, 58, 237, 0.4),
    0 0 15px rgba(0, 217, 255, 0.2);
}

/* ==========================================================================
   ۳. انیمیشن‌ها و خطوط نئونی متحرک
   ========================================================================== */
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.arkapopup-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
  width: 50%;
  pointer-events: none;
  animation: lineMove 5s linear infinite;
  z-index: 1;
}

.arkapopup-line-1 {
  top: 15%;
  left: -50%;
}

.arkapopup-line-2 {
  bottom: 12%;
  right: -50%;
  animation-delay: 2.5s;
}

@keyframes lineMove {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  30%, 70% {
    opacity: 1;
  }
  100% {
    transform: translateX(300%);
    opacity: 0;
  }
}

.arkapopup-glow {
  position: absolute;
  left: -50px;
  bottom: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   ۴. ریسپانسیو و مدیریت نمایش در موبایل
   ========================================================================== */
@media (max-width: 1024px) {
  .arkapopup-wrapper {
    width: min(94vw, 720px);
  }
  .arkapopup-content {
    padding: 60px 35px 30px;
  }
}

/* غیرفعال‌سازی کامل پاپ‌آپ در نمایشگرهای موبایل برای عدم تداخل با پاپ‌آپ موبایلی */
@media (max-width: 767px) {
  .arkapopup-wrapper, 
  .mfp-wrap, 
  .mfp-container, 
  .mfp-content {
    display: none !important;
  }
}/* End custom CSS */