/* Подключение шрифта Jaro */
@import url("https://fonts.googleapis.com/css2?family=Jaro:wght@400&family=Inter:wght@400;700&display=swap");

/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Основные стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jaro", "Inter", "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Фиксированный прозрачный хедер */
.header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  padding: 30px;
  display: flex;
  gap: 15px;
  margin-right: 50px;
}

.header-btn {
  border: none;
  background: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.header-btn img {
  width: 100px;
  height: 40px;
}

/* Стили для модального окна рефералов */
.referral-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.referral-modal-content {
  position: relative;
  background: linear-gradient(135deg, #1b5e20, #2e7d32, #388e3c, #2c6b2f);
  margin: 3% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: modalSlideIn 0.4s ease-out;
}

.faq-question {
  font-family: cursive !important;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.referral-modal-header {
  background: linear-gradient(135deg, #0d4f13, #1b5e20);
  padding: 25px 30px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.referral-modal-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 400;
  font-family: "Jaro", "Arial Black", sans-serif;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%) rotate(90deg);
}

.referral-modal-body {
  padding: 30px;
  color: #ffffff;
}

.referral-description {
  font-size: 1.1rem;
  font-family: "Jaro", "Arial", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.referral-section {
  margin-bottom: 25px;
}

.referral-label {
  font-size: 1.2rem;
  font-weight: 400;
  font-family: "Jaro", "Arial Black", sans-serif;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.referral-link-container {
  position: relative;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.referral-link {
  flex: 1;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: "Inter", monospace;
  outline: none;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.referral-link:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.copy-btn {
  padding: 12px 20px;
  background: linear-gradient(135deg, #43a047, #2e7d32);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: "Jaro", "Arial", sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.copy-btn:hover {
  background: linear-gradient(135deg, #4caf50, #388e3c);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.copy-btn:active {
  transform: translateY(0);
}

.rewards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.reward-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.reward-amount {
  font-size: 1.8rem;
  font-weight: 400;
  font-family: "Jaro", "Arial Black", sans-serif;
  color: #4caf50;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  margin-bottom: 5px;
}

.reward-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Jaro", "Arial", sans-serif;
}

.claim-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #43a047, #2e7d32);
  border: none;
  border-radius: 15px;
  color: #ffffff;
  font-size: 1.1rem;
  font-family: "Jaro", "Arial Black", sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.claim-btn:hover {
  background: linear-gradient(135deg, #4caf50, #388e3c);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.claim-btn:active {
  transform: translateY(-1px);
}

.claim-btn:disabled {
  background: linear-gradient(135deg, #666, #555);
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.claimed-info {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Jaro", "Arial", sans-serif;
  margin-bottom: 20px;
}

.referrals-count {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.referrals-count-text {
  font-size: 1.1rem;
  color: #ffffff;
  font-family: "Jaro", "Arial", sans-serif;
  font-weight: 400;
}

.referrals-number {
  font-size: 1.5rem;
  color: #4caf50;
  font-family: "Jaro", "Arial Black", sans-serif;
  font-weight: 400;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

/* Секции с разными фонами */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Добавлено для фиксации фона */
  position: relative;
  padding: 80px 0;
}
/* Фоны для каждой секции */
.section-1 {
  background-image: url("images/background.png");
}

.section-2 {
  background-image: url("images/background2.png");
}

.section-3 {
  background-image: url("images/background2.png");
}

.section-4 {
  /* Fallback градиент если видео не загрузится */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.section-5 {
  background-image: url("images/background3.png");
}

/* Видео-фон для четвертой секции */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Изображение mopeys внизу четвертой секции */
.mopeys-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 80%;
  height: auto;
}

/* Убеждаемся что контент поверх видео */
.section-4 .content-wrapper {
  position: relative;
  z-index: 2;
}

/* Темный оверлей для лучшей читаемости */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Контейнер для контента */
.content-wrapper {
  max-width: 1400px;
  width: 100%;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Контентные блоки */
.content-block {
  background: rgba(255, 255, 255, 0.9);
  padding: 60px 40px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 800px;
  margin: 0 auto;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

/* Специальный стиль для первого слайда */
.vartcall-title {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.vartcall-title h1 {
  /* Используем шрифт Jaro */
  font-family: "Jaro", "Arial Black", sans-serif;
  font-weight: 400;
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
  line-height: 0.9;
  letter-spacing: -3px;
}

.vartcall-title h1 {
  font-size: 120px;
}

.morpheus-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
  position: relative;
  z-index: 3;
  height: 100vh;
  padding-top: 15vh;
  /* Добавим relative позиционирование для контейнера кнопки */
}

.morpheus-title {
  font-family: "Jaro", "Arial Black", sans-serif;
  font-size: 80px;
  font-weight: 400;
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
  line-height: 0.9;
  letter-spacing: -2px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.morpheus-button {
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
  margin-top: auto; /* Прижимает к низу flex контейнера */
  margin-bottom: 50px; /* Отступ от низа */
  z-index: 11;
}

.morpheus-button:hover {
  transform: scale(1.05) translateY(-5px);
  filter: brightness(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.morpheus-button:active {
  transform: scale(0.98);
}

.morpheus-button img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Объединенный roadmap слайд */
.roadmap-combined {
  min-height: 150vh;
  padding: 80px 0 120px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.roadmap-flow {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 40px 0;
  margin-bottom: 80px;
}

.roadmap-flow .cards-container {
  margin-bottom: 0;
}

.roadmap-flow .icons-container {
  margin-top: 0;
  margin-bottom: 60px;
}

.roadmap-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.roadmap-title {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 400;
  font-family: "Jaro", "Arial Black", sans-serif;
  text-align: center;
  margin-bottom: 60px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

/* Кнопка внизу роадмапа */
.roadmap-bottom-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0 40px 0;
  position: relative;
  z-index: 10;
}

.roadmap-bottom-button .main-button {
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 1.2s forwards;
}

.roadmap-bottom-button .main-button:hover {
  transform: scale(1.05);
  filter: brightness(1.2) drop-shadow(0 0 20px rgba(0, 255, 136, 0.6));
}

.roadmap-bottom-button .main-button:active {
  transform: scale(0.98);
}

.roadmap-bottom-button .main-button img {
  display: block;
  max-width: 100%;

  border-radius: 10px;
  height: 70px;
}

.cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.card-left {
  grid-column: 1;
}

.card-left:first-child {
  grid-row: 1;
}

.card-left:nth-child(3) {
  grid-row: 3;
}

.card-right {
  grid-column: 2;
  grid-row: 2;
}

/* Контейнер для flip-эффекта */
.roadmap-flip-container {
  width: 500px;
  height: auto;
  margin: 0 auto;
  position: relative;
  cursor: pointer;
  border-radius: 15px;
  overflow: hidden;
}

.roadmap-item {
  width: 100%;
  height: auto;
  position: relative;
  /* Измените transition: */
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
  /* Добавьте: */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Стили для передней и задней стороны */
.roadmap-front,
.roadmap-back {
  width: 100%;
  height: auto;
  backface-visibility: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
  display: block;
  -webkit-backface-visibility: hidden;
}

.roadmap-front {
  position: relative;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.roadmap-back {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.roadmap-flip-container:hover .roadmap-front {
  opacity: 0;
}

.roadmap-flip-container:hover .roadmap-back {
  opacity: 1;
}

.roadmap-flip-container:hover .roadmap-front,
.roadmap-flip-container:hover .roadmap-back {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Анимация появления */
@keyframes fadeInUpFlip {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-left:first-child .roadmap-flip-container {
  animation-delay: 0.2s;
}

.card-right .roadmap-flip-container {
  animation-delay: 0.4s;
}

.card-left:nth-child(3) .roadmap-flip-container {
  animation-delay: 0.6s;
}

.icon-top-right .roadmap-flip-container {
  animation-delay: 0.8s;
}

.icon-bottom-left .roadmap-flip-container {
  animation-delay: 1s;
}

.main-button {
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.main-button:hover {
  transform: scale(1.05);
  filter: brightness(1.2) drop-shadow(0 0 20px rgba(0, 255, 136, 0.6));
}

.main-button:active {
  transform: scale(0.98);
}

.main-button img {
  display: block;
  max-width: 100%;
  height: 70px;
  border-radius: 10px;
}

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.content-block h1 {
  color: #333;
  margin-bottom: 25px;

  font-weight: 400;
  font-family: "Jaro", "Arial Black", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.content-block h2 {
  color: #2e7d32;
  margin-bottom: 25px;
  font-size: 2.8rem;
  font-weight: 400;
  font-family: "Jaro", "Arial Black", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Специальный стиль для заголовка FAQ */
.faq-block h2 {
  color: #03c20f !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  font-size: 3.2rem;
  font-weight: 400;
  font-family: "Jaro", "Arial Black", sans-serif;
  text-align: center;
  margin-bottom: 40px;
}

.content-block p {
  color: #555;
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Индикатор прокрутки */
.scroll-indicator {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.dot.active {
  background: white;
  transform: scale(1.3);
  border-color: white;
}

/* Стили для FAQ секции */
.faq-block {
  max-width: 1000px;
  text-align: left;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 50px;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
  background: linear-gradient(135deg, #2e7d32, #1b5e20, #388e3c);
  color: white;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: "Jaro", "Arial", sans-serif;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: linear-gradient(135deg, #1b5e20, #2e7d32, #2c6b2f);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  background: linear-gradient(135deg, #43a047, #2e7d32, #66bb6a);
  font-size: 1.1rem;
  font-family: "Jaro", "Arial", sans-serif;
  font-family: cursive;
  font-weight: 400;
  color: white;
  line-height: 1.6;
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item.active .faq-answer {
  padding: 20px 25px;
  max-height: 500px;
}

.faq-join-button {
  margin: 40px auto 0 auto;
  display: block;
}

/* Стили для иконок на третьем слайде */
.icons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  height: 500px;
}

.icon-top-right {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.icon-bottom-left {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

/* Адаптивные стили для мобильных устройств */

/* Планшеты и маленькие десктопы */
@media screen and (max-width: 1200px) {
  .content-wrapper {
    padding: 0 15px;
  }

  .vartcall-title h1 {
    font-size: 120px;
  }

  .roadmap-title {
    font-size: 3rem;
  }

  .morpheus-title {
    font-size: 70px;
  }

  .cards-container {
    gap: 40px;
    max-width: 900px;
  }

  .roadmap-flip-container {
    width: 400px;
  }
}

/* Планшеты */
@media screen and (max-width: 768px) {
  .header {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    margin-right: 20px;
    gap: 10px;
  }

  .header-btn img {
    width: 90px;
    height: 40px;
    flex-wrap: wrap;
  }

  .vartcall-title h1 {
    font-size: 100px;
    letter-spacing: -2px;
  }

  .morpheus-title {
    font-size: 50px;
    padding: 0 20px;
    text-align: center;
  }

  .roadmap-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .cards-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 30px;
    max-width: 500px;
  }

  .card-left,
  .card-right {
    grid-column: 1;
    grid-row: auto;
  }

  .roadmap-flip-container {
    width: 100%;
    max-width: 400px;
  }

  .icons-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    height: auto;
  }

  .icon-top-right,
  .icon-bottom-left {
    grid-column: 1;
    grid-row: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .content-block {
    padding: 40px 30px;
  }

  .content-block h1 {
    font-size: 6rem;
  }

  .content-block h2 {
    font-size: 2.2rem;
  }

  .faq-block h2 {
    font-size: 2.5rem;
  }

  .content-block p {
    font-size: 1.2rem;
  }

  .referral-modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .referral-modal-title {
    font-size: 1.5rem;
  }

  .rewards-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .morpheus-section {
    padding-top: 10vh;
    gap: 40px;
  }

  .morpheus-button {
    margin-bottom: 30px;
  }

  .main-button img {
    max-width: 400px;
  }
}

/* Мобильные устройства */
@media screen and (max-width: 480px) {
  .header {
    padding: 15px;
    margin-right: 10px;
    gap: 8px;
  }

  .header-btn img {
    width: 90px;
    height: 35px;
  }

  .vartcall-title h1 {
    font-size: 70px;
    letter-spacing: -1px;
  }

  .vartcall-title {
    gap: 30px;
  }

  .morpheus-title {
    font-size: 35px;
    margin-top: 200px;
    line-height: 1.1;
  }

  .section-4 {
    min-height: 60vh;
    height: 20vh;
  }

  .morpheus-button {
    margin-bottom: 500px;
  }

  .roadmap-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .roadmap-combined {
    min-height: 120vh;
    padding: 60px 0 80px 0;
  }

  .roadmap-flow {
    gap: 80px;
  }

  .cards-container {
    gap: 25px;
    max-width: 350px;
  }

  .roadmap-flip-container {
    width: 100%;
    max-width: 300px;
  }

  .icons-container {
    gap: 25px;
  }

  .content-block {
    padding: 30px 20px;
  }

  .content-block h1 {
    font-size: 4rem;
  }

  .content-block h2 {
    font-size: 1.8rem;
  }

  .faq-block h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .content-block p {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .faq-answer {
    font-size: 1rem;
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }

  .main-button img {
    max-width: 300px;
  }

  .referral-modal-content {
    width: 98%;
    margin: 2% auto;
    border-radius: 15px;
  }

  .referral-modal-header {
    padding: 20px;
  }

  .referral-modal-title {
    font-size: 1.3rem;
  }

  .modal-close {
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
  }

  .referral-modal-body {
    padding: 20px;
  }

  .referral-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .referral-label {
    font-size: 1.1rem;
  }

  .referral-link-container {
    flex-direction: column;
    gap: 10px;
  }

  .copy-btn {
    padding: 12px;
    width: 100%;
  }

  .rewards-container {
    gap: 8px;
  }

  .reward-box {
    padding: 15px;
  }

  .reward-amount {
    font-size: 1.5rem;
  }

  .reward-label {
    font-size: 0.8rem;
  }

  .claim-btn {
    padding: 12px;
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .claimed-info {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .referrals-count {
    padding: 12px;
  }

  .referrals-count-text {
    font-size: 1rem;
  }

  .referrals-number {
    font-size: 1.3rem;
  }

  .scroll-indicator {
    display: none;
  }

  .mopeys-image {
    width: 100%;
    bottom: -10px;
  }

  .roadmap-bottom-button {
    padding: 40px 0 20px 0;
  }
}

/* Очень маленькие мобильные устройства */
@media screen and (max-width: 360px) {
  .vartcall-title h1 {
    font-size: 60px;
  }

  .morpheus-title {
    font-size: 30px;
  }

  .roadmap-title {
    font-size: 1.8rem;
  }

  .content-block h1 {
    font-size: 3.5rem;
  }

  .content-block h2 {
    font-size: 1.6rem;
  }

  .faq-block h2 {
    font-size: 1.8rem;
  }

  .main-button img {
    max-width: 180px;
  }

  .roadmap-flip-container {
    max-width: 280px;
  }

  .content-block {
    padding: 25px 15px;
  }

  .morpheus-section {
    padding-top: 5vh;
  }
}

/* Адаптивность для видео-фона */
@media screen and (max-width: 768px) {
  .video-background {
    object-fit: cover;
    object-position: center center;
  }
}

/* Улучшение читаемости на мобильных */
@media screen and (max-width: 480px) {
  .section::before {
    background: rgba(0, 0, 0, 0.4);
  }
}

/* Ландшафтная ориентация мобильных устройств */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .morpheus-section {
    padding-top: 2vh;
    gap: 20px;
  }

  .morpheus-title {
    font-size: 25px;
  }

  .morpheus-button {
    margin-bottom: 10px;
  }

  .main-button img {
    max-width: 150px;
  }

  .vartcall-title h1 {
    font-size: 50px;
  }

  .vartcall-title {
    gap: 20px;
  }
}
