@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #b06ab3, #4568dc);
  background-attachment: fixed; 
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Лава-пузырьки */
.lava-bg {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}

.lava-bg span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), rgba(255,255,255,0) 70%);
  animation: lavaMove 20s linear infinite, blobMorph 12s ease-in-out infinite alternate;
}

/* ===== МЕНЮ ===== */
header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 0;
  font-weight: 400;
  font-size: 18px;
  gap: 50px;
}

header nav {
  display: flex;
  gap: 50px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

header nav a:hover {
  opacity: 0.8;
}

/* ===== ГЛАВНЫЙ КОНТЕНТ ===== */
.hero {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center; /* горизонтальное центрирование */
  align-items: center;     /* вертикальное центрирование */
  width: 100%;
  min-height: calc(100vh - 80px); /* учитываем меню */
  padding: 0 20px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  gap: 20px; 
  transition: transform 0.3s ease;

  /* поднимаем контент чуть выше центра */
  transform: translateY(-5%);
}

.hero-text:hover {
  transform: translateY(-6%);
}

.hero-text h1 {
  font-size: 48px;
  margin: 0;
  font-weight: 600;
  text-align: center;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

/* уменьшенная картинка alien */
.hero-text .alien {
  max-width: 250px;
  transition: transform 0.6s ease;
}

.hero-text .alien:hover {
  transform: scale(1.05) rotate(2deg);
}

/* ===== КНОПКА (старый градиентный дизайн) ===== */
#start-btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(145deg, #9b4fff, #d85fff);
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0,0,0,0.3);
}

/* ===== Add New Set ===== */

.add-new {
  /* здесь карточка уже, скорее всего, стилизована у тебя как квадрат,
     если что — можно скопировать стиль от .set-item */
  cursor: pointer;
}

.input-area {
  display: none;              /* по умолчанию скрыта */
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
}

.input-area.visible {
  display: flex;              /* показываем при клике */
}

.input-area input[type="text"] {
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  max-width: 260px;
}

.input-area button {
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(145deg, #9b4fff, #d85fff);
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}


/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 900px) {
  .hero {
    min-height: calc(100vh - 60px);
  }

  .hero-text {
    width: 90%;
    gap: 15px;
    transform: translateY(-3%); /* чуть ниже на мобильных */
  }

  .hero-text .alien {
    max-width: 180px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }
}
