body fuse-splash-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: #ffffff;
  /* plain white background */
  color: #0f172a;
  z-index: 999999;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo with floating animation */
body fuse-splash-screen img {
  filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.6));
  /* teal glow */
  animation: logoFloat 3s ease-in-out infinite;
}

/* Cinematic Shimmering Project Name */
body fuse-splash-screen h1 {
  margin-top: 24px;
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(115deg,
      #0d9488 0%,
      /* teal-600 */
      #14b8a6 25%,
      /* teal-500 */
      #2dd4bf 50%,
      /* teal-400 */
      #5eead4 75%,
      /* teal-300 */
      #0d9488 100%
      /* teal-600 */
    );
  background-size: 300% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s linear infinite, fadeIn 1.2s ease-in-out;
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.25),
    0 0 20px rgba(13, 148, 136, 0.15);
}

/* Double Spinner (outer + inner) */
body fuse-splash-screen .spinner {
  position: relative;
  margin-top: 40px;
  width: 60px;
  height: 60px;
}

body fuse-splash-screen .spinner::before,
body fuse-splash-screen .spinner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 4px solid transparent;
}

body fuse-splash-screen .spinner::before {
  inset: 0;
  border-top-color: #14b8a6;
  border-right-color: rgba(13, 148, 136, 0.6);
  animation: spin 1.1s linear infinite;
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.3);
}

body fuse-splash-screen .spinner::after {
  inset: 8px;
  border-bottom-color: #2dd4bf;
  border-left-color: rgba(94, 234, 212, 0.5);
  animation: spinReverse 1.6s linear infinite;
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.25);
}

/* Animations */
@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}


/* Disable scroll while loading */
body:not(.fuse-splash-screen-hidden) {
  overflow: hidden;
}

/* Hide splash screen when loaded */
body.fuse-splash-screen-hidden fuse-splash-screen {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}