:root {
  --navy: #0B1F3A; --navy-2: #102A4C; --navy-3: #173660;
  --gold-1: #F1D78A; --gold-2: #D4AF5A; --gold-3: #A9822F;
  --cream: #F7F3EA; --muted: #8FA3BF; --line: rgba(241, 215, 138, .16);
  --ok: #57D9A3; --err: #FF8A8A; --teal: #3FE0C5; --violet: #8B7CFF;
  --acc-rgb: 241, 215, 138;
  --gold: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden;
  background: var(--navy); color: var(--cream);
  font-family: "Readex Pro", system-ui, sans-serif; font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; border-radius: 12px; }
h1:focus, h2:focus { outline: none; }

/* ================= خلفية حية ================= */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #071729, #0B1F3A 38%, #0E2748); }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.o1 { width: 78vmax; height: 78vmax; top: -34vmax; right: -30vmax; background: radial-gradient(closest-side, rgba(212, 175, 90, .36), transparent); animation: drift1 15s ease-in-out infinite alternate; }
.o2 { width: 70vmax; height: 70vmax; bottom: -30vmax; left: -30vmax; background: radial-gradient(closest-side, rgba(63, 224, 197, .22), transparent); animation: drift2 19s ease-in-out infinite alternate; }
.o3 { width: 56vmax; height: 56vmax; top: 30%; left: 30%; background: radial-gradient(closest-side, rgba(139, 124, 255, .2), transparent); animation: drift3 23s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-14vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(16vmax, -10vmax) scale(1.2); } }
@keyframes drift3 { to { transform: translate(-20vmax, -14vmax) scale(.8); } }
.grid {
  position: absolute; inset: -44px 0 0; opacity: .9;
  background-image: linear-gradient(rgba(241, 215, 138, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(241, 215, 138, .06) 1px, transparent 1px);
  background-size: 44px 44px; animation: gridmove 9s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 18%, #000 5%, transparent 72%); mask-image: radial-gradient(ellipse 90% 60% at 50% 18%, #000 5%, transparent 72%);
}
@keyframes gridmove { to { transform: translateY(44px); } }
.shots { position: absolute; inset: 0 0 auto 0; height: 68vh; transition: opacity .8s; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.shots i { position: absolute; inset: -4%; background-size: cover; background-position: 50% 40%; opacity: 0; transition: opacity 1.8s ease; animation: kenburns 18s ease-in-out infinite alternate; }
.shots i:nth-child(2) { animation-delay: -6s; } .shots i:nth-child(3) { animation-delay: -12s; }
.shots i.on { opacity: .62; }
.shots::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 23, 41, .55), rgba(11, 31, 58, .25) 35%, rgba(11, 31, 58, .7)); }
@keyframes kenburns { from { transform: scale(1) translateY(0); } to { transform: scale(1.14) translateY(-2%); } }
body.inquiz .shots { opacity: .4; }
#dust { position: absolute; inset: 0; width: 100%; height: 100%; }
#sky { position: absolute; inset: auto 0 0 0; height: 130px; opacity: .5; -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); }
#sky svg { width: 100%; height: 100%; display: block; }
#sky .tw { animation: tw 3.4s ease-in-out infinite; }
@keyframes tw { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

/* ================= هيكل ================= */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; width: 100%; max-width: 620px; margin: 0 auto; animation: rise .6s var(--ease) both; }
.logo { height: 46px; width: auto; display: block; }
.pill { font-size: 12px; color: var(--gold-1); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; white-space: nowrap; background: rgba(11, 31, 58, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
main { flex: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 8px 20px 28px; display: flex; flex-direction: column; }
.foot { text-align: center; font-size: 11.5px; color: #A9B8CE; padding: 14px 20px calc(18px + env(safe-area-inset-bottom)); text-shadow: 0 0 8px #071729, 0 0 14px #071729; }

.view { display: flex; flex-direction: column; flex: 1; }
.view.fwd { animation: inF .45s var(--ease) both; }
.view.bck { animation: inB .45s var(--ease) both; }
@keyframes inF { from { opacity: 0; transform: translateX(-34px); } }
@keyframes inB { from { opacity: 0; transform: translateX(34px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }

/* ================= الهيرو ================= */
.view.hero { animation: none; padding-block: 6px 8px; }
.hero > * { animation: rise .7s var(--ease) both; }
.hero > :nth-child(1) { animation-delay: .05s; } .hero > :nth-child(2) { animation-delay: .14s; }
.hero > :nth-child(3) { animation-delay: .23s; } .hero > :nth-child(4) { animation-delay: .32s; }
.hero > :nth-child(5) { animation-delay: .44s; } .hero > :nth-child(6) { animation-delay: .52s; }
.hero > :nth-child(9) { animation-delay: .76s; }
.hero > :nth-child(7) { animation-delay: .6s; }  .hero > :nth-child(8) { animation-delay: .68s; }

.live { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #D5F5E8; padding: 6px 13px; border-radius: 99px; background: rgba(87, 217, 163, .1); border: 1px solid rgba(87, 217, 163, .28); margin-bottom: 14px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(87, 217, 163, .7); animation: ping 1.6s ease-out infinite; }
.live b { font-family: Montserrat, sans-serif; font-weight: 800; color: var(--ok); }
@keyframes ping { to { box-shadow: 0 0 0 9px rgba(87, 217, 163, 0); } }

h1 { font-size: clamp(29px, 8.2vw, 42px); line-height: 1.3; font-weight: 700; }
.rot { display: block; position: relative; height: 1.35em; overflow: hidden; }
.rot em {
  position: absolute; inset-inline-start: 0; top: 0; white-space: nowrap; font-style: normal;
  background: linear-gradient(100deg, var(--gold-1), #FFF1C2 30%, var(--gold-2) 55%, var(--teal) 110%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(70%); transition: transform .6s var(--ease), opacity .45s; animation: textsheen 5s linear infinite;
}
.rot em.on { opacity: 1; transform: none; }
.rot em.off { opacity: 0; transform: translateY(-70%); }
@keyframes textsheen { to { background-position: -200% 0; } }
.lead { margin-top: 10px; font-size: 16px; color: #C9D4E5; font-weight: 300; }

/* كروت الفرص المتقلبة */
.deck { position: relative; height: 178px; margin-top: 18px; }
.dc {
  position: absolute; inset-inline: 12px; top: 38px; padding: 14px 15px; border-radius: 18px;
  background: linear-gradient(150deg, rgba(30, 66, 116, .97), rgba(12, 34, 64, .97));
  border: 1px solid rgba(var(--acc-rgb), .4);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, .75), 0 0 34px -14px rgba(var(--acc-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: transform .65s var(--ease), opacity .5s; transform-origin: 50% 100%; will-change: transform;
}
.dc[data-p="0"] { z-index: 4; }
.dc[data-p="1"] { z-index: 3; transform: translateY(-13px) scale(.94) rotate(-2deg); opacity: .7; }
.dc[data-p="2"] { z-index: 2; transform: translateY(-24px) scale(.88) rotate(2.5deg); opacity: .4; }
.dc[data-p="3"] { z-index: 1; transform: translateY(-30px) scale(.84); opacity: 0; }
.dc[data-p="out"] { z-index: 5; transform: translate(-70%, 26px) rotate(-16deg) scale(.94); opacity: 0; }
.dc-top { display: flex; align-items: center; gap: 11px; }
.dc-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--acc-rgb), .16); color: rgb(var(--acc-rgb)); }
.dc-ico svg { width: 20px; height: 20px; }
.dc-top b { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.dc-top small { display: block; font-size: 12px; color: var(--muted); }
.dc-bot { margin-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.dc-bot small { display: block; font-size: 11px; color: var(--muted); }
.dc-bot .p { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 19px; color: var(--gold-1); white-space: nowrap; }
.dc-bot .p i { font: 400 11.5px "Readex Pro", sans-serif; color: var(--muted); }
.dc-plan { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(var(--acc-rgb), .14); color: rgb(var(--acc-rgb)); white-space: nowrap; }
.chip { position: absolute; z-index: 6; font-size: 11.5px; padding: 5px 11px; border-radius: 99px; white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: bob 4s ease-in-out infinite; }
.chip.c1 { top: 4px; inset-inline-start: 0; background: rgba(87, 217, 163, .16); color: var(--ok); border: 1px solid rgba(87, 217, 163, .4); }
.chip.c2 { bottom: -15px; inset-inline-end: 0; background: rgba(139, 124, 255, .2); color: #CFC8FF; border: 1px solid rgba(139, 124, 255, .45); animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-7px); } }
.pin { position: absolute; z-index: 6; top: -8px; inset-inline-end: 22px; width: 34px; animation: drop 1s cubic-bezier(.3, 1.5, .5, 1) .7s both; }
.pin svg { width: 100%; display: block; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); animation: bob 3.2s ease-in-out 1.8s infinite; }
.pin i { position: absolute; left: 50%; bottom: -3px; width: 30px; height: 9px; margin-left: -15px; border-radius: 50%; border: 1.5px solid var(--gold-2); opacity: 0; animation: ripple 2.2s ease-out 1.5s infinite; }
.pin i + i { animation-delay: 2.6s; }
@keyframes drop { from { transform: translateY(-90px); opacity: 0; } }
@keyframes ripple { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

.dc-img { flex: none; width: 58px; height: 58px; border-radius: 13px; object-fit: cover; border: 1px solid rgba(var(--acc-rgb), .5); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .7); }
h1, .lead { text-shadow: 0 2px 18px rgba(7, 23, 41, .75); }

/* زرار */
.cta {
  position: relative; overflow: hidden; margin-top: 24px; width: 100%; padding: 17px 22px; border-radius: 16px;
  color: var(--navy); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(110deg, var(--gold-1), var(--gold-2) 38%, #FFF3C9 50%, var(--gold-2) 62%, var(--gold-3)); background-size: 240% 100%;
  box-shadow: 0 14px 34px -14px rgba(212, 175, 90, .8); transition: transform .15s;
  animation: sheen 3.4s linear infinite;
}
.cta.glow { animation: sheen 3.4s linear infinite, pulse 2.2s ease-out infinite; }
.cta.glow.hero-cta { animation: rise .7s var(--ease) .44s both, sheen 3.4s linear infinite, pulse 2.2s ease-out 1.2s infinite; }
.cta:active { transform: scale(.975); }
.cta[disabled] { opacity: .65; cursor: progress; }
.cta svg { width: 20px; height: 20px; flex: none; animation: nudge 1.4s ease-in-out infinite; }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes pulse { 0% { box-shadow: 0 14px 34px -14px rgba(212, 175, 90, .8), 0 0 0 0 rgba(241, 215, 138, .55); } 100% { box-shadow: 0 14px 34px -14px rgba(212, 175, 90, .8), 0 0 0 18px rgba(241, 215, 138, 0); } }
@keyframes nudge { 50% { transform: translateX(-5px); } }
.meta { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #A9B8CE; justify-content: center; }
.meta span::before { content: "✓ "; color: var(--gold-2); }

.marq { margin: 26px -20px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marq div { display: flex; width: max-content; animation: marq 28s linear infinite; }
.marq span { margin-inline-end: 10px; font-size: 12.5px; padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line); color: #D5DEEC; background: rgba(16, 42, 76, .55); white-space: nowrap; }
.marq span::before { content: "◆ "; color: var(--gold-2); font-size: 9px; }
@keyframes marq { to { transform: translateX(50%); } }

.devs { margin-top: 26px; }
.devs p { text-align: center; font-size: 12.5px; color: #A9B8CE; margin-bottom: 12px; letter-spacing: .02em; }
.devs p::before, .devs p::after { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--line); vertical-align: middle; margin-inline: 10px; }
.devs .marq { margin-top: 0; }
.marq.logos div { align-items: center; animation-duration: 30s; }
.marq.logos span { border: 0; background: none; padding: 0; margin-inline-end: 30px; display: grid; place-items: center; height: 36px; }
.marq.logos span::before { content: none; }
.marq.logos img { height: 16px; width: auto; max-width: 104px; object-fit: contain; filter: brightness(0) invert(1); opacity: .78; }
.how { margin-top: 22px; display: grid; gap: 10px; }
.how div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(16, 42, 76, .72); }
.how b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-family: Montserrat, sans-serif; font-size: 13px; }
.how p { font-size: 14.5px; color: #D5DEEC; }
.how strong { color: var(--cream); font-weight: 600; display: block; }

/* ================= الأسئلة ================= */
.bar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.back { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-1); flex: none; background: rgba(11, 31, 58, .5); transition: transform .15s, background .15s; }
.back:active { transform: scale(.9); background: rgba(241, 215, 138, .15); }
.back svg { width: 18px; height: 18px; }
.track { flex: 1; height: 7px; border-radius: 9px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--gold-3), var(--gold-1), #FFF3C9, var(--gold-1), var(--gold-3)); background-size: 200% 100%; box-shadow: 0 0 14px rgba(241, 215, 138, .7); transition: width .7s var(--ease); animation: sheen 2.2s linear infinite; }
.count { font-family: Montserrat, sans-serif; font-size: 12.5px; color: var(--muted); direction: ltr; min-width: 34px; text-align: center; }
.qn { font-size: 12.5px; color: rgb(var(--acc-rgb)); margin-bottom: 6px; letter-spacing: .02em; }
h2 { font-size: clamp(23px, 6.2vw, 30px); line-height: 1.35; font-weight: 600; }
.hint { margin-top: 6px; color: var(--muted); font-size: 14.5px; font-weight: 300; }
.opts { margin-top: 18px; display: grid; gap: 10px; }
.opt {
  position: relative; overflow: hidden; width: 100%; text-align: start; padding: 14px 15px; border-radius: 16px;
  border: 1px solid rgba(var(--acc-rgb), .2); background: rgba(16, 42, 76, .82);
  display: flex; align-items: center; gap: 13px;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  animation: optin .5s var(--ease) both; animation-delay: calc(var(--i) * 65ms + 120ms);
}
@keyframes optin { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.opt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(var(--acc-rgb), .26), rgba(var(--acc-rgb), .06)); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease); z-index: 0; }
.opt > * { position: relative; z-index: 1; }
.opt:hover { border-color: rgba(var(--acc-rgb), .6); box-shadow: 0 0 26px -10px rgba(var(--acc-rgb), .7); }
.opt:active { transform: scale(.985); }
.opt.on { border-color: rgb(var(--acc-rgb)); box-shadow: 0 0 30px -8px rgba(var(--acc-rgb), .8); }
.opt.on::after { transform: scaleX(1); }
.opt .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(var(--acc-rgb), .15); display: grid; place-items: center; color: rgb(var(--acc-rgb)); transition: transform .3s var(--ease), background .2s; }
.opt.on .ico { transform: scale(1.1) rotate(-6deg); background: rgba(var(--acc-rgb), .3); }
.opt .ico svg { width: 21px; height: 21px; }
.opt .ico.ph { width: 62px; height: 62px; border-radius: 14px; overflow: hidden; background: var(--navy-3); border: 1px solid rgba(var(--acc-rgb), .45); }
.opt .ico.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.opt:hover .ico.ph img, .opt.on .ico.ph img { transform: scale(1.18); }
.opt.on .ico.ph { transform: scale(1.06) rotate(-3deg); }
.opt .t { flex: 1; min-width: 0; }
.opt .t b { display: block; font-weight: 500; font-size: 16.5px; }
.opt .t small { display: block; color: var(--muted); font-size: 13px; font-weight: 300; }
.opt .chev, .opt .tick { flex: none; width: 24px; height: 24px; display: grid; place-items: center; color: var(--muted); }
.opt .chev svg { width: 16px; height: 16px; }
.opt .tick { display: none; border-radius: 50%; background: rgb(var(--acc-rgb)); color: var(--navy); }
.opt .tick svg { width: 14px; height: 14px; stroke-width: 3; }
.opt.on .chev { display: none; } .opt.on .tick { display: grid; animation: pop .35s var(--ease) both; }

/* ================= المطابقة ================= */
.scan { align-items: center; justify-content: center; text-align: center; padding-bottom: 12vh; }
.radar { position: relative; width: 150px; height: 150px; display: grid; place-items: center; margin-bottom: 22px; }
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 62%, rgba(241, 215, 138, .55)); animation: spin 1.3s linear infinite; -webkit-mask: radial-gradient(closest-side, transparent 58%, #000 60%); mask: radial-gradient(closest-side, transparent 58%, #000 60%); }
.radar i { position: absolute; inset: 22%; border-radius: 50%; border: 1.5px solid rgba(241, 215, 138, .6); animation: ripple2 1.8s ease-out infinite; }
.radar i:nth-of-type(2) { animation-delay: .6s; } .radar i:nth-of-type(3) { animation-delay: 1.2s; }
.radar svg { width: 46px; position: relative; animation: bob 1.4s ease-in-out infinite; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple2 { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.chk { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 10px; text-align: start; }
.chk li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); opacity: .45; transition: opacity .3s, color .3s; }
.chk li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: transparent; stroke-width: 3; transition: background .3s, color .3s, transform .35s var(--ease); flex: none; }
.chk li.ok { opacity: 1; color: var(--cream); }
.chk li.ok svg { background: var(--ok); color: var(--navy); transform: scale(1.15); }

/* ================= بيانات التواصل ================= */
.found { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, rgba(87, 217, 163, .16), rgba(63, 224, 197, .05)); border: 1px solid rgba(87, 217, 163, .38); margin-bottom: 18px; box-shadow: 0 0 34px -14px rgba(87, 217, 163, .8); animation: rise .5s var(--ease) .1s both; }
.found .n { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 34px; color: var(--ok); line-height: 1; animation: pop .6s var(--ease) .3s both; min-width: 28px; text-align: center; }
.found p { font-size: 14.5px; color: #D5F5E8; }
.peek { margin-top: 18px; display: grid; gap: 8px; filter: blur(4px); opacity: .7; pointer-events: none; user-select: none; }
.peek div { height: 54px; border-radius: 13px; border: 1px solid var(--line); background: linear-gradient(100deg, rgba(23, 54, 96, .9) 30%, rgba(241, 215, 138, .25) 50%, rgba(23, 54, 96, .9) 70%); background-size: 240% 100%; animation: sheen 2.4s linear infinite; }
form { position: relative; margin-top: 16px; display: grid; gap: 12px; }
label.f { display: grid; gap: 6px; font-size: 13.5px; color: #C9D4E5; }
.in { width: 100%; padding: 14px 15px; border-radius: 13px; border: 1px solid var(--line); background: rgba(8, 23, 44, .75); font-size: 16.5px; color: var(--cream); transition: border-color .2s, box-shadow .2s; }
.in::placeholder { color: #5F7594; }
.in:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(212, 175, 90, .2), 0 0 26px -8px rgba(212, 175, 90, .7); }
.tel { display: grid; grid-template-columns: 132px 1fr; gap: 8px; direction: ltr; }
.tel .in { direction: ltr; text-align: left; }
select.in { appearance: none; -webkit-appearance: none; padding-inline: 12px; }
select.in option { color: #111; }
.err { color: var(--err); font-size: 13px; min-height: 18px; }
.err.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(6px); } 50% { transform: translateX(-6px); } 75% { transform: translateX(3px); } }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; clip-path: inset(50%); overflow: hidden; pointer-events: none; }
.fine { font-size: 12px; color: var(--muted); text-align: center; }
form .cta { margin-top: 0; }

/* ================= النتيجة ================= */
.eyebrow { font-size: 13px; color: var(--gold-1); margin-bottom: 8px; }
.res-head { margin-bottom: 16px; }
.res-head h2 em { font-style: normal; background: linear-gradient(100deg, var(--gold-1), #FFF1C2, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cards { display: grid; gap: 12px; }
.card { border-radius: 18px; border: 1px solid rgba(var(--acc-rgb), .3); background: linear-gradient(160deg, rgba(27, 60, 106, .92), rgba(14, 38, 70, .8)); padding: 16px; position: relative; overflow: hidden; box-shadow: 0 0 36px -18px rgba(var(--acc-rgb), .7); animation: rise .7s var(--ease) both; animation-delay: calc(var(--i) * 150ms + 150ms); }
.card::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: linear-gradient(rgb(var(--acc-rgb)), rgba(var(--acc-rgb), .3)); }
.card::after { content: ""; position: absolute; top: 0; bottom: 0; width: 46%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .09), transparent); animation: sweep 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * 500ms + 1s); pointer-events: none; }
@keyframes sweep { 0% { left: -60%; } 45%, 100% { left: 120%; } }
.card .shot { position: relative; margin: -16px -16px 14px; height: 132px; overflow: hidden; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; display: block; animation: kenburns 9s ease-in-out infinite alternate; }
.card .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 58, .1) 40%, rgba(20, 48, 88, .95)); }
.card .shot .badge { position: absolute; z-index: 1; top: 12px; inset-inline-end: 12px; background: rgba(8, 40, 30, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card .shot .badge.alt { background: rgba(11, 31, 58, .78); }
.card .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card .type { font-weight: 600; font-size: 17.5px; }
.card .area { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.badge { flex: none; font-size: 11.5px; padding: 3px 10px; border-radius: 99px; background: rgba(87, 217, 163, .14); color: var(--ok); border: 1px solid rgba(87, 217, 163, .35); white-space: nowrap; }
.badge.alt { background: rgba(241, 215, 138, .1); color: var(--gold-1); border-color: var(--line); }
.card .nums { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card .nums div { background: rgba(8, 23, 44, .55); border-radius: 12px; padding: 10px 12px; }
.card .nums small { display: block; color: var(--muted); font-size: 11.5px; }
.card .nums b { font-weight: 600; font-size: 14.5px; }
.card .nums b.p { font-family: Montserrat, "Readex Pro", sans-serif; font-weight: 800; color: var(--gold-1); font-size: 16px; white-space: nowrap; }
.card .nums b.p i { font: 400 11.5px "Readex Pro", sans-serif; color: var(--muted); }
.card .lock { margin-top: 11px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card .lock svg { width: 14px; height: 14px; flex: none; color: var(--gold-2); }
.empty { padding: 20px; border-radius: 17px; border: 1px dashed var(--line); color: #D5DEEC; font-size: 15px; background: rgba(16, 42, 76, .5); }
.cta.wa { background: linear-gradient(110deg, #1FBF5B, #25D366 40%, #7DF0A8 50%, #25D366 60%, #1FBF5B); background-size: 240% 100%; color: #04260F; box-shadow: 0 14px 34px -14px rgba(37, 211, 102, .8); text-decoration: none; margin-top: 18px; }
.next { margin-top: 16px; padding: 15px 16px; border-radius: 15px; background: rgba(16, 42, 76, .65); border: 1px solid var(--line); font-size: 14.5px; color: #D5DEEC; animation: rise .6s var(--ease) .7s both; }
.next strong { color: var(--cream); font-weight: 600; }
.again { margin: 16px auto 0; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 4px; display: block; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.confetti i { position: absolute; top: -24px; border-radius: 2px; animation: fall var(--t) cubic-bezier(.25, .5, .5, 1) var(--d) forwards; }
@keyframes fall { to { transform: translate(var(--x), 108vh) rotate(var(--r)); opacity: .85; } }

@media (min-width: 640px) {
  .top { padding-top: 26px; } main { padding-top: 20px; }
  .how { grid-template-columns: repeat(3, 1fr); } .how div { flex-direction: column; }
  .deck { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rot em { opacity: 0; } .rot em.on { opacity: 1; }
}
