/* ==========================================================================
   DYNAMIC SPLASH SCREEN - AUTOPOD STUDIO
   Affiché à chaque ouverture d'application : uniquement l'icône au centre
   ========================================================================== */

#app-splash-screen {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #09090b;
  background-color: var(--bg-abyss, #09090b);
  z-index: 9999999;
  display: grid;
  place-items: center;
  transition: opacity 0.3s ease-out, visibility 0.3s;
  pointer-events: auto;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#app-splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Contenu central du splash : uniquement l'icône, remontée pour centrage optique */
.splash-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  width: auto;
  height: auto;
  transform: translateY(-32px);
}

.splash-logo-icon {
  width: clamp(165px, 38vw, 225px);
  height: clamp(165px, 38vw, 225px);
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transform-origin: center center;
  animation: splashIconPulse 2.4s ease-in-out infinite;
}

@keyframes splashIconPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 16px rgba(250, 204, 21, 0.3));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 32px rgba(249, 115, 22, 0.55));
  }
}
