/* Контейнер */
.myModal-container {
  display: flex;        /* flex-контейнер */
  flex-direction: row;  /* расположение в строчку */
  justify-content: center; /* выравнивание по центру */
  gap: 20px;            /* расстояние между кнопками */
  margin-top: 20px;     /* отступ сверху при необходимости */}

<style>
  .lang-switch {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px !important;
    padding: 6px 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    user-select: none !important;
    color: #fff !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    text-decoration: none !important;
  }

  .lang-switch:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: scale(1.05) !important;
  }

  .flag img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: block !important;
  }
/* ======================== */
/* Кнопки вызова модальных окон */
/* ======================== */
.myModal-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 50px 0;
}

/* Кнопка вызова модального окна */
.myModal-main-btn {
  position: relative;
  padding: 14px 70px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  cursor: pointer;
  border: none;
  clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
  transition: all 0.4s ease;
  letter-spacing: 1px;
  overflow: hidden;
  z-index: 0;
}

/* Градиентная рамка вокруг кнопки */
.myModal-main-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ffae00, #ff00ff);
  z-index: -1;
  clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
  transition: all 0.4s ease;
}

/* Внутренняя область кнопки (делаем “рамку”) */
.myModal-main-btn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #1a1a1a; /* цвет фона сайта */
  clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
  z-index: -1;
  transition: all 0.4s ease;
}

/* При наведении кнопка заполняется градиентом */
.myModal-main-btn:hover::after {
  background: linear-gradient(90deg, #ffae00, #ff00ff);
}

.myModal-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}
@keyframes myModal-gradientShift {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* ======================== */
/* Модальные окна */
/* ======================== */
/* Модальные окна */
.myModal-modal {
  position: fixed; /* уже фиксированное */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999; /* поверх всего сайта */
}
.myModal-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Контент модального окна */
.myModal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  min-height: 300px;
  border-radius: 16px;
  background-color: rgba(128,128,128,0.5);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  color: #fff;
  box-sizing: border-box;
  transform: translateY(-50px);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.myModal-modal.active .myModal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Крестик закрытия */
.myModal-close-icon {
  position: absolute;
  top:15px;
  right:15px;
  font-size:24px;
  font-weight:bold;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}
.myModal-close-icon:hover { color: #e74c3c; transform: rotate(90deg); }

/* Кнопки внутри модального окна */
.myModal-download-buttons {
  display:flex;
  flex-wrap: wrap;
  gap:20px;
  justify-content:center;
}

.myModal-download-btn {
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 20px;
  font-size:16px;
  font-weight:600;
  border:none;
  border-radius:50px;
  cursor:pointer;
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color:#fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
}
.myModal-download-btn:hover {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  transform: translateY(-2px) scale(1.05);
}
.myModal-download-btn img { width:24px; height:24px; }
