.games {
  background: var(--color-bg-medium);
  padding: 80px 0;
  position: relative;
}

.games-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.games-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 800px;
}

.games-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-text-white);
}

.games-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-text-light-gray);
}

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

.game-card {
  background: #000000;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
}

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

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

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

.game-play-btn {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 100px;
  background-color: #ad6ef9;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-white);
}

@media (max-width: 1024px) {
  .games {
    padding: 40px 0;
  }
  .games-intro {
    margin: 0 auto;
  }
  .games-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
