:root { color-scheme: light; --paper: #f6f7f2; --ink: #293c32; --muted: #6c7969; --line: #dce3d6; --green: #3e634c; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #6d9f7b; outline-offset: 6px; }
.site-header, main, footer { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--line); gap: 24px; }
.wordmark { display: flex; align-items: center; text-decoration: none; font-size: 32px; font-weight: 750; letter-spacing: -1.2px; gap: 12px; }
.play-symbol { display: grid; place-items: center; width: 33px; height: 33px; padding-left: 2px; border-radius: 10px; background: var(--green); color: #fffefa; font-size: 14px; letter-spacing: 0; }
.byline { font-size: 14px; font-weight: 450; letter-spacing: 0; color: var(--muted); border-left: 1px solid #cbd5c6; padding-left: 16px; margin-left: 6px; }
.header-note { font-size: 14px; color: var(--muted); }
main { padding-block: 54px 70px; flex: 1; }
.collection-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 20px; }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 650; letter-spacing: 2px; color: #788970; }
h1 { margin: 0; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.2; letter-spacing: -1.4px; font-weight: 600; }
.game-count { font-size: 13px; color: var(--muted); white-space: nowrap; padding-bottom: 4px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 26px; }
.game-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fffefa; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.game-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px #293c3210; }
.game-preview { height: 235px; position: relative; overflow: hidden; background: #e8efe3; border-bottom: 1px solid var(--line); }
.game-preview canvas { width: 100%; height: 100%; display: block; object-fit: cover; }
.preview-label { position: absolute; bottom: 15px; left: 17px; font-size: 12px; color: #4b694e; border: 1px solid #c6d7bc; border-radius: 20px; padding: 3px 10px; background: #fffefaea; }
.preview-title { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green); font-size: 35px; font-weight: 650; }
.game-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 12px; color: #748269; }
.tags span + span::before { content: '·'; margin-right: 8px; color: #8f9d85; }
h2 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.7px; line-height: 1.3; font-weight: 600; }
.game-description { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 24px; }
.play-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid #e7ebe0; font-size: 14px; font-weight: 650; color: var(--green); }
.play-link span { font-size: 22px; line-height: 1; }
footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); color: #7d8b75; font-size: 12px; padding-block: 20px; }
@media (max-width: 600px) {
  .site-header, main, footer { width: calc(100% - 36px); }.site-header { padding-block: 20px; }.header-note { display: none; } main { padding-block: 35px 45px; }.collection-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 23px; }.game-preview { height: 220px; }.game-info { padding: 22px; }footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .game-card { transition: none; }.game-card:hover { transform: none; } }
