/* Фон страницы */
body {
  background: #0a0a0a;
  color: #ccc;
 font-family: 'Arial', 'Helvetica', sans-serif;
  position: relative;
  overflow-x: hidden;
  padding-top: 70px; /* отступ под меню */
}
 
 
/* Фон-картинка с размытием */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets_task_01jxwecwnxf2qte4w0hxnsn5es_1750080175_img_0.webp') no-repeat center center fixed;
  background-size: cover;
  filter: blur(10px) brightness(0.4);
  z-index: -1;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  color: #00ccff;
  text-shadow: 0 0 5px #00ccff, 0 0 10px #00ccff;
  font-weight: 600;
}

/* Неоновый текст */
.text-neon {
  color: #00ccff !important;
  font-weight: 700;
  font-size: 1.6rem;
  text-shadow:
    0 0 5px #00ccff,
    0 0 10px #00ccff,
    0 0 20px #00aaff;
  letter-spacing: 1px;
  user-select: none;
}

/* Анимация неона (по желанию) */
.glow-anim {
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 10px #00ccff, 0 0 20px #00aaff;
  }
  50% {
    text-shadow: 0 0 20px #00ccff, 0 0 30px #00aaff;
  }
}

/* Кнопки */
.btn-neon {
  border: 2px solid #00ccff;
  color: #00ccff;
  background: transparent;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px #00ccff, 0 0 10px #00ccff;
  margin-left: 8px;
  cursor: pointer;
}

.btn-neon:hover,
.btn-neon:focus {
  background-color: #00ccff;
  color: #0a0a0a;
  box-shadow: 0 0 15px #00ccff, 0 0 30px #0099cc;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px #00ccff;
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 0 30px #00ccff;
  }
}

/* Навигация */
.navbar-custom {
  background: rgba(10, 10, 10, 0.85);
  border-bottom: 1px solid rgba(0, 204, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Poppins', sans-serif;
  z-index: 1050;
}

.navbar-custom.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 0 30px rgba(0, 204, 255, 0.6);
}

.navbar-nav {
  align-items: center;
  margin-right: 40px;
}

.navbar-nav .nav-link {
  color: #66d1ff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 15px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #00ccff !important;
  text-shadow: 0 0 8px #00ccff, 0 0 15px #00aaff;
}

.auth-buttons {
  margin-left: 40px;
}

/* Фиксированный header */
header.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('assets_task_01jxwc4kkceseawrzecz14zgpk_1750077730_img_1.webp') no-repeat center center;
  background-size: cover;
  color: #fff;
  animation: zoom 30s ease-in-out infinite alternate;
}

header.section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 0;
}

header.section .container {
  position: relative;
  z-index: 1;
}

@keyframes zoom {
  0% { background-size: 100%; }
  100% { background-size: 110%; }
}

/* Разделы */
.section {
  padding: 60px 0;
}

/* Стеклянные карточки */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,204,255,0.3);
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,204,255,0.1);
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0,204,255,0.6);
}

/* FAQ */
#faq .btn-link {
  background: rgba(0, 204, 255, 0.1);
  color: #00ccff;
  font-size: 18px;
  font-weight: 600;
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,204,255,0.3);
  transition: background 0.3s, color 0.3s;
  border: none;
}

#faq .btn-link:hover,
#faq .btn-link:focus {
  background: rgba(0,204,255,0.2);
  color: #00ccff;
  box-shadow: 0 0 20px #00ccff;
  text-decoration: none;
  outline: none;
}

#faq .card-body {
  font-size: 16px;
  color: #ccc;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 10px 10px;
  box-shadow: inset 0 0 10px rgba(0,204,255,0.2);
}

/* Collapse для отзывов */
.collapse-reviews {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}
.collapse-reviews.open {
  max-height: 3000px;
  opacity: 1;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #00ccff;
  padding: 20px 0;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 0 10px #00ccff33;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  gap: 30px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: #00ccff;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
  text-shadow: 0 0 5px #00ccff;
}

.footer-link:hover {
  color: #fff;
  text-shadow: 0 0 15px #00ccff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 400;
  text-shadow: 0 0 5px #00ccff;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: #00ccff;
  font-size: 18px;
  transition: 0.3s;
}

.social-icon:hover {
  color: #fff;
  text-shadow: 0 0 15px #00ccff;
}

/* Адаптивное меню */
@media (max-width: 991.98px) {
  /* Контейнер навигации */
  .navbar-nav {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .navbar-nav .nav-item {
    margin: 5px 0;
  }

  /* Кнопки авторизации */
  .auth-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0 0;
  }

  .auth-buttons .btn {
    width: 90%;
    margin: 5px 0;
  }

  /* Бургер показывается (ничего не скрываем) */
}
@media (max-width: 991.98px) {
  /* Центрируем кнопку меню */
  .navbar-toggler {
    margin: 0 auto;
    display: block;
    float: none;
  }
}
