:root {
  --ink: #643114;
  --ink-soft: #895735;
  --orange: #ff8214;
  --orange-dark: #e85f00;
  --gold: #ffbd48;
  --cream: #fff8e9;
  --paper: #fffdf7;
  --line: #f1d7aa;
  --green: #55a941;
  --teal: #2aa995;
  --coral: #f35668;
  --purple: #7d4be2;
  --shadow: 0 24px 60px rgba(112, 57, 13, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "SF Arabic", "Geeza Pro", Tahoma, Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; inset: 12px auto auto 12px; z-index: 99; padding: 10px 18px; background: #fff; border-radius: 12px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 22px 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.35rem; }
.brand img { border-radius: 14px; box-shadow: 0 8px 22px rgba(111, 49, 7, .15); }
nav { display: flex; gap: 30px; align-items: center; font-weight: 700; color: var(--ink-soft); }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; height: 2px; width: 0; background: var(--orange); bottom: -6px; right: 0; transition: width .25s ease; }
nav a:hover::after, nav a.active::after { width: 100%; }
.nav-cta { border: 1.5px solid var(--line); background: rgba(255,255,255,.65); padding: 10px 20px; border-radius: 99px; font-weight: 800; backdrop-filter: blur(10px); }

.hero { position: relative; min-height: 900px; padding: 145px 0 110px; background: radial-gradient(circle at 16% 22%, #fff 0 4%, transparent 28%), linear-gradient(135deg, #fffdf8, #fff1c9); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: radial-gradient(#eda84f 1.2px, transparent 1.2px); background-size: 30px 30px; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.hero-sun { position: absolute; width: 550px; height: 550px; border-radius: 50%; background: rgba(255, 186, 58, .2); left: -120px; top: 80px; box-shadow: 0 0 0 80px rgba(255, 196, 86, .08); }
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange-dark); font-size: .92rem; font-weight: 900; letter-spacing: .02em; }
.eyebrow span { color: var(--gold); }
.hero h1 { font-size: clamp(3.3rem, 6vw, 6rem); line-height: 1.08; letter-spacing: -.055em; margin: 18px 0 24px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-copy > p { max-width: 570px; color: var(--ink-soft); font-size: 1.18rem; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.button { min-height: 62px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 24px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-3px); }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); box-shadow: 0 14px 30px rgba(232, 95, 0, .25); direction: ltr; }
.button svg { width: 28px; height: 28px; fill: currentColor; }
.button small { display: block; font-size: .64rem; line-height: 1; font-weight: 600; }
.button.ghost { background: rgba(255,255,255,.72); border: 1.5px solid var(--line); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 26px; font-size: .9rem; color: var(--ink-soft); font-weight: 700; }
.note-paws { display: grid; place-items: center; width: 34px; height: 34px; background: #fff; border-radius: 50%; }

.hero-visual { position: relative; height: 680px; display: grid; place-items: center; direction: ltr; }
.phone { position: relative; width: 340px; height: 660px; overflow: hidden; border: 9px solid #352216; border-radius: 55px; background: #fff; box-shadow: 0 40px 75px rgba(91, 48, 11, .28); transform: rotate(-3deg); z-index: 3; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-top { position: absolute; z-index: 2; width: 105px; height: 27px; border-radius: 0 0 18px 18px; background: #352216; top: 0; left: 50%; transform: translateX(-50%); }
.hero-mascot { position: absolute; z-index: 4; width: 170px; height: auto; right: 0; bottom: -26px; filter: drop-shadow(0 18px 16px rgba(82, 44, 17, .18)); }
.float-card { position: absolute; z-index: 5; display: flex; flex-direction: column; background: rgba(255,255,255,.94); border: 1px solid rgba(226, 175, 100, .45); border-radius: 18px; padding: 12px 18px; box-shadow: 0 16px 35px rgba(91, 48, 11, .14); direction: rtl; }
.float-card b { font-size: 1.28rem; line-height: 1.2; }
.float-card span { font-size: .72rem; color: var(--ink-soft); }
.float-level { top: 90px; right: 18px; transform: rotate(5deg); }
.float-streak { bottom: 90px; left: 8px; transform: rotate(-4deg); }
.sparkle { position: absolute; z-index: 2; color: var(--orange); font-size: 3.5rem; animation: pulse 2.6s ease-in-out infinite; }
.sparkle-one { top: 60px; left: 60px; }.sparkle-two { right: 20px; top: 270px; font-size: 2rem; animation-delay: -1s; }
.dune { position: absolute; pointer-events: none; border-radius: 50% 50% 0 0; bottom: -170px; }
.dune-a { width: 80%; height: 300px; background: #f6cb7a; right: -18%; transform: rotate(-3deg); }
.dune-b { width: 75%; height: 230px; background: #ffe3a9; left: -20%; transform: rotate(4deg); }

.quick-stats { position: relative; z-index: 5; margin-top: -44px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: 26px; }
.stats-grid div { text-align: center; display: flex; flex-direction: column; }
.stats-grid div + div { border-right: 1px solid var(--line); }
.stats-grid strong { font-size: 2.1rem; color: var(--orange); line-height: 1.2; }.stats-grid span { color: var(--ink-soft); font-weight: 700; }

.section { padding: 120px 0; }
.section-heading { max-width: 650px; text-align: center; margin: 0 auto 56px; }
.section-heading h2, .feature-copy h2, .download h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.2; letter-spacing: -.035em; margin: 12px 0; }
.section-heading p { color: var(--ink-soft); margin: 0; font-size: 1.06rem; }
.rules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rule-card { position: relative; padding: 28px 22px; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.rule-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.rule-number { position: absolute; left: 18px; top: 14px; font-size: .75rem; font-weight: 900; color: #c6925b; }
.rule-card h3 { margin: 18px 0 4px; font-size: 1.22rem; }.rule-card p { color: var(--ink-soft); margin: 0; font-size: .9rem; }
.mini-grid { width: 120px; height: 120px; margin: 12px auto 24px; display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 22px rgba(74, 47, 23, .1); direction: ltr; }
.mini-grid > * { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); font-style: normal; background: #f5bd5c; }
.mini-grid.rows > :nth-child(n+4):nth-child(-n+6) { background: #5fb05b; }
.mini-grid.columns > :nth-child(2),.mini-grid.columns > :nth-child(5),.mini-grid.columns > :nth-child(8) { background: #58b9d8; }
.mini-grid.colors > * { background: #6bc1d7; }
.mini-grid.colors > :nth-child(1),.mini-grid.colors > :nth-child(2),.mini-grid.colors > :nth-child(4) { background: #a7d66b; }
.no-touch { direction: ltr; width: 120px; height: 120px; margin: 12px auto 24px; display: flex; align-items: center; justify-content: space-around; background: #ffd9d9; border-radius: 20px; font-size: 1.8rem; }
.no-touch b { color: var(--coral); font-size: 2rem; }

.features { background: #fff1d5; position: relative; overflow: hidden; }
.feature-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.feature-art { position: relative; min-height: 530px; display: grid; place-items: center; }
.feature-art::before { content: ""; position: absolute; width: 400px; height: 400px; background: #ffd17b; border-radius: 46% 54% 60% 40%; transform: rotate(10deg); }
.feature-art img { position: relative; z-index: 2; max-height: 460px; width: auto; filter: drop-shadow(0 22px 22px rgba(95, 53, 20, .18)); }
.art-orbit { position: absolute; border: 2px dashed rgba(239, 135, 25, .3); border-radius: 50%; }
.orbit-one { width: 500px; height: 320px; transform: rotate(25deg); }.orbit-two { width: 320px; height: 500px; transform: rotate(-20deg); }
.art-bubble { position: absolute; z-index: 4; top: 42px; right: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 5px 18px; padding: 12px 18px; box-shadow: var(--shadow); font-weight: 800; }
.feature-copy h2 { margin-bottom: 34px; }
.feature-list { display: grid; gap: 25px; }
.feature-list > div { display: grid; grid-template-columns: 56px 1fr; align-items: start; gap: 16px; }
.feature-list p { margin: 0; color: var(--ink-soft); }.feature-list b { display: block; color: var(--ink); font-size: 1.08rem; }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; color: #fff; border-radius: 17px; font-size: 1.4rem; font-weight: 900; box-shadow: inset 0 -4px rgba(0,0,0,.08); }.feature-icon.coral { background: var(--coral); }.feature-icon.teal { background: var(--teal); }.feature-icon.purple { background: var(--purple); }

.gallery { background: var(--paper); overflow: hidden; }
.screens-row { direction: ltr; display: flex; justify-content: center; align-items: center; gap: 25px; padding: 25px 0 50px; }
.screen-card { width: 265px; margin: 0; padding: 9px; background: #2f2018; border-radius: 39px; box-shadow: 0 26px 60px rgba(74, 41, 17, .2); transition: transform .25s ease; }
.screen-card:hover { transform: translateY(-8px) rotate(0); }.screen-card img { aspect-ratio: 1206/2622; object-fit: cover; border-radius: 31px; }
.screen-card figcaption { direction: rtl; color: #fff; text-align: center; padding: 12px 4px 7px; font-weight: 800; font-size: .85rem; }
.featured-screen { width: 300px; position: relative; z-index: 2; }.tilted-right { transform: rotate(-5deg); }.tilted-left { transform: rotate(5deg); }

.download { padding: 90px 0; background: var(--paper); }
.download-card { position: relative; min-height: 410px; border-radius: 42px; padding: 65px 70px; color: #fff; background: linear-gradient(135deg, #f47710, #e64b14); overflow: hidden; box-shadow: 0 30px 70px rgba(194, 71, 5, .28); display: flex; align-items: center; }
.download-card::before { content: ""; position: absolute; width: 500px; height: 500px; left: -80px; top: -210px; border: 60px solid rgba(255,255,255,.08); border-radius: 50%; }
.download-card > div { position: relative; z-index: 2; max-width: 650px; }.download-card p { font-size: 1.05rem; opacity: .9; }
.eyebrow.light { color: #fff0c9; }.store-disabled { margin-top: 16px; background: #211d1a; color: #fff; direction: ltr; width: fit-content; cursor: default; }
.download-card > img { position: absolute; z-index: 1; height: 470px; width: auto; left: 5%; bottom: -80px; filter: drop-shadow(0 24px 22px rgba(78, 24, 0, .25)); }

footer { padding: 45px 0; background: #3f2415; color: #fcebd1; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; }.footer-brand img { border-radius: 13px; }.footer-grid > p { color: #dcbfa0; }.footer-links { display: flex; gap: 22px; font-weight: 700; }.footer-links a:hover { color: var(--gold); }.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; margin: 0; font-size: .82rem; text-align: center; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }.reveal.is-visible { opacity: 1; transform: none; }
@keyframes pulse { 0%,100% { transform: scale(.8) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(15deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; }.sparkle { animation: none; } }

/* Privacy */
.privacy-page { background: var(--paper); }
.privacy-page .site-header { position: relative; background: var(--cream); border-bottom: 1px solid var(--line); }
.privacy-hero { padding: 90px 0 80px; text-align: center; background: linear-gradient(180deg, var(--cream), #fff2d2); border-bottom: 1px solid var(--line); }
.privacy-icon { display: grid; place-items: center; width: 74px; height: 74px; background: #fff; border: 1px solid var(--line); border-radius: 23px; margin: 0 auto 20px; font-size: 2rem; box-shadow: 0 15px 35px rgba(112,57,13,.09); }
.privacy-hero h1 { font-size: clamp(2.7rem, 5vw, 4.6rem); letter-spacing: -.05em; margin: 8px 0; }.privacy-hero p { max-width: 660px; margin: 0 auto 20px; color: var(--ink-soft); font-size: 1.08rem; }.updated { display: inline-block; padding: 7px 15px; background: rgba(255,255,255,.65); border: 1px solid var(--line); border-radius: 99px; font-size: .8rem; color: var(--ink-soft); }
.privacy-content { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 45px; align-items: start; padding-top: 70px; padding-bottom: 110px; }
.privacy-toc { position: sticky; top: 25px; display: flex; flex-direction: column; gap: 9px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--cream); font-size: .88rem; }.privacy-toc strong { margin-bottom: 6px; }.privacy-toc a { color: var(--ink-soft); padding: 5px 0; }.privacy-toc a:hover { color: var(--orange-dark); }
.policy-card { background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 20px 58px; box-shadow: 0 20px 55px rgba(112,57,13,.07); }
.policy-card section { position: relative; padding: 45px 0; scroll-margin-top: 20px; }.policy-card section + section { border-top: 1px solid #f2e2ca; }.policy-number { position: absolute; left: 0; top: 48px; color: #d0a77d; font-size: .75rem; font-weight: 900; }.policy-card h2 { font-size: 1.75rem; margin: 0 0 14px; }.policy-card h3 { font-size: 1.08rem; margin: 25px 0 5px; }.policy-card p,.policy-card li { color: #765039; }.policy-card ul { padding-right: 22px; }.policy-card li { margin-bottom: 9px; }.text-link { color: var(--orange-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.privacy-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }.privacy-summary > div { display: flex; gap: 10px; padding: 16px; background: var(--cream); border-radius: 16px; }.privacy-summary span { flex: none; display: grid; place-items: center; width: 25px; height: 25px; color: #fff; background: var(--green); border-radius: 50%; font-size: .75rem; }.privacy-summary p { margin: 0; font-size: .8rem; }.privacy-summary b { display: block; color: var(--ink); font-size: .9rem; }
.contact-policy { background: linear-gradient(135deg, #fff9e9, #fff0ca); margin: 10px -28px 25px; padding: 35px 28px !important; border: 1px solid var(--line) !important; border-radius: 22px; }.contact-policy .policy-number { left: 25px; top: 38px; }.contact-email { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 12px; color: #fff; background: var(--orange); direction: ltr; font-weight: 800; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { min-height: auto; padding-top: 125px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-copy > p { margin-inline: auto; }.hero-actions,.hero-note { justify-content: center; }
  .hero-visual { height: 650px; }.hero-mascot { right: 8%; }
  .rules-grid { grid-template-columns: repeat(2, 1fr); }.feature-layout { grid-template-columns: 1fr; gap: 30px; }.feature-copy { text-align: center; }.feature-list { text-align: right; max-width: 600px; margin-inline: auto; }
  .download-card > img { opacity: .42; left: -30px; }.download-card > div { max-width: 560px; }
  .privacy-content { grid-template-columns: 1fr; }.privacy-toc { position: static; display: none; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 26px, 1160px); }.site-header { padding: 14px 0; }.brand { font-size: 1.1rem; }.brand img { width: 42px; height: 42px; }.nav-cta { padding: 8px 13px; font-size: .8rem; }
  .hero { padding-top: 112px; }.hero h1 { font-size: 3.15rem; }.hero-copy > p { font-size: 1rem; }.button { min-height: 56px; padding-inline: 18px; }
  .hero-visual { height: 530px; }.phone { width: 260px; height: 505px; border-width: 7px; border-radius: 44px; }.hero-mascot { width: 120px; bottom: -15px; right: -4px; }.float-card { padding: 9px 12px; }.float-level { right: -5px; top: 60px; }.float-streak { left: -4px; bottom: 55px; }
  .stats-grid { padding: 20px 8px; }.stats-grid strong { font-size: 1.55rem; }.stats-grid span { font-size: .72rem; }
  .section { padding: 85px 0; }.rules-grid { grid-template-columns: 1fr; }.rule-card { display: grid; grid-template-columns: 125px 1fr; column-gap: 15px; align-items: center; }.rule-card .mini-grid,.rule-card .no-touch { grid-row: 1 / 3; margin: 0; }.rule-card h3 { margin: 0; align-self: end; }.rule-card p { align-self: start; }
  .feature-art { min-height: 420px; }.feature-art::before { width: 320px; height: 320px; }.feature-art img { max-height: 370px; }.art-orbit { display: none; }.art-bubble { right: 0; top: 20px; }
  .screens-row { gap: 8px; margin-inline: -80px; }.screen-card { width: 190px; border-radius: 29px; padding: 6px; }.screen-card img { border-radius: 23px; }.featured-screen { width: 220px; }
  .download { padding: 55px 0; }.download-card { padding: 50px 26px; min-height: 440px; text-align: center; align-items: flex-start; }.download-card .store-disabled { margin-inline: auto; }.download-card > img { height: 270px; left: 50%; transform: translateX(-50%); bottom: -55px; opacity: .7; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 13px; }.footer-brand,.footer-links { justify-content: center; }.footer-grid > p { margin: 0; }.copyright { grid-column: auto; margin-top: 18px !important; }
  .privacy-hero { padding: 65px 0 55px; }.privacy-content { padding-top: 35px; }.policy-card { padding: 8px 22px; border-radius: 24px; }.policy-card section { padding: 37px 0; }.policy-number { top: 40px; }.privacy-summary { grid-template-columns: 1fr; }.contact-policy { margin-inline: -10px; padding: 28px 18px !important; }.contact-policy .policy-number { left: 16px; top: 31px; }
}
