#app-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0b1020;
  transition: opacity 0.35s ease;
}

#app-splash.hidden {
  opacity: 0;
  pointer-events: none;
}

#app-splash img {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.35);
}

#app-splash .bar {
  margin-top: 20px;
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

#app-splash .bar > span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  border-radius: 999px;
  animation: splash-loading 1.1s infinite ease-in-out;
}

#app-splash .label {
  margin-top: 12px;
  color: #cbd5e1;
  font: 500 13px/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
}

@keyframes splash-loading {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}
