.games-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 150px;
  padding-bottom: 0;
  height: auto;
}

.games-section > h1 {
  font-size: 45px;
  font-weight: bold;
}

.games-section > h2 {
  font-size: 40px;
  font-weight: bold;
}

.games-section > p {
  font-size: 15px;
  text-align: center;
}

.divider {
  width: 60%;
  border-bottom: 2px solid #ccc;
  margin: 20px 0;
}

.web3-grid,
.mobile-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 15px;
  row-gap: 100px;
  margin-top: 50px;
}

@media (max-width: 1200px) {
  .web3-grid,
  .mobile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1200px) {
  .web3-grid,
  .mobile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .games-section {
    padding: 60px 50px;
    padding-bottom: 0;
  }
}

.game__card {
  height: 460px;
}

.game__card__side {
  perspective: 1440px;
  width: 100%;
  height: 460px;
  position: relative;
  backface-visibility: hidden;
  transition: all 1s;
  border-radius: 10px;
}

.game__card__side--front {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background-image: url("/images/games/drive-thru/image.png");
  background-position: center;
  background-size: cover;
}

.game__card__side--back {
  width: 100%;
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game__card__side:hover .game__card__side--front {
  transform: rotateY(-180deg);
}

.game__card__side:hover .game__card__side--back {
  transform: rotateY(0);
}

.game__card__title {
  font-weight: bold;
  text-align: center;
}

.game__card__description {
  font-size: 13px;
  padding: 10px;
  text-align: center;
  text-overflow: ellipsis;
}
