/* === Блокировка скролла, пока сплэш активен === */
.sp-splash-lock {
  overflow: hidden !important;
  touch-action: none;
}

/* === Полноэкранный оверлей === */
.sp-splash{
  position: fixed;
  inset: 0;
  background: #FF8900;                 /* фирменный оранжевый */
  display: grid;
  place-items: center;
  z-index: 9999;
  /* старт видимый */
  opacity: 1;
  pointer-events: all;
  transition: opacity .42s ease, visibility .42s ease;
}
.sp-splash.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Внутренняя компоновка */
.sp-splash-inner{
  display: grid;
  gap: 18px;
  justify-items: center;
  transform: translateZ(0);
  will-change: transform, filter;
  animation: spEnter .55s cubic-bezier(.2,.9,.2,1) both;
}

/* Лёгкий «поп-ин» появления */
@keyframes spEnter{
  from{ transform: scale(.96); filter: blur(1px); opacity: .0; }
  to  { transform: scale(1.0); filter: blur(0);  opacity: 1; }
}

/* === Логотип === */
.sp-splash-logo{
  position: relative;
  width: clamp(180px, 38vw, 320px);
  aspect-ratio: 3 / 1;                 /* держим пропорции */
  display: grid;
  place-items: center;
  /* filter: drop-shadow(0 6px 16px rgba(0,0,0,.20)); */
}
.sp-splash-logo img{
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  animation: spLogoPulse 1.6s ease-in-out .25s infinite;
  transform-origin: center;
}
@keyframes spLogoPulse{
  0%,100%{ transform: scale(1); }
  50%   { transform: scale(1.02); }
}

/* === Кольцо-прогресс (тракторное колесо) === */
.sp-splash-ring{
  width: clamp(48px, 8vw, 72px);
  height: clamp(48px, 8vw, 72px);
  border-radius: 50%;
  position: relative;
  background:
    conic-gradient(#ffffff 0 25%, rgba(255,255,255,.35) 25% 100%);
  mask:
    radial-gradient(closest-side, transparent 60%, #000 61%);
  animation: spWheel 1.1s linear infinite;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
@keyframes spWheel{
  to{ transform: rotate(360deg); }
}

/* Подпись */
.sp-splash-caption{
  font-size: clamp(14px, 2.8vw, 16px);
  font-weight: 700;
  letter-spacing: .4px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  position: relative;
}

/* Бегущая «борозда» под подписью */
.sp-splash-caption::after{
  content:"";
  display:block;
  height: 3px;
  width: 120px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, rgba(255,255,255,.15), #fff, rgba(255,255,255,.15));
  background-size: 200% 100%;
  animation: spShimmer 1.2s linear infinite;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
@keyframes spShimmer{
  0%{ background-position: 200% 0; }
  100%{ background-position: 0% 0; }
}

/* Чуткий режим: без анимаций */
@media (prefers-reduced-motion: reduce){
  .sp-splash-inner,
  .sp-splash-logo img,
  .sp-splash-ring,
  .sp-splash-caption::after{
    animation: none !important;
  }
}

/* Небольшая адаптация высоты на очень маленьких экранах */
@media (max-height: 420px){
  .sp-splash-inner{ gap: 12px; }
  .sp-splash-caption::after{ width: 96px; }
}
