/*
  Splash screen (index.html) restyled with the Iteiga reference design
  system (see css/style.css for the shared tokens/fonts) instead of the
  old black/cyan matrix look. Layout mechanics (fixed canvas, centered
  stage, fade-in timing hooks) are unchanged from the previous splash.css
  so src/splash.js keeps working as-is.
*/

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--color-navy-950);
}

#splash-bg {
  position: fixed;
  inset: 0;
  display: block;
}

.splash-stage {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  padding: 0 24px;
}

.splash-logo {
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 2.2s ease, transform 2.2s ease;
}

.splash-logo.visible {
  opacity: 1;
  transform: scale(1);
}

.splash-logo a { display: block; }

.splash-logo img {
  display: block;
  width: min(50vw, 320px);
  height: auto;
  cursor: pointer;
  filter: drop-shadow(0 0 46px rgba(47, 123, 240, 0.4));
  transition: opacity 0.2s ease;
}

.splash-logo img:hover { opacity: 0.88; }

.splash-tagline {
  pointer-events: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-ink-300);
  margin: -12px 0 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}

.splash-tagline.visible {
  opacity: 1;
  transform: translateY(0);
}

.splash-cta {
  pointer-events: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease, border-color 0.2s ease, background 0.2s ease;
  margin-top: 12px;
}

.splash-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.splash-more {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 10px);
  z-index: 3;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease, border-color 0.2s ease, background 0.2s ease;
}

.splash-more.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
