:root {
  --font-family-heading: 'Mitr', sans-serif;
  --font-family-body: 'IBM Plex Sans Thai Looped', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-family-body); line-height: 1.78; }
a { color: inherit; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--surface-raised); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.games-container { width: min(var(--content-max, 1240px), calc(100% - 40px)); margin-inline: auto; }
.games-header { position: sticky; top: 0; z-index: 20; }
.games-header-inner { min-height: 68px; display: flex; align-items: center; gap: 28px; }
.games-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.games-brand-dots { display: inline-flex; gap: 4px; }
.games-brand-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-coral); }
.games-brand-dots span:nth-child(2) { background: var(--accent-yellow); }
.games-brand-dots span:nth-child(3) { background: var(--brand); }
.games-brand-name { font-size: 21px; }
.games-nav { display: flex; align-items: center; gap: 26px; }
.games-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; color: var(--text-secondary); }
.games-nav a:hover, .games-nav a[aria-current="page"] { color: var(--brand); }
.games-hero { padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 104px); }
.games-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 7vw, 96px); align-items: center; }
.games-eyebrow { margin: 0 0 10px; color: var(--brand); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.games-hero h1 { max-width: 760px; margin: 0; font: 600 clamp(36px, 5.8vw, 66px)/1.2 var(--font-family-heading); letter-spacing: -.025em; }
.games-lede { max-width: 680px; margin: 24px 0 0; color: var(--text-secondary); font-size: clamp(17px, 2vw, 20px); }
.games-hero-mark { width: min(100%, 280px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; border-radius: 50%; background: var(--surface-muted); color: var(--brand); }
.games-hero-mark svg { width: 62%; fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.games-section { padding: clamp(72px, 9vw, 112px) 0; background: var(--surface); border-block: 1px solid var(--border); }
.games-section-intro { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.games-section-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 16px; background: var(--surface-muted); color: var(--brand); }
.games-section-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.games-section h2, .games-calm h2 { margin: 0; font: 600 clamp(28px, 4vw, 42px)/1.3 var(--font-family-heading); }
.games-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 48px; align-items: center; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-soft); }
.games-feature h3, .games-editorial-row h3 { margin: 10px 0 8px; font: 600 clamp(22px, 3vw, 30px)/1.35 var(--font-family-heading); }
.games-feature p, .games-editorial-row p { margin: 0; color: var(--text-secondary); }
.games-status { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border-radius: 8px; background: var(--surface-muted); color: var(--text-secondary); font-size: 13px; font-weight: 600; }
.games-status-live { background: color-mix(in srgb, var(--accent-green) 14%, var(--surface-raised)); color: var(--accent-green); }
.games-status-preview { background: color-mix(in srgb, var(--accent-yellow) 16%, var(--surface-raised)); color: var(--text-primary); }
.games-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; padding: 10px 20px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: transform var(--transition-fast), background var(--transition-fast); }
.games-button:hover { transform: translateY(-1px); }
.games-button-primary { background: var(--accent-coral); color: #fff; }
.games-button-primary:hover { background: var(--accent-coral-hover); }
.games-button-secondary { margin: 0; border: 1px solid var(--border-strong); color: var(--brand); background: transparent; }
.games-path { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--brand); font-family: var(--font-family-heading); font-weight: 500; }
.games-path span { display: grid; place-items: center; width: 86px; height: 86px; padding: 8px; border-radius: 50%; background: var(--surface-muted); text-align: center; }
.games-path i { flex: 1; height: 1px; background: var(--border-strong); }
.games-editorial-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-top: 24px; padding: 28px 8px; border-bottom: 1px solid var(--border); }
.games-row-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--surface-muted); color: var(--brand); }
.games-row-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.games-coming { color: var(--text-soft); font-size: 14px; font-weight: 600; }
.games-upcoming { opacity: .82; }
.games-calm { padding: clamp(64px, 8vw, 96px) 0; }
.games-calm-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 104px); align-items: center; }
.games-calm-inner > p { margin: 0; color: var(--text-secondary); font-size: 18px; }
.games-footer { padding: 32px 0; background: #1E3433; color: #F2F0EA; }
.games-footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.games-footer p { margin: 0; }
.games-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.games-footer a { color: #E5F3F0; }

@media (max-width: 860px) {
  .games-header-inner { gap: 14px; }
  .games-nav { display: flex; gap: 14px; }
  .games-nav a:nth-child(n+3) { display: none; }
  .games-hero-grid { grid-template-columns: 1fr; }
  .games-hero-mark { width: 190px; }
  .games-feature { grid-template-columns: 1fr; }
  .games-calm-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .games-container { width: min(100% - 28px, var(--content-max, 1240px)); }
  .games-hero { padding-top: 56px; }
  .games-hero h1 { font-size: clamp(32px, 10vw, 44px); }
  .games-brand { gap: 7px; }
  .games-brand-name { font-size: 18px; }
  .games-nav { gap: 10px; }
  .games-nav a { font-size: 14px; }
  .games-feature { padding: 24px 20px; }
  .games-path { display: grid; grid-template-columns: 1fr 1fr; }
  .games-path span { width: 100%; height: 64px; border-radius: 14px; }
  .games-path i { display: none; }
  .games-editorial-row { grid-template-columns: 52px 1fr; }
  .games-editorial-row .games-button, .games-coming { grid-column: 1 / -1; width: 100%; }
  .games-footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .games-button { transition: none; }
}
