/* Games Section Styles */
.games-section {
  padding: 60px 0;
  background-color: #f8fafc;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.game-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.game-thumb {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.game-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.05);
}

.game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(79, 70, 229, 0.9);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.game-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e293b;
}

.game-desc {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.play-btn {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.play-btn i {
  margin-right: 5px;
}

.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.game-category {
  color: #64748b;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.game-category i {
  margin-right: 5px;
}

/* New Games Section */
.new-games {
  background-color: white;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.view-all {
  color: #4f46e5;
  font-weight: 500;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s ease;
}

.view-all:hover {
  color: #4338ca;
}

.view-all i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.view-all:hover i {
  transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
} 