body {
  margin: 0;
  padding: 0;
}
/* Loading overlay: no backdrop, the logo loader floats over the page.
   #splash-screen itself is NOT positioned (no stacking context), so the loader's
   mix-blend-mode: multiply blends with the page underneath and its white background vanishes. */
#splash-screen {
  position: static;
}
/* faint dark veil + light blur over the page while loading (also blocks clicks) */
#splash-screen::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1100;
  cursor: progress;
  background: rgba(15, 23, 42, 0.12);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* Inverz logo loader (video with a white background) */
#splash-screen .splash-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1101;
  width: min(285px, 64vw);
  height: auto;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.splash-spinner {
  animation: rotate 2s linear infinite;
  margin-left: calc(100vw - 100%);
  width: 50px;
  height: 50px;
}

.splash-spinner .path {
  stroke: #5d78ff;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
