/* =====================================================================
   09-smooth.css - poprawka plynnosci (laduje sie OSTATNI, nadpisuje reszte)
   Zasada: zero backdrop-filter, zero blur() w animacji, zero animacji
   ktore wymuszaja przemalowanie. Animujemy tylko transform i opacity.
   ===================================================================== */

/* 1. Tlo: bez background-attachment: fixed (przemalowuje caly ekran przy scrollu).
      Gradient przeniesiony na staly, osobny element (GPU-friendly). */
html { background-attachment: scroll !important; background-image: none !important; background-color: #050505 !important; }
body { background: transparent !important; background-image: none !important; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 150% 110% at bottom center, #150a24 0%, #08060a 55%, #050308 100%);
}

/* 2. Zorza: statyczne gradienty zamiast animowanego blur(110px) */
#aurora i { filter: none !important; animation: none !important; will-change: auto !important; opacity: 1 !important; }
#aurora i:nth-child(1) { background: radial-gradient(circle, rgba(139,61,227,.32) 0%, transparent 68%) !important; }
#aurora i:nth-child(2) { background: radial-gradient(circle, rgba(199,27,214,.22) 0%, transparent 68%) !important; }
#aurora i:nth-child(3) { background: radial-gradient(circle, rgba(90,31,176,.28) 0%, transparent 68%) !important; }

/* 3. Wszystkie backdrop-filter precz - zastapione prawie-nieprzezroczystym tlem */
.navbar { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(10,6,18,.94) !important; }
.footer-socials { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(8,5,12,.96) !important; }
.music-controls, .music-toggle-btn, .hero-stat, .btn-secondary, .copy-all, .hk-toast,
.live-pill, .elite-features li, .lightbox-modal, .lightbox-arrow, .intro-container,
.main-champ-box, .trophy-card, .about-card, .glass {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.lightbox-modal { background-color: rgba(5,5,5,.97) !important; }

/* 4. Animacje, ktore malowaly kazda klatke -> wylaczone / zamienione na transform */
.hero-bg::after { animation: none !important; }                 /* gridMove (background-position) */
.hero-title .accent-text { animation: none !important; background-position: 40% center; } /* textShine */
.hero-avatar img { animation: floatAvatarLite 6s ease-in-out infinite !important; filter: drop-shadow(0 0 22px rgba(139,61,227,.25)) !important; will-change: transform; }
@keyframes floatAvatarLite { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.trophy-icon, .trophy-icon.gold { animation: iconPulseLite 4s ease-in-out infinite !important; }
@keyframes iconPulseLite { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
html.is-live .hero-cta .btn-primary { animation: none !important; }
.gallery-item:hover::after { animation: none !important; }

/* 5. Obracajace sie conic-gradient tylko na hover (wczesniej kreci sie caly czas) */
.hud-card::before, .gear-card::before, .video-card::before { animation-play-state: paused !important; }
.hud-card:hover::before, .gear-card:hover::before, .video-card:hover::before { animation-play-state: running !important; }

/* 6. Strony SPA: prostsze wejscie (sam opacity) */
.spa-page, .spa-page.active-page { animation-name: fadeInLite !important; animation-duration: .25s !important; }
@keyframes fadeInLite { from { opacity: 0; } to { opacity: 1; } }

/* 7. Tanie przejscia: nie "all" na duzych kartach */
.main-champ-box, .trophy-card { transition: transform .3s ease, border-color .3s ease !important; }

/* 8. Szanuj ustawienie systemu */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
