/* LudoBazzi performance fixes – smooth scrolling on phones.
   Blur-behind effects (backdrop-filter) are the main cause of lag on mobile,
   so they are switched off and replaced with a slightly darker see-through look. */
*, *::before, *::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Fixed background: no permanent GPU layer */
.bg-overlay, body::before { will-change: auto !important; }

html { -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; }
img { content-visibility: auto; }

/* Respect users/devices asking for less motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
