.games-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--dark-bg) 0%, #0D1230 100%);
}

.games-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.games-header {
  text-align: center;
  margin-bottom: 60px;
}

.games-title {
  font-size: 48px;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.games-subtitle {
  font-size: 18px;
  color: var(--text-gray);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.game-card {
  background: var(--dark-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(108, 99, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 60px rgba(108, 99, 255, 0.3);
}

.game-image {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
}

.game-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.game-content {
  padding: 30px;
  text-align: center;
}

.game-name {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 20px;
  color: var(--text-light);
}

.game-play-btn {
  background: var(--gradient-1);
  color: var(--text-light);
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  width: 100%;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
  transition: all 0.3s ease;
}

.game-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(108, 99, 255, 0.5);
}

@media (max-width: 992px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .game-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .games-section {
    padding: 60px 0;
  }

  .games-title {
    font-size: 36px;
  }

  .games-subtitle {
    font-size: 16px;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .game-card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }

  .game-image {
    height: 220px;
    font-size: 60px;
  }

  .game-content {
    padding: 25px;
  }

  .game-name {
    font-size: 20px;
  }

  .game-play-btn {
    padding: 12px 32px;
    font-size: 15px;
  }
}
