body {
  background: #111;
  color: #fff;
  font-family: sans-serif;
  text-align: center;
  padding: 30px;
  position: relative;
  overflow-x: hidden;
}

h1 {
  color: #bb86fc;
}

.neon-text {
  font-size: 1.5em;
  font-weight: bold;
  color: #00d4b0;
  text-shadow: 0 0 3px #00d4b0, 0 0 6px #00d4b0, 0 0 12px #009e87;
  border: 2px solid #00bfa5;
  border-radius: 12px;
  padding: 10px 20px;
  display: inline-block;
  margin: 15px 0 25px;
  box-shadow: 0 0 5px #00bfa5, 0 0 15px rgba(0, 191, 165, 0.5);
}

/* Боковые неоновые линии */
.side-line {
  position: fixed;
  width: 4px;
  height: 100%;
  background: #00d4b0;
  top: 0;
  z-index: -1;
  animation: pulse 2s infinite;
}

.side-line.left {
  left: 0;
}
.side-line.right {
  right: 0;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

input[type="text"] {
  padding: 10px;
  border-radius: 8px;
  border: none;
  width: 300px;
  margin-bottom: 10px;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background: #6200ea;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%; /* добавлено для вертикального центрирования */
}

.btn:hover {
  background: #3700b3;
}

#message {
  margin-top: 15px;
  color: #0f0;
}

.ideas {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.idea {
  background: #222;
  padding: 15px;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  text-align: left;
}

/* Контейнер кнопок с равными промежутками */
.btn-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 20px;
  max-width: 600px;
  margin: 20px auto;
  justify-items: center;
}

.btn-container .btn {
  padding: 10px 10px;
  font-size: 16px;
  border-radius: 8px;
  width: 100%;
  height: 50px; /* фиксированная высота для выравнивания текста */
}

.btn-container .btn:nth-child(5) {
  grid-column: 1 / span 2;
  justify-self: center;
  width: 50%;
}
.btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative; /* Позволяем кнопке двигаться внутри сетки */
  z-index: 1;          /* Чтобы она не "резалась" другими элементами */
}

.btn:hover {
  background: #3700b3;
  transform: translateY(-5px); /* Подъём повыше */
  box-shadow: 0 0 15px #6200ea; /* Красивое неоновое свечение */
}
/* Адаптация для маленьких экранов */
@media (max-width: 500px) {
  .btn-container {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .btn-container .btn,
  .btn-container .btn:nth-child(5) {
    width: 90%;
    grid-column: 1;
  }

  input[type="text"] {
    width: 90%;
  }
}

