/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(1200px 800px at 20% 20%, #6e29ab 0%, #4b187c 45%, #36006e 100%);
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  transition: opacity 0.5s ease-out, visibility 0.5s;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-brand {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-logo {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.25));
  animation: splash-logo-pulse 2.8s ease-in-out infinite;
}

.splash-shimmer {
  width: 160px;
  height: 8px;
  margin-top: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.splash-shimmer-bar {
  height: 100%;
  width: 40%;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(245, 240, 250, 0) 0%, rgba(245, 240, 250, 0.9) 50%, rgba(245, 240, 250, 0) 100%);
  animation: splash-shimmer 1.6s ease-in-out infinite;
}

.splash-progress {
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes splash-logo-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes splash-shimmer {
  0% {
    transform: translateX(-120%);
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(260%);
    opacity: 0.4;
  }
}
