/* === Лоадер === */
.fullscreen-loader {
  position: fixed;
  inset: 0;
  background: #0d0d0d;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  overflow: hidden;
}

.fullscreen-loader::before {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  background: url('/Фон/neonix.png') no-repeat center/contain;
  opacity: 0;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  animation: logoAppear 1.5s ease forwards;
}

@keyframes logoAppear {
  0% { transform: translate(-50%, -50%) translateY(-170px) scale(0.5); opacity: 0; }
  50% { transform: translate(-50%, -50%) translateY(-170px) scale(1.05); opacity: 1; }
  100% { transform: translate(-50%, -50%) translateY(-170px) scale(1); opacity: 0; }
}

@media (max-width: 768px) {
  .fullscreen-loader::before {
    width: 280px;
    height: 280px;
  }
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.dots {
  display: flex;
  gap: 12px;
}

.dots div {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #4facfe, #f093fb);
  border-radius: 50%;
  animation: bounce 0.5s infinite alternate;
}

.dots div:nth-child(2) { animation-delay: 0.1s; }
.dots div:nth-child(3) { animation-delay: 0.2s; }

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

.loader-text {
  color: #fff;
  font-size: 20px;
  text-shadow: 0 0 8px #4facfe, 0 0 16px #f093fb;
  animation: glow 1.2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% { text-shadow: 0 0 4px #4facfe, 0 0 8px #f093fb; }
  100% { text-shadow: 0 0 12px #4facfe, 0 0 24px #f093fb; }
}
