/* RIFFICS — public site */

/* Brand typefaces (self-hosted). Evil Empire by Tup Wanders (CC BY) for the wordmark,
   Protest Strike by Octavio Pardo (SIL OFL) for headlines. Licences in /fonts/. */
@font-face { font-family: 'Evil Empire'; src: url('/fonts/evil-empire.otf') format('opentype'); font-display: swap; }
@font-face { font-family: 'Protest Strike'; src: url('/fonts/protest-strike.ttf') format('truetype'); font-display: swap; }

:root {
  --bg: #000;
  --card: #0E0E0E;
  --card-2: #151515;
  --line: #232323;
  --line-2: #333;
  --text: #fff;
  --soft: #C9C9C9;
  --muted: #9A9A9A;
  --red: #BB3738;
  --red-hover: #D04546;
  --ok: #3FA66B;
  --tint: #2A1D14;
  --sans: 'Schibsted Grotesk', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --wordmark: 'Evil Empire', 'Arial Narrow', sans-serif;
  /* Headlines: brand font for Latin; Arabic letters fall back to IBM Plex Sans Arabic. */
  --display: 'Protest Strike', 'IBM Plex Sans Arabic', 'Schibsted Grotesk', system-ui, sans-serif;
  --max: 1240px;
  --gutter: clamp(16px, 3.5vw, 40px);
  --nav-h: 76px;
  --radius: 6px;
}
html[lang="ar"] { --sans: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
/* The brand fonts have one weight; never fake a bolder one. */
.logo b, .studio .mark b, .nums b, footer.site .brand b,
.slide-copy h2, .game-hero h1, .head h2, .page-head h1, .doc-head h1 { font-synthesis: none; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
body { font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
html[lang="ar"] body { line-height: 1.75; }
main { flex: 1; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* in-page bilingual blocks (legacy policy + deletion pages) */
html[lang="en"] [data-l="ar"], html[lang="ar"] [data-l="en"] { display: none !important; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: #000; transition: background-color .3s; }
.nav.over { position: fixed; inset: 0 0 auto; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); }
.nav.over.solid { background: #000; }
.nav .bar { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); }
.logo { display: flex; align-items: center; gap: 10px; width: fit-content; }
.logo img { width: 44px; height: 44px; }
.logo b { font: 400 36px/1 var(--wordmark); letter-spacing: .02em; }
@media (max-width: 720px) { .logo img { width: 36px; height: 36px; } .logo b { font-size: 29px; } }
.links { display: flex; gap: 30px; list-style: none; }
.links a { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .82; padding: 6px 0; }
html[lang="ar"] .links a { font-size: 14px; letter-spacing: 0; }
.links a:hover, .links a[aria-current] { opacity: 1; }
.links a[aria-current] { box-shadow: inset 0 -2px 0 #fff; }
.nav .right { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.lang-switch { font-size: 13px; font-weight: 700; opacity: .85; }
.lang-switch:hover { opacity: 1; }
html[lang="en"] .lang-switch { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 14px; }
.menu-btn { display: none; width: 40px; height: 40px; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-panel { display: none; }

/* ---------- buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-size: 13px; font-weight: 700; padding: 8px 16px; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.pill svg { width: 15px; height: 15px; flex: none; }
.pill.outline { border: 1.5px solid rgba(255,255,255,.8); }
.pill.outline:hover { background: #fff; color: #000; }
.pill.solid { background: #fff; color: #000; }
.pill.solid:hover { background: #E2E2E2; }
.pill.red { background: var(--red); color: #fff; }
.pill.red:hover { background: var(--red-hover); }
.pill.big { font-size: 15px; padding: 12px 22px; }
.pill[disabled] { opacity: .5; cursor: default; }
.soon { font-size: 13px; color: rgba(255,255,255,.72); }

/* ---------- home hero carousel ---------- */
.hero { position: relative; height: min(100svh, 920px); min-height: 560px; overflow: hidden; background: var(--tint); transition: background-color .8s; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7.5s linear; }
.slide.on img, .slide.on video { transform: scale(1); }
.shade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(0,0,0,.6) 28%, rgba(0,0,0,0) 60%),
    linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
}
html[dir="rtl"] .shade::after {
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(0,0,0,.6) 28%, rgba(0,0,0,0) 60%),
    linear-gradient(to left, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
}
.slide-copy { position: absolute; z-index: 2; inset-inline: 0; bottom: clamp(56px, 9vh, 104px); opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s; pointer-events: none; }
.slide.on .slide-copy { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.slide-copy .wrap > div { max-width: 600px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .92; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.slide-copy h2, .game-hero h1 { font: 700 clamp(36px, 4.8vw, 64px)/1.05 var(--display); margin-top: 10px; }
html[lang="ar"] .slide-copy h2, html[lang="ar"] .game-hero h1 { line-height: 1.35; letter-spacing: 0; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; align-items: center; }
.pager { position: absolute; z-index: 3; inset-inline-end: var(--gutter); bottom: clamp(56px, 9vh, 104px); display: flex; gap: 10px; }
.pager button { width: 92px; text-align: start; opacity: .6; transition: opacity .2s; }
.pager button[aria-current="true"], .pager button:hover { opacity: 1; }
.pager img { width: 92px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.pager i { display: block; height: 2px; background: rgba(255,255,255,.25); margin-top: 8px; overflow: hidden; }
.pager i::after { content: ""; display: block; height: 100%; width: 0; background: #fff; }
.pager button[aria-current="true"] i::after { animation: fill var(--slide-ms, 7000ms) linear forwards; }
.hero.paused .pager i::after { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

/* ---------- sections ---------- */
.block { padding: clamp(56px, 7vw, 96px) 0 0; }
.block:last-child { padding-bottom: clamp(56px, 7vw, 96px); }
.head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.head h2 { font: 700 clamp(28px, 2.8vw, 36px)/1.15 var(--display); }
html[lang="ar"] .head h2 { letter-spacing: 0; }
.head a { font-size: 14px; font-weight: 700; white-space: nowrap; }
.head a:hover { text-decoration: underline; text-underline-offset: 4px; }

.page-head { padding: calc(var(--nav-h) + clamp(24px, 4vw, 56px)) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head { padding-top: clamp(32px, 5vw, 72px); }
.page-head h1 { font: 700 clamp(38px, 5.2vw, 66px)/1.05 var(--display); }
html[lang="ar"] .page-head h1 { line-height: 1.3; letter-spacing: 0; }
.page-head p { color: var(--soft); margin-top: 14px; max-width: 60ch; font-size: 17px; }

/* ---------- news ---------- */
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); }
.meta b { color: #fff; font-weight: 700; }
.feature { display: grid; grid-template-columns: 1.55fr 1fr; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.feature img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.feature .txt { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.feature h3 { font: 700 clamp(26px, 2.6vw, 38px)/1.12 var(--sans); letter-spacing: -.015em; margin-top: 14px; }
html[lang="ar"] .feature h3 { line-height: 1.45; letter-spacing: 0; }
.feature p { color: var(--soft); margin-top: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature + .cards { margin-top: 20px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; transition: transform .25s; display: block; }
.card:hover { transform: translateY(-3px); }
.card .img { overflow: hidden; background: var(--card-2); }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s; }
.card:hover img { transform: scale(1.04); }
.card .txt { padding: 18px 18px 24px; min-height: 120px; }
.card h3 { font: 700 19px/1.3 var(--sans); margin-top: 10px; letter-spacing: -.01em; }
html[lang="ar"] .card h3 { line-height: 1.6; letter-spacing: 0; }

/* ---------- gallery ---------- */
.block.after-head { padding-top: clamp(24px, 3vw, 36px); }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; font-weight: 600; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--soft); transition: color .2s, border-color .2s; }
.chip:hover { color: #fff; border-color: #6A6A6A; }
.chip[aria-current="true"] { background: #fff; border-color: #fff; color: #000; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid.row { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.two { grid-template-columns: repeat(2, 1fr); }
/* Every tile is 16:9. Pictures that don't fit (portrait screenshots, Shorts) sit whole
   over a blurred copy of themselves instead of being cropped or letterboxed in black. */
.gtile { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--card-2); isolation: isolate; }
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gtile .bg { object-fit: cover; filter: blur(22px) brightness(.5); transform: scale(1.2); }
.gtile .fg { object-fit: contain; transition: transform .5s; }
/* Vertical videos: a centred 9:16 window. It also trims black side bars that YouTube bakes
   into thumbnails of portrait videos uploaded as regular videos. */
.gtile.vertical .fg { object-fit: cover; inset: 0 auto; left: 50%; width: calc(100% * 81 / 256); translate: -50% 0; }
.gtile.fill .bg { display: none; }
.gtile.fill .fg { object-fit: cover; }
.gtile:hover .fg { transform: scale(1.035); }
.gtile.is-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0) 55%); pointer-events: none; }
.gtile .cap { position: absolute; z-index: 1; inset-inline: 16px; bottom: 12px; }
.gtile .cap small { display: block; font-size: 12px; color: #D0D0D0; font-weight: 600; }
.gtile .cap b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.3; margin-top: 2px; }
.gtile .play { width: 38px; height: 38px; top: 12px; inset-inline-end: 12px; }
.gtile .play svg { width: 14px; height: 14px; }
.gtile .badge { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.28); padding: 4px 8px; border-radius: 4px; backdrop-filter: blur(6px); }
.gtile:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.vid { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: var(--card-2); aspect-ratio: 16 / 9; width: 100%; text-align: start; }
.vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vid:hover img { transform: scale(1.03); }
.vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 55%); pointer-events: none; }
.vid .cap { position: absolute; z-index: 1; inset-inline: 18px; bottom: 14px; }
.vid .cap small { font-size: 12px; color: #D0D0D0; font-weight: 600; }
.vid .cap b { display: block; font-size: 17px; font-weight: 700; margin-top: 2px; line-height: 1.3; }
.vid.main .cap b { font-size: 24px; }
.play { position: absolute; z-index: 2; inset-inline-end: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.95); color: #000; display: grid; place-items: center; }
.play svg { width: 16px; height: 16px; margin-inline-start: 2px; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* ---------- game library ---------- */
.library { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cover { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: var(--card-2); }
.cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s; }
.cover:hover img { transform: scale(1.04); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,0) 48%); }
.cover .cap { position: absolute; z-index: 1; inset-inline: 16px; bottom: 16px; }
.cover .cap b { display: block; font-size: 18px; font-weight: 700; line-height: 1.25; }
.cover .cap small { font-size: 12px; color: #D0D0D0; font-weight: 600; }

/* ---------- studio strip ---------- */
.studio { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.studio .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.studio .mark { display: flex; align-items: center; gap: 14px; }
.studio .mark img { width: 56px; height: 56px; }
.studio .mark b { font: 400 46px/1 var(--wordmark); letter-spacing: .02em; }
.studio p { color: var(--soft); max-width: 62ch; }
.nums { display: flex; gap: 32px; }
.nums b { display: block; font: 400 36px/1 var(--display); }
.nums span { font-size: 12px; color: var(--muted); }

/* ---------- game page ---------- */
.game-hero { position: relative; height: min(92svh, 860px); min-height: 520px; overflow: hidden; background: var(--tint); }
.game-hero > img, .game-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-hero .slide-copy { opacity: 1; transform: none; pointer-events: auto; }
.game-hero .logo-art { max-height: 120px; width: auto; margin-bottom: 18px; }
.game-body { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.facts-card { background: var(--card); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 20px); }
.facts-card dl { display: grid; gap: 12px; }
.facts-card dt { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .facts-card dt { letter-spacing: 0; text-transform: none; font-size: 13px; }
.facts-card dd { font-weight: 600; }
.facts-card .stores { display: grid; gap: 8px; }
.facts-card .stores .pill { width: 100%; }
.facts-card .small-links { display: grid; gap: 6px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.facts-card .small-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lb-stage { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 100%; }
.lb-media img { max-width: min(1400px, 88vw); max-height: 80vh; border-radius: 4px; }
.lb-media iframe { display: block; border: 0; width: min(1200px, 86vw, calc(78vh * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 4px; background: #000; }
.lb-media.vertical iframe { width: min(86vw, calc(80vh * 9 / 16)); aspect-ratio: 9 / 16; }
.lb-stage figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; text-align: center; max-width: 86vw; }
.lb-stage figcaption b { font-size: 16px; }
.lb-stage figcaption span { color: var(--muted); font-size: 14px; }
.lb-stage figcaption a { color: var(--soft); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.lightbox .nav-btn[hidden] { display: none; }
.lightbox .prev svg { transform: scaleX(-1); }
.lightbox .close { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); display: grid; place-items: center; }
.lightbox .nav-btn { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.lightbox .prev { inset-inline-start: 16px; }
.lightbox .next { inset-inline-end: 16px; }
html[dir="rtl"] .lightbox .next svg { transform: scaleX(-1); }
html[dir="rtl"] .lightbox .prev svg { transform: none; }

/* ---------- prose (policies, news, game descriptions) ---------- */
.prose { color: #DADADA; font-size: 17px; line-height: 1.75; }
html[lang="ar"] .prose { line-height: 1.95; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 700 24px/1.3 var(--sans); color: #fff; margin-top: 2em; letter-spacing: -.01em; }
.prose h3 { font: 700 19px/1.35 var(--sans); color: #fff; margin-top: 1.6em; }
html[lang="ar"] .prose h2, html[lang="ar"] .prose h3 { line-height: 1.6; letter-spacing: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.prose a:hover { text-decoration-color: #fff; }
.prose strong { color: #fff; }
.prose img { border-radius: var(--radius); }
.prose blockquote { border-inline-start: 3px solid var(--red); padding-inline-start: 16px; color: var(--soft); }

/* ---------- policy pages ---------- */
.doc { padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.doc-head { padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); padding: 5px 10px; border-radius: 4px; }
html[lang="ar"] .label { letter-spacing: 0; font-size: 13px; }
.doc-head h1 { font: 700 clamp(34px, 4.4vw, 52px)/1.1 var(--display); margin-top: 16px; }
html[lang="ar"] .doc-head h1 { line-height: 1.4; letter-spacing: 0; }
.doc-head .date { color: var(--muted); margin-top: 10px; font-size: 15px; }
.doc-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .lbl { font-size: 14px; font-weight: 600; }
.field .opt { color: var(--muted); font-weight: 400; }
.field .req { color: var(--red-hover); }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 12px 14px; transition: border-color .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; }
.field [aria-invalid="true"] { border-color: var(--red-hover); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--soft); }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--red); }
.notice { background: rgba(187,55,56,.1); border: 1px solid rgba(187,55,56,.35); border-radius: var(--radius); padding: 16px 18px; color: var(--soft); font-size: 15px; }
.notice strong { color: #fff; }
.form-msg { display: none; border-radius: var(--radius); padding: 16px 18px; font-size: 15px; }
.form-msg.ok { display: block; background: rgba(63,166,107,.12); border: 1px solid rgba(63,166,107,.45); }
.form-msg.err { display: block; background: rgba(187,55,56,.12); border: 1px solid rgba(187,55,56,.45); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.big-mail { display: inline-block; font: 700 clamp(26px, 3.2vw, 40px)/1.15 var(--sans); border-bottom: 3px solid var(--red); padding-bottom: 4px; direction: ltr; }
.big-mail:hover { color: var(--red-hover); }

/* ---------- press ---------- */
.fact-table { width: 100%; border-collapse: collapse; }
.fact-table th, .fact-table td { text-align: start; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table th { width: 38%; font-weight: 600; color: var(--muted); font-size: 14px; padding-inline-end: 16px; }
.assets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.asset { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.asset .thumb { aspect-ratio: 4 / 3; background: #1A1A1A; display: grid; place-items: center; padding: 16px; }
.asset .thumb img { max-height: 100%; object-fit: contain; }
.asset .thumb.fill { padding: 0; }
.asset .thumb.fill img { width: 100%; height: 100%; object-fit: cover; }
.asset .txt { padding: 14px 16px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.asset .txt b { font-size: 14px; font-weight: 600; line-height: 1.35; }
.asset .txt small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.asset .dl { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; }
.asset .dl:hover { border-color: #fff; }
.asset .dl svg { width: 16px; height: 16px; }

/* ---------- policy index ---------- */
.doc-list { list-style: none; border-top: 1px solid var(--line); }
.doc-list a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.doc-list a:hover { color: var(--soft); }
.doc-list span { color: var(--muted); font-weight: 400; font-size: 14px; }

/* ---------- footer ---------- */
footer.site { padding: 48px 0 32px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
footer.site .cols { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 32px; }
footer.site h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
html[lang="ar"] footer.site h4 { letter-spacing: 0; font-size: 14px; }
footer.site ul { list-style: none; display: grid; gap: 8px; }
footer.site a:hover { color: #fff; }
footer.site .brand { display: flex; align-items: center; gap: 10px; color: #fff; }
footer.site .brand img { width: 30px; height: 30px; }
footer.site .brand b { font: 400 25px/1 var(--wordmark); letter-spacing: .02em; }
footer.site .brand + p { margin-top: 12px; max-width: 30ch; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.social a:hover { border-color: #fff; color: #fff; }
.social svg { width: 16px; height: 16px; }
footer.site .fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }

.empty { color: var(--muted); padding: 40px 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .game-body { grid-template-columns: 1fr; }
  .facts-card { position: static; }
  .assets { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid.row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .links, .nav .right .pill { display: none; }
  .menu-btn { display: grid; }
  .nav .bar { grid-template-columns: 1fr auto; }
  .menu-panel.open { display: block; position: fixed; inset: var(--nav-h) 0 0; background: #000; z-index: 49; padding: 24px var(--gutter); overflow-y: auto; }
  .menu-panel ul { list-style: none; display: grid; }
  .menu-panel li a { display: block; font-size: 28px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-panel .pill { margin-top: 24px; }
  .pager { display: none; }
  .slide-copy { bottom: 40px; }
  .feature { grid-template-columns: 1fr; }
  .feature img { min-height: 0; aspect-ratio: 16 / 9; }
  .cards { grid-template-columns: 1fr; }
  .card img { aspect-ratio: 16 / 9; }
  .gallery-grid, .gallery-grid.row, .gallery-grid.two { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gtile .cap { inset-inline: 10px; bottom: 8px; }
  .gtile .cap small { display: none; }
  .gtile .cap b { font-size: 13px; }
  .gtile .play { width: 30px; height: 30px; top: 8px; inset-inline-end: 8px; }
  .gtile .badge { top: 8px; inset-inline-start: 8px; font-size: 10px; padding: 3px 6px; }
  .filters { flex-direction: column; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chip { flex: none; }
  .lightbox .nav-btn { top: auto; bottom: 18px; translate: none; }
  .library { grid-template-columns: 1fr 1fr; gap: 12px; }
  .studio .wrap { grid-template-columns: 1fr; gap: 24px; }
  .row-2 { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
