/* Fullscreen splash overlay */
#ns-splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;

  /* Dynamic color from JS will apply here */
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
}

/* Fade-out state */
#ns-splash-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Splash image */
.ns-splash-image {
  max-width: 50vw;
  max-height: 50vh;
  margin-bottom: 5px;

  /* Logo fade + zoom */
  animation: splashZoom 1.2s ease-in-out forwards;
}

/* Image zoom/fade keyframes */
@keyframes splashZoom {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.85);
  }
}
