/* The look of the game's site, the same as the app and the TV page. */
@font-face { font-family: Cairo; src: url(fonts/Cairo-Variable.ttf); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Baloo Bhaijaan 2"; src: url(fonts/BalooBhaijaan2-Variable.ttf); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #F6F9FD; --surface: #FFFFFF; --ink: #1F2B47; --muted: #6B7A90; --border: #D6E6F7;
  --blue: #1C7DD6; --blue-soft: #EAF4FD; --orange: #F58A2B; --orange-text: #E0721A; --orange-soft: #FFF1E3;
  --gold: #FFC53D; --gold-soft: #FFF3D9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 17px/1.8 Cairo, "Segoe UI", Tahoma, Arial, sans-serif; overflow-x: hidden; position: relative; }
body::before, body::after { content: ""; position: fixed; z-index: -1; border-radius: 50%; }
body::before { width: 420px; height: 420px; top: -170px; right: -150px; background: #FBE3CB; }
body::after { width: 460px; height: 440px; bottom: -220px; left: -170px; background: #D8E9FB; }
a { color: var(--blue); font-weight: 600; }
strong { font-weight: 800; }

main { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }
main.wide { max-width: 960px; padding-top: 0; }
.brand { display: block; width: 96px; height: 96px; object-fit: contain; }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
h1 { font-size: 32px; font-weight: 900; line-height: 1.4; margin: 12px 0 4px; }
h2 { font-size: 21px; font-weight: 800; color: var(--orange-text); line-height: 1.5; margin: 32px 0 8px; }
p, li { color: var(--ink); }
.muted { color: var(--muted); font-size: 15px; }
ul, ol { padding-inline-start: 22px; }
.card { background: var(--surface); border: 2px solid var(--border); border-radius: 22px; padding: 6px 20px; }
section { border-top: 2px solid var(--border); margin-top: 48px; padding-top: 8px; }
[lang="en"] { direction: ltr; text-align: left; }

/* The home page. */
nav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding: 18px 0; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--orange-text); }
.hero { border: 0; margin: 0; text-align: center; padding: 24px 0 8px; }
.hero img { width: 260px; height: 260px; object-fit: contain; }
.tagline { color: var(--orange-text); font-size: 21px; font-weight: 800; margin: 0 0 8px; }
.lead { color: var(--muted); max-width: 640px; margin: 0 auto; }
main.wide h2 { font-size: 27px; font-weight: 900; color: var(--ink); margin: 56px 0 16px; }
h2 small { color: var(--muted); font-size: 15px; font-weight: 600; margin-inline-start: 8px; }
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x mandatory; scrollbar-color: #C3CEDD transparent; }
.shots img { height: 460px; width: auto; border-radius: 22px; border: 2px solid var(--border); scroll-snap-align: start; flex: none; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--surface); border: 2px solid var(--border); border-radius: 22px; padding: 14px 18px; display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #FFFFFF; font: 800 19px/1 "Baloo Bhaijaan 2", Cairo, sans-serif; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grid .card { padding: 6px 20px 10px; }
.grid .card:nth-child(odd) { background: var(--blue-soft); }
.grid .card:nth-child(even) { background: var(--orange-soft); border-color: #FAD9BB; }
.card h3 { font-size: 19px; font-weight: 800; margin: 12px 0 4px; }
.card p { margin: 0 0 6px; }
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.links a { display: block; background: var(--surface); border: 2px solid var(--border); border-radius: 22px; padding: 14px 18px; text-decoration: none; color: var(--ink); font-weight: 800; }
.links a span { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
.links a:hover { border-color: var(--orange); }
.online { display: flex; gap: 20px; align-items: flex-start; }
.online img { height: 420px; width: auto; border-radius: 22px; border: 2px solid var(--border); flex: none; }
.online .steps { flex: 1; }
footer { text-align: center; color: var(--muted); font-size: 14px; margin-top: 56px; }
@media (max-width: 700px) { .online { flex-direction: column; align-items: center; } .online img { height: 380px; } }
@media (max-width: 600px) { .hero img { width: 210px; height: 210px; } .shots img { height: 380px; } }

/* The download page. */
body.get { display: flex; align-items: center; justify-content: center; }
.get main { text-align: center; padding: 32px 16px; }
.get .brand { width: 220px; height: 220px; margin: 0 auto 12px; }
.get p { color: var(--muted); margin: 4px 0 28px; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.stores a { background: var(--orange); color: #FFFFFF; text-decoration: none; font-weight: 800; padding: 12px 28px; border-radius: 999px; direction: ltr; }

/* The credits page. */
main.credits { max-width: 960px; }
.wrap { overflow-x: auto; background: var(--surface); border: 2px solid var(--border); border-radius: 22px; margin-top: 20px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: start; padding: 8px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--orange-text); font-weight: 800; }
td:last-child { direction: ltr; text-align: left; word-break: break-all; }
