#splash-screen {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #1b1919;
}

#splash-screen img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #e0f0ff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.spinner-neon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  position: relative;
  transform: rotateZ(45deg);
  perspective: 1000px;
  filter: drop-shadow(0 0 10px #00973966) drop-shadow(0 0 22px #FFDF0033);
}

.spinner-neon::before,
.spinner-neon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: block;
  transform: rotateX(70deg);
  animation: atomicSpin 1.2s linear infinite;
  color: #009739;
}

.spinner-neon::after {
  transform: rotateY(70deg);
  animation-delay: 0.4s;
  color: #FFDF00;
}

@keyframes atomicSpin {
  0%, 100% { box-shadow: 0.2em 0 0 0 currentcolor; }
  12% { box-shadow: 0.2em 0.2em 0 0 currentcolor; }
  25% { box-shadow: 0 0.2em 0 0 currentcolor; }
  37% { box-shadow: -0.2em 0.2em 0 0 currentcolor; }
  50% { box-shadow: -0.2em 0 0 0 currentcolor; }
  62% { box-shadow: -0.2em -0.2em 0 0 currentcolor; }
  75% { box-shadow: 0 -0.2em 0 0 currentcolor; }
  87% { box-shadow: 0.2em -0.2em 0 0 currentcolor; }
}
