/* 1950s ski resort poster, like the game: flat colours, golden-hour sky, condensed titles. */
@font-face { font-family: "Anton"; src: url("fonts/anton-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Figtree"; font-weight: 400; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Figtree"; font-weight: 800; src: url("fonts/figtree-latin-800-normal.woff2") format("woff2"); font-display: swap; }

:root {
  --night: #16243f; --soft: #4d5f7f; --sky: #5d86b8; --peach: #f7d9b8; --glacier: #a9cfe6; --snow: #f8fbff;
  --coral: #ef6a55; --coral-dk: #c9493a; --gold: #f2b84b; --paper: #fffdfb; --line: #dde6ef;
  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--night); font: 400 17px/1.6 var(--body); }
a { color: var(--coral-dk); font-weight: 800; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--night); outline-offset: 2px; }

.ribbon { height: 6px; background: linear-gradient(90deg, var(--coral) 0 33%, var(--gold) 33% 66%, var(--glacier) 66%); }
.bar { display: flex; align-items: center; gap: 10px; max-width: 760px; margin: 0 auto; padding: 14px 16px; }
.bar img { width: 40px; height: 40px; border-radius: 10px; }
.bar a { color: var(--night); font: 400 20px var(--display); letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }

main { max-width: 760px; margin: 0 auto; padding: 16px 16px 56px; }
h1 { margin: 0 0 8px; font: 400 clamp(34px, 8vw, 52px)/1.05 var(--display); letter-spacing: .01em; text-transform: uppercase; }
h2 { margin: 36px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); font: 400 24px/1.15 var(--display); letter-spacing: .02em; text-transform: uppercase; }
p, li { color: var(--soft); }
strong { color: var(--night); font-weight: 800; }
.updated { font-size: 14px; }
.table { overflow-x: auto; }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
th, td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--soft); }
th { color: var(--night); font-weight: 800; }
.todo { padding: 0 4px; border-radius: 3px; background: #fff3cd; color: #7a5a00; font-weight: 800; }

.steps { padding: 0; list-style: none; counter-reset: step; display: grid; gap: 8px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 12px; border-radius: 10px; background: #eef3f8; color: var(--night); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--night); color: #fff; font: 400 18px var(--display); }

footer { border-top: 1px solid var(--line); background: var(--night); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; max-width: 760px; margin: 0 auto; padding: 22px 16px; }
footer a { color: #fff; font-size: 15px; }

/* home */
.hero { position: relative; overflow: hidden; padding: 44px 16px 170px; text-align: center; background: linear-gradient(#1d3560, var(--sky) 55%, #e9b9a0 85%, var(--peach)); }
.hero img { position: relative; display: block; width: min(230px, 62vw); height: auto; margin: 0 auto 8px; }
.hero h1 { position: relative; margin: 0; transform: rotate(-3deg); color: var(--snow); font-size: clamp(46px, 13vw, 88px); line-height: .95; text-shadow: 0 5px 0 var(--coral-dk); }
.hero h1 span { display: block; color: var(--gold); font-size: .55em; text-shadow: 0 4px 0 #7a5410; }
.hero p { position: relative; max-width: 460px; margin: 22px auto 0; color: #fff; font-size: 19px; font-weight: 800; }
.hero svg { position: absolute; left: 0; bottom: -1px; width: 100%; height: 140px; }
.soon { position: relative; display: inline-block; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: var(--night); color: #fff; font-weight: 800; }
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 8px; }
.games article { padding: 16px; border-radius: 12px; background: #eef3f8; }
.games h2 { margin: 0 0 6px; padding: 0; border: 0; color: var(--coral-dk); }
.games p { margin: 0; font-size: 16px; }
