@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("/fonts/plex-arabic-400-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("/fonts/plex-arabic-600-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("/fonts/plex-arabic-700-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("/fonts/plex-arabic-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("/fonts/plex-arabic-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("/fonts/plex-arabic-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --night: #0b0f12;
  --night-2: #11171b;
  --line: rgba(243, 234, 216, 0.12);
  --ivory: #f3ead8;
  --muted: #a99f8c;
  --brass: #d9a441;
  --brass-soft: #e9c27a;
  --wrap: min(1120px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: "Plex Arabic", -apple-system, "SF Arabic", "Geeza Pro", Tahoma, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* Top bar */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  width: var(--wrap); margin: 0 auto; padding-top: max(22px, env(safe-area-inset-top));
}
.mark { font-size: 28px; font-weight: 700; text-decoration: none; color: var(--brass-soft); letter-spacing: 0; }
.bar-links { display: flex; gap: 28px; }
.bar-links a { font-size: 16px; text-decoration: none; color: rgba(243, 234, 216, 0.82); }
.bar-links a:hover { color: var(--ivory); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -1; }
.hero-photo img { object-fit: cover; object-position: 30% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to left, rgba(11, 15, 18, 0.88) 0%, rgba(11, 15, 18, 0.55) 38%, rgba(11, 15, 18, 0) 62%),
    linear-gradient(to top, var(--night) 0%, rgba(11, 15, 18, 0) 22%);
}
.hero-copy { width: var(--wrap); margin: 0 auto; padding: 120px 0 80px; }
.hero-copy > * { max-width: 520px; }
.kicker { color: var(--brass-soft); font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.12; margin-bottom: 24px; }
.lede { font-size: 20px; color: rgba(243, 234, 216, 0.84); margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--brass); color: #1a1206; font-weight: 700; font-size: 17px;
}
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1a1206; opacity: 0.55; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(233, 194, 122, 0.5); padding-bottom: 2px; }
.text-link:hover { border-color: var(--brass-soft); }

/* Sections */
main > section { width: var(--wrap); margin: 0 auto; padding: 120px 0; }
main > section + section { border-top: 1px solid var(--line); }
.eyebrow { color: var(--brass); font-size: 15px; font-weight: 600; margin-bottom: 12px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head { margin-bottom: 56px; }

/* Game */
.game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 80px; align-items: center; }
.phone {
  margin: 0; justify-self: center; width: min(320px, 100%);
  padding: 10px; border-radius: 48px;
  background: linear-gradient(160deg, #2a2f35, #121518);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(217, 164, 65, 0.35), 0 30px 60px rgba(0, 0, 0, 0.5);
}
.phone img { border-radius: 39px; width: 100%; }
.game-copy h2 { margin-bottom: 20px; }
.game-copy > p { color: var(--muted); max-width: 520px; }
.facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts strong { font-weight: 600; }
.facts span { color: var(--muted); }

/* Rules */
.rule-list { list-style: none; counter-reset: rule; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 48px; }
.rule-list li { counter-increment: rule; padding-top: 22px; border-top: 1px solid var(--line); }
.rule-list li::before {
  content: counter(rule); display: block;
  font-size: 44px; font-weight: 700; line-height: 1; color: var(--brass); margin-bottom: 18px;
}
.rule-list h3 { font-size: 21px; margin-bottom: 8px; }
.rule-list p { color: var(--muted); }
.light { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-start: 2px; vertical-align: 1px; }
.light.red { background: #e5484d; box-shadow: 0 0 10px rgba(229, 72, 77, 0.7); }
.light.green { background: #3dd68c; box-shadow: 0 0 10px rgba(61, 214, 140, 0.7); }

/* Band */
.band { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 420px; overflow: hidden; }
.band img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--night) 0%, rgba(11, 15, 18, 0) 18%, rgba(11, 15, 18, 0) 82%, var(--night) 100%); }
.band p { width: var(--wrap); margin: 0 auto; font-size: clamp(30px, 3.8vw, 52px); font-weight: 700; line-height: 1.3; }

/* Rewards */
.ledger { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.ledger div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ledger div:nth-child(-n+2) { border-top: 1px solid var(--line); }
.ledger dt { color: var(--muted); }
.ledger dd { margin: 0; font-weight: 700; font-size: 20px; color: var(--brass-soft); text-align: end; }

/* Trust */
.trust h2 { margin-bottom: 28px; max-width: 640px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; color: var(--muted); }
.trust a { color: var(--brass-soft); text-underline-offset: 4px; }

/* Footer */
.foot {
  width: var(--wrap); margin: 0 auto; padding: 40px 0 max(40px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap; font-size: 15px; color: var(--muted);
}
.foot .mark { font-size: 22px; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ivory); }
.foot p { margin-inline-start: auto; }

/* Privacy */
.doc-head { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 72px; }
.doc-head .hero-photo img { object-position: 30% 60%; }
.doc-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--night) 0%, rgba(11, 15, 18, 0.82) 45%, rgba(11, 15, 18, 0.6) 100%);
}
.doc-head .bar { position: relative; }
.doc-title { width: var(--wrap); margin: 0 auto; padding-top: 110px; }
.doc-title h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 14px; }
.doc-title p { color: rgba(243, 234, 216, 0.78); max-width: 640px; }
.doc-title .updated { margin-top: 18px; font-size: 15px; color: var(--muted); }

.doc { width: var(--wrap); margin: 0 auto; padding: 24px 0 120px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
.toc { position: sticky; top: 32px; font-size: 15px; }
.toc p { color: var(--brass); font-weight: 600; margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding: 6px 16px; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ivory); }

.doc article { max-width: 700px; }
.doc section { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.doc section:first-child { border-top: 0; padding-top: 0; }
.doc h2 { font-size: 26px; margin-bottom: 16px; }
.doc p, .doc li { color: rgba(243, 234, 216, 0.82); }
.doc p + p, .doc ul + p { margin-top: 14px; }
.doc ul { margin: 14px 0 0; padding-inline-start: 22px; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--brass); }
.doc strong { color: var(--ivory); font-weight: 600; }
.doc a { color: var(--brass-soft); text-underline-offset: 4px; }
.note { margin-top: 18px; padding: 18px 22px; border-inline-start: 2px solid var(--brass); background: var(--night-2); border-radius: 0 10px 10px 0; }
[dir="rtl"] .note { border-radius: 10px 0 0 10px; }

/* Responsive */
@media (max-width: 960px) {
  .game { grid-template-columns: 1fr; gap: 56px; }
  .game-copy { order: -1; }
  .rule-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 24px; }
}

@media (max-width: 720px) {
  :root { --wrap: calc(100% - 40px); }
  body { font-size: 17px; }
  .bar-links { gap: 18px; }
  .bar-links a { font-size: 15px; }
  .bar-links a:not([href="/privacy/"]) { display: none; }
  .hero { align-items: flex-start; }
  .hero-photo img { object-position: 50% 100%; }
  .hero::after { background: linear-gradient(to bottom, rgba(11, 15, 18, 0.9) 0%, rgba(11, 15, 18, 0.55) 45%, rgba(11, 15, 18, 0) 70%), linear-gradient(to top, var(--night) 0%, rgba(11, 15, 18, 0) 18%); }
  .hero-copy { padding: 116px 0 0; }
  .lede { font-size: 18px; margin-bottom: 28px; }
  main > section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .band { min-height: 360px; align-items: flex-end; padding-bottom: 48px; }
  .band img { object-position: 8% 50%; }
  .band::after { background: linear-gradient(to bottom, var(--night) 0%, rgba(11, 15, 18, 0) 25%, rgba(11, 15, 18, 0.7) 70%, var(--night) 100%); }
  .band p { font-size: 28px; }
  .rule-list { grid-template-columns: 1fr; gap: 0; }
  .rule-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 22px 0; }
  .rule-list li::before { grid-row: span 2; font-size: 34px; margin: 2px 0 0; }
  .ledger { grid-template-columns: 1fr; }
  .ledger div:nth-child(2) { border-top: 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .foot p { margin-inline-start: 0; width: 100%; }
  .doc-title { padding-top: 84px; }
  .toc ol { columns: 1; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
