/* Сплеш дизайна v2 «Ink» (docs/design-system-ink-2026-07-18.md, §4.7): чернильная сцена,
   циановый вордмарк и мягкое свечение — те же фирменные цвета, что на входе (auth)
   и в сайднаве кабинета. Разметка — в apps/<app>/src/index.html внутри <aiins-splash-screen>. */

body aiins-splash-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: #0f172a;
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  /* transition скрытия — в index.html на правиле с .aiins-splash-screen-hidden; показ обязан быть мгновенным */
  overflow: hidden;
}

.aiins-splash {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Мягкое циановое свечение-ореол позади вордмарка */
.aiins-splash__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 252, 0.14), transparent 70%);
  filter: blur(30px);
  animation: aiins-splash-glow 5s ease-in-out infinite;
}

.aiins-splash__wordmark {
  position: relative;
  height: 44px;
  width: auto;
  opacity: 0.95;
}

.aiins-splash__caption {
  position: relative;
  color: #94a3b8;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  animation: aiins-splash-pulse 2.4s ease-in-out infinite;
}

@keyframes aiins-splash-glow {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes aiins-splash-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@media (max-height: 480px) {
  .aiins-splash {
    gap: 16px;
  }

  .aiins-splash__wordmark {
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aiins-splash__glow,
  .aiins-splash__caption {
    animation: none;
  }
}
