/* === Perf-Safe: ağır efektleri kapat / hafiflet === */

/* 1) Header blur'u kapat */
.perf-safe .site-header.header-blur {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(0,0,0,0.46) !important; /* sabit */
  box-shadow: 0 2px 10px rgba(0,0,0,.15) !important;
}

/* 2) Tüm sayfada blur & heavy shadow azalt */
.perf-safe * {
  filter: none !important;
  text-shadow: none !important;
}
.perf-safe .prompt-card,
.perf-safe .form-card,
.perf-safe .stage {
  box-shadow: 0 4px 12px rgba(0,0,0,.25) !important; /* hafif */
}

/* 3) Orbit animasyonlarını uyut (CPU boşalsın) */
.perf-safe .affiliate-orbit .orbit1,
.perf-safe .affiliate-orbit .orbit2,
.perf-safe .affiliate-orbit .orbit-item {
  animation: none !important;
  will-change: auto !important;
}

/* 4) Parlak metin hover animasyonunu durdur (boyama maliyetli) */
.perf-safe .nav-links li a:hover {
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  animation: none !important;
  text-shadow: none !important;
}

/* 5) Global animation play state control */
:root {
  --animation-play-state: running;
}

.orbit-ring {
  animation-play-state: var(--animation-play-state);
}

/* 6) prefers-reduced-motion'a saygı (ek bonus) */
@media (prefers-reduced-motion: reduce) {
  .affiliate-orbit .orbit-ring,
  .affiliate-orbit .orbit1,
  .affiliate-orbit .orbit2 { 
    animation: none !important; 
  }
  
  .orbit-item:hover,
  .orbit-item.active {
    transform: scale(1.1) translateZ(0) !important;
  }
}

/* 7) Expensive effects optimizations */
.perf-safe .affiliate-testimonials::before,
.perf-safe .affiliate-testimonials::after,
.perf-safe .affiliate-panel-v2::before,
.perf-safe .floating-card {
  display: none !important;
}

/* 8) Reduce backdrop-filter usage */
.perf-safe .orbit-item {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
