/* ==========================================================================
   Preloader Critical Styles
   ========================================================================== */
body.is-loading {
  overflow: hidden !important;
  height: 100vh !important;
}

body.is-loading .home-banner .branding,
body.is-loading .home-banner .split-text,
body.is-loading .home-banner .row {
  opacity: 0 !important;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #080808;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: opacity, transform;
}

.preloader-inner {
  text-align: center;
  max-width: 320px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-logo img {
  max-height: 48px;
  width: auto;
  animation: preloaderPulse 2s infinite ease-in-out;
}

@keyframes preloaderPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.preloader-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: 'Space Grotesk', sans-serif, system-ui, -apple-system, blinkmacsystemfont;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888888;
}

.preloader-num {
  color: #1942be;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif, system-ui, -apple-system, blinkmacsystemfont;
}

.preloader-bar-bg {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: #1942be;
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(201, 243, 29, 0.5);
  will-change: width;
}
