/* SPLASH SCREEN */
#splash {
  position: fixed;
  inset: 0;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 24px;
}

/* Conteneur du logo complet */
.splash-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Icône (hexagone MSG) */
.splash-icon {
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.splash-icon img {
  width: 200px;
  height: auto;
  display: block;
}

/* Texte + ligne (MyStyleGuide) */
.splash-wordmark {
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.7s ease 0.5s,
    transform 0.7s ease 0.5s;
}
.splash-wordmark img {
  width: 360px;
  height: auto;
  display: block;
}

/* Tagline */
.splash-tagline {
  opacity: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 25px;
  color: #9090b0;
  letter-spacing: 0.5px;
  transition: opacity 0.6s ease;
}

/* États visibles */
#splash.icon-visible .splash-icon {
  opacity: 1;
  transform: scale(1);
}
#splash.wordmark-visible .splash-wordmark {
  opacity: 1;
  transform: translateX(0);
}
#splash.tagline-visible .splash-tagline {
  opacity: 1;
}

/* Fondu sortant */
#splash.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
