:root { color-scheme: dark; font-family: "Aptos", "Segoe UI", system-ui, sans-serif; color: #f3f5f4; background: #0a111a; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; background: radial-gradient(ellipse at 62% 0, #172c3a, #0a111a 68%); }
.lobby { width: min(1120px, 100%); margin: auto; padding: 0 clamp(16px, 4vw, 46px) 45px; }
.mast { min-height: 70px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #9ab3bf2b; font-weight: 850; letter-spacing: .02em; }
.grid-icon { display: grid; grid-template-columns: repeat(2, 6px); grid-template-rows: repeat(2, 6px); gap: 3px; transform: rotate(-8deg); }
.grid-icon i { background: #cdf66e; border-radius: 1px; }
.grid-icon i:nth-child(2) { opacity: .45; }
h1 { margin: clamp(29px, 6.2vw, 75px) 0 23px; font-size: clamp(2.35rem, 6.1vw, 5.2rem); line-height: .94; letter-spacing: -.067em; }
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(13px, 2.4vw, 24px); }
.game { --accent: #92e9e1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: #111d29; border: 1px solid #3a4e5e; border-radius: 9px; color: inherit; text-decoration: none; box-shadow: 0 16px 45px #050b1480; transition: border-color .16s, transform .16s; }
.game.auto { --accent: #cdf66e; }
.game:hover { border-color: var(--accent); transform: translateY(-3px); }
.game:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid #3d5668; }
.quartz .cover { object-position: center 48%; }
.game-info { display: flex; flex: 1; align-items: end; justify-content: space-between; padding: clamp(13px, 2vw, 22px); gap: 12px; }
.genre { color: var(--accent); font-size: .8rem; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 6px; }
h2 { margin: 0; font-size: clamp(1.45rem, 3.2vw, 2.5rem); line-height: 1; letter-spacing: -.045em; }
.game p:last-child { color: #bfcbd3; margin: 9px 0 0; line-height: 1.35; text-wrap: pretty; }
.play { padding: 8px 13px; border-radius: 5px; background: var(--accent); color: #132226; font-weight: 850; }
@media (max-width: 610px) { .games { grid-template-columns: 1fr; gap: 17px; } .mast { min-height: 55px; } .game-info { align-items: center; } }
@media (prefers-reduced-motion: reduce) { .game { transition: none; } .game:hover { transform: none; } }
