/* =========================================
   Секция Your Way
   ========================================= */
.your-way {
  width: 100%;
  background: linear-gradient(135deg, #150027 0%, #2D004F 100%);
  padding: 80px 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 700px;
}

/* Полупрозрачный белый квадрат */
.your-way__card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 60px;
  padding: 60px 40px;
  max-width: 1100px;
  width: 100%;
  text-align: center;
  color: #FFFFFF;
  position: relative; /* для частиц */
}

/* Заголовок */
.your-way__title {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 50px;
}

.your-way__title--white { color: #FFFFFF; }
.your-way__title--yellow { color: #FFCD02; }

/* Описание */
.your-way__desc {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 120px;
  color: rgba(255, 255, 255, 0.9);
}

/* Контейнер для двух колонок (овал + шаги) */
.your-way__content {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Одна колонка (овал + его шаги) */
.your-way__item {
  flex: 1 1 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Жёлтый овал */
.your-way__oval {
  position: relative;
  width: 310px;
  height: 150px;
  background: #FFCD02;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-bottom: 50px; /* место для кнопки */
}

/* Картинка внутри овала */
.your-way__oval-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin-bottom: 110px;
}

/* Кнопка */
.your-way__oval-btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  background: linear-gradient(180deg, #9142FF 0%, #3F0294 100%);
  color: #FFFFFF;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: opacity 0.2s;
  overflow: hidden;
  text-decoration: none; 
}

.your-way__oval-btn:hover { opacity: 0.9; }

/* Блик */
.your-way__oval-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%; }
}

/* Частицы */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.your-way-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #FFCD02;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 205, 2, 1), 0 0 25px rgba(255, 205, 2, 0.6);
  pointer-events: none;
  opacity: 1;
  animation: yourWayParticle 0.8s ease-out forwards;
}

@keyframes yourWayParticle {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.3); }
}

/* Шаги */
.your-way__steps {
  width: 100%;
  text-align: left;
}

.your-way__steps-title {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #FFCD02;
  margin-bottom: 16px;
}

.your-way__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.your-way__steps-list li {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.your-way__steps-list li span {
  color: #9142FF;
  font-weight: 600;
  min-width: 28px;
}

/* ==================== Адаптив ==================== */

/* ==================== Адаптив ==================== */

/* Планшеты (≤1024px) */
@media (max-width: 1024px) {
  .your-way {
    overflow-x: hidden;           /* запрещаем горизонтальный скролл */
  }
  .your-way__card {
    max-width: 90%;               /* отступы по 5% слева и справа */
  }
  .your-way__desc {
    margin-bottom: 80px;          /* больше воздуха перед овалами */
  }

  /* Перестраиваем в колонку, как на мобильных */
  .your-way__content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .your-way__item {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .your-way__oval {
    width: 260px;
    height: 130px;
    border-radius: 50px;
    margin-bottom: 50px;
    margin-top: 60px;             /* отступ сверху */
  }
  .your-way__oval-img {
    width: 180px;
    height: 180px;
    margin-bottom: 80px;
  }
  .your-way__oval-btn {
    font-size: 14px;
    padding: 10px 30px;
  }
  .your-way__steps-title {
    font-size: 20px;
  }
  .your-way__steps-list li {
    font-size: 15px;
  }
}

/* Мобильные (≤640px) */
@media (max-width: 640px) {
  .your-way {
    padding: 40px 15px;
    min-height: auto;
    overflow-x: hidden;           /* запрещаем горизонтальный скролл */
  }
  .your-way__card {
    padding: 40px 20px;
    max-width: 100%;
  }
  .your-way__title {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .your-way__desc {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .your-way__content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .your-way__item {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .your-way__oval {
    width: 220px;
    height: 110px;
    border-radius: 40px;
    margin-bottom: 50px;
    margin-top: 60px;
  }
  .your-way__oval-img {
    width: 170px;
    height: 170px;
    margin-bottom: 80px;
  }
  .your-way__oval-btn {
    font-size: 14px;
    padding: 8px 25px;
  }
  .your-way__steps-title {
    font-size: 18px;
  }
  .your-way__steps-list li {
    font-size: 14px;
  }
}