/* Экран загрузки при первом запуске */
.splash {
  position: fixed;
  inset: 0;
  z-index: var(--z-splash);
  background: linear-gradient(160deg, #0D2137 0%, #1B5FA8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

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

.splash-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: brightness(1.1);
  animation: splashLogo 1s var(--ease-out) both;
}

.splash-title {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  animation: splashText 0.8s var(--ease-out) 0.2s both;
}

.splash-line {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  margin-top: 24px;
  animation: splashLine 0.6s var(--ease-out) 0.5s both;
}

@keyframes splashLogo {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splashText {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splashLine {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
