/* FO_MOBILE_BATTERY_SAVER_V1
   هدف: کاهش داغی گوشی و مصرف باتری فقط روی موبایل
   بدون تغییر ساختار صفحه
*/

@media (max-width: 820px), (hover: none) and (pointer: coarse){

  html, body{
    scroll-behavior:auto !important;
  }

  /* کم کردن فشار ربات */
  .robot{
    animation:none !important;
    filter:drop-shadow(0 8px 18px rgba(31,176,255,.25)) !important;
  }

  .robotglow{
    animation:none !important;
    opacity:.38 !important;
    filter:blur(10px) !important;
  }

  #robotHead,
  #robotBody{
    touch-action:manipulation !important;
  }

  /* کم کردن blur و shadow سنگین */
  .card,
  .nh-stats-in,
  .nh-stat,
  #fo-theme-quickstats-mainlike,
  #fo-theme-submenu-mainlike,
  .fo-theme-quickstats-box,
  .fo-theme-submenu-box,
  .fo-final-submenu,
  .fo-final-subitem{
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    box-shadow:0 5px 14px rgba(0,0,0,.25) !important;
  }

  /* خاموش کردن افکت‌های تزئینی متحرک */
  .star,
  .stars,
  .particle,
  .particles,
  .spark,
  .sparks,
  .dot,
  .dots,
  .glow,
  .bg-glow,
  .shooting-star,
  .ring,
  .rings,
  .scan,
  .orb,
  .orb-core,
  .vortex,
  .portal,
  .sun,
  .core,
  .cube,
  .main-object::before,
  .main-object::after,
  .hero::before,
  .hero::after,
  .stage::before,
  .stage::after{
    animation:none !important;
  }

  /* کند کردن انیمیشن‌های باقی‌مانده به جای حذف کامل */
  .card,
  .nh-stats,
  .bottom-nav,
  .menu,
  .submenu{
    transition-duration:.18s !important;
  }

  /* سبک‌تر کردن فیلترهای SVG */
  svg [filter]{
    filter:none !important;
  }
}

@media (prefers-reduced-motion: reduce){
  *{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
}
