/* Splash inicial — visible hasta que React monta */
#pyko-splash {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #1E40AF 0%, #1E3A8A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  color: #fff;
  font-family: "Figtree", system-ui, sans-serif;
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
  /* respetar safe areas si la app está instalada */
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
#pyko-splash.fade-out {
  opacity: 0;
  pointer-events: none;
}
#pyko-splash .pyko-splash-logo {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  /* logo subido (white-label) servido como <img>: respetar proporción */
  object-fit: contain;
  /* sutil flotación */
  animation: pyko-splash-float 2s ease-in-out infinite;
}
#pyko-splash .pyko-splash-name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1;
}
#pyko-splash .pyko-splash-tagline {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.01em;
}
#pyko-splash .pyko-splash-spinner {
  margin-top: 32px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: pyko-splash-spin 0.8s linear infinite;
}
@keyframes pyko-splash-spin {
  to { transform: rotate(360deg); }
}
@keyframes pyko-splash-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
