#preloader {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  display: flex;
  gap: 10px;
}

.loader .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #962727;
}

/* Вариант 1: Прыгающие точки (текущий) */
.loader.slide .dot {
  animation: slide 1.4s infinite ease-in-out both;
}
.loader.slide .dot:nth-child(2) { animation-delay: -1.2s; }
.loader.slide .dot:nth-child(3) { animation-delay: -1.0s; }

/* Вариант 2: Пульсирующие точки */
.loader.pulse .dot {
  animation: pulse 1.4s infinite ease-in-out both;
}
.loader.pulse .dot:nth-child(2) { animation-delay: -1.2s; }
.loader.pulse .dot:nth-child(3) { animation-delay: -1.0s; }

/* Вариант 3: Вращающиеся точки */
.loader.spin .dot {
  animation: spin 1.4s infinite ease-in-out both;
}
.loader.spin .dot:nth-child(2) { animation-delay: -1.2s; }
.loader.spin .dot:nth-child(3) { animation-delay: -1.0s; }

/* Вариант 4: Мерцающие точки */
.loader.blink .dot {
  animation: blink 1.4s infinite ease-in-out both;
}
.loader.blink .dot:nth-child(2) { animation-delay: -1.2s; }
.loader.blink .dot:nth-child(3) { animation-delay: -1.0s; }

/* Вариант 5: Растягивающиеся точки */
.loader.stretch .dot {
  animation: stretch 1.4s infinite ease-in-out both;
}
.loader.stretch .dot:nth-child(2) { animation-delay: -1.2s; }
.loader.stretch .dot:nth-child(3) { animation-delay: -1.0s; }

/* Вариант 6: Волна */
.loader.wave .dot {
  animation: wave 1.4s infinite ease-in-out both;
}
.loader.wave .dot:nth-child(2) { animation-delay: -1.2s; }
.loader.wave .dot:nth-child(3) { animation-delay: -1.0s; }

/* Вариант 7: Отскок */
.loader.bounce .dot {
  animation: bounce 1.4s infinite ease-in-out both;
}
.loader.bounce .dot:nth-child(2) { animation-delay: -1.2s; }
.loader.bounce .dot:nth-child(3) { animation-delay: -1.0s; }

/* Анимации */
@keyframes slide {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

@keyframes spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes stretch {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(2); }
}

@keyframes wave {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.2); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(0.8); }
}