html.site-bootstrap-loader-skip .site-bootstrap-loader {
  display: none !important;
}

html.site-bootstrap-loader-active,
html.site-bootstrap-loader-active body {
  overflow: hidden !important;
}

html.site-bootstrap-loader-active #root {
  visibility: hidden !important;
}

.site-bootstrap-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
  background: rgba(var(--b, 59, 66, 84), 0.97);
  pointer-events: auto;
  opacity: 1;
  transition: opacity 500ms ease-out, visibility 500ms ease-out;
}

html.is-mobile .site-bootstrap-loader,
html[class*='is-mobile'] .site-bootstrap-loader {
  background: rgba(var(--b, 59, 66, 84), 0.98);
}

html.is-web.site-bg-custom .site-bootstrap-loader {
  background: rgba(var(--static-black, 0, 0, 0), 0.88);
}

.site-bootstrap-loader--fading {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.site-bootstrap-loader__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(92vw, 420px);
  gap: 14px;
}

.site-bootstrap-loader__glow {
  position: absolute;
  width: min(78vw, 480px);
  height: min(78vw, 480px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--hero, 12, 192, 108), 0.22) 0%,
    rgba(var(--brand, 12, 192, 108), 0.08) 42%,
    transparent 72%
  );
  animation: site-bootstrap-loader-glow 2.8s ease-in-out infinite;
  pointer-events: none;
}

.site-bootstrap-loader__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(64vw, 220px);
  height: min(64vw, 220px);
}

.site-bootstrap-loader__ring {
  position: absolute;
  border-radius: 50%;
  border-style: dashed;
  border-color: transparent;
  box-sizing: border-box;
}

.site-bootstrap-loader__ring--outer {
  inset: 0;
  border-width: 2px;
  border-top-color: rgb(var(--hero, 12, 192, 108));
  border-right-color: rgba(var(--hero, 12, 192, 108), 0.45);
  border-bottom-color: rgba(var(--hero, 12, 192, 108), 0.15);
  border-left-color: rgba(var(--hero, 12, 192, 108), 0.55);
  animation: site-bootstrap-loader-spin-cw 3.2s linear infinite;
  filter: drop-shadow(0 0 10px rgba(var(--hero, 12, 192, 108), 0.35));
}

.site-bootstrap-loader__ring--mid {
  inset: 10%;
  border-width: 2px;
  border-top-color: rgba(var(--b-sc, 219, 222, 230), 0.9);
  border-right-color: rgba(var(--b-sc, 219, 222, 230), 0.35);
  border-bottom-color: rgba(var(--b-sc, 219, 222, 230), 0.12);
  border-left-color: rgba(var(--b-sc, 219, 222, 230), 0.55);
  animation: site-bootstrap-loader-spin-ccw 2.4s linear infinite;
}

.site-bootstrap-loader__ring--inner {
  inset: 20%;
  border-width: 1.5px;
  border-top-color: rgba(var(--hero, 12, 192, 108), 0.85);
  border-right-color: rgba(var(--b-sc, 219, 222, 230), 0.25);
  border-bottom-color: transparent;
  border-left-color: rgba(var(--hero, 12, 192, 108), 0.35);
  animation: site-bootstrap-loader-spin-cw 1.8s linear infinite;
}

.site-bootstrap-loader__arcs {
  position: absolute;
  inset: 4%;
  animation: site-bootstrap-loader-spin-cw 4s linear infinite;
}

.site-bootstrap-loader__arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  box-sizing: border-box;
}

.site-bootstrap-loader__arc--a {
  border-top-color: rgb(var(--hero, 12, 192, 108));
  transform: rotate(0deg);
  opacity: 0.95;
}

.site-bootstrap-loader__arc--b {
  border-top-color: rgba(var(--b-sc, 219, 222, 230), 0.85);
  transform: rotate(120deg);
  opacity: 0.85;
}

.site-bootstrap-loader__arc--c {
  border-top-color: rgba(var(--hero, 12, 192, 108), 0.65);
  transform: rotate(240deg);
  opacity: 0.75;
}

.site-bootstrap-loader__logo {
  position: relative;
  z-index: 2;
  width: min(44vw, 180px);
  height: auto;
  max-height: 28vh;
  object-fit: contain;
  animation: site-bootstrap-loader-pulse 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(var(--hero, 12, 192, 108), 0.35));
}

.site-bootstrap-loader__title {
  margin: 0;
  color: rgba(var(--b-sc, 219, 222, 230), 0.95);
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.site-bootstrap-loader__progress {
  width: min(72vw, 280px);
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(var(--b-sc, 219, 222, 230), 0.14);
}

.site-bootstrap-loader__progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(var(--hero, 12, 192, 108), 0.85),
    rgb(var(--hero, 12, 192, 108))
  );
  transition: width 120ms linear;
}

.site-bootstrap-loader__hint {
  margin: 0;
  color: rgba(var(--b-sc, 219, 222, 230), 0.55);
  font-size: 12px;
  letter-spacing: 0.02em;
}

@keyframes site-bootstrap-loader-spin-cw {
  to {
    transform: rotate(360deg);
  }
}

@keyframes site-bootstrap-loader-spin-ccw {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes site-bootstrap-loader-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.94;
  }
}

@keyframes site-bootstrap-loader-glow {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

html.is-mobile .site-bootstrap-loader__glow {
  width: min(64vw, 280px);
  height: min(64vw, 280px);
}

@media (min-width: 993px) {
  html.is-web .site-bootstrap-loader__stage {
    width: min(42vw, 320px);
    height: min(42vw, 320px);
  }

  html.is-web .site-bootstrap-loader__logo {
    width: min(28vw, 240px);
    max-height: 38vh;
  }
}
