@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


:root { color-scheme: dark; --background: #080b0b; --foreground: #e8e9e7; --font-body: Inter, Arial, sans-serif; }
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-body); }
a { color: inherit; }
.site-shell { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; background: #070a0b; }
.forest-backdrop { position: absolute; inset: 0; z-index: -3; background-image: url('/forest-key-art.webp'); background-size: cover; background-position: left top; }
.scene-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,rgba(3,5,5,.32),rgba(3,5,5,.16) 63%,rgba(3,5,5,.08)),linear-gradient(180deg,rgba(4,6,6,.08),transparent 40%,rgba(4,6,6,.22) 100%); }
.content-wrap { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding: clamp(32px,5vw,82px) clamp(24px,4vw,78px) 44px; }
.games { width: min(100%, 1280px); margin: auto auto 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; column-gap: clamp(24px,4vw,90px); padding-bottom: clamp(100px,15vh,190px); transform: translateY(clamp(-225px,calc(235px - 36vh),-25px)); }
.game { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.game-title { width: 100%; height: 172px; margin: 0 0 17px; display: flex; align-items: center; justify-content: center; }
.game-title img { display: block; height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 4px 15px rgba(0,0,0,.45)); }
.game-forest .game-title img { width: 390px; }
.game-sons .game-title img { width: 230px; }
.game-three .game-title img { width: 360px; }
.game-year { margin: 0 0 12px; font-size: .84rem; color: #d0d3d2; }
.player-count { min-height: 1.4em; margin: 0 0 19px; color: #c2c8c7; font-size: .88rem; font-weight: 700; }
.steam-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 158px; min-height: 50px; padding: 12px 19px; border: 1px solid rgba(182,201,191,.22); border-radius: 4px; background: rgba(28,38,34,.86); color: #f0f2ee; font-size: .95rem; font-weight: 500; text-decoration: none; transition: background .2s,border-color .2s,transform .2s; }
a.steam-button:hover { background: #2e443a; border-color: #879f90; transform: translateY(-2px); }
a.steam-button:focus-visible, .site-footer a:focus-visible { outline: 2px solid #f5d833; outline-offset: 4px; }
.game-three::after { content: ''; display: block; height: 50px; flex: none; }
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.endnight-mark { display: block; width: 116px; height: auto; }
.site-footer a { font-size: .83rem; color: #c6cbc8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media(max-width:900px) { .forest-backdrop { background-position: 65% top; } .content-wrap { min-height: 100svh; } .games { column-gap: 20px; } .game-title { height: 120px; } }
@media(min-width:1601px) and (min-aspect-ratio:8/5) { .forest-backdrop { transform: scale(1.1); transform-origin: left top; } }
@media(min-width:661px) and (max-width:1600px) { .game-three { position: relative; isolation: isolate; } .game-three::before { content: ''; position: absolute; inset: -18px -24px; z-index: -1; background: radial-gradient(ellipse at center,#050707 0 55%,rgba(5,7,7,.96) 67%,transparent 82%); pointer-events: none; } }
@media(max-width:660px) { .forest-backdrop { background-position: 67% center; } .scene-shade { background: linear-gradient(180deg,rgba(3,5,5,.34),rgba(3,5,5,.4)),linear-gradient(90deg,rgba(3,5,5,.2),transparent); } .content-wrap { min-height: 100svh; padding: 64px 22px 28px; } .games { display: flex; flex-direction: column; gap: 48px; align-items: stretch; padding-bottom: 70px; transform: none; } .game { padding: 18px 8px; background: rgba(5,9,9,.86); border: 1px solid rgba(170,188,177,.12); border-radius: 7px; } .game-title { height: 160px; margin-bottom: 14px; } .game-forest .game-title img { width: 340px; } .game-sons .game-title img { width: 190px; } .game-three .game-title img { width: 340px; } .player-count-empty { display: none; } .site-footer { padding-bottom: 8px; } }
@media(prefers-reduced-motion:reduce) { .steam-button { transition: none; } }

