/**
 * No-Flash Animation Prevention
 * =============================
 * Prevents animations from playing on page load/refresh
 * to avoid visual flashing and improve perceived performance.
 */

/* Disable all animations until page is ready */
.preload * {
  -webkit-animation-duration: 0s !important;
  animation-duration: 0s !important;
  -webkit-animation-delay: 0s !important;
  animation-delay: 0s !important;
  -webkit-transition-duration: 0s !important;
  transition-duration: 0s !important;
  -webkit-transition-delay: 0s !important;
  transition-delay: 0s !important;
}

/* Disable specific animations that cause flashing */
.preload .particle,
.preload .circuit-line,
.preload .logo-pulse,
.preload .logo-dot-1,
.preload .logo-dot-2,
.preload .logo-dot-3,
.preload .logo-dot-4,
.preload .scan-line,
.preload .wave-animation,
.preload .particles-container,
.preload .circuit-bg,
.preload .eq-anchor,
.preload .eq-copy {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Keep progress bar transitions smooth */
.preload .global-progress-bar {
  -webkit-transition-duration: 0.1s !important;
  transition-duration: 0.1s !important;
}

/* Disable back-to-top button animation on load */
.preload .global-back-to-top {
  opacity: 0 !important;
  visibility: hidden !important;
  -webkit-transition: none !important;
  transition: none !important;
}