/* UAE News landing page. Tokens follow DESIGN_SYSTEM.md (dark canvas, Indigo gradient theme). */
@font-face { font-family: "Jakarta"; src: url(assets/PlusJakartaSans-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(assets/PlusJakartaSans-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(assets/PlusJakartaSans-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(assets/PlusJakartaSans-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Dubai"; src: url(assets/Dubai-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Dubai"; src: url(assets/Dubai-Bold.woff2) format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
  --canvas: #07080F;
  --canvas-2: #0B0D17;
  --surface: #12151F;
  --surface-2: #181C29;
  --line: rgba(var(--tint),.08);
  --line-2: rgba(var(--tint),.14);
  --ink: #F3F4F8;
  --ink-2: #A7ADC2;
  --ink-3: #6B7189;
  --tint: 255,255,255;
  --accent-ink: #A5B4FC;
  --nav-bg: rgba(7, 8, 15, .72);
  --glass-bg: rgba(22, 25, 38, .62);
  --shadow: rgba(0,0,0,.6);
  --g1: #6366F1;
  --g2: #A855F7;
  --grad: linear-gradient(135deg, var(--g1), var(--g2));
  --rose: #F43F5E;
  --amber: #FBBF24;
  --green: #22C55E;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Dubai", "Geeza Pro", "Noto Kufi Arabic", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
html[lang="ar"] body, [lang="ar"] { font-family: var(--font-ar); }
html[lang="ar"] body { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--g2); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.grad-text { background: linear-gradient(100deg, #818CF8, #C084FC 55%, #F0ABFC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--accent-ink); margin-bottom: 18px; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 14px; }
.fine { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-300%); z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { transform: none; }

/* ---------- buttons & stores ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 14px 24px; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 6px 24px -6px rgba(124, 92, 246, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-grad:hover { transform: translateY(-1px); box-shadow: 0 10px 32px -6px rgba(124, 92, 246, .9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: rgba(var(--tint),.06); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(var(--tint),.1); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* Official Apple and Google badges, shown at the same height. */
.store-badge { display: inline-block; border-radius: 10px; transition: transform .2s var(--ease), filter .2s; }
.store-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 22px rgba(129,140,248,.35)); }
.store-badge img { height: 54px; width: auto; display: block; }
.b-ar { display: none !important; }
html[lang="ar"] .b-en { display: none !important; }
html[lang="ar"] .b-ar { display: block !important; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-color: var(--line); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.brand-word { font-size: 19px; font-weight: 400; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 4px; }
.brand-word b { font-weight: 800; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); margin-inline-start: 4px; box-shadow: 0 0 0 0 rgba(244,63,94,.6); animation: pulse 2s infinite; }
.nav-links { display: flex; gap: 28px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; font-size: 14px; cursor: pointer; }
.lang:hover { background: rgba(var(--tint),.06); }
.lang-en { font-family: var(--font-ar); }
.lang-ar { display: none; font-family: var(--font); }
html[lang="ar"] .lang-en { display: none; }
html[lang="ar"] .lang-ar { display: inline; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 132px 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.orb-a { width: 620px; height: 620px; background: #4F46E5; top: -220px; inset-inline-end: -120px; animation: drift 18s ease-in-out infinite alternate; }
.orb-b { width: 520px; height: 520px; background: #9333EA; top: 180px; inset-inline-end: 160px; opacity: .4; animation: drift 22s ease-in-out infinite alternate-reverse; }
.orb-c { width: 420px; height: 420px; background: #E11D48; top: 420px; inset-inline-start: -200px; opacity: .18; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); opacity: .6; }
.hero-callig { position: absolute; bottom: 40px; inset-inline-start: -2vw; font-family: var(--font-ar); font-weight: 700; font-size: clamp(140px, 22vw, 340px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--tint),.06); white-space: nowrap; user-select: none; }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 740px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(var(--tint),.05); border: 1px solid var(--line-2); text-decoration: none; font-size: 14px; color: var(--ink-2); margin-bottom: 28px; transition: background .2s, border-color .2s; }
html[dir="rtl"] .pill { padding: 6px 6px 6px 14px; }
.pill:hover { background: rgba(var(--tint),.09); border-color: rgba(255,255,255,.22); }
.pill-live { display: inline-flex; align-items: center; gap: 6px; background: rgba(244,63,94,.15); color: #FDA4AF; font-weight: 800; font-size: 11.5px; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; }
.pill-live i, .ticker-badge i, .badge-live i, .dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: pulse 2s infinite; flex: none; display: inline-block; }
.arrow { transition: transform .2s; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
.pill:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .pill:hover .arrow { transform: scaleX(-1) translateX(3px); }

h1 { font-size: clamp(46px, 6vw, 88px); letter-spacing: -.045em; line-height: .98; margin-bottom: 26px; }
html[lang="ar"] h1 { font-size: clamp(50px, 7vw, 96px); line-height: 1.15; }
.h1-line { display: block; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 540px; margin-bottom: 34px; }

.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 0; flex-wrap: wrap; }
.hero-facts li { padding: 0 22px; border-inline-start: 1px solid var(--line-2); display: flex; flex-direction: column; }
.hero-facts li:first-child { padding-inline-start: 0; border: 0; }
.hero-facts b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-family: var(--font); line-height: 1.1; }
.hero-facts span { font-size: 13px; color: var(--ink-3); }

/* device frames */
.device { position: relative; border-radius: 52px; padding: 11px; background: linear-gradient(145deg, #2A2E3D, #0D0F17 40%, #1B1E2B); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px #000; }
.device img { border-radius: 42px; width: 100%; height: auto; aspect-ratio: 660 / 1434; object-fit: cover; background: #0E1222; }
.device-sm { border-radius: 40px; padding: 8px; }
.device-sm img { border-radius: 32px; }

.hero-stage { position: relative; height: 740px; perspective: 1400px; }
.stage-tilt { --px: 0; --py: 0; position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.device-front { position: absolute; width: 300px; top: 10px; left: 50%; margin-left: -150px; transform: translateZ(40px) rotateY(-14deg) rotateX(6deg) rotateZ(2deg); animation: floaty 7s ease-in-out infinite; }
.device-back { position: absolute; width: 260px; top: 90px; left: 50%; margin-left: 10px; transform: translate(calc(var(--px) * -14px), 0) translateZ(-60px) rotateY(-14deg) rotateX(6deg) rotateZ(6deg); opacity: .55; filter: saturate(.8) blur(.5px); }
.device-front::after { content: ""; position: absolute; inset: -40px -60px; z-index: -1; background: radial-gradient(closest-side, rgba(129,140,248,.45), transparent); filter: blur(30px); }

.glass { background: var(--glass-bg); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 20px 40px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); }
.float { --d: 1; position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; white-space: nowrap; transform: translateZ(calc(var(--d) * 60px)) translate(calc(var(--px) * var(--d) * 16px), calc(var(--py) * var(--d) * 12px)); }
.float small { display: block; font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
.float strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.f-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #FBBF24, #F97316); color: #fff; font-size: 18px; }
.f-ico-aed { background: linear-gradient(135deg, #10B981, #0EA5E9); font-family: var(--font-ar); font-size: 14px; font-weight: 700; }
.f-weather { --d: 1.6; top: 70px; left: 2%; animation: floaty 6s ease-in-out infinite .4s; }
.f-dev { --d: 2.2; top: 300px; right: -2%; animation: floaty 8s ease-in-out infinite 1s; }
.f-dev .dot-live { width: 10px; height: 10px; }
.f-aed { --d: 1.2; bottom: 70px; left: 0; animation: floaty 7s ease-in-out infinite 2s; }
.f-game { --d: 2.6; top: 18px; right: 6%; gap: 5px; padding: 10px; animation: floaty 9s ease-in-out infinite .2s; }
.mini-tile { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; font-family: var(--font); }
.mini-tile.g { background: #16A34A; }

/* ticker */
.ticker { position: relative; z-index: 1; margin-top: 24px; border-block: 1px solid var(--line); background: rgba(var(--tint),.02); display: flex; align-items: center; overflow: hidden; height: 58px; }
.ticker-badge { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; height: 100%; background: var(--canvas); font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #FDA4AF; border-inline-end: 1px solid var(--line); flex: none; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-run { display: inline-flex; white-space: nowrap; animation: marquee 40s linear infinite; }
.ticker-run span { font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 0 22px; position: relative; }
.ticker-run span::after { content: "◆"; position: absolute; inset-inline-end: -5px; top: 50%; transform: translateY(-50%); font-size: 7px; color: var(--g2); }
html[dir="rtl"] .ticker-run, html[dir="rtl"] .marquee-run { animation-name: marquee-rtl; }

/* ---------- sources ---------- */
.sources { padding: 72px 0 40px; }
.sources .kicker { color: var(--ink-3); display: block; }
.marquee { overflow: hidden; margin: 8px 0 24px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-run { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee 50s linear infinite; }
.pub { font-size: 26px; color: var(--ink-3); padding: 0 34px; font-weight: 700; transition: color .2s; }
.pub:hover { color: var(--ink); }
.pub.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.pub.italic { font-family: Georgia, serif; font-style: italic; }
.pub.caps { text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }
.pub.lower { font-weight: 800; letter-spacing: -.03em; }
.pub.small { font-size: 18px; font-weight: 600; }
.pub[lang="ar"] { font-size: 28px; font-family: var(--font-ar); }
.pub b { color: var(--rose); }
.sources .fine { max-width: 560px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- section heads ---------- */
section h2 { font-size: clamp(38px, 5.2vw, 68px); letter-spacing: -.04em; }
html[lang="ar"] section h2 { font-size: clamp(34px, 4.6vw, 60px); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; max-width: 900px; }
.sec-head p { margin-top: 20px; color: var(--ink-2); font-size: 18px; max-width: 620px; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---------- developing ---------- */
.developing { padding: 120px 0; }
.dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.dev-copy p { color: var(--ink-2); font-size: 18px; margin-top: 22px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 34px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: var(--grad); }
.ticks li::after { content: ""; position: absolute; inset-inline-start: 7px; top: 8px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

.cluster { position: relative; height: 460px; display: grid; place-items: center; padding: 32px; border-radius: var(--r-lg); background: radial-gradient(120% 90% at 50% 100%, rgba(99,102,241,.22), transparent 60%), var(--canvas-2); border: 1px solid var(--line); overflow: hidden; }
/* Four stories arrive (s1), fold into a deck (s2), and become one Developing story (s3). */
.cl-stage { position: relative; width: 100%; max-width: 440px; height: 292px; }
.c-row { position: absolute; inset-inline: 0; top: calc(var(--i) * 76px); z-index: calc(4 - var(--i)); height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 14px 28px -16px var(--shadow); opacity: 0; transform: translateY(18px); transition: transform .7s var(--ease), opacity .5s var(--ease); transition-delay: calc(var(--i) * .16s); }
.c-mark, .c-stack span { width: 36px; height: 36px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; flex: none; font-family: var(--font); letter-spacing: .02em; }
.c-lines { flex: 1; display: grid; gap: 8px; }
.c-lines i { display: block; height: 8px; width: var(--w); border-radius: 4px; background: rgba(var(--tint),.16); transform: scaleX(0); transform-origin: left center; transition: transform .8s var(--ease); transition-delay: calc(var(--i) * .16s + .25s); }
.c-lines i + i { background: rgba(var(--tint),.09); }
html[dir="rtl"] .c-lines i { transform-origin: right center; }
.c-time { font-size: 12.5px; color: var(--ink-3); font-family: var(--font); font-variant-numeric: tabular-nums; }
.c-result { position: absolute; inset-inline: 0; top: 0; z-index: 10; padding: 22px; border-radius: 20px; color: #fff; background: linear-gradient(150deg, #6366F1, #A855F7); box-shadow: 0 30px 60px -22px rgba(99,102,241,.7); opacity: 0; transform: translateY(14px) scale(.96); transition: transform .7s var(--ease), opacity .6s var(--ease); }
.badge-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.22); font-size: 13px; font-weight: 700; }
.badge-live i { width: 7px; height: 7px; border-radius: 50%; background: #FB7185; animation: pulse 2s infinite; }
.c-title { display: grid; gap: 9px; margin: 18px 0; }
.c-title i { display: block; height: 12px; border-radius: 6px; background: rgba(255,255,255,.6); }
.c-title i.s { width: 68%; background: rgba(255,255,255,.34); }
.c-stack { display: flex; align-items: center; }
.c-stack span { width: 30px; height: 30px; font-size: 10.5px; border: 2px solid #8B5CF6; margin-inline-end: -8px; }
.c-stack em { font-style: normal; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.88); margin-inline-start: 18px; }

.cluster.s1 .c-row { opacity: 1; transform: none; }
.cluster.s1 .c-lines i { transform: scaleX(1); }
.cluster.s2 .c-row { transform: translateY(calc(var(--i) * -66px)) scale(calc(1 - var(--i) * .05)); opacity: calc(1 - var(--i) * .18); transition-delay: calc((3 - var(--i)) * .06s); }
.cluster.s3 .c-row { transform: translateY(calc(119px - var(--i) * 64.5px)) scale(calc(.92 - var(--i) * .05)); opacity: calc(.95 - var(--i) * .2); transition-delay: 0s; }
.cluster.s3 .c-result { opacity: 1; transform: none; }
.cluster.s3 .cl-stage { transform: translateY(30px); }
.cl-stage { transition: transform .7s var(--ease); }

/* ---------- bento ---------- */
.features { padding: 60px 0 120px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 30px; background: linear-gradient(180deg, rgba(var(--tint),.035), rgba(var(--tint),.01)), var(--canvas-2); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(129,140,248,.14), transparent 45%); opacity: 0; transition: opacity .3s; }
.tile:hover { border-color: var(--line-2); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 26px; letter-spacing: -.03em; margin: 12px 0 10px; }
html[lang="ar"] .tile h3 { font-size: 25px; }
.tile p { color: var(--ink-2); font-size: 15.5px; }
.tile .fine { margin-top: auto; }
.tag { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--ink-3); }
html[lang="ar"] .tag { letter-spacing: 0; font-size: 13px; }

.t-today { grid-column: span 4; grid-row: span 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; padding-bottom: 0; background: radial-gradient(90% 80% at 100% 100%, rgba(99,102,241,.3), transparent 60%), var(--canvas-2); }
.t-today h3 { font-size: clamp(30px, 3vw, 40px); }
.t-today .t-text { display: flex; flex-direction: column; padding-bottom: 30px; }
.t-shot { align-self: end; height: 440px; overflow: hidden; border-radius: 30px 30px 0 0; }
.t-shot img { height: auto; border-radius: 30px 30px 0 0; border: 6px solid #1B1E2B; border-bottom: 0; box-shadow: 0 -20px 50px -10px rgba(0,0,0,.6); }
.clock { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 18px; }
.clock-time { font-size: clamp(48px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; font-family: var(--font); direction: ltr; }
.clock-meta { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; line-height: 1.45; }
.clock-meta small { color: var(--ink-3); font-weight: 500; font-size: 12.5px; margin-top: 2px; display: inline-flex; align-items: center; gap: 6px; }
.clock-meta small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.t-weather { grid-column: span 2; display: flex; flex-direction: column; background: radial-gradient(100% 70% at 100% 0%, rgba(14,165,233,.28), transparent 60%), var(--canvas-2); }
.wx { margin: 14px 0 18px; }
.wx-now { display: flex; align-items: center; gap: 14px; }
.wx-temp { font-size: 60px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-family: var(--font); }
.wx-desc { display: flex; flex-direction: column; line-height: 1.3; }
.wx-desc b { font-size: 15px; }
.wx-desc small { font-size: 12px; color: var(--ink-3); }
.wx-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 18px; min-height: 76px; }
.wx-day { text-align: center; padding: 10px 4px; border-radius: 12px; background: rgba(var(--tint),.04); font-size: 12px; color: var(--ink-2); display: flex; flex-direction: column; gap: 3px; }
.wx-day b { font-size: 14px; color: var(--ink); font-family: var(--font); }
.wx-day span { font-size: 17px; }

.t-prayer { grid-column: span 2; display: flex; flex-direction: column; background: radial-gradient(100% 70% at 0% 0%, rgba(251,191,36,.16), transparent 60%), var(--canvas-2); }
.sunpath { margin: 10px 0 16px; }
.sunpath svg { width: 100%; height: auto; overflow: visible; }
.sun { filter: drop-shadow(0 0 10px #FBBF24); offset-path: path("M10 100 Q150 -40 290 100"); animation: sun 9s ease-in-out infinite; }
.sp-names { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-top: 4px; }

.t-game { grid-column: span 4; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: radial-gradient(80% 90% at 100% 50%, rgba(34,197,94,.14), transparent 60%), var(--canvas-2); }
.t-game .btn { margin-top: 22px; }
.board { display: grid; gap: 7px; }
.brow { display: grid; grid-template-columns: repeat(5, 52px); gap: 7px; direction: ltr; }
.cell { height: 52px; border-radius: 10px; border: 2px solid rgba(var(--tint),.12); display: grid; place-items: center; font-size: 24px; font-weight: 800; font-family: var(--font); transition: transform .5s, background .1s .25s, border-color .1s .25s; transform-style: preserve-3d; }
.cell.filled { border-color: rgba(255,255,255,.35); animation: pop .12s; }
.cell.flip { transform: rotateX(360deg); }
.cell.g { background: #16A34A; border-color: #16A34A; }
.cell.y { background: #CA8A04; border-color: #CA8A04; }
.cell.x { background: #2A2E3D; border-color: #2A2E3D; color: var(--ink-2); }
.board-fact { grid-column: 1 / -1; font-size: 13px; color: #86EFAC; margin-top: 6px; min-height: 20px; max-width: 288px; opacity: 0; transition: opacity .5s; }
.board-fact.show { opacity: 1; }

.t-rates { grid-column: span 2; display: flex; flex-direction: column; }
.rates { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 6px; }
.rates li { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(var(--tint),.04); font-size: 14.5px; font-weight: 600; font-family: var(--font); }
.rates li b { font-variant-numeric: tabular-nums; font-size: 16px; }

.t-alerts { grid-column: span 2; display: flex; flex-direction: column; background: radial-gradient(100% 70% at 100% 0%, rgba(244,63,94,.16), transparent 60%), var(--canvas-2); }
.notifs { display: grid; gap: 8px; margin: 12px 0 18px; }
.notif { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(var(--tint),.07); border: 1px solid var(--line); }
.notif img { width: 32px; height: 32px; border-radius: 8px; }
.notif { align-items: flex-start; }
.notif > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.35; }
.notif b { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; font-family: var(--font); }
.notif b small { text-transform: none; letter-spacing: 0; }
.notif strong { font-size: 14px; font-weight: 800; }
.n-body { font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notif.n2 { opacity: .5; transform: scale(.95); }

.t-world { grid-column: span 2; display: flex; flex-direction: column; }
.globe { position: absolute; width: 220px; height: 220px; top: -60px; inset-inline-end: -70px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(129,140,248,.35), rgba(30,27,75,.2) 60%); border: 1px solid rgba(165,180,252,.25); overflow: hidden; }
.globe-in { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(165,180,252,.18) 0 1px, transparent 1px 22px), repeating-linear-gradient(0deg, rgba(165,180,252,.12) 0 1px, transparent 1px 22px); border-radius: 50%; animation: spin 30s linear infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; position: relative; }
.chips span { padding: 5px 11px; border-radius: 999px; background: rgba(var(--tint),.06); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }

.t-listen { grid-column: span 2; display: flex; flex-direction: column; }
.wave { display: flex; align-items: center; gap: 4px; height: 70px; margin: 14px 0 18px; }
.wave i { flex: 1; border-radius: 3px; background: var(--grad); height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; }
.wave i:nth-child(3n+1) { animation-delay: -.7s; }
.wave i:nth-child(4n) { animation-delay: -.5s; animation-duration: 1.5s; }
.wave i:nth-child(5n) { animation-delay: -.9s; animation-duration: .9s; }

/* ---------- emirates ---------- */
.emirates { padding: 120px 0; background: linear-gradient(180deg, transparent, rgba(99,102,241,.05) 50%, transparent); }
/* Desktop: an expanding accordion. The active card widens and the rest share the space, so the row always fills. */
.em-rail { display: flex; gap: 12px; height: 440px; max-width: calc(var(--wrap) + 160px); margin: 0 auto; padding: 0 var(--gutter); }
.em { color: #fff; position: relative; overflow: hidden; flex: 1 1 0; min-width: 0; border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; background: linear-gradient(160deg, var(--a), var(--b)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); transition: flex-grow .6s var(--ease), box-shadow .6s var(--ease); }
.em::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.22), transparent 55%); pointer-events: none; }
.em.active { flex-grow: 3.4; box-shadow: 0 30px 60px -24px var(--a), inset 0 1px 0 rgba(255,255,255,.3); }
.em-code { position: absolute; top: 20px; inset-inline-start: 22px; font-size: 12px; font-weight: 800; letter-spacing: .14em; opacity: .85; font-family: var(--font); }
.em-ar { position: absolute; top: 50%; inset-inline-end: 22px; transform: translateY(-60%); font-family: var(--font-ar); font-weight: 700; font-size: clamp(64px, 7vw, 104px); line-height: 1; color: rgba(255,255,255,.2); white-space: nowrap; opacity: 0; transition: opacity .5s var(--ease) .1s; }
.em.active .em-ar { opacity: 1; }
.em h3 { font-size: 21px; letter-spacing: -.02em; position: relative; white-space: nowrap; transition: font-size .5s var(--ease); }
.em.active h3 { font-size: 34px; }
.em p { font-size: 14px; opacity: 0; position: relative; white-space: nowrap; max-height: 0; transition: opacity .4s, max-height .4s; }
.em.active p { opacity: .85; max-height: 24px; margin-top: 4px; }
.em:not(.active) h3 { writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; }
html[dir="rtl"] .em:not(.active) h3 { transform: none; }

/* ---------- bilingual ---------- */
.bilingual { padding: 80px 0 120px; }
.bi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.bi-phones { position: relative; height: 560px; }
.bi-phones .device { position: absolute; width: 240px; top: 0; }
.bi-en { inset-inline-start: 6%; transform: rotate(-6deg); }
.bi-ar { inset-inline-start: 40%; top: 40px !important; transform: rotate(5deg); z-index: 2; }
.bi-switch { position: absolute; bottom: 20px; inset-inline-start: 30%; z-index: 3; display: flex; padding: 5px; border-radius: 999px; background: rgba(22,25,38,.8); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bi-switch span { padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 15px; font-family: var(--font); }
.bi-switch span[lang="ar"] { font-family: var(--font-ar); }
.bi-switch span.on { background: var(--grad); }
.bi-copy p { color: var(--ink-2); font-size: 18px; margin-top: 22px; }
.bi-big { font-family: var(--font-ar); font-size: clamp(28px, 3.2vw, 42px) !important; font-weight: 700; color: var(--ink) !important; direction: rtl; text-align: start; margin-top: 34px !important; line-height: 1.4; }
html[dir="ltr"] .bi-big { text-align: left; }

/* ---------- screens ---------- */
.screens { padding: 40px 0 120px; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(var(--tint),.04); font-size: 24px; cursor: pointer; display: grid; place-items: center; line-height: 1; padding-bottom: 3px; transition: background .2s; }
.rail-ctrl button:hover { background: rgba(var(--tint),.1); }
html[dir="rtl"] .rail-ctrl button { transform: scaleX(-1); }
.shots { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 30px; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 250px; margin: 0; scroll-snap-align: center; transition: transform .4s var(--ease); }
.shot:hover { transform: translateY(-8px); }
.shot figcaption { margin-top: 18px; padding: 0 6px; }
.shot b { display: block; font-size: 16px; }
.shot span { font-size: 13.5px; color: var(--ink-3); }

/* ---------- promises ---------- */
.promises { padding: 60px 0 120px; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--canvas-2); }
.p-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 24px -8px rgba(124,92,246,.7); margin-bottom: 20px; }
.p-ico svg { width: 22px; height: 22px; color: #fff; }
.promise h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; }
.promise p { font-size: 15px; color: var(--ink-2); }

/* ---------- download ---------- */
.download { padding: 0 0 120px; }
.dl-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; background: linear-gradient(135deg, #1E1B4B, #3730A3 45%, #6D28D9); border: 1px solid rgba(255,255,255,.14); }
.dl-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 85% 20%, rgba(240,171,252,.45), transparent 60%), radial-gradient(50% 60% at 10% 100%, rgba(14,165,233,.3), transparent 60%); }
.dl-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.dl-icon { border-radius: 22px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); margin-bottom: 28px; }
.dl-card h2 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 32px; }
.dim { opacity: .6; }
.dl-card .fine { color: rgba(255,255,255,.7); margin-top: 20px; max-width: 480px; }
.dl-qr { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 13px; color: rgba(255,255,255,.75); text-align: center; }
.qr { padding: 16px; background: #fff; border-radius: 22px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
.qr img { width: 150px; height: 150px; }

/* ---------- support ---------- */
.support { padding: 0 0 120px; }
.sup-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.sup-intro h2 { font-size: clamp(34px, 4vw, 52px); }
.sup-intro p { color: var(--ink-2); margin: 20px 0 26px; }
.mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; padding: 14px 20px; border-radius: 16px; background: rgba(var(--tint),.05); border: 1px solid var(--line-2); transition: background .2s; direction: ltr; }
.mail:hover { background: rgba(var(--tint),.1); }
.faq { display: grid; gap: 10px; }
details { border-radius: 18px; background: var(--canvas-2); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
details[open] { border-color: rgba(165,180,252,.35); background: linear-gradient(180deg, rgba(99,102,241,.08), transparent), var(--canvas-2); }
summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(var(--tint),.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
details[open] summary::after { transform: rotate(180deg); background-color: rgba(129,140,248,.35); }
details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brand-word { font-size: 16px; }
.foot-tag { color: var(--ink-3); font-size: 14px; }
.foot-links { margin-inline-start: auto; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(244,63,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(244,63,94,0); } 100% { box-shadow: 0 0 0 0 rgba(244,63,94,0); } }
@keyframes drift { to { transform: translate(-60px, 60px) scale(1.1); } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }
@keyframes pop { 50% { transform: scale(1.08); } }
@keyframes sun { 0% { offset-distance: 0%; } 50% { offset-distance: 100%; } 100% { offset-distance: 0%; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .t-today, .t-game { grid-column: span 4; }
  .t-today { grid-row: auto; }
  .em-rail { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 8px 24px; scroll-padding-inline: var(--gutter); }
  .em-rail::-webkit-scrollbar { display: none; }
  .em, .em.active { flex: 0 0 230px; height: 320px; scroll-snap-align: start; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
  .em .em-ar, .em.active .em-ar { opacity: 1; font-size: 64px; top: 40%; }
  .em h3, .em.active h3, .em:not(.active) h3 { font-size: 24px; writing-mode: horizontal-tb; transform: none; align-self: auto; white-space: normal; }
  .em p, .em.active p { opacity: .85; max-height: none; margin-top: 2px; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .hero { padding-top: 108px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 10px; }
  .hero-stage { height: 740px; margin-top: 10px; }
  .dev-grid, .bi-grid, .sup-grid { grid-template-columns: 1fr; gap: 48px; }
  .bi-phones { height: 500px; max-width: 460px; margin: 0 auto; width: 100%; }
  .dl-card { grid-template-columns: 1fr; }
  .dl-qr { display: none; }
  .developing, .emirates { padding: 80px 0; }
  .features, .bilingual, .screens, .promises, .download, .support { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn-sm.btn-grad { display: none; }
  .hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; margin-top: 32px; }
  .hero-facts li { padding: 0 10px; }
  .hero-facts b { font-size: 24px; }
  .hero-facts span { font-size: 11.5px; line-height: 1.3; }
  .hero-stage { height: 600px; }
  .device-front { width: 240px; margin-left: -120px; }
  .device-back { width: 200px; margin-left: 0; }
  .float { padding: 9px 12px; border-radius: 14px; gap: 9px; }
  .float strong { font-size: 14px; }
  .f-ico { width: 30px; height: 30px; font-size: 15px; }
  .f-weather { top: 40px; left: 10px; }
  .f-dev { top: 250px; right: 10px; }
  .f-aed { bottom: 70px; left: 10px; }
  .f-game { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento > .tile { grid-column: auto; }
  .tile { padding: 24px; }
  .t-today { grid-template-columns: 1fr; }
  .t-shot { max-width: 260px; height: 320px; margin: 0 auto; }
  .t-game { grid-template-columns: 1fr; }
  .brow { grid-template-columns: repeat(5, 1fr); }
  .cell { height: auto; aspect-ratio: 1; }
  .board { max-width: 300px; }
  .cluster { height: 420px; padding: 20px; }
  .c-row { padding: 0 14px; gap: 12px; }
  .bi-phones .device { width: 190px; }
  .bi-phones { height: 420px; }
  .shot { flex-basis: 210px; }
  .sec-head { margin-bottom: 40px; }
  .sec-head.row .rail-ctrl { display: none; }
  .promise-grid { grid-template-columns: 1fr; }
  .foot-links { margin-inline-start: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-run, .marquee-run { flex-wrap: wrap; }
}

.js .em.reveal.in { transition: flex-grow .6s var(--ease), box-shadow .6s var(--ease), opacity .9s var(--ease), transform .9s var(--ease); }
.f-game { direction: ltr; }


/* ================= Light theme (the app's standard look) ================= */
:root[data-theme="light"] {
  color-scheme: light;
  --canvas: #F5F6FA;
  --canvas-2: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --line: rgba(14, 18, 34, .08);
  --line-2: rgba(14, 18, 34, .14);
  --ink: #0E1222;
  --ink-2: #4B5165;
  --ink-3: #7A8094;
  --tint: 14,18,34;
  --accent-ink: #4F46E5;
  --nav-bg: rgba(245, 246, 250, .82);
  --glass-bg: rgba(255, 255, 255, .82);
  --shadow: rgba(30, 27, 75, .18);
}
:root[data-theme="dark"] { color-scheme: dark; }
[data-theme="light"] .grad-text { background-image: linear-gradient(100deg, #4F46E5, #7C3AED 55%, #C026D3); }
[data-theme="light"] .orb { opacity: .22; }
[data-theme="light"] .orb-b { opacity: .16; }
[data-theme="light"] .orb-c { opacity: .08; }
[data-theme="light"] .hero-callig { -webkit-text-stroke-color: rgba(79,70,229,.1); }
[data-theme="light"] .pill-live, [data-theme="light"] .ticker-badge { color: #E11D48; }
[data-theme="light"] .pill-live { background: rgba(244,63,94,.1); }
[data-theme="light"] .glass { box-shadow: 0 18px 40px -14px rgba(30,27,75,.28), inset 0 1px 0 #fff; border-color: rgba(14,18,34,.08); }
[data-theme="light"] .device { box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px -24px rgba(30,27,75,.45), 0 0 0 1px #000; }
[data-theme="light"] .device-front::after { background: radial-gradient(closest-side, rgba(129,140,248,.35), transparent); }
[data-theme="light"] .device-back { opacity: .7; }
[data-theme="light"] .tile, [data-theme="light"] .promise, [data-theme="light"] details, [data-theme="light"] .cluster { box-shadow: 0 1px 2px rgba(14,18,34,.04), 0 12px 32px -18px rgba(30,27,75,.18); }
[data-theme="light"] .c-row { box-shadow: 0 12px 26px -16px rgba(30,27,75,.28); }
[data-theme="light"] .tile { background: var(--canvas-2); }
[data-theme="light"] .t-today { background: radial-gradient(90% 80% at 100% 100%, rgba(99,102,241,.14), transparent 60%), #fff; }
[data-theme="light"] .t-weather { background: radial-gradient(100% 70% at 100% 0%, rgba(14,165,233,.14), transparent 60%), #fff; }
[data-theme="light"] .t-prayer { background: radial-gradient(100% 70% at 0% 0%, rgba(251,191,36,.14), transparent 60%), #fff; }
[data-theme="light"] .t-game { background: radial-gradient(80% 90% at 100% 50%, rgba(34,197,94,.1), transparent 60%), #fff; }
[data-theme="light"] .t-alerts { background: radial-gradient(100% 70% at 100% 0%, rgba(244,63,94,.1), transparent 60%), #fff; }
[data-theme="light"] .t-shot img { box-shadow: 0 -16px 40px -12px rgba(30,27,75,.3); }
[data-theme="light"] .cell { color: var(--ink); }
[data-theme="light"] .cell.g, [data-theme="light"] .cell.y { color: #fff; }
[data-theme="light"] .cell.x { background: #9CA3B4; border-color: #9CA3B4; color: #fff; }
[data-theme="light"] .board-fact { color: #15803D; }
[data-theme="light"] .cluster { background: radial-gradient(120% 90% at 50% 100%, rgba(99,102,241,.12), transparent 60%), #fff; }
[data-theme="light"] .globe { background: radial-gradient(circle at 30% 30%, rgba(129,140,248,.25), rgba(99,102,241,.05) 60%); }
[data-theme="light"] .emirates { background: linear-gradient(180deg, transparent, rgba(99,102,241,.06) 50%, transparent); }
[data-theme="light"] .bi-switch { background: rgba(255,255,255,.9); }
[data-theme="light"] .bi-switch span.on { color: #fff; }
[data-theme="light"] .clock-meta small::before { box-shadow: none; }
[data-theme="light"] details[open] { background: linear-gradient(180deg, rgba(99,102,241,.06), transparent), #fff; border-color: rgba(99,102,241,.3); }
[data-theme="light"] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230E1222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
[data-theme="light"] details[open] summary::after { background-color: rgba(99,102,241,.16); }
[data-theme="light"] .store-badge:hover { filter: drop-shadow(0 10px 18px rgba(30,27,75,.25)); }

/* theme toggle */
.theme { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; color: var(--ink); }
.theme:hover { background: rgba(var(--tint),.06); }
.theme svg { width: 18px; height: 18px; }
.theme .i-sun { display: none; }
[data-theme="dark"] .theme .i-sun { display: block; }
[data-theme="dark"] .theme .i-moon { display: none; }

/* Emirate cards sit on their own coloured gradients, so their text is always white with a soft shadow. */
.em h3, .em p, .em-code { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.18); }
/* The download panel is always a deep indigo gradient, so its text stays white in both themes. */
.dl-card, .dl-card h2 { color: #fff; }
.dl-card .dim { color: rgba(255,255,255,.62); opacity: 1; }
