/* Splash Screen Component Style */

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 250ms ease-in-out;
  pointer-events: none; /* Block clicks/interactions during transition, hide handles physical removal */
}

.splash-screen.visible {
  opacity: 1;
  pointer-events: auto;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(90vw, 360px);
}

.splash-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(73, 114, 243, 0.25));
  animation: splash-logo-pulse 2.5s ease-in-out infinite alternate;
}

.splash-status {
  color: var(--text, #ffffff);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.splash-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.splash-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary, #4972F3), var(--accent, #D925D2));
  width: 0%;
  border-radius: 4px;
  transition: width 200ms ease;
}

.splash-hint {
  color: var(--muted, #8a8d93);
  font-size: 12px;
  text-align: center;
  opacity: 0.8;
  max-width: 90%;
  line-height: 1.4;
}

.splash-hint[hidden] {
  display: none !important;
}

@keyframes splash-logo-pulse {
  0% {
    transform: scale(0.97);
    filter: drop-shadow(0 4px 15px rgba(73, 114, 243, 0.15));
  }
  100% {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 25px rgba(73, 114, 243, 0.35));
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .splash-logo {
    width: 80px;
    height: 80px;
  }
  .splash-content {
    gap: 24px;
  }
}
