/* Базовые стили для html и body */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
/* Обёртка для flex-раскладки: шапка, основной контент и футер */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Основной контент занимает всё доступное пространство */
.main-content {
  flex: 1;
}
/* Общие стили */
body {
  font-family: 'Roboto', sans-serif;
  background: url('images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
}

/* Шапка сайта */
.site-header {
  position: relative;
  height: 170px;
}
.header-bg {
  position: relative;
  height: 75%;
  background-color: rgba(25,25,25,1.0);
}
.header-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -3px;
  padding: 0 0 5px 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(30,30,30,1) 0%,
    rgba(30,30,30,0.3) 10%,
    rgba(30,30,30,1) 20%,
    rgba(30,30,30,0.7) 30%,
    rgba(30,30,30,1) 40%,
    rgba(30,30,30,0.4) 50%,
    rgba(30,30,30,1) 60%,
    rgba(30,30,30,0.2) 70%,
    rgba(30,30,30,1) 80%,
    rgba(30,30,30,0.5) 90%,
    rgba(30,30,30,1) 100%
  );
  background-size: 300% auto;
  animation: flicker 4s ease-in-out infinite;
  pointer-events: none;
  -webkit-mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  -webkit-mask-composite: destination-out;
          mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  mask-composite: exclude;
}

.header-left, 
.header-center, 
.header-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.header-left {
  left: 5%;
}
.header-logo-img {
  vertical-align: middle;
  height: 70px;
  width: 70px;
  transition: transform 0.3s ease;
}
.header-logo-img:hover {
  transform: scale(1.2);
}
.header-right {
  right: 5%;
}
.lang-switch {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}
.lang-switch:hover {
  transform: scale(1.2);
}
.lang-icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}
.header-center {
  left: 50%;
  transform: translate(-50%, -60%);
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  padding: 20px 10px;
}
.header-tagline {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 10%);
  bottom: 20px;
  text-align: center;
}
.header-description {
  font-size: 1.2rem;
  color: #e3e3e3;
  line-height: 1.4;
}



/* Новый блок для кнопки "Скачать Лоадер" */
.header-loader {
  position: absolute;
  top: 50%;
  left: 70%;;  /* Можно корректировать по необходимости */
  transform: translateY(-50%);
}

.header-loader-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  background-color: #4caf50;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.header-loader-button:hover {
  transform: scale(1.2);
  background-color: #42a84c;
  box-shadow: 0 0 15px 4px rgba(76, 175, 80, 0.8);
}









/* Основной контейнер с контентом */
.content-container {
  width: 100%;
  padding: 0 75px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  box-sizing: border-box;
}






/* Левая колонка (слоганы) */
.left-column {
  width: 670px;
  display: flex;
  flex-direction: column;
  gap: 52px;
  margin: 0 auto; /* Центрирование левой колонки */
}

/* Контейнер лозунгов */
.slogans-container {
  position: relative; /* Для псевдоэлемента */
  background: rgba(25, 25, 25, 0.7);
  padding: 20px 10px; /* Уменьшённые отступы слева и справа */
  border-radius: 10px;
  width: 100%;
  max-width: 670px;
  margin: 0 auto; /* Центрирование контейнера */
  box-sizing: border-box;
  backdrop-filter: blur(4px); /* блюр за контейнером */
}

.slogans-container::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 13px;
  padding: 5px;
  background: repeating-linear-gradient(
    45deg,
    rgba(30, 30, 30, 1) 0%,
    rgba(30, 30, 30, 0.3) 10%,
    rgba(30, 30, 30, 1) 20%,
    rgba(30, 30, 30, 0.7) 30%,
    rgba(30, 30, 30, 1) 40%,
    rgba(30, 30, 30, 0.4) 50%,
    rgba(30, 30, 30, 1) 60%,
    rgba(30, 30, 30, 0.2) 70%,
    rgba(30, 30, 30, 1) 80%,
    rgba(30, 30, 30, 0.5) 90%,
    rgba(30, 30, 30, 1) 100%
  );
  background-size: 300% auto;
  animation: flicker 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
  -webkit-mask: 
    linear-gradient(white, white) content-box, 
    linear-gradient(white, white);
  -webkit-mask-composite: destination-out;
          mask: 
    linear-gradient(white, white) content-box, 
    linear-gradient(white, white);
  mask-composite: exclude;
}

/* Блок лозунгов внутри контейнера */
.slogan-block {
  display: flex;
  align-items: center;
  padding: 14px 10px;
  border-radius: 6px;
  background: transparent;
  transition: background 0.3s ease;
  overflow: hidden;
  margin-bottom: 14px;
  width: 100%; /* Блоки занимают всю ширину контейнера */
  box-sizing: border-box;
}
.slogan-block:hover {
  background: rgba(10, 10, 10, 0.5);
}
.slogan-icon {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slogan-icon img {
  max-width: 50px;
  max-height: 50px;
}
.slogan-content {
  flex: 1;
  padding-left: 10px;
}
.slogan {
  font-size: 1.54rem;
  color: #4caf50;
  font-weight: bold;
  margin-bottom: 6px;
  transition: text-shadow 0.3s ease;
}
.slogan-block:hover .slogan {
  text-shadow: 0 0 8px rgba(76,175,80,1),
               0 0 16px rgba(76,175,80,0.7),
               0 0 24px rgba(76,175,80,0.5);
}
.slogan-desc {
  font-size: 1.1rem;
  color: #a0a0a0;
}
.slogans-container .slogan-block:last-child {
  margin-bottom: 0;
}





/* Блок технической информации */
.tech-info {
  width: 890px;
  margin-bottom: 32px;
  transform: translateX(-110px);
  box-sizing: border-box;
}
.tech-block-container {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}
.tech-block {
  padding: 10px;
  border-radius: 5px;
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.tech-title {
  font-size: 1.50rem;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 5px;
  text-shadow: 0 0 5px #ffffff;
}
.tech-desc {
  font-size: 1rem;
  color: #e3e3e3;
}
.tech-placeholder-animated-wrapper {
  width: 2px;
  height: auto;
  margin: 0 20px;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.tech-placeholder-animated {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,0) 100%
  );
}












/* Раздел игр */
.games-container {
  width: 100%;
  max-width: 550px;
  margin: 0 auto;  /* Центрирование раздела игр */
  display: flex;
  flex-direction: column;
  align-items: center; /* Элементы внутри раздела по центру */
  margin-top: 0;
}
.game-block {
  position: relative; /* обязательно для псевдоэлемента */
  background: rgba(25, 25, 25, 0.7);
  padding: 17px;
  border-radius: 10px;
  width: 550px;
  text-align: center;
  transition: opacity 0.5s ease;
  box-sizing: border-box;
  backdrop-filter: blur(4px); /* блюр за контейнером */
}
/* Анимированная рамка, повторяющая форму блока */
.game-block::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 13px;
  padding: 5px;
  background: repeating-linear-gradient(
    45deg,
    rgba(30,30,30,1) 0%,
    rgba(30,30,30,0.3) 10%,
    rgba(30,30,30,1) 20%,
    rgba(30,30,30,0.7) 30%,
    rgba(30,30,30,1) 40%,
    rgba(30,30,30,0.4) 50%,
    rgba(30,30,30,1) 60%,
    rgba(30,30,30,0.2) 70%,
    rgba(30,30,30,1) 80%,
    rgba(30,30,30,0.5) 90%,
    rgba(30,30,30,1) 100%
  );
  background-size: 300% auto;
  animation: flicker 4s ease-in-out infinite;
  pointer-events: none;
  /* z-index здесь не указываем */
  /* Скрываем центральную область, оставляя видимой только рамку */
  -webkit-mask: 
    linear-gradient(white, white) content-box, 
    linear-gradient(white, white);
  -webkit-mask-composite: destination-out;
          mask: 
    linear-gradient(white, white) content-box, 
    linear-gradient(white, white);
  mask-composite: exclude;
}
.game-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.game-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 11px;
}
.game-banner-container {
  width: 100%;
  overflow: hidden;
  border-radius: 9px;
  margin-bottom: 0;
  transition: filter 0.3s ease;
  position: relative;
}
.game-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-block:hover .game-banner {
  filter: brightness(70%);
  transition: filter 0.4s ease;
}
.games-container.has-active .game-block:not(.active) {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.game-block.active .game-banner {
  filter: brightness(70%);
  transition: filter 0.4s ease;
}
.overlay-button {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  padding: 10px 20px;
  font-size: 1.2rem;
  transform-origin: center bottom;
}
.buy-button {
  background-color: #4caf50;
  color: #ffffff;
  border: none;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.5s ease;
  transform-origin: center bottom;
}
.game-block:hover .buy-button {
  background-color: #4caf50;
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 0 20px 6px rgba(76,175,80,0.7);
}
.buy-button:disabled {
  background-color: #4caf50;
  cursor: pointer;
  pointer-events: auto;
}



/* Блок расширения игрового контейнера */
.game-extension {
  padding: 0 10px 10px 10px;
  background: rgba(25, 25, 25, 0.7);
  border-radius: 0 0 10px 10px; /* Скругление только нижних углов, чтобы совместить с .game-block */
  width: 80%;
  max-width: 400px;
  margin: 0 auto;  /* Центрирование без отступа сверху */
  text-align: center;
  position: relative; /* для псевдоэлемента */
  margin-top: 1px;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
}
.game-extension::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 5px;
  background-color: rgba(25, 25, 25, 1.0);
}
.game-extension::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 0 0 13px 13px;
  padding: 0 5px 5px 5px;
  background: repeating-linear-gradient(
    45deg,
    rgba(30,30,30,1) 0%,
    rgba(30,30,30,0.3) 10%,
    rgba(30,30,30,1) 20%,
    rgba(30,30,30,0.7) 30%,
    rgba(30,30,30,1) 40%,
    rgba(30,30,30,0.4) 50%,
    rgba(30,30,30,1) 60%,
    rgba(30,30,30,0.2) 70%,
    rgba(30,30,30,1) 80%,
    rgba(30,30,30,0.5) 90%,
    rgba(30,30,30,1) 100%
  );
  background-size: 300% auto;
  animation: flicker 4s ease-in-out infinite;
  pointer-events: none;
  /* z-index здесь не указываем */
  /* Скрываем центральную область, оставляя видимой только рамку */
  -webkit-mask: 
    linear-gradient(white, white) content-box, 
    linear-gradient(white, white);
  -webkit-mask-composite: destination-out;
          mask: 
    linear-gradient(white, white) content-box, 
    linear-gradient(white, white);
  mask-composite: exclude;
}

.game-extension img {
  width: 100%;
  height: auto;
  border-radius: 0 0 5px 5px;
}


.image-carousel {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.image-carousel img {
  width: 100%;
  display: block;
  transition: filter 0.3s ease, transform 0.5s ease;
}

.image-carousel:hover img {
  filter: brightness(70%);
}

/* Стрелки – кнопки, позиционированные поверх изображения */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* Расположение стрелок по краям */
.arrow.left {
  left: 10px;
  padding: 7px 4px 5px 8px;;
}
.arrow.right {
  right: 10px;
  padding: 7px 8px 5px 4px;;
}

/* Простейшие стрелки через border (две линии под углом 45°) */
.arrow.left::before {
  content: "";
  display: inline-block;
  border: solid rgba(200,200,200,1.0);
  border-width: 0 3px 3px 0;
  padding: 5px;
  transform: rotate(135deg);
}
.arrow.right::before {
  content: "";
  display: inline-block;
  border: solid rgba(200,200,200,1.0);
  border-width: 0 3px 3px 0;
  padding: 5px;
  transform: rotate(-45deg);
}
















/* Стили для игровых форм */
.game-form {
  width: 100%;
}
.form-controls {
  width: 100%;
}





/* --- Стили для модального окна --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);  /* Черный фон с 10% непрозрачностью */
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-overlay.fade-out {
  animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.modal-window {
  position: relative;
  background: rgba(25,25,25,1.0); /* Однородный черный фон окна */
  border-radius: 10px;
  padding: 40px 20px;
  width: 630px;
  text-align: center;
  box-shadow: 0 0 20px rgba(25,25,25,0.85);
}

.modal-header {
  margin: 26px 0 10px 0;
  color: #fff;
  font-size: 2.0rem;
}

/* Кнопка закрытия */
.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

/* Центрирование платежных систем и заголовок */
.payment-images {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 45px; /* Увеличенное расстояние между изображениями */
  margin-bottom: 20px;
}

.payment-images::before {
  display: block;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
}

.payment-link img {
  width: 100%;
  height: auto;
  transform: scale(0.9);
  filter: brightness(0.7); /* Изначально темные на 30% */
  margin-top: 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.payment-link:hover img {
  transform: scale(1.1);
  filter: brightness(1.0); /* При выборе яркость увеличивается до 110% */
}

/* Центрирование и позиционирование поля ввода */
.input-button-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;  /* Поле ввода расположено ниже */
}

.input-group {
  flex: 0 0 53%;  /* Уменьшена ширина по горизонтали */
  position: relative;
  margin: 0 auto; /* Центрирование */
}

.input-group input[type="text"] {
  width: 100%;
  padding-bottom: 5px;
  font-size: 1.07rem;
  border: none;
  outline: none;
  background-color: transparent;
  color: #ffffff;
  border-bottom: 2px solid #4caf50;
  text-align: center; /* Центрированный текст в placeholder */
  transition: none !important;
}

/* Контейнер для сообщений валидации */
.validation-container {
  height: 12px;
  margin-top: 9px;
  text-align: center;
  padding-left: 0;
}

.validation-msg {
  font-size: 0.8rem;
  color: #f44336;
}



.payment-box  { position: relative; z-index: 1; }

.payment-box::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 13px;
  padding: 5px;
  background: repeating-linear-gradient(
    45deg,
    rgba(30,30,30,1) 0%,
    rgba(30,30,30,0.3) 10%,
    rgba(30,30,30,1) 20%,
    rgba(30,30,30,0.7) 30%,
    rgba(30,30,30,1) 40%,
    rgba(30,30,30,0.4) 50%,
    rgba(30,30,30,1) 60%,
    rgba(30,30,30,0.2) 70%,
    rgba(30,30,30,1) 80%,
    rgba(30,30,30,0.5) 90%,
    rgba(30,30,30,1) 100%
  );
  background-size: 300% auto;
  animation: flicker 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
  -webkit-mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  -webkit-mask-composite: destination-out;
          mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  mask-composite: exclude;
}




/* Анимация пульсации для нижней линии */
@keyframes pulseGreen {
  0% { border-bottom-color: rgba(76,175,80,0); }
  50% { border-bottom-color: rgba(76,175,80,1); }
  100% { border-bottom-color: rgba(76,175,80,0); }
}

@keyframes pulseRed {
  0% { border-bottom-color: rgba(244,67,54,0); }
  50% { border-bottom-color: rgba(244,67,54,1); }
  100% { border-bottom-color: rgba(244,67,54,0); }
}

input.game-input.pulseGreen {
  animation: pulseGreen 1.2s infinite ease-in-out !important;
}

input.game-input.pulseRed {
  animation: pulseRed 1.2s infinite ease-in-out !important;
}

/* Кнопка "Купить" в модальном окне */
.modal-buy-button {
  margin-top: 25px;
  padding: 11px 22px;
  font-size: 1.2rem;
  background-color: #a0a0a0; /* Изначально серая */
  border: none;
  border-radius: 5px;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Изменённое состояние активной кнопки – увеличенная и со свечением */
.modal-buy-button.active-button {
  background-color: #4caf50;
  cursor: pointer;
  transform: scale(1.2);
  box-shadow: 0 0 15px 4px rgba(76,175,80,0.8);
}















/* Внешний фон футера */
.footer-container {
  position: relative;
  background: rgba(25, 25, 25, 1.0); /* прозрачность, как у шапки */
  border-radius: 10px 10px 0 0;
  background-clip: padding-box;        /* фон ограничен внутренней областью без границы */
  margin: -25px auto 0; /* ваше значение для поднятия футера */
  padding: 10px 30px;
  width: 60%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  box-sizing: border-box;
  margin-top: 10px;
}
.footer-container::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: 0;               /* нижняя граница на уровне контейнера */
  border-radius: 13px 13px 0 0;  /* округление только сверху */
  padding: 5px 5px 0 5px;   /* нижний отступ убран, чтобы не было анимации снизу */
  background: repeating-linear-gradient(
    45deg,
    rgba(30,30,30,1) 0%,
    rgba(30,30,30,0.3) 10%,
    rgba(30,30,30,1) 20%,
    rgba(30,30,30,0.7) 30%,
    rgba(30,30,30,1) 40%,
    rgba(30,30,30,0.4) 50%,
    rgba(30,30,30,1) 60%,
    rgba(30,30,30,0.2) 70%,
    rgba(30,30,30,1) 80%,
    rgba(30,30,30,0.5) 90%,
    rgba(30,30,30,1) 100%
  );
  background-size: 300% auto;
  animation: flicker 4s ease-in-out infinite;
  pointer-events: none;
  -webkit-mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  -webkit-mask-composite: destination-out;
          mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  mask-composite: exclude;
}
/* Внутренний блок футера */
.inner-bg {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.footer-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Левая колонка */
.footer-left {
  flex: 1;
  text-align: left;
  margin-left: 15px;
  transform: translateY(-5px);
}

/* Правая колонка */
.footer-right {
  flex: 1;
  text-align: right;
  margin-right: 15px;
  transform: translateY(-5px);
}
.social-icon {
  height: 1em;           /* Высота иконки соответствует размеру шрифта */
  width: auto;
  vertical-align: middle;
  margin-left: 5px;      /* Отступ между текстом и иконкой */
  transition: transform 0.3s ease-in-out; /* Плавное увеличение */
}

/* Центральная колонка */
.footer-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
.footer-center .logo-container a {
  color: #e3e3e3;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease-in-out;
}

.footer-center .logo-container a:hover {
  transform: scale(1.111);
}




/* Заголовки в боковых колонках */
.footer-left h4,
.footer-right h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Списки в боковых колонках */
.footer-left ul,
.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Элементы списка */
.footer-left ul li,
.footer-right ul li {
  margin-bottom: 5px;
}

/* Ссылки в боковых колонках */
.footer-left ul li a,
.footer-right ul li a {
  color: #e3e3e3;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
  display: inline-block;
}

.footer-left ul li a:hover,
.footer-right ul li a:hover {
  transform: scale(1.111);
  text-shadow: 0px 0px 8px #e3e3e3;
}

/* Центральная колонка: логотип и текст GUFIX */
.footer-center .logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.footer-logo {
  height: 1.8rem;
  margin-right: 10px; /* Отступ справа от логотипа, чтобы текст не смещался */
}

.footer-center h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #e3e3e3;
}

.footer-center p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #e3e3e3;
  text-align: center;
}














/* Адаптивные стили для уменьшения ширины экрана (1390 было) */
@media (max-width: 1390px) { 
  .header-left {
  left: 2.5%;
  }
  .header-right {
  right: 2.5%;
  }
  .header-loader {
  left: 65%;
  }
  .header-loader-button {
  transform: scale(0.85);
  }
  .header-loader-button:hover {
  transform: scale(1.0);
  }
  .content-container {
    padding: 0 30px; /* или padding: 0; */
  }
  .left-column {
    margin-left: auto;
    margin-right: auto;
    display: contents;
  }
  .games-container {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    order: 2;
  }
  .slogans-container {
    order: 1;
  }
  .tech-info {
    transform: none;
    order: 3;
    margin: 22px auto 52px;
  }
}







@media only screen and (max-width: 860px) {
  /* Общие базовые настройки */
  html, body {
    font-size: 14px;
    padding: 0;
    margin: 0;
  }
  .wrapper {
    padding: 0 10px;
  }
  
  /* Шапка (без фиксированного позиционирования) */
  .site-header {
    width: calc(100% + 20px);
    margin-left: -10px;
    height: 130px;
    position: relative;
  }
  .header-bg {
    height: 60%;
    width: 100%;
  }
  .header-logo-img {
    height: 45px; /* раньше было 50px */
    width: 45px;
  }
  .lang-icon {
    width: 24px; /* раньше было 32px */
    height: 24px;
  }
  /* Языковой переключатель: скрываем текст, оставляем иконку */
  .lang-switch {
    display: inline-flex;
    align-items: center;
  }
  .lang-switch span {
    display: none;
  }
  .logo {
    font-size: 2.5rem;
    padding: 10px 5px;
  }
  /* Уменьшение текста в шапке */
  .header-tagline {
    bottom: 10px;
    font-size: 0.7rem;
  }
  .header-description {
    font-size: 0.7rem;
  }
  .header-left {
  left: 2.5%;
  }
  .header-right {
  right: 2.5%;
  }
  .header-loader {
  left: 65%;
  }
  .header-loader-button {
  transform: scale(0.70);
  }
  .header-loader-button:hover {
  transform: scale(0.85);
  }
  
  
  /* Основной контейнер с контентом: уменьшаем отступы и gap */
  .content-container {
    padding: 0 10px;
    gap: 10px;
    flex-direction: column;
  }
  
  /* Слоганы (левая колонка) — центрируем контейнер */
  .left-column {
    width: 100%;
    align-self: center;
    display: contents;
  }
  .slogans-container {
    width: 90%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    order: 1;
  }
  .slogan-block {
    padding: 10px;
  }
  .slogan {
    font-size: 1rem;
  }
  .slogan-desc {
    font-size: 0.8rem;
  }
  .slogan-icon img {
    max-width: 40px;  /* раньше было 50px */
    max-height: 40px; /* раньше было 50px */
  }
  
  /* Игровая колонка */
  .games-container {
    width: 100%;
    align-items: center;
    margin-top: 30px;
    order: 2;
  }
  .game-block {
    width: 100%;
    padding: 10px;
  }
  .game-title {
    font-size: 1rem;
  }
  .buy-button {
    font-size: 1rem;
    padding: 8px 16px;
  }
  
  /* Техническая информация */
  .tech-info {
    margin: 22px auto 52px;
    padding: 10px;
    max-width: 50%;
    transform: none;
    flex-direction: column;
    order: 3;
  }
  .tech-block-container {
    flex-direction: column;
    gap: 10px;
  }
  .tech-block {
    min-width: 100%;
    padding: 10px;
  }
  .tech-title {
    font-size: 1.2rem;
  }
  .tech-desc {
    font-size: 0.9rem;
  }
  
  /* Футер */
  .footer-container {
    width: 100%;
    padding: 10px;
    margin: 0 auto;
  }
  .footer-inner {
    align-items: center;
    font-size: 0.8rem; /* уменьшенный размер базового текста футера */
  }
  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
    margin: 5px 0;
  }
  .footer-center h2 {
    font-size: 1.2rem; /* раньше было 1.5rem */
  }
  .footer-center p {
    font-size: 0.7rem; /* раньше было 0.8rem */
  }
  
  
  
  
  

  /* Модальное окно */
  .modal-window {
    width: 315px; /* 630px / 2 */
    padding: 20px 10px; /* 40px 20px / 2 */
    border-radius: 5px; /* 10px / 2 */
    box-shadow: 0 0 10px rgba(25, 25, 25, 0.85); /* 20px / 2 */
  }
  
  .modal-header {
    font-size: 1rem; /* 2rem / 2 */
    margin-bottom: 20px; /* 40px / 2 */
  }
  
  .close-modal {
    top: 5px; /* 10px / 2 */
    right: 5px; /* 10px / 2 */
    font-size: 18px; /* 36px / 2 */
  }
  
  /* Платежные изображения и заголовок */
  .payment-images {
    gap: 22.5px; /* 45px / 2 */
    margin-bottom: 10px; /* 20px / 2 */
  }
  
  .modal-window img {
    max-width: 50%;
    height: auto;
  }
  
  .payment-link {
  pointer-events: none; /* Отключаем кликабельность у контейнера */
  }
  
  .payment-images::before {
    font-size: 0.6rem; /* 1.2rem / 2 */
    margin-bottom: 7.5px; /* 15px / 2 */
  }
  
  .payment-link img {
    pointer-events: auto;
  
    transform: scale(0.45); /* 0.9 / 2 */
    margin-top: 7.5px; /* 15px / 2 */
    transition: transform 0.15s ease, filter 0.15s ease; /* 0.3s / 2 */
  }
  
  .payment-link:hover img {
    transform: scale(0.55); /* 1.1 / 2 */
  }
  
  /* Поле ввода и сообщение валидации */
  .input-button-row {
    margin-top: 30px; /* 60px / 2 */
  }
  
  .input-group input[type="text"] {
    padding-bottom: 2.5px; /* 5px / 2 */
    font-size: 0.535rem; /* 1.07rem / 2 */
    border-bottom: 1px solid #4caf50; /* 2px / 2 */
  }
  
  .validation-container {
    height: 6px; /* 12px / 2 */
    margin-top: 4.5px; /* 9px / 2 */
  }
  
  .validation-msg {
    font-size: 0.4rem; /* 0.8rem / 2 */
  }
  
  /* Кнопка "Купить" */
  .modal-buy-button {
    margin-top: 12.5px; /* 25px / 2 */
    padding: 5.5px 11px; /* 11px 22px / 2 */
    font-size: 0.6rem; /* 1.2rem / 2 */
    border-radius: 2.5px; /* 5px / 2 */
  }
  
  .modal-buy-button.active-button {
    transform: scale(1.025); /* 1.05 / 2 */
    box-shadow: 0 0 7.5px 2px rgba(76, 175, 80, 0.8); /* 15px 4px / 2 */
  }
}




@keyframes flicker {
  0%   { background-position: 0% 0; }
  25%  { background-position: 50% 0; }
  50%  { background-position: 100% 0; }
  75%  { background-position: 50% 0; }
  100% { background-position: 0% 0; }
}




.rule-block {
  transition: background 0.3s ease;
  padding: 10px 20px; /* фиксированные отступы слева и справа */
  box-sizing: border-box;
}

.rule-block:hover {
  background: rgba(25,25,25,0.5);
  border-radius: 10px;
}







