/* Splash Zaira — roxo + wordmark */
.zy-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom)
    env(safe-area-inset-left);
  background:
    radial-gradient(900px 480px at 50% 18%, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(160deg, #3d0768 0%, #560a91 46%, #6b14b0 100%);
  transition: opacity 0.48s ease, visibility 0.48s ease;
}

.zy-splash.zy-splash--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.zy-splash__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: min(240px, 62vw);
}

.zy-splash__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 76px;
  object-fit: contain;
  /* PNG com fundo preto some no roxo e deixa o wordmark branco */
  mix-blend-mode: screen;
  animation: zy-splash-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.zy-splash__bar {
  width: 56%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.zy-splash__bar::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  animation: zy-splash-bar 1.15s ease-in-out infinite;
}

@keyframes zy-splash-in {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes zy-splash-bar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(280%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zy-splash__logo,
  .zy-splash__bar::after {
    animation: none;
  }
}
