body {
  margin: 0;
}

html {
  overflow-x: hidden;
  overflow-y: auto !important;
}

#loading-bg {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  overflow: hidden;
  padding: clamp(1.5rem, 6vw, 3rem);
  isolation: isolate;
  background: var(--initial-loader-bg, #fff);
}

#loading-bg::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 40%;
  background: linear-gradient(
    to bottom,
    rgba(227, 38, 34, 0.06),
    rgba(227, 38, 34, 0)
  );
}

.loading-logo {
  width: clamp(132px, 30vw, 168px);
  height: auto;
}

.kova-spinner {
  box-sizing: border-box;
  block-size: 28px;
  inline-size: 28px;
  border: 3px solid rgba(227, 38, 34, 0.18);
  border-block-start-color: #e32622;
  border-radius: 50%;
  animation: kova-spin 0.9s linear infinite;
}

@keyframes kova-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kova-spinner {
    animation-duration: 2.6s;
  }
}
