/* =========================================
   Секция Good Place
   ========================================= */
.good-place {
  position: relative;
  width: 100%;
  padding: 80px 0;          /* отступы сверху и снизу */
  overflow: hidden;
}

/* Фоновое изображение с наложением (как в предыдущих секциях) */
.good-place::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #150027;
  background-image: url('../../img/podval.png');
  background-repeat: no-repeat;
  background-position: center -80px;
  background-size: cover;
  background-attachment: scroll;
  background-blend-mode: overlay;
  pointer-events: none;
}

.good-place__inner {
  position: relative;
  z-index: 1;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 74px;                /* расстояние между текстом и иконкой */
}

/* Контент слева */
.good-place__content {
  text-align: left;  
  max-width: 600px;
}

.good-place__text {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.good-place__highlight {
  color: #FFCD02;
}

/* Кнопка */
.good-place__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 60px;
  background: linear-gradient(180deg, #9142FF 0%, #3F0294 100%);
  color: #FFFFFF;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 30px;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

/* Блик (как в блоке "ваш путь") */
.good-place__btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  animation: btnShine 3.5s ease-in-out infinite;
}

@keyframes btnShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* При наведении – волшебное свечение и градиент */
.good-place__btn:hover {
  background: linear-gradient(180deg, #FFCD02 0%, #A18F07 100%);
  color: #1C1C1C;
  box-shadow: 0 0 25px rgba(255, 205, 2, 0.6);
  opacity: 1;
}

/* Иконка справа */
.good-place__image {
  flex-shrink: 0;
}

.good-place__icon {
  height: 330px;
  width: auto;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}


/* Адаптив */
@media (max-width: 1024px) {
  .good-place {
    padding: 80px 0;
  }
  .good-place__inner {
    gap: 40px;
  }
  .good-place__icon {
    height: 250px;
  }
  .good-place__btn {
    width: 280px;
    height: 55px;
  }
}

@media (max-width: 768px) {
  .good-place__inner {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .good-place__content {
    max-width: 100%;
    text-align: center;
  }
  .good-place__text {
    font-size: 18px;
  }
  .good-place__btn {
    width: 100%;
    max-width: 340px;
  }
  .good-place__icon {
    height: 200px;
  }
}