/* =============================================================================
   GAMES CATALOG PAGE STYLES
   ============================================================================= */

/* Hero Section */
.games-hero {
  background: var(--onyx-light);
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.games-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.games-hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--parchment);
  margin-bottom: 1rem;
}

.games-hero-intro {
  font-size: 1.125rem;
  color: var(--steel-light);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 3rem;
}

/* Creator Info Card */
.creator-info-card {
  background: var(--onyx);
  border: 1px solid rgba(139, 26, 26, 0.3);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.creator-info-card h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--crimson-glow);
  margin-bottom: 1rem;
}

.creator-info-card p {
  font-size: 1.1rem;
  color: var(--steel-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.creator-info-card .cta-button {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  background: transparent;
  border: 1px solid var(--steel);
  padding: 1.2rem 3rem;
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.creator-info-card .cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 26, 26, 0.3), transparent);
  transition: left 0.4s ease;
}

.creator-info-card .cta-button:hover::before {
  left: 100%;
}

.creator-info-card .cta-button:hover {
  border-color: var(--crimson);
  color: var(--parchment);
  box-shadow: 0 0 30px rgba(139, 26, 26, 0.3);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

.game-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card {
  background: var(--onyx);
  border: 1px solid rgba(138, 141, 147, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.game-card-link:hover .game-card {
  border-color: var(--crimson-glow);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(179, 36, 36, 0.3);
}

.game-card-image {
  aspect-ratio: 16/9;
  background: #e8e6e1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.game-card-image img {
  max-width: 70%;
  max-height: 100%;
  object-fit: contain;
}

.game-card-content {
  padding: 1.5rem;
}

.game-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--parchment);
  margin-bottom: 0.75rem;
}

.game-card-description {
  font-size: 1.1rem;
  color: var(--steel-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.game-card-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--steel);
}

/* Responsive */
@media (max-width: 768px) {
  .games-hero h1 {
    font-size: 2rem;
  }

  .games-hero-intro {
    font-size: 1rem;
  }

  .creator-info-card {
    padding: 2rem;
  }

  .creator-info-card h2 {
    font-size: 1.5rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .game-card-image img {
    max-width: 80%;
  }
}
