#sp-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#sp-loader.sp-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sp-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
  width: 100%;
  max-width: 600px;
}

.sp-logo {
  width: min(420px, 80vw);
  animation: spFadeIn 0.6s ease both;
}

.sp-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.sp-bar-wrap {
  width: min(360px, 70vw);
  height: 2px;
  background: rgba(30, 40, 100, 0.12);
  border-radius: 99px;
  overflow: hidden;
  animation: spFadeIn 0.4s 0.4s ease both;
  opacity: 0;
}

.sp-bar {
  height: 100%;
  border-radius: 99px;
  background: #1e2864;
  animation: spSweep 1.8s ease-in-out infinite;
}

@keyframes spFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spSweep {
  0%   { width: 0%;  margin-left: 0; }
  50%  { width: 65%; margin-left: 15%; }
  100% { width: 0%;  margin-left: 100%; }
}