/* Prayer Reminder — website. Brand: deep night green, gold, Cairo. */
@font-face { font-family: "Cairo"; src: url("/qibla/fonts/Cairo-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("/qibla/fonts/Cairo-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --bg: #070c10; --bg2: #0c141a; --card: rgba(20,29,37,.72); --card2: #121b23; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --text: #eef2f6; --muted: #93a0ad; --dim: #66737f; --green: #256b4b; --green2: #2f8a60; --glow: #33c47a;
  --gold: #b8860b; --gold2: #d9a92e; --gold3: #f2c95c; --radius: 22px; --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Cairo", -apple-system, "Segoe UI", Tahoma, sans-serif;
  line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ambient light */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 40% at 80% -10%, rgba(47,138,96,.30), transparent 70%),
              radial-gradient(50% 35% at 0% 20%, rgba(217,169,46,.10), transparent 70%),
              radial-gradient(60% 50% at 50% 110%, rgba(47,138,96,.14), transparent 70%); }

/* ── header ── */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(7,12,16,.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 4px 12px rgba(217,169,46,.35)); }
.brand small { display: block; font-size: 11px; color: var(--gold2); font-weight: 700; line-height: 1; margin-top: 2px; letter-spacing: .4px; }
.links { display: flex; gap: 22px; margin-inline-start: auto; font-size: 14.5px; color: #c3ccd5; }
.links a:hover { color: #fff; }
.lang { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); font-size: 13px; font-weight: 700; color: #dfe5eb; }
.nav .cta { padding: 9px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; color: #1b1405;
  background: linear-gradient(180deg, var(--gold3), var(--gold2)); box-shadow: 0 8px 22px rgba(217,169,46,.25); }
@media (max-width: 860px) { .links { display: none; } .nav .cta { display: none; } .lang { margin-inline-start: auto; } }

/* ── hero ── */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #a9eccb; background: rgba(51,196,122,.10); border: 1px solid rgba(51,196,122,.30); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px rgba(51,196,122,.18); }
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.18; margin: 16px 0 14px; letter-spacing: -.5px; }
h1 .gold { background: linear-gradient(180deg, var(--gold3), var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: #c5ced7; max-width: 560px; margin: 0; }
.dl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px 11px 20px; border-radius: 16px; min-width: 214px;
  background: #fff; color: #0b0f13; box-shadow: 0 14px 34px rgba(0,0,0,.35); transition: transform .15s ease; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 28px; height: 28px; flex: none; }
.store b { display: block; font-size: 16px; line-height: 1.2; }
.store span { display: block; font-size: 11.5px; color: #49535c; line-height: 1.2; }
.store.soon { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--line2); box-shadow: none; cursor: default; }
.store.soon span { color: var(--muted); }
.store.soon:hover { transform: none; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; color: var(--muted); font-size: 13.5px; }
.facts span { display: inline-flex; align-items: center; gap: 7px; }
.facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold2); }

/* a MacBook */
.device { position: relative; }
.mac { position: relative; margin: 0 auto; width: 100%; max-width: 640px; }
.mac .lid { border-radius: 18px 18px 6px 6px; padding: 12px 12px 14px; background: linear-gradient(180deg, #2a3038, #171b20);
  box-shadow: 0 0 0 1px #3c434c inset, 0 40px 90px rgba(0,0,0,.6); }
.mac .lid img { border-radius: 8px; width: 100%; aspect-ratio: 1180/760; object-fit: cover; background: #0e151b; }
.mac .base { height: 16px; margin: 0 -3.5%; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #c7ccd2, #8b9198);
  box-shadow: 0 18px 40px rgba(0,0,0,.5); position: relative; }
.mac .base::after { content: ""; position: absolute; top: 0; left: 50%; width: 18%; height: 6px; margin-left: -9%; border-radius: 0 0 8px 8px; background: #6c727a; }
.float { position: absolute; z-index: 2; padding: 12px 14px; border-radius: 18px; background: rgba(15,22,29,.86); border: 1px solid var(--line2);
  backdrop-filter: blur(14px); box-shadow: 0 20px 44px rgba(0,0,0,.5); font-size: 13px; }
.float b { display: block; font-size: 15px; }
.float.next { inset-inline-start: -16px; bottom: 54px; }
.float.next .t { font-size: 26px; font-weight: 700; color: var(--gold3); direction: ltr; unicode-bidi: isolate; line-height: 1.2; }
.float.qibla { inset-inline-end: -10px; top: 26px; display: flex; align-items: center; gap: 10px; }
.float.qibla .d { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #3a9b6c, #1f5d42); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } .float.next { inset-inline-start: 4px; } .float.qibla { inset-inline-end: 4px; } }

/* ── sections ── */
section { padding: 56px 0; }
.kicker { color: var(--gold2); font-weight: 700; font-size: 13.5px; letter-spacing: .4px; }
h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; margin: 6px 0 10px; }
.sub { color: var(--muted); font-size: 16px; max-width: 680px; margin: 0; }
.head { margin-bottom: 30px; }
.center { text-align: center; } .center .sub { margin: 0 auto; }

/* ── today's prayer times ── */
.times { background: linear-gradient(180deg, transparent, rgba(47,138,96,.06) 30%, transparent); }
.tool { border-radius: 28px; padding: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.35); backdrop-filter: blur(10px); }
.bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 14px; border: 0;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; color: #fff; background: linear-gradient(180deg, var(--green2), var(--green));
  box-shadow: 0 10px 24px rgba(37,107,75,.35); }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: rgba(255,255,255,.05); border: 1px solid var(--line2); box-shadow: none; }
.search { position: relative; flex: 1; min-width: 220px; }
.search input { width: 100%; padding: 12px 42px 12px 14px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(0,0,0,.25);
  color: var(--text); font: inherit; font-size: 15px; outline: none; }
[dir="rtl"] .search input { padding: 12px 14px 12px 42px; }
.search input:focus { border-color: rgba(217,169,46,.6); box-shadow: 0 0 0 4px rgba(217,169,46,.12); }
.search .ic { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-end: 14px; width: 18px; height: 18px; color: var(--muted); }
.list { position: absolute; z-index: 20; top: calc(100% + 6px); inset-inline: 0; max-height: 320px; overflow: auto; border-radius: 16px;
  background: #111a22; border: 1px solid var(--line2); box-shadow: 0 24px 50px rgba(0,0,0,.55); }
.list button { display: flex; width: 100%; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 0; background: none; color: var(--text);
  font: inherit; font-size: 14.5px; cursor: pointer; text-align: start; }
.list button:hover, .list button.on { background: rgba(255,255,255,.06); }
.list small { color: var(--muted); }
select { padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(0,0,0,.25); color: var(--text); font: inherit; font-size: 14px; }
.place { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 20px 4px 14px; }
.place b { font-size: 21px; }
.place span { color: var(--muted); font-size: 13.5px; }
.grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.pt { padding: 16px 10px; border-radius: 18px; text-align: center; background: rgba(255,255,255,.035); border: 1px solid var(--line); transition: all .25s; }
.pt .n { font-weight: 700; font-size: 15px; color: #c9d2db; }
.pt .t { font-size: 22px; font-weight: 700; direction: ltr; unicode-bidi: isolate; margin-top: 2px; }
.pt.next { background: linear-gradient(180deg, rgba(217,169,46,.16), rgba(217,169,46,.05)); border-color: rgba(217,169,46,.55); box-shadow: 0 14px 30px rgba(217,169,46,.12); }
.pt.next .n, .pt.next .t { color: var(--gold3); }
.pt.past { opacity: .55; }
@media (max-width: 760px) { .grid6 { grid-template-columns: repeat(3, 1fr); } }
.status { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.chipx { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.chipx .ico { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; }
.chipx .ico svg { width: 22px; height: 22px; }
.chipx b { display: block; font-size: 18px; direction: ltr; unicode-bidi: isolate; text-align: start; }
[dir="rtl"] .chipx b { text-align: right; }
.chipx span { color: var(--muted); font-size: 12.5px; }
.chipx a { margin-inline-start: auto; font-size: 13px; font-weight: 700; color: var(--gold3); white-space: nowrap; }
.empty { text-align: center; color: var(--muted); padding: 26px 10px 10px; font-size: 15px; }
.note { color: var(--dim); font-size: 12.5px; margin-top: 12px; }

/* ── features ── */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.f { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.f:hover { transform: translateY(-3px); border-color: var(--line2); }
.f .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 12px; }
.f .ico svg { width: 25px; height: 25px; }
.f h3 { margin: 0 0 4px; font-size: 18.5px; }
.f p { margin: 0; color: var(--muted); font-size: 14.5px; }
.g1 { background: linear-gradient(160deg, #3a9b6c, #1f5d42); } .g2 { background: linear-gradient(160deg, #f2c95c, #b8780e); }
.g3 { background: linear-gradient(160deg, #5a7bd6, #2b3f86); } .g4 { background: linear-gradient(160deg, #d0705a, #8e3424); }
.g5 { background: linear-gradient(160deg, #4aa6b8, #1d5c69); } .g6 { background: linear-gradient(160deg, #8c6ad6, #4a2f8a); }
@media (max-width: 960px) { .feat { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat { grid-template-columns: 1fr; } }

/* ── platforms ── */
.plat { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.plat.rev { grid-template-columns: 1.25fr 1fr; }
.plat.rev .txt { order: 2; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { display: flex; gap: 10px; margin-top: 9px; color: #cdd5dd; font-size: 15px; }
.ticks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700;
  color: #0e2a1d; background: var(--glow); margin-top: 3px; }
.stack { position: relative; }
.stack .back { position: absolute; width: 62%; inset-inline-start: -2%; bottom: -8%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2);
  box-shadow: 0 30px 60px rgba(0,0,0,.55); transform: rotate(-3deg); }
[dir="rtl"] .stack .back { transform: rotate(3deg); }
.shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gal .shot:first-child { grid-column: 1 / -1; }
@media (max-width: 900px) { .plat, .plat.rev { grid-template-columns: 1fr; } .plat.rev .txt { order: 0; } .stack .back { display: none; } }

/* ── qibla band ── */
.band { border-radius: 30px; padding: 34px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: center;
  background: radial-gradient(80% 120% at 100% 0%, rgba(51,196,122,.18), transparent 60%), var(--card2); border: 1px solid var(--line2); }
.ways { display: grid; gap: 10px; }
.way { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.way .ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; }
.way .ico svg { width: 23px; height: 23px; }
.way b { display: block; } .way span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 22px; } }

/* ── faq ── */
.faq { max-width: 860px; margin: 0 auto; }
details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin-top: 10px; padding: 0 18px; }
summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold2); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: #c3ccd5; font-size: 15px; }

/* ── final call ── */
.final { text-align: center; border-radius: 32px; padding: 48px 22px; background: radial-gradient(70% 120% at 50% 0%, rgba(217,169,46,.16), transparent 60%), var(--card2);
  border: 1px solid var(--line2); }
.final img { width: 74px; margin: 0 auto 8px; filter: drop-shadow(0 8px 22px rgba(217,169,46,.4)); }
.final .dl { justify-content: center; }

footer { padding: 40px 0 50px; color: var(--dim); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a:hover { color: #fff; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* grid children may shrink below their images' natural width */
.hero .wrap > *, .plat > *, .band > *, .feat > *, .gal > * { min-width: 0; }
@media (max-width: 600px) {
  .float { padding: 8px 10px; font-size: 11px; border-radius: 14px; }
  .float b { font-size: 13px; }
  .float.next { bottom: 34px; } .float.next .t { font-size: 19px; }
  .float.qibla { top: 10px; } .float.qibla .d { width: 30px; height: 30px; }
  .tool { padding: 14px; border-radius: 22px; }
  .bar > * { flex: 1 1 100%; }
  .pt { padding: 12px 6px; } .pt .t { font-size: 18px; }
}

/* ── header buttons ── */
.lang { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700;
  color: #dfe5eb; background: rgba(255,255,255,.04); border: 1px solid var(--line2); transition: background .2s, border-color .2s; }
.lang svg { width: 17px; height: 17px; opacity: .8; }
.lang:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.nav .cta { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px;
  color: #fff; background: linear-gradient(180deg, #34946a, var(--green)); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 20px rgba(37,107,75,.35), inset 0 1px 0 rgba(255,255,255,.15); transition: transform .15s, box-shadow .2s; }
.nav .cta svg { width: 17px; height: 17px; }
.nav .cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(37,107,75,.45), inset 0 1px 0 rgba(255,255,255,.15); }

/* ── quick cities ── */
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.quick span { color: var(--muted); font-size: 13px; margin-inline-end: 4px; }
.quick button { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); color: #d7dee5;
  font: inherit; font-size: 13.5px; cursor: pointer; transition: all .2s; }
.quick button:hover { color: #1b1405; background: var(--gold3); border-color: var(--gold3); }

/* ── at a glance ── */
.statsec { padding: 10px 0 20px; }
/* the numbers: one glass panel, thin dividers, an icon per figure */
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 26px; overflow: hidden; border: 1px solid var(--line2);
  background: radial-gradient(60% 160% at 50% 0%, rgba(217,169,46,.11), transparent 62%), linear-gradient(180deg, rgba(26,36,46,.86), rgba(12,18,24,.92));
  box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.stats::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(242,201,92,.65), transparent); }
.kpi { position: relative; display: flex; align-items: center; gap: 14px; padding: 24px 22px; }
.kpi + .kpi::before { content: ""; position: absolute; inset-inline-start: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(180deg, transparent, var(--line2), transparent); }
.kpi .si { width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; color: var(--gold3);
  background: linear-gradient(160deg, rgba(242,201,92,.16), rgba(217,169,46,.05)); border: 1px solid rgba(217,169,46,.28); }
.kpi .si svg { width: 23px; height: 23px; }
.kpi b { display: block; font-size: 36px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffe39a, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi .sl { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .kpi + .kpi::before { display: none; }
  .kpi:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .kpi { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; } .kpi b { font-size: 32px; } }

/* ── how it works ── */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; font-style: normal; font-weight: 700; font-size: 18px;
  color: #1b1405; background: linear-gradient(180deg, var(--gold3), var(--gold2)); margin-bottom: 12px; box-shadow: 0 8px 20px rgba(217,169,46,.25); }
.step h3 { margin: 0 0 4px; font-size: 18.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }

/* ── methods by country ── */
.mtable { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 980px; margin: 0 auto; }
.mtable div { display: flex; flex-direction: column; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.mtable b { font-size: 16px; }
.mtable b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); margin-inline-end: 9px; vertical-align: middle; }
.mtable span { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .mtable { grid-template-columns: 1fr; } }
.center.note { text-align: center; margin-top: 16px; }
@media (max-width: 860px) { .nav .cta { padding: 0 11px; } .nav .cta span { display: none; } .nav .wrap { gap: 10px; } }

/* ═══ bento features ═══ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.b { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(26,36,46,.88), rgba(13,19,25,.92)); border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.b::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(242,201,92,.12), transparent 45%); }
.b:hover { transform: translateY(-4px); border-color: rgba(242,201,92,.28); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.b:hover::before { opacity: 1; }
.b h3 { margin: 0; font-size: 20px; line-height: 1.35; }
.b p { margin: 0; color: var(--muted); font-size: 14.5px; }
.b .tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #f6d68a;
  background: rgba(217,169,46,.12); border: 1px solid rgba(217,169,46,.3); }
.b .vis { margin-top: auto; padding-top: 14px; }
.w2 { grid-column: span 2; } .h2 { grid-row: span 2; } .w4 { grid-column: 1 / -1; }
.b.hero1 { background: radial-gradient(90% 70% at 100% 0%, rgba(47,138,96,.30), transparent 60%), linear-gradient(180deg, rgba(26,36,46,.9), rgba(13,19,25,.94)); }
.b.hero1 h3 { font-size: 27px; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .h2 { grid-row: span 1; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .w2, .w4 { grid-column: auto; } }

/* the adhan window */
.alert { border-radius: 20px; padding: 16px; background: rgba(8,13,17,.7); border: 1px solid var(--line2); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.alert .top { display: flex; align-items: center; gap: 12px; }
.alert .mi { width: 46px; height: 46px; border-radius: 15px; flex: none; display: grid; place-items: center; background: linear-gradient(160deg, #3a9b6c, #1f5d42); box-shadow: 0 8px 20px rgba(47,138,96,.35); }
.alert .mi svg { width: 26px; height: 26px; }
.alert b { display: block; font-size: 17px; }
.alert small { color: var(--muted); font-size: 13px; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 56px; margin: 14px 0 10px; }
.wave i { width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--gold3), var(--gold2)); height: 20%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.2s; } .wave i:nth-child(3n+1) { animation-delay: -.5s; } .wave i:nth-child(4n) { animation-delay: -.8s; } .wave i:nth-child(5n) { animation-delay: -.35s; }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 95%; } }
.alert .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #cdd5dd; }
.alert .row .btns { display: flex; gap: 8px; }
.alert .row .btns span { padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line2); font-weight: 700; font-size: 12.5px; }
.alert .row .btns span.p { background: linear-gradient(180deg, var(--green2), var(--green)); border-color: transparent; color: #fff; }

/* a strip of times */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.strip div { padding: 10px 4px; border-radius: 14px; text-align: center; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.strip span { display: block; font-size: 12px; color: var(--muted); }
.strip b { display: block; font-size: 15px; direction: ltr; unicode-bidi: isolate; }
.strip .on { background: linear-gradient(180deg, rgba(217,169,46,.22), rgba(217,169,46,.06)); border-color: rgba(217,169,46,.6); box-shadow: 0 10px 24px rgba(217,169,46,.15); }
.strip .on span, .strip .on b { color: var(--gold3); }
.strip .done { opacity: .5; }
.prog { height: 4px; border-radius: 4px; margin-top: 12px; background: rgba(255,255,255,.07); overflow: hidden; }
.prog i { display: block; height: 100%; width: 62%; border-radius: 4px; background: linear-gradient(90deg, var(--gold2), var(--gold3)); }
[dir="rtl"] .prog i { margin-inline-start: 0; }

/* a small compass */
.cmp { position: relative; width: 132px; height: 132px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle, #16202a 0 56%, transparent 57%), repeating-conic-gradient(from 0deg, #4b596a 0 1.2deg, transparent 1.2deg 10deg), #0f171e;
  border: 1px solid var(--line2); box-shadow: 0 16px 34px rgba(0,0,0,.45), inset 0 0 0 6px rgba(255,255,255,.02); }
.cmp .n { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); color: #e0574b; font-weight: 700; font-size: 13px; }
.cmp .ray { position: absolute; left: 50%; top: 50%; width: 3px; height: 50px; margin-left: -1.5px; transform-origin: 50% 0; transform: rotate(79deg); /* 259° from north */
  background: linear-gradient(180deg, var(--gold3), rgba(242,201,92,.1)); border-radius: 3px; }
.cmp .kb { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #2c8a5e, var(--green));
  box-shadow: 0 0 0 2px var(--gold2), 0 0 18px rgba(217,169,46,.5); left: calc(50% - 13px + 52px * -0.982); top: calc(50% - 13px + 52px * 0.191); }
.cmp .hub { position: absolute; inset: 50% auto auto 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; }
.cmp .deg { position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); font-weight: 700; color: var(--gold3); direction: ltr; }

/* a map of mosques */
.pins { position: relative; height: 128px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: repeating-linear-gradient(28deg, transparent 0 22px, rgba(255,255,255,.05) 22px 24px), repeating-linear-gradient(-62deg, transparent 0 30px, rgba(255,255,255,.04) 30px 32px), #142028; }
.pins i { position: absolute; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(160deg, #3a9b6c, #1f5d42); border: 2px solid #fff; box-shadow: 0 6px 14px rgba(0,0,0,.5); }
.pins i.sel { width: 32px; height: 32px; background: #fff; border-color: #33c47a; box-shadow: 0 0 0 8px rgba(51,196,122,.22), 0 6px 14px rgba(0,0,0,.5); }
.pins i.gold { background: linear-gradient(160deg, #e7ba52, #b8860b); }

/* adhkar */
.dhikr { font-size: 22px; font-weight: 700; line-height: 1.6; color: var(--gold3); text-align: center; padding: 14px 8px; border-radius: 16px; background: rgba(217,169,46,.06); border: 1px dashed rgba(217,169,46,.3); }
.count { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.count span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.12); }
.count span.on { background: var(--glow); }

/* quran & live */
.play { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.play .pb { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(160deg, #8c6ad6, #4a2f8a); }
.play .pb svg { width: 18px; height: 18px; }
.play b { display: block; font-size: 14px; } .play small { color: var(--muted); font-size: 12px; }
.live { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; font-size: 11.5px; font-weight: 700; color: #ff8f80; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5a47; box-shadow: 0 0 0 4px rgba(255,90,71,.2); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* hijri */
.moon { display: flex; align-items: center; gap: 14px; }
.moon .orb { width: 58px; height: 58px; border-radius: 50%; flex: none; background: radial-gradient(circle at 70% 40%, transparent 46%, #f2c95c 47%); box-shadow: 0 0 30px rgba(242,201,92,.25); }
.moon b { display: block; font-size: 18px; } .moon small { color: var(--muted); font-size: 13px; }

/* menu bar */
.mbar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid var(--line2); font-size: 12.5px; color: #cdd5dd; direction: ltr; }
.mbar .pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 8px; background: rgba(217,169,46,.18); color: var(--gold3); font-weight: 700; }
.mbar .dots { margin-left: auto; display: flex; gap: 8px; opacity: .6; }
.mbar .dots i { width: 14px; height: 10px; border-radius: 3px; background: rgba(255,255,255,.35); }
.menu { margin-top: 8px; padding: 10px; border-radius: 14px; background: rgba(8,13,17,.75); border: 1px solid var(--line2); font-size: 13px; }
.menu div { display: flex; justify-content: space-between; padding: 4px 6px; } .menu div b { direction: ltr; unicode-bidi: isolate; }
.menu .on { border-radius: 8px; background: rgba(217,169,46,.14); color: var(--gold3); }

/* settings go with you */
.b.syncc { background: radial-gradient(80% 90% at 0% 100%, rgba(90,123,214,.20), transparent 60%), linear-gradient(180deg, rgba(26,36,46,.9), rgba(13,19,25,.94)); }
.sync { display: flex; align-items: center; justify-content: center; gap: 14px; }
.sync .os { width: 92px; height: 92px; border-radius: 24px; display: grid; place-items: center; align-content: center; gap: 6px; background: rgba(255,255,255,.05); border: 1px solid var(--line2); }
.sync .os svg { width: 34px; height: 34px; }
.sync .os small { font-size: 12px; font-weight: 700; color: #cdd5dd; }
.sync .arr { color: var(--gold3); font-size: 22px; font-weight: 700; }
.sync .cloud { width: 60px; height: 60px; border-radius: 19px; display: grid; place-items: center; background: linear-gradient(160deg, #6a8ae0, #2b3f86); box-shadow: 0 10px 26px rgba(90,123,214,.35); }
.sync .cloud svg { width: 28px; height: 28px; }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.srcs span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line2); color: #cdd5dd; }
.srcs span.ok::before { content: "✓ "; color: var(--glow); }

/* ═══ how it works: a timeline ═══ */
.tl { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tl::before { content: ""; position: absolute; top: 34px; inset-inline: 16%; height: 2px;
  background: linear-gradient(90deg, rgba(217,169,46,.1), var(--gold2), rgba(51,196,122,.8), rgba(51,196,122,.1)); }
[dir="rtl"] .tl::before { transform: scaleX(-1); }
.tl .st { position: relative; text-align: center; padding: 0 10px; }
.tl .num { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center;
  font-size: 26px; font-weight: 700; color: #1b1405; background: linear-gradient(160deg, var(--gold3), var(--gold2));
  box-shadow: 0 0 0 8px rgba(7,12,16,1), 0 0 0 9px rgba(217,169,46,.35), 0 18px 40px rgba(217,169,46,.3); }
.tl .st:last-child .num { color: #fff; background: linear-gradient(160deg, #3fbf82, var(--green)); box-shadow: 0 0 0 8px rgba(7,12,16,1), 0 0 0 9px rgba(51,196,122,.4), 0 18px 40px rgba(51,196,122,.3); }
.tl h3 { margin: 0 0 6px; font-size: 20px; }
.tl p { margin: 0 auto; color: var(--muted); font-size: 14.5px; max-width: 300px; }
@media (max-width: 860px) { .tl { grid-template-columns: 1fr; gap: 26px; } .tl::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .wave i, .live::before { animation: none; } }
.b { transition: opacity .7s ease, transform .3s ease, border-color .25s ease, box-shadow .25s ease; }
.cmp { margin-bottom: 30px; }
.cmp .kb { border-radius: 6px; background: linear-gradient(180deg, #151515 0 30%, var(--gold2) 30% 42%, #151515 42%); }
.vis.stack { display: grid; gap: 8px; }
.play .pb.red { background: linear-gradient(160deg, #e5675a, #8a2a20); }
.mbar .dots { margin-left: 0; margin-right: auto; }
.menu { width: min(100%, 300px); margin-left: auto; }
.tl .srcs { justify-content: center; }
.toast { display: flex; align-items: center; gap: 12px; width: 88%; margin: 0 auto 12px; padding: 12px 14px; border-radius: 16px;
  background: rgba(20,29,37,.75); border: 1px solid rgba(217,169,46,.25); box-shadow: 0 14px 30px rgba(0,0,0,.35); opacity: .92; }
.toast .bi { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; background: rgba(217,169,46,.14); }
.toast .bi svg { width: 19px; height: 19px; }
.toast b { display: block; font-size: 14.5px; } .toast small { color: var(--muted); font-size: 12.5px; }
.hero1 .wave { height: 78px; margin: 18px 0 14px; }
.hero1 .vis { padding-top: 22px; }
.b.syncc .vis { margin-block: auto; padding-top: 18px; }
.bento > *, .b .vis, .tl > * { min-width: 0; }
.hero1 .vis { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero1 .wave { height: 104px; }
@media (max-width: 640px) {
  .b { padding: 18px; border-radius: 22px; }
  .sync { gap: 8px; } .sync .os { width: 72px; height: 72px; border-radius: 20px; } .sync .os svg { width: 28px; height: 28px; }
  .sync .cloud { width: 50px; height: 50px; } .sync .arr { font-size: 18px; }
  .strip { gap: 5px; } .strip b { font-size: 13.5px; } .strip span { font-size: 11px; }
  .toast { width: 100%; } .hero1 .wave { height: 70px; }
  .alert .row { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 640px) { .mac .base { margin: 0 -3%; } }

/* ═══ the makers ═══ */
.makers { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mk { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 26px; border: 1px solid var(--line);
  transition: opacity .7s ease, transform .3s ease, border-color .25s ease; }
.mk.win { background: radial-gradient(80% 90% at 100% 0%, rgba(217,169,46,.17), transparent 60%), linear-gradient(180deg, rgba(26,36,46,.9), rgba(13,19,25,.94)); }
.mk.mac { background: radial-gradient(80% 90% at 100% 0%, rgba(47,138,96,.24), transparent 60%), linear-gradient(180deg, rgba(26,36,46,.9), rgba(13,19,25,.94)); }
.mk:hover { transform: translateY(-3px); border-color: rgba(242,201,92,.28); }
.mk .who { display: flex; align-items: center; gap: 16px; }
.mk .av { position: relative; flex: none; width: 66px; height: 66px; border-radius: 21px; display: grid; place-items: center; font-weight: 700; font-size: 23px; letter-spacing: .5px; }
.mk.win .av { color: #1b1405; background: linear-gradient(160deg, var(--gold3), var(--gold2)); box-shadow: 0 14px 32px rgba(217,169,46,.3); }
.mk.mac .av { color: #fff; background: linear-gradient(160deg, #3fbf82, var(--green)); box-shadow: 0 14px 32px rgba(51,196,122,.3); }
.mk .av .os { position: absolute; bottom: -7px; inset-inline-end: -7px; width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; background: #0c141a; border: 1px solid var(--line2); }
.mk .av .os svg { width: 15px; height: 15px; }
.mk .role { display: block; font-size: 12.5px; font-weight: 700; color: var(--gold3); }
.mk.mac .role { color: #7fe0ae; }
.mk h3 { margin: 2px 0 0; font-size: 23px; line-height: 1.3; }
.mk p { margin: 0; color: var(--muted); font-size: 14.5px; }
.mk .lnk { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700;
  background: rgba(255,255,255,.05); border: 1px solid var(--line2); color: #e8edf2; transition: background .2s, border-color .2s; }
.mk .lnk:hover { background: rgba(255,255,255,.09); border-color: rgba(242,201,92,.45); }
.mk .lnk svg { width: 16px; height: 16px; }
.makers .amp { position: absolute; left: 50%; top: 50%; z-index: 1; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center;
  background: #0c141a; border: 1px solid rgba(217,169,46,.5); color: var(--gold3); font-weight: 700; font-size: 19px; box-shadow: 0 0 0 7px var(--bg); }
footer .credit a { color: #c3ccd5; font-weight: 700; }
@media (max-width: 760px) { .makers { grid-template-columns: 1fr; } .makers .amp { display: none; } .mk { padding: 22px; } }
@media (max-width: 640px) { section { padding: 40px 0; } .head { margin-bottom: 22px; } }
.note { margin-bottom: 0; }

/* ═══ the steps: orbs with a turning ring ═══ */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.tl::before { top: 48px; }
.tl::after { content: ""; position: absolute; top: 47px; left: 16%; width: 90px; height: 4px; border-radius: 4px; filter: blur(1px);
  background: linear-gradient(90deg, transparent, rgba(255,240,200,.9), transparent); animation: tlpulse 4s ease-in-out infinite; }
[dir="rtl"] .tl::after { animation-direction: reverse; }
@keyframes tlpulse { 0% { left: 16%; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(84% - 90px); opacity: 0; } }
.orb { position: relative; z-index: 1; width: 96px; height: 96px; margin: 0 auto 20px; padding: 2px; border-radius: 50%;
  background: conic-gradient(from var(--ang), var(--gold3), rgba(217,169,46,.08) 25%, rgba(217,169,46,.08) 50%, var(--gold2) 75%, var(--gold3));
  box-shadow: 0 0 0 10px var(--bg), 0 22px 50px rgba(217,169,46,.18); animation: orbspin 7s linear infinite; }
@keyframes orbspin { to { --ang: 360deg; } }
.orb .in { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; color: var(--gold3);
  background: radial-gradient(circle at 50% 26%, rgba(242,201,92,.2), transparent 55%), radial-gradient(circle, #17222c, #0b1218 72%); }
.orb .in svg { width: 36px; height: 36px; filter: drop-shadow(0 4px 10px rgba(242,201,92,.35)); }
.orb .n { position: absolute; top: -2px; inset-inline-end: -8px; height: 28px; min-width: 38px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  direction: ltr; font-size: 12.5px; font-weight: 700; letter-spacing: .6px; color: #1b1405; background: linear-gradient(160deg, var(--gold3), var(--gold2));
  box-shadow: 0 0 0 4px var(--bg), 0 6px 16px rgba(217,169,46,.35); }
.st.g .orb { background: conic-gradient(from var(--ang), #6fe6aa, rgba(51,196,122,.08) 25%, rgba(51,196,122,.08) 50%, var(--glow) 75%, #6fe6aa);
  box-shadow: 0 0 0 10px var(--bg), 0 22px 50px rgba(51,196,122,.2); }
.st.g .orb .in { color: #7fe0ae; background: radial-gradient(circle at 50% 26%, rgba(51,196,122,.24), transparent 55%), radial-gradient(circle, #17222c, #0b1218 72%); }
.st.g .orb .in svg { filter: drop-shadow(0 4px 10px rgba(51,196,122,.4)); }
.st.g .orb .n { color: #fff; background: linear-gradient(160deg, #3fbf82, var(--green)); box-shadow: 0 0 0 4px var(--bg), 0 6px 16px rgba(51,196,122,.35); }
.tl .st:hover .orb { animation-duration: 2.4s; }
@media (max-width: 860px) { .tl::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } .tl::after { display: none; } }
