.sectionGame {
  overflow: hidden;
}

.searchBox {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 34px;
}

.valueSearch {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.inputSearch {
  background: var(--game-bg-input);
  padding: 12px 16px;
  border-radius: var(--game-border-radius);
  width: 70%;
}

.moreBtn {
  background: var(--game-bg-input);
  padding: 12px 16px;
  border-radius: var(--game-border-radius);
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg_margin_game {
  margin-right: 12px;
}

.svg_margin_game_item {
  margin-right: 12px;
  max-width: 20px;
  max-height: 20px;
}

.spanSearch {
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: var(--game-text-second);
}

.spanMoreBtn {
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
}

.gameListCategory {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: space-between;
  flex-direction: row;
}

.gameItemCategory {
  background: var(--game-category-item-bg);
  border-radius: var(--game-border-radius);
  width: 100%;
}

.gameActiveCategory {
  background: var(--game-category-item-active);
}

.gameLinkCategory {
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.spanGameCategory {
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
}

.gameBoxList {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.gameContainer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gameTitleBoxBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gameTitleBox {
  display: flex;
  align-items: center;
}

.gameImgTitle {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.titleGames {
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
}

.sliderBtnBox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sliderBtn {
  background: none;
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
  width: 24px;
  height: 24px;
  background: var(--primary-bg-btn);
  color: var(--primary-text-btn);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sliderBtn svg path {
  stroke: var(--primary-text-btn);
}

.sliderBtn:disabled {
  opacity: 0.5;
}

.btnRight {
  transform: rotate(-90deg);
}

.btnLeft {
  transform: rotate(90deg);
}

.gameList {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gameList::-webkit-scrollbar {
  display: none;
}

.gameItem {
  
  flex-shrink: 0; /* ГЛАВНОЕ: запрещает картинкам сжиматься */
}

.gameImg {
  border-radius: 16px;
}

@media (max-width: 1370px) {
  .gameItemCategory:last-child {
    display: none;
  }

  /* .gameItem:last-child {
    display: none;
  } */
  .gameLinkCategory {
    padding: 12px 15px;
  }
}

@media (max-width: 1270px) {
  .gameItemCategory:last-child {
    display: none;
  }

  /* .gameItem:last-child {
    display: none;
  } */
}

@media (max-width: 1140px) {
  .gameItemCategory:nth-child(6) {
    display: none;
  }
}

@media (max-width: 940px) {
  .gameItemCategory:nth-child(5) {
    display: none;
  }

  .gameLinkCategory {
    padding: 12px 20px;
  }
}

@media (max-width: 1024px) {
  .inputSearch {
    width: 50%;
  }

  .moreBtn {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .gameList {
    gap: 15px;
  }
}

@media (max-width: 680px) {
  .spanGameCategory {
    display: none;
  }
  .svg_margin_game_item {
    margin-right: 0;
  }

  /* .gameList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  } */

  /* .gameItem {
    display: flex;
    align-items: center;
    justify-content: center;
  } */
}
