.header-aurora {
  background: linear-gradient(180deg, #0b1d3a, #1a4a6b);
  padding: 35px 0;
  position: relative;
  overflow: hidden;
}
.header-aurora::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 163, 0.3),
    rgba(0, 183, 255, 0.3),
    rgba(255, 0, 255, 0.3)
  );
  opacity: 0.4;
  animation: auroraGlow 15s ease-in-out infinite;
}
.header-aurora .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.header-aurora .logo img {
  max-height: 70px;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
  transition: transform 0.5s ease;
}
.header-aurora .logo img:hover {
  transform: rotate(360deg);
}
.header-aurora .nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-aurora .nav ul li a {
  font-size: 18px;
  font-weight: 600;
  color: #e0f7fa;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 10px;
  transition: all 0.4s ease;
  position: relative;
}
.header-aurora .nav ul li a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.5);
}
.header-aurora .nav ul li a::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00ffcc;
  transition: width 0.4s ease, transform 0.4s ease;
  transform: translateX(-50%);
}
.header-aurora .nav ul li a:hover::before {
  width: 80%;
}
@keyframes auroraGlow {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.modal {
  display: none; /* по умолчанию скрыто */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.modal.show {
  display: flex; /* когда добавлен класс show */
}

/* Содержимое модалки */
.modal-content {
  position: relative;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: popIn 0.3s ease;
}

/* Анимация появления */
@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Кнопка закрытия */
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #000;
}

/* Адаптив */
@media (max-width: 480px) {
  .modal-content {
    padding: 1rem;
  }
  .modal-close {
    font-size: 1.25rem;
  }
}
