:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--gse-color-text);
  background: var(--gse-color-canvas);
}
a { color: inherit; }
.site-header, main, footer { position: relative; z-index: 1; width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 96px; border-bottom: 1px solid var(--gse-color-border); }
.brand { display: inline-flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 18px); grid-template-rows: repeat(2, 18px); overflow: hidden; border: 2px solid var(--gse-color-text); border-radius: 8px; transform: rotate(-3deg); }
.brand-mark b { display: grid; place-items: center; font-size: 10px; line-height: 1; background: var(--gse-color-surface); }
.brand-mark b:nth-child(2) { background: var(--gse-color-primary); }
.brand-mark b:nth-child(3) { background: var(--gse-color-success-soft); }
.brand strong { display: block; font-size: 15px; letter-spacing: .02em; }
.brand small { display: block; margin-top: 3px; color: var(--gse-color-text-muted); font-size: 8px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.header-note { color: var(--gse-color-text-muted); font-size: 12px; }
main { padding: 96px 0 110px; }
.hero { max-width: 760px; }
.hero h1 { max-width: 700px; margin: 14px 0 24px; font-size: clamp(48px, 8vw, 92px); line-height: .92; letter-spacing: -.065em; }
.hero-copy { max-width: 570px; margin: 0; color: var(--gse-color-text-muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.7; }
.catalog { margin-top: 108px; }
.catalog-grid { display: grid; gap: 30px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.04em; }
.catalog-count { padding: 8px 12px; border: 1px solid var(--gse-color-border); border-radius: 999px; color: var(--gse-color-text-muted); font-size: 12px; }
.game-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); overflow: hidden; border: 1px solid var(--gse-color-border); border-radius: 28px; background: var(--gse-color-surface); box-shadow: var(--gse-shadow-card); }
.game-card:nth-child(even) { grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); }
.game-card:nth-child(even) .game-preview { order: 2; }
.game-preview { position: relative; display: block; min-height: 410px; overflow: hidden; background: var(--gse-color-surface-muted); }
.game-preview img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform var(--gse-duration-normal) var(--gse-ease-out); }
.game-preview:hover img { transform: scale(1.018); }
.play-badge { position: absolute; right: 20px; bottom: 20px; display: inline-flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 999px; color: var(--gse-color-text); font-size: 13px; font-weight: 800; background: var(--gse-color-bonus); box-shadow: 0 10px 28px rgb(35 59 56 / 18%); }
.game-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 58px); }
.game-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.game-meta span { padding: 5px 8px; border-radius: 999px; color: var(--gse-color-success); font-size: 10px; font-weight: 800; background: var(--gse-color-success-soft); }
.game-copy h3 { margin: 22px 0 16px; font-size: clamp(27px, 3vw, 40px); line-height: 1.05; letter-spacing: -.04em; }
.game-copy p { margin: 0; color: var(--gse-color-text-muted); font-size: 14px; line-height: 1.7; }
.game-link { align-self: flex-start; margin-top: 28px; text-decoration: none; }
footer { display: flex; justify-content: space-between; padding: 26px 0 42px; border-top: 1px solid var(--gse-color-border); color: var(--gse-color-text-muted); font-size: 11px; }
@media (max-width: 820px) {
  .header-note { display: none; }
  main { padding-top: 70px; }
  .catalog { margin-top: 78px; }
  .game-card, .game-card:nth-child(even) { grid-template-columns: 1fr; }
  .game-card:nth-child(even) .game-preview { order: 0; }
  .game-preview { min-height: auto; aspect-ratio: 800 / 470; }
  .game-copy { padding: 30px; }
}
@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 78px; }
  main { padding: 54px 0 74px; }
  .hero h1 { font-size: clamp(42px, 17vw, 68px); }
  .section-heading { align-items: center; }
  .game-card { border-radius: 20px; }
  .game-copy { padding: 24px; }
  footer { gap: 20px; flex-direction: column; }
}
