/* ===========================
   GAMES PAGE STYLES
   =========================== */

/* Games Hero Section */
.games-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: #fff;
  padding: clamp(4rem, 10vw, 6rem) 2rem clamp(3rem, 8vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.games-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.games-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.games-hero .page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  line-height: 1.1;
}

.games-hero .page-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Games Section */
.games-section {
  padding: clamp(3rem, 8vw, 5rem) 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.intro-text {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.7;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.game-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.game-card.locked {
  cursor: not-allowed;
  opacity: 0.7;
}

.game-card.locked:hover {
  transform: none;
}

.game-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.game-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}

.game-icon i {
  font-size: 4rem;
  color: white;
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
}

.game-content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.game-description {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.game-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

.game-badge.coming-soon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.game-badge.locked {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

/* Coming Soon Section */
.coming-soon-section {
  margin-top: 3rem;
}

.coming-soon-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.coming-soon-card i {
  font-size: 3.5rem;
  color: #f59e0b;
  margin-bottom: 1rem;
  display: block;
}

.coming-soon-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.75rem;
}

.coming-soon-card p {
  font-size: 1.1rem;
  color: #78350f;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .game-icon {
    padding: 2.5rem 2rem;
  }

  .game-icon i {
    font-size: 3rem;
  }

  .game-content {
    padding: 1.5rem;
  }

  .game-title {
    font-size: 1.3rem;
  }

  .coming-soon-card {
    padding: 2.5rem 1.5rem;
  }

  .coming-soon-card i {
    font-size: 3rem;
  }

  .coming-soon-card h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: 1fr;
  }

  .games-hero {
    padding: 3rem 1.5rem 2.5rem;
  }

  .coming-soon-card {
    padding: 2rem 1.25rem;
  }
}

