/* Game Selector Styles */
.games-main {
  min-height: calc(100vh - 200px);
  padding: 4rem 2rem;
  background: var(--bg-dark);
}

.games-container {
  max-width: 1400px;
  margin: 0 auto;
}

.games-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.games-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.game-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.3);
}

.game-thumbnail {
  width: 100%;
  height: 250px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.game-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-preview canvas {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.linerider-preview {
  background: linear-gradient(180deg, #1e3a5f 0%, #1a2f4a 100%);
}

.sand-preview {
  background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
}

.iqball-preview {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.game-info {
  padding: 1.5rem;
}

.game-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.game-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.game-tag {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .games-main {
    padding: 2rem 1rem;
  }

  .games-title {
    font-size: 2rem;
  }

  .games-subtitle {
    font-size: 1rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .game-thumbnail {
    height: 200px;
  }
}

