/* The game pages and the list of all games (/gry, /en/games, server/gamepages.js). Same sky look as the privacy page. */
@font-face { font-family: 'Rubik'; font-weight: 300 900; font-display: swap; src: url(/fonts/rubik-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Rubik'; font-weight: 300 900; font-display: swap; src: url(/fonts/rubik-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02FF; }
@font-face { font-family: 'Nunito'; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Nunito'; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02FF; }
:root { --bg1: #6fbdf2; --bg2: #e3f5ff; --card: #ffffffee; --tx: #1f3247; --muted: #4d6a84; --link: #1d6fb8; --edge: #ffffff; --soft: #e9f4fd; --btn: #e8553f; }
html.night { --bg1: #110e2b; --bg2: #352760; --card: #221b48ee; --tx: #f5f2ff; --muted: #bcbfeb; --link: #9fd0ff; --edge: #3d3470; --soft: #2c2560; --btn: #e8553f; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font: 17px/1.6 'Nunito', system-ui, sans-serif; color: var(--tx); background: linear-gradient(180deg, var(--bg1) 0, var(--bg2) 900px) fixed; background-color: var(--bg2); overflow-wrap: break-word; }
.top { max-width: 980px; margin: 0 auto; padding: 16px 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.top a.home { font: 800 20px 'Rubik', sans-serif; color: #fff; text-decoration: none; text-shadow: 0 2px 0 #0003; }
.top nav { display: flex; gap: 8px; flex-wrap: wrap; }
.top nav a { font: 700 14px 'Rubik', sans-serif; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--edge); background: var(--card); color: var(--tx); text-decoration: none; }
main { max-width: 980px; margin: 0 auto; padding: 12px 16px 32px; }
.crumbs { font-size: 14px; color: #fff; margin: 4px 0 12px; text-shadow: 0 1px 0 #0003; }
.crumbs a { color: #fff; }
article, main > h1 + .lead, section { background: var(--card); border: 3px solid var(--edge); border-radius: 22px; padding: 22px clamp(16px, 4vw, 34px); box-shadow: 0 10px 30px #0002; margin: 0 0 22px; }
article { max-width: 820px; margin-left: auto; margin-right: auto; }
.art { margin: -22px clamp(-34px, -4vw, -16px) 18px; border-radius: 19px 19px 0 0; overflow: hidden; line-height: 0; }
.art img { width: 100%; height: auto; display: block; }
h1 { font: 800 clamp(28px, 6vw, 40px)/1.15 'Rubik', sans-serif; margin: 0 0 8px; }
main > h1 { color: #fff; text-shadow: 0 2px 0 #0003; }
h2 { font: 700 22px/1.3 'Rubik', sans-serif; margin: 26px 0 8px; }
section h2 { margin-top: 0; }
.lead { font-size: 19px; }
.facts { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--soft); border-radius: 12px; padding: 6px 12px; margin: 0; }
.facts b { display: block; font: 700 12px 'Rubik', sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0; }
.cta span { color: var(--muted); font-size: 15px; flex: 1 1 240px; }
.btn { display: inline-block; font: 800 19px 'Rubik', sans-serif; color: #fff; background: var(--btn); padding: 12px 26px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 0 #9c2f22; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { color: var(--tx); background: var(--soft); box-shadow: 0 4px 0 var(--edge); font-size: 16px; padding: 10px 20px; }
.alt { background: var(--soft); border-radius: 14px; padding: 10px 14px; margin: -4px 0 18px; font-size: 16px; }
.alt a { font-weight: 700; color: var(--link); }
.rules ol, .rules ul { padding-left: 24px; margin: 6px 0; } .rules li { margin: 6px 0; }
a { color: var(--link); text-underline-offset: 3px; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr 1fr; gap: 10px; } .cards b { font-size: 16px; padding: 6px 10px 0; } .cards small { padding: 0 10px 8px; font-size: 13px; } }
.cards a { display: block; height: 100%; text-decoration: none; color: var(--tx); background: var(--soft); border-radius: 16px; overflow: hidden; border: 2px solid var(--edge); }
.cards a:hover { transform: translateY(-3px); }
.cards .pic { display: block; line-height: 0; aspect-ratio: 480 / 252; background: #bfe8ff; }
.cards img { width: 100%; height: auto; }
.cards b { display: block; font: 700 18px/1.25 'Rubik', sans-serif; padding: 8px 12px 0; }
.cards small { display: block; padding: 0 12px 10px; color: var(--muted); }
.more { max-width: 820px; margin-left: auto; margin-right: auto; }
footer { text-align: center; padding: 0 16px 32px; font-size: 15px; color: var(--muted); }
footer a { color: var(--link); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { .cards a { transition: transform .15s; } }
