@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/tajawal-400-ar.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/tajawal-400-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/tajawal-500-ar.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/tajawal-500-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/tajawal-700-ar.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/tajawal-700-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0d12;
  --bg-soft: #111722;
  --card: #141b26;
  --card-line: rgba(240, 212, 155, .14);
  --gold: #e2bd7c;
  --gold-soft: #c39a4e;
  --cream: #f4ede1;
  --muted: #a7a396;
  --muted-2: #7e7a70;
  --radius: 20px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(226, 189, 124, .16), rgba(226, 189, 124, 0) 60%),
    radial-gradient(80% 40% at 100% 0%, rgba(88, 122, 160, .12), rgba(0, 0, 0, 0) 70%),
    var(--bg);
  color: var(--cream);
  font-family: 'Tajawal', 'Segoe UI', Tahoma, 'Noto Naskh Arabic', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.app {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
}

.hero {
  text-align: center;
  padding: 8px 0 22px;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(226, 189, 124, .18), rgba(226, 189, 124, 0) 70%);
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .2px;
  background: linear-gradient(180deg, #fbf3e4, #d9b475);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

main { display: grid; gap: 14px; }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)) , var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--gold);
}

.lead { margin: 0 0 12px; color: var(--cream); }

.daily { background: linear-gradient(165deg, rgba(226, 189, 124, .16), rgba(226, 189, 124, .02) 55%), var(--card); }

.daily-text {
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 1.85;
  font-weight: 500;
  color: #fdf7ec;
  min-height: 3.6em;
}

.row { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(180deg, #f0d49b, #d3aa63);
  color: #22190a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 18px;
  min-height: 48px;
  cursor: pointer;
  transition: transform .08s ease, filter .15s ease;
}

.btn:active { transform: scale(.985); filter: brightness(.96); }

.btn.ghost {
  background: transparent;
  border-color: rgba(226, 189, 124, .38);
  color: var(--gold);
  font-weight: 500;
}

.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.services a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}

.svc-text { display: flex; flex-direction: column; gap: 2px; }

.svc-go {
  color: var(--gold-soft);
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.services a:hover, .services a:focus-visible {
  border-color: rgba(226, 189, 124, .45);
  background: rgba(226, 189, 124, .07);
  outline: none;
}

.svc-title { font-weight: 700; font-size: 17px; }
.svc-detail { color: var(--muted); font-size: 14px; }

.code-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(226, 189, 124, .08);
  border: 1px dashed rgba(226, 189, 124, .35);
}

.code-label { color: var(--muted); font-size: 14px; }

.code-line b {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 22px;
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  margin-inline-start: auto;
}

.invited { margin: 0 0 12px; font-size: 14px; color: var(--gold); }

.counter {
  margin: 14px 0 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
}

.fine {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-2);
}

.how { margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 12px; }

.how summary {
  cursor: pointer;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.how summary::-webkit-details-marker { display: none; }

.how summary::before {
  content: "＋";
  margin-inline-start: 8px;
  font-size: 14px;
  color: var(--gold-soft);
}

.how[open] summary::before { content: "−"; }

.how-body p { margin: 8px 0; font-size: 14.5px; color: var(--muted); }
.how-body b { color: var(--cream); }

footer {
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
  padding: 22px 0 6px;
}

@media (min-width: 720px) {
  .app { max-width: 620px; padding-top: 40px; }
  .hero h1 { font-size: 34px; }
  .card { padding: 22px 24px 24px; }
}
