/* Global overrides to eliminate unintended blur/darkening on scroll */

/* Remove backdrop and blur filters that may cause perceived darkening or GPU artifacts */
* { 
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Neutralize any filter or opacity animation applied after scrolling */
body, body * { 
  filter: none !important;
  opacity: 1 !important;
  transition: none !important;
}

/* Ensure hero remains static (no transforms that could trigger repaint blurring) */
.epic-hero *, .epic-hero { 
  transform: none !important;
}

/* Prevent parallax or translateY adjustments on cosmos */
.epic-cosmos, .nebula, .breathing-icon, .cosmic-particle { 
  transform: none !important;
  animation-play-state: paused !important; /* Pause breathing if desired; remove if you want subtle breathing */
}

/* DISABLE ALL STAT NUMBER COUNTING ANIMATIONS - But allow visual effects */
.stat-number, .epic-hero .stat-number, .loading-screen .stat-number {
  /* Block ONLY counting animations, not visual enhancement animations */
  -webkit-animation-name: gradientFlow, gentlePulse, subtleGlow !important;
  animation-name: gradientFlow, gentlePulse, subtleGlow !important;
  
  /* Disable transitions that could cause counting effects */
  transition: none !important;
  -webkit-transition: none !important;
  
  /* Allow transforms for visual effects but prevent counting-related transforms */
  transform-origin: center center !important;
}

/* Also disable any parent container animations that might affect stats counting */
.epic-stat, .stat-card {
  /* Allow hover and visual animations, but disable counting-related animations */
  animation-name: none !important;
  -webkit-animation-name: none !important;
}

/* Remove any box-shadows that might appear as dark overlay on scroll (optional) */
/* Uncomment if needed */
/* * { box-shadow: none !important; } */

/* Avoid forced smooth scrolling */
html { scroll-behavior: auto !important; }
