/* ==========================================================================
   Homepage / marketing pages — built on top of design-system.css.
   Used by index.html, games/index.html and store/index.html.
   ========================================================================== */

.hero {
  text-align: center;
  padding: 64px 20px 40px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 14px;
}

.hero p {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 22px;
}

.section-header a {
  font-size: 13px;
  font-weight: 700;
  color: var(--en-color);
  white-space: nowrap;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.game-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.2s;
}

a.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26,35,64,0.14);
}

.game-card .emoji {
  font-size: 30px;
}

.game-card h3 {
  font-size: 18px;
}

.game-card p {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}

.game-card.coming-soon {
  opacity: 0.6;
}

.game-card .cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.page-hero {
  text-align: center;
  padding: 56px 20px 8px;
}

.page-hero p {
  color: var(--muted);
  max-width: 480px;
  margin: 10px auto 0;
}
