/* Game pages (/g/<id>/). Same look as the rest of lfgame.co.uk: see /assets/site.css. */
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: Inter; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { color-scheme: dark; --bg:#0B0C10; --raised:#14161C; --line:rgba(255,255,255,.1); --line-strong:rgba(255,255,255,.22); --text:#F2F3F5; --soft:#C9CDD6; --muted:#979CA8; --accent:#B8F35A; }
/* Big screens: the whole site is drawn larger, so a large monitor sees what a laptop sees, not a small page in a
   large window. The step depends on the window's height as well as its width, so an ultrawide screen is not blown up
   past what fits. --z is the scale in force; anything sized from the viewport divides by it. */
:root { --z: 1; }
@media (min-width: 1900px) and (min-height: 965px) { :root { --z: 1.12; } }
@media (min-width: 2100px) and (min-height: 1075px) { :root { --z: 1.25; } }
@media (min-width: 2300px) and (min-height: 1190px) { :root { --z: 1.38; } }
@media (min-width: 2500px) and (min-height: 1290px) { :root { --z: 1.5; } }
@media (min-width: 2900px) and (min-height: 1460px) { :root { --z: 1.7; } }
@media (min-width: 3400px) and (min-height: 1720px) { :root { --z: 2; } }
html { zoom: var(--z); }
@view-transition { navigation: auto; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--soft); font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 680px; margin: 0 auto; padding: 22px max(20px, env(safe-area-inset-left)) 56px; }
a { color: var(--accent); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 44px; text-decoration: none; color: var(--text); font: 700 19px/1 "Space Grotesk", Inter, sans-serif; letter-spacing: -0.03em; view-transition-name: brand; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top { display: flex; gap: 20px; align-items: flex-end; }
.cover { width: 112px; height: auto; border-radius: 12px; flex: none; background: var(--raised); box-shadow: 0 0 0 1px var(--line); }
h1 { margin: 0 0 8px; color: var(--text); font: 700 clamp(30px, 7vw, 48px)/1 "Space Grotesk", Inter, sans-serif; letter-spacing: -0.045em; text-wrap: balance; }
h2 { margin: 30px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font: 500 15px Inter, sans-serif; }
p { text-wrap: pretty; }
.by, .small, .foot { color: var(--muted); font-size: 14.5px; margin: 0; }
.small { margin-top: 12px; }
.rating { margin: 8px 0 0; font-size: 15px; } .rating b { color: var(--accent); }
.hook { color: var(--text); font: 500 clamp(20px, 3.4vw, 24px)/1.3 "Space Grotesk", Inter, sans-serif; letter-spacing: -0.02em; margin: 28px 0 22px; }
.video { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; cursor: pointer; margin-bottom: 22px; box-shadow: 0 0 0 1px var(--line); }
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.video button { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--accent); color: #0B0C10; font-size: 24px; padding-left: 5px; cursor: pointer; transition: transform .2s; }
.video:hover button { transform: scale(1.06); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border-radius: 999px; padding: 5px 14px; font-size: 14.5px; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.store { display: inline-flex; align-items: center; padding: 0 18px; min-height: 46px; border-radius: 999px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; transition: box-shadow .15s; }
.store:hover { box-shadow: inset 0 0 0 1px var(--text); }
.cta { margin: 48px 0 28px; padding: 30px 28px; border-radius: 28px; background: var(--accent); }
.cta p { margin: 0 0 18px; color: #0B0C10; font: 700 clamp(20px, 4vw, 26px)/1.15 "Space Grotesk", Inter, sans-serif; letter-spacing: -0.03em; }
.button { display: inline-flex; align-items: center; padding: 0 24px; min-height: 50px; border-radius: 999px; background: #0B0C10; color: var(--accent); font-weight: 650; text-decoration: none; }
.foot { text-align: center; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } @view-transition { navigation: none; } }
.cta b { font-weight: inherit; }
