/* 🔧 Сброс и базовая настройка */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
}

/* 🌌 Фон только для wrapper */
.wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;

  overflow: hidden;
  z-index: 0;
  background-color: transparent;
}

.wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/fon1.png') no-repeat left center;
  background-size: cover; /* растягивает по всей области */
  background-position: left center;
  background-color: #000; /* чёрный фон под изображением */
  filter: brightness(0.5); /* затемнение */
  z-index: -1;
}

/* 🌟 Заголовок */
.wrapper h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #e0e0ff;
  text-shadow:
    0 0 4px rgba(160, 160, 255, 0.4),
    0 0 8px rgba(160, 160, 255, 0.3),
    0 0 12px rgba(160, 160, 255, 0.2);
  margin-bottom: 1.5rem;
}

/* 🔘 Кнопки */
.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
}

.cta-button {
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  color: #e0e0ff;
  background: transparent;
  border: 2px dashed rgba(160, 160, 255, 0.5);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.cta-button:hover {
  border-color: #a0a0ff;
  background: rgba(160, 160, 255, 0.1);
  box-shadow: 0 0 8px rgba(160, 160, 255, 0.3);
  color: #ffffff;
}

/* 📱 Мобильная адаптация */
@media (max-width: 768px) {
  .wrapper {
    padding: 1.5rem;
    background-size: auto 100%;
    background-position: left center;
  }

  .wrapper h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}
