/* EduGameGalaxy — game landing pages (/{lang}/games/*)
   Builds on style.css (tokens, .btn, .hero, .section). Mobile-first, 768px breakpoint. */

.g-crumbs { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 18px; }
.g-crumbs a { color: var(--purple); text-decoration: none; font-weight: 700; }
.g-crumbs span { margin: 0 6px; opacity: 0.5; }

.g-hero { padding: 110px 0 48px; }
.g-hero-inner { display: grid; gap: 28px; align-items: center; text-align: left; }
.g-hero-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 16px; }
.g-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.g-hero .hero-subtitle { margin: 0 0 24px; max-width: 560px; }
.g-hero-shot { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.g-hero-shot--portrait { max-width: 260px; margin: 0 auto; }
@media (min-width: 768px) {
  .g-hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .g-hero-shot--portrait { max-width: 300px; }
}

.g-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.g-cta .store-badge { height: 48px; width: auto; }
.g-cta-note { flex-basis: 100%; font-size: 0.9rem; color: var(--gray-600); margin: 4px 0 0; }

.g-facts { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; }
.g-facts div { background: #fff; border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow); }
.g-facts dt { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--purple); }
.g-facts dd { margin: 4px 0 0; font-weight: 700; color: var(--gray-800); }
@media (min-width: 768px) { .g-facts { grid-template-columns: repeat(3, 1fr); } }

.g-prose { max-width: 760px; margin: 0 auto; }
.g-prose h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); color: var(--purple-dark); margin: 0 0 16px; text-align: left; }
.g-prose p { color: var(--gray-600); line-height: 1.7; margin: 0 0 14px; }
.g-prose .g-intro { font-size: 1.05rem; }

.g-cards { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 24px; max-width: 980px; margin-left: auto; margin-right: auto; counter-reset: gstep; }
.g-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.g-card h3 { font-size: 1.1rem; color: var(--gray-900); margin: 0 0 8px; }
.g-card p { margin: 0; color: var(--gray-600); line-height: 1.6; }
.g-card--step { position: relative; padding-top: 28px; }
.g-card--step::before { counter-increment: gstep; content: counter(gstep); position: absolute; top: -16px; left: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .g-cards { grid-template-columns: repeat(2, 1fr); } .g-cards--3 { grid-template-columns: repeat(3, 1fr); } }

.g-gallery { display: grid; gap: 20px; margin-top: 24px; max-width: 1000px; margin-left: auto; margin-right: auto; }
.g-gallery figure { margin: 0; }
.g-gallery img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--gray-100); }
.g-gallery figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--gray-600); text-align: center; }
.g-gallery--landscape { grid-template-columns: 1fr; }
.g-gallery--portrait { grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 760px; }
@media (min-width: 768px) {
  .g-gallery--landscape { grid-template-columns: repeat(2, 1fr); }
  .g-gallery--portrait { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.g-note { text-align: center; font-size: 0.85rem; color: var(--gray-600); margin-top: 14px; }

.g-faq { max-width: 760px; margin: 24px auto 0; }
.g-faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: 12px; padding: 0 18px; }
.g-faq summary { cursor: pointer; font-weight: 800; color: var(--gray-900); padding: 16px 0; list-style-position: outside; }
.g-faq details[open] summary { color: var(--purple-dark); }
.g-faq details p { margin: 0 0 16px; color: var(--gray-600); line-height: 1.6; }

.g-final { text-align: center; }
.g-final .g-cta { justify-content: center; margin-top: 20px; }

.g-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
.g-links a { display: inline-block; padding: 8px 16px; border-radius: 50px; background: #fff; box-shadow: var(--shadow); color: var(--purple-dark); font-weight: 700; text-decoration: none; font-size: 0.92rem; }
.g-links a:hover { background: var(--purple); color: #fff; }
.g-related h2 { text-align: left; font-size: 1.3rem; color: var(--purple-dark); margin: 0; }
.g-related { max-width: 760px; margin: 0 auto 32px; }

/* hub */
.g-hub { display: grid; gap: 24px; max-width: 1000px; margin: 0 auto; }
.g-hub-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: grid; }
.g-hub-card img.g-hub-shot { width: 100%; height: 100%; object-fit: cover; max-height: 260px; background: var(--gray-100); }
.g-hub-body { padding: 24px; }
.g-hub-body h2 { margin: 0 0 8px; font-size: 1.4rem; color: var(--purple-dark); text-align: left; }
.g-hub-body h2 a { color: inherit; text-decoration: none; }
.g-hub-body p { color: var(--gray-600); line-height: 1.6; margin: 0 0 16px; }
@media (min-width: 768px) { .g-hub-card { grid-template-columns: 0.9fr 1.1fr; } .g-hub-card img.g-hub-shot { max-height: none; } }
