/* The game's web pages (about, guide, places; privacy.html has its own copy of the basics).
   One language at a time: body.ar / body.en hides the other (site.js). */
:root { --bg: #f7f3ea; --card: #fffdf7; --ink: #26231e; --muted: #6b6253; --line: #e2d9c6; --accent: #9a7700; --taxi: #f2c200; --asphalt: #1d1c1a; }
@media (prefers-color-scheme: dark) { :root { --bg: #1c1a16; --card: #24211c; --ink: #efe8d8; --muted: #b9ae96; --line: #3a342b; --accent: #f2c200; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.75 'Segoe UI', Tahoma, 'IBM Plex Sans Arabic', sans-serif; }
body.en [lang="ar"], body.ar [lang="en"] { display: none !important; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.top { position: sticky; top: 0; z-index: 5; background: var(--asphalt); color: #f4efe2; }
.top-in { max-width: 1040px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: inherit; }
.brand b { font-size: 26px; line-height: 1; }
.brand span { font-weight: 800; letter-spacing: 0.3em; color: var(--taxi); font-size: 13px; direction: ltr; }
.top nav { display: flex; gap: 4px 14px; flex-wrap: wrap; flex: 1; }
.top nav a { color: #d9d2c2; text-decoration: none; font-size: 15px; padding: 4px 2px; border-bottom: 2px solid transparent; }
.top nav a[aria-current] { color: #fff; border-bottom-color: var(--taxi); }
.lang { font: inherit; font-size: 14px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #f4efe2; border-radius: 999px; padding: 4px 14px; cursor: pointer; }

main { max-width: 1040px; margin: 0 auto; padding: 28px 16px 56px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; margin-bottom: 18px; }
.hero h1 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.2; margin: 0 0 12px; }
.hero p { font-size: 18px; margin: 0 0 18px; color: var(--muted); }
.hero img { border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,0.22); }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px solid var(--taxi); color: var(--ink); }
.btn.main { background: var(--taxi); color: var(--asphalt); }
h2 { font-size: 26px; margin: 40px 0 10px; line-height: 1.3; }
h3 { font-size: 19px; margin: 22px 0 4px; color: var(--accent); }
.lead { color: var(--muted); margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; font-size: 16px; }
.card .meta { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 14px; }
.shots figure { margin: 0; }
.shots img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.shots figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 16px; }
th, td { text-align: start; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
kbd { display: inline-block; min-width: 1.6em; padding: 0 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--card); font: 600 14px/1.6 'Segoe UI', sans-serif; text-align: center; direction: ltr; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-top: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 8px 0 0; }
.note { font-size: 14px; color: var(--muted); }

footer { border-top: 1px solid var(--line); }
html.embed .top, html.embed footer { display: none; }
html.embed main { padding-top: 12px; }
.foot-in { max-width: 1040px; margin: 0 auto; padding: 22px 16px 32px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 22px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .top { position: static; }
  .top nav { order: 3; flex-basis: 100%; }
  body { font-size: 16px; }
}
