.games-grid {
  padding: 64px 0;
  position: relative;
}

.games-grid-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.games-grid-container .section-title {
  text-align: center;
  margin-bottom: 16px;
}

.games-grid-subtitle {
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: white;
  text-align: center;
  margin: 0 0 40px;
  line-height: normal;
}

.games-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.game-card-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.btn-play {
  font-size: 14px;
  padding: 8px 32px;
}

@media (max-width: 768px) {
  .games-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .games-grid-subtitle {
    font-size: 16px;
  }

  .games-grid-container .section-title {
    font-size: 36px;
  }
}
