/* ============ NOTED Photo Booth — نظام التصميم (من دليل الهوية المعتمد) ============ */
@font-face { font-family: 'Noto Serif'; src: url('../assets/fonts/NotoSerif-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('../assets/fonts/NotoSans-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Amiri'; src: url('../assets/fonts/Amiri-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Noto Kufi Arabic'; src: url('../assets/fonts/NotoKufiArabic-Regular.ttf') format('truetype'); font-display: swap; }

:root {
  --espresso: #4A3129;
  --ivory: #FBF6EE;
  --powder: #B2CFDF;
  --ink: #241912;
  --mist: #E6F0F5;
  --steel: #A3A3A3;
  --steel-deep: #6a7f8f;
  --line: rgba(74, 49, 41, .16);
  --serif: 'Noto Serif', Georgia, serif;
  --sans: 'Noto Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --h1: clamp(44px, 8.2vw, 124px);
  --h2: clamp(32px, 5vw, 72px);
}
html[lang="ar"] { --serif: 'Amiri', 'Noto Serif', serif; --sans: 'Noto Kufi Arabic', 'Noto Sans', sans-serif; --h1: clamp(48px, 8.6vw, 132px); --h2: clamp(34px, 5.4vw, 78px); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--ivory); color: var(--espresso); font-family: var(--sans); font-size: 16px; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { line-height: 1.95; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--powder); color: var(--ink); }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.serif { font-family: var(--serif); font-weight: 400; }
.label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
html[lang="ar"] .label { letter-spacing: 0; font-size: 13px; text-transform: none; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* grain */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .29  0 0 0 0 .19  0 0 0 0 .16  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- المؤشر: زوايا عدسة الكاميرا (من اللوجو) ---------- */
.cursor { position: fixed; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none; z-index: 200; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease); }
.cursor i { position: absolute; width: 12px; height: 12px; border: 0 solid var(--espresso); transition: border-color .3s; }
.cursor i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.cursor i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; border-top-right-radius: 4px; }
.cursor i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 4px; }
.cursor i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }
.cursor.on { opacity: 1; }
.cursor.hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.cursor.dark i { border-color: var(--ivory); }
.cursor.press { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Preloader ---------- */
.pre { position: fixed; inset: 0; z-index: 300; background: var(--ivory); display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s; }
.pre.done { opacity: 0; visibility: hidden; }
.pre-frame { position: relative; width: min(320px, 70vw); aspect-ratio: 1.6; display: grid; place-items: center; }
.pre-frame i { position: absolute; width: 34px; height: 34px; border: 0 solid var(--espresso); transition: transform .9s var(--ease); }
.pre-frame i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; border-top-left-radius: 10px; transform: translate(-30px, -30px); }
.pre-frame i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; border-top-right-radius: 10px; transform: translate(30px, -30px); }
.pre-frame i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 10px; transform: translate(-30px, 30px); }
.pre-frame i:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 10px; transform: translate(30px, 30px); }
.pre.go .pre-frame i { transform: none; }
.pre-frame img { width: 62%; opacity: 0; transform: scale(.94); transition: opacity .8s .3s, transform .9s .3s var(--ease); }
.pre.go .pre-frame img { opacity: 1; transform: none; }
.pre-flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 301; }
.pre.flash ~ .pre-flash, .pre-flash.fire { animation: flash .7s ease-out; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .95; } 100% { opacity: 0; } }

/* ---------- الهيدر ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; transition: transform .5s var(--ease), background .4s, padding .4s; }
.nav.stuck { background: rgba(251, 246, 238, .96); padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav.hide { transform: translateY(-110%); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; width: 150px; }
.nav ul { display: flex; gap: 30px; }
.nav ul a { position: relative; padding: 6px 0; font-size: 15px; }
.nav ul a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1.4px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
html[dir="ltr"] .nav ul a::after { transform-origin: left; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-act { display: flex; align-items: center; gap: 12px; }
.lang { width: 44px; height: 44px; border-radius: 50%; border: 1.4px solid var(--espresso); font-size: 14px; display: grid; place-items: center; transition: background .3s, color .3s; }
.lang:hover { background: var(--espresso); color: var(--ivory); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.4px solid var(--espresso); place-items: center; }
.burger span, .burger span::before { display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; transition: transform .35s var(--ease); }
.burger span::before { content: ""; position: absolute; top: 6px; }
.menu-open .burger span { transform: translateY(3px) rotate(45deg); }
.menu-open .burger span::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }
@media (max-width: 900px) {
  .nav ul { position: fixed; inset: 0; background: var(--ivory); flex-direction: column; justify-content: center; align-items: center; gap: 22px; transform: translateY(-100%); transition: transform .6s var(--ease); z-index: -1; }
  .nav ul a { font-family: var(--serif); font-size: 34px; }
  .menu-open .nav ul { transform: none; }
  .burger { display: grid; }
  .nav-act .btn { display: none; }
  .logo { width: 128px; }
}

/* ---------- أزرار ---------- */
.btn { --bg: var(--espresso); --fg: var(--ivory); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 30px; border-radius: 999px; background: var(--bg); color: var(--fg); border: 1.4px solid var(--bg); font-size: 15px; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), color .4s, border-color .4s; will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--powder); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--ink); border-color: var(--powder); }
.btn.ghost { --bg: transparent; --fg: var(--espresso); border-color: var(--espresso); }
.btn.ghost:hover { border-color: var(--espresso); }
.btn.light { --bg: var(--ivory); --fg: var(--espresso); }
.btn.light::before { background: var(--powder); }
.btn.sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn .icon { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
html[dir="rtl"] .btn .icon.arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .icon.arrow { transform: scaleX(-1) translateX(4px); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- ظهور عند التمرير ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.in .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 120px 0 60px; display: grid; align-items: center; overflow: hidden; background: radial-gradient(900px 600px at 78% 40%, var(--mist), transparent 70%), var(--ivory); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--espresso); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { transform: scale(1.7); opacity: .4; } }
.hero h1 { font-size: var(--h1); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 26px; }
html[lang="ar"] .hero h1 { line-height: 1.25; letter-spacing: 0; }
.hero p.lead { max-width: 46ch; font-size: clamp(16px, 1.5vw, 19px); opacity: .85; margin-bottom: 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hand { display: block; width: 240px; aspect-ratio: 2.45; background: var(--espresso); -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; margin-top: 30px; opacity: .9; }
.hand.en { --m: url('../assets/brand/hand-en.png'); }
.hand.ar { --m: url('../assets/brand/hand-ar.png'); width: 220px; aspect-ratio: 2.15; }
html[lang="ar"] .hand.en, html[lang="en"] .hand.ar { display: none; }
.hand.light { background: var(--ivory); }
.scroll-hint { position: absolute; bottom: 26px; inset-inline-start: var(--pad); display: flex; align-items: center; gap: 12px; font-size: 12px; opacity: .7; }
.scroll-hint i { width: 1.4px; height: 42px; background: var(--espresso); transform-origin: top; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- المشهد الثلاثي الأبعاد (CSS 3D) ---------- */
.stage { --u: clamp(.62, .5 + 100vw / 2400, 1); position: relative; height: min(76vh, 700px); perspective: 1500px; perspective-origin: 50% 45%; display: grid; place-items: center; touch-action: pan-y; user-select: none; }
.stage.drag { cursor: grabbing; }
.stage .world { position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(0) rotateX(var(--rx, -6deg)) rotateY(var(--ry, -28deg)); }
.booth { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: scale(var(--bs, 1)); --W: 300px; --H: 440px; --D: 210px; --pw: var(--powder); --pw-s: #a3bdcc; }
.booth .slice { position: absolute; left: calc(var(--W) / -2); top: calc(var(--H) / -2); width: var(--W); height: var(--H); border-radius: 56px 56px 30px 30px; background: var(--c); transform: translateZ(var(--z)); backface-visibility: hidden; }
.booth .slice.edge { box-shadow: inset 0 0 0 2px var(--espresso); background: var(--c); }
.booth .face { position: absolute; left: calc(var(--W) / -2); top: calc(var(--H) / -2); width: var(--W); height: var(--H); transform: translateZ(calc(var(--D) / 2 + 2px)); pointer-events: none; }
.booth .back { position: absolute; left: calc(var(--W) / -2); top: calc(var(--H) / -2); width: var(--W); height: var(--H); border-radius: 56px 56px 30px 30px; background: var(--pw-s); box-shadow: inset 0 0 0 2px var(--espresso); transform: translateZ(calc(var(--D) / -2)) rotateY(180deg); }
.booth .sign { position: absolute; left: 24px; right: 24px; top: 26px; height: 76px; border-radius: 18px; background: var(--ivory); border: 3px solid var(--espresso); display: grid; place-items: center; }
.booth .sign img { width: 62%; }
.booth .cabin { position: absolute; left: 34px; right: 34px; top: 128px; bottom: 54px; border-radius: 40px 40px 6px 6px; background: var(--espresso); overflow: hidden; }
.booth .inner { position: absolute; left: 0; top: 0; bottom: 0; width: 54%; background: #f3e6d6; clip-path: polygon(0 11%, 36% 0, 100% 0, 100% 78%, 36% 85%, 36% 100%, 0 100%); }
.booth .inner .lens { position: absolute; left: 20%; top: 14%; width: 38%; aspect-ratio: .8; border-radius: 8px; background: #ecdcca; border: 2px solid var(--espresso); display: grid; place-items: center; }
.booth .inner .lens::after { content: ""; width: 54%; aspect-ratio: 1; border-radius: 50%; background: var(--espresso); }
.booth .inner .scr { position: absolute; left: 22%; top: 40%; width: 34%; aspect-ratio: .82; border-radius: 8px; background: var(--mist); border: 2px solid var(--espresso); }
.booth .seat { position: absolute; left: 20%; right: 40%; bottom: 0; height: 12%; background: var(--powder); }
.booth .curtain { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; background: repeating-linear-gradient(90deg, #bf9d87 0 14px, #a98670 14px 16px); transform-origin: right center; transition: transform 1.1s var(--ease); box-shadow: -10px 0 18px rgba(36, 25, 18, .28) inset; }
.booth.open .curtain { transform: scaleX(.18); }
.booth .stripe { position: absolute; left: 34px; right: 34px; bottom: 26px; height: 2px; background: var(--steel-deep); border-radius: 2px; }
.booth .slot { position: absolute; right: 8px; bottom: 120px; width: 22px; height: 46px; border-radius: 6px 6px 3px 3px; background: var(--ivory); border: 2px solid var(--espresso); }
.booth .light { position: absolute; left: 50%; top: -34px; width: 70px; height: 40px; margin-left: -35px; border-radius: 14px 14px 4px 4px; background: var(--ivory); border: 3px solid var(--espresso); transform: translateZ(40px); }
.booth.fin-ivory { --pw: #FBF6EE; --pw-s: #ddd2c2; }
.booth.fin-espresso { --pw: #6a4a3d; --pw-s: #3d2922; }
.booth.fin-mist { --pw: #E6F0F5; --pw-s: #b5c6cf; }
.floor { position: absolute; left: -230px; top: 12px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(74, 49, 41, .30), rgba(74, 49, 41, 0) 72%); transform: translateY(226px) rotateX(90deg); }
.ring { position: absolute; left: 0; top: 0; transform-style: preserve-3d; animation: spin 38s linear infinite; }
@keyframes spin { to { transform: rotateY(360deg); } }
.print { position: absolute; left: -62px; top: -88px; width: 124px; height: 176px; padding: 9px 9px 30px; background: var(--ivory); border: 2px solid var(--espresso); border-radius: 8px; box-shadow: 0 14px 30px rgba(36, 25, 18, .22); transform: rotateY(var(--a)) translateZ(var(--r)) rotateZ(var(--t)); }
.print::before { content: ""; display: block; height: 100%; border-radius: 4px; background: var(--img) center/cover, var(--powder); }
.print::after { content: "NOTED"; position: absolute; inset: auto 0 6px 0; text-align: center; font-family: 'Noto Serif', serif; font-size: 10px; letter-spacing: .14em; }
.print.b::before { background: var(--mist); } .print.c::before { background: #d7c3b1; }
.print img.p-ic { position: absolute; inset: 14px 14px 36px; width: auto; height: auto; max-width: calc(100% - 28px); max-height: calc(100% - 50px); object-fit: contain; }
.spark { position: absolute; width: 34px; height: 34px; background: var(--ivory); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 0 var(--espresso)); animation: tw 3s ease-in-out infinite; animation-delay: var(--dl); }
@keyframes tw { 50% { transform: scale(.4) rotate(90deg); opacity: .5; } }
.shoot { position: absolute; left: 150px; top: 60px; width: 110px; height: 160px; padding: 8px 8px 28px; background: var(--ivory); border: 2px solid var(--espresso); border-radius: 6px; box-shadow: 0 16px 34px rgba(36, 25, 18, .3); opacity: 0; transform: translate3d(0, 0, 10px); transition: transform 1.2s var(--ease), opacity .4s; }
.shoot::before { content: ""; display: block; height: 100%; background: linear-gradient(160deg, var(--powder), var(--mist)); border-radius: 3px; }
.shoot.out { opacity: 1; transform: translate3d(58px, 70px, 86px) rotateZ(9deg) rotateX(-10deg); }
.hud { position: absolute; inset-inline: 0; bottom: -6px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; z-index: 5; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.4px solid var(--espresso); background: rgba(251, 246, 238, .9); font-size: 14px; transition: background .3s, color .3s, transform .3s var(--ease); }
.chip:hover { background: var(--espresso); color: var(--ivory); transform: translateY(-2px); }
.chip[aria-pressed="true"], .chip.on { background: var(--espresso); color: var(--ivory); }
.sw { width: 14px; height: 14px; border-radius: 50%; border: 1.4px solid var(--espresso); background: var(--c); }
.flashfx { position: absolute; inset: -40%; background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0)); opacity: 0; pointer-events: none; z-index: 4; }
.flashfx.fire { animation: flash .8s ease-out; }
.hint3d { position: absolute; top: 4%; inset-inline-end: 2%; font-size: 12px; display: flex; gap: 8px; align-items: center; opacity: .7; z-index: 5; }
.hint3d svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .stage { height: 62vh; order: -1; margin-top: 10px; } .hero { padding-top: 100px; } .hero h1 { margin-top: 6px; } .scroll-hint { display: none; } }

/* ---------- Marquee ---------- */
.marq { background: var(--espresso); color: var(--ivory); padding: 22px 0; overflow: hidden; border-block: 1px solid var(--ink); }
.marq-track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
.marq-track span { display: inline-flex; align-items: center; gap: 28px; padding-inline: 14px; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 46px); white-space: nowrap; }
.marq-track img { width: 44px; height: 44px; }
@keyframes marq { to { transform: translateX(-50%); } }
html[dir="rtl"] .marq-track { animation-name: marqr; }
@keyframes marqr { to { transform: translateX(50%); } }

/* ---------- أقسام عامة ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 12vw, 170px) 0; }
.sec-h { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 880px; }
.sec-h h2 { font-size: var(--h2); line-height: 1.08; }
html[lang="ar"] .sec-h h2 { line-height: 1.3; }
.sec-h p { max-width: 56ch; opacity: .82; font-size: 17px; }
.sec.dark { background: var(--espresso); color: var(--ivory); }
.sec.mist { background: var(--mist); }

/* ---------- كيف تشتغل (Pinned scroll) ---------- */
.how { height: 420vh; padding: 0; background: var(--mist); }
.how-pin { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.how .stage { height: min(74vh, 640px); }
.steps { position: relative; min-height: 340px; }
.step { position: absolute; inset: 0; opacity: 0; transform: translateY(40px); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step .num { font-family: var(--serif); font-size: clamp(80px, 12vw, 170px); line-height: .9; color: var(--powder); -webkit-text-stroke: 1.4px var(--espresso); }
.step h3 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15; }
.step p { max-width: 42ch; opacity: .85; font-size: 17px; }
.bar { display: flex; gap: 8px; margin-top: 18px; }
.bar i { flex: 1; height: 3px; border-radius: 3px; background: rgba(74, 49, 41, .18); overflow: hidden; position: relative; }
.bar i::after { content: ""; position: absolute; inset: 0; background: var(--espresso); transform: scaleX(var(--f, 0)); transform-origin: left; }
html[dir="rtl"] .bar i::after { transform-origin: right; }
@media (max-width: 900px) { .how { height: 380vh; } .how-grid { grid-template-columns: 1fr; gap: 0; } .how .stage { height: 40vh; } .steps { min-height: 280px; } }

/* ---------- كشك الكاميرا (Live) ---------- */
.live-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.cam { position: relative; aspect-ratio: 4/3; border-radius: 28px; overflow: hidden; background: var(--ink); border: 3px solid var(--espresso); box-shadow: 0 30px 60px -30px rgba(36, 25, 18, .5); }
.cam video, .cam canvas.pv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.cam .vf i { position: absolute; width: 46px; height: 46px; border: 0 solid var(--ivory); opacity: .9; }
.cam .vf i:nth-child(1) { left: 22px; top: 22px; border-width: 3px 0 0 3px; border-top-left-radius: 12px; }
.cam .vf i:nth-child(2) { right: 22px; top: 22px; border-width: 3px 3px 0 0; border-top-right-radius: 12px; }
.cam .vf i:nth-child(3) { left: 22px; bottom: 22px; border-width: 0 0 3px 3px; border-bottom-left-radius: 12px; }
.cam .vf i:nth-child(4) { right: 22px; bottom: 22px; border-width: 0 3px 3px 0; border-bottom-right-radius: 12px; }
.cam .count { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Noto Serif', serif; font-size: clamp(110px, 22vw, 240px); color: var(--ivory); text-shadow: 0 6px 40px rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; }
.cam .count.pop { animation: pop 1s var(--ease); }
@keyframes pop { 0% { opacity: 0; transform: scale(1.5); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(.8); } }
.cam .idle { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--ivory); gap: 16px; align-content: center; background: radial-gradient(500px 300px at 50% 40%, #6a4a3d, var(--ink)); }
.cam .idle img { width: 120px; margin-inline: auto; }
.cam .idle p { max-width: 34ch; opacity: .85; font-size: 15px; }
.cam.live .idle { display: none; }
.cam .shots { position: absolute; inset-inline: 0; bottom: 14px; display: flex; gap: 8px; justify-content: center; }
.cam .shots b { width: 10px; height: 10px; border-radius: 50%; background: rgba(251, 246, 238, .35); }
.cam .shots b.ok { background: var(--ivory); }
.cam-ctl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.strip-wrap { position: sticky; top: 100px; display: grid; gap: 18px; justify-items: center; }
.strip { width: min(100%, 280px); aspect-ratio: 2/3; border-radius: 6px; background: var(--ivory); box-shadow: 0 30px 50px -20px rgba(36, 25, 18, .45); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); transform: rotate(var(--rot, -2deg)); transition: transform .6s var(--ease); }
.strip:hover { transform: rotate(0) scale(1.03); }
.strip canvas { width: 100%; height: 100%; }
.strip .ph { font-size: 13px; text-align: center; opacity: .6; padding: 20px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.note { font-size: 13px; opacity: .7; display: flex; gap: 8px; align-items: flex-start; }
.note .icon { flex: none; width: 18px; height: 18px; margin-top: 4px; }
@media (max-width: 900px) { .live-grid { grid-template-columns: 1fr; } .strip-wrap { position: static; } }

/* ---------- الباقات ---------- */
.pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pk { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 28px; background: var(--ivory); border: 1.4px solid var(--espresso); transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .4s; will-change: transform; min-height: 440px; }
.pk:hover { box-shadow: 0 40px 60px -30px rgba(36, 25, 18, .45); }
.pk .st { width: 150px; margin-inline: auto; transform: translateZ(50px); transition: transform .5s var(--ease); }
.pk:hover .st { transform: translateZ(80px) rotate(-4deg) scale(1.06); }
.pk h3 { font-size: 30px; line-height: 1.2; transform: translateZ(30px); }
.pk p { opacity: .82; }
.pk ul { display: grid; gap: 8px; margin-top: auto; font-size: 15px; }
.pk li { display: flex; gap: 10px; align-items: center; }
.pk li .icon { width: 18px; height: 18px; flex: none; }
.pk .btn { margin-top: 8px; }
.pk.feat { background: var(--espresso); color: var(--ivory); }
.pk.feat .btn { --bg: var(--ivory); --fg: var(--espresso); }
.tag { position: absolute; top: 18px; inset-inline-end: 18px; padding: 4px 14px; border-radius: 999px; background: var(--powder); color: var(--ink); font-size: 12px; }
@media (max-width: 960px) { .pk-grid { grid-template-columns: 1fr; } .pk { min-height: 0; } }

/* ---------- المعرض (Horizontal) ---------- */
.gal { overflow: hidden; }
.gal-track { display: flex; gap: 22px; padding-inline: var(--pad); width: max-content; will-change: transform; }
.gcard { width: clamp(240px, 26vw, 380px); aspect-ratio: .82; border-radius: 28px; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--bg, var(--mist)); border: 1.4px solid var(--espresso); transition: transform .5s var(--ease); }
.gcard:hover { transform: translateY(-10px) rotate(-1.5deg); }
.gcard img { width: 74%; transition: transform .6s var(--ease); }
.gcard:hover img { transform: scale(1.1) rotate(3deg); }
.gcard span { position: absolute; inset-inline: 20px; bottom: 16px; font-size: 13px; }
.gal-hint { display: none; }
@media (max-width: 900px) { .gal { overflow-x: auto; scroll-snap-type: x mandatory; } .gcard { scroll-snap-align: center; } .gal-track { width: max-content; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 24px; height: 24px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 11px; height: 1.6px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { padding: 0 0 26px; max-width: 62ch; opacity: .85; }

/* ---------- CTA + Footer ---------- */
.cta { background: var(--espresso); color: var(--ivory); text-align: center; padding: clamp(90px, 14vw, 190px) 0; overflow: hidden; }
.cta h2 { font-size: clamp(40px, 7.4vw, 116px); line-height: 1.05; margin-bottom: 30px; }
html[lang="ar"] .cta h2 { line-height: 1.3; }
.cta .lockup { width: min(520px, 70vw); margin: 0 auto 40px; }
.cta .btn { --bg: var(--ivory); --fg: var(--espresso); min-height: 64px; padding: 0 44px; font-size: 18px; }
.cta .sparks span { position: absolute; width: 40px; opacity: .9; animation: float 7s ease-in-out infinite; animation-delay: var(--dl); }
@keyframes float { 50% { transform: translateY(-22px) rotate(8deg); } }
.foot { background: var(--ink); color: var(--ivory); padding: 70px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 50px; border-bottom: 1px solid rgba(251, 246, 238, .16); }
.foot img.lk { width: 170px; margin-bottom: 18px; }
.foot h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-bottom: 16px; font-weight: 400; }
html[lang="ar"] .foot h4 { letter-spacing: 0; font-size: 14px; text-transform: none; }
.foot li { margin-bottom: 10px; }
.foot a { opacity: .9; transition: opacity .3s; display: inline-flex; gap: 10px; align-items: center; }
.foot a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; opacity: .6; }
[data-contact][hidden], li[hidden] { display: none !important; }
.soc { display: flex; gap: 10px; }
.soc a { width: 48px; height: 48px; border-radius: 50%; border: 1.4px solid rgba(251, 246, 238, .4); justify-content: center; }
.soc a:hover { background: var(--ivory); color: var(--ink); text-decoration: none; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1/-1; } }

/* ---------- صفحة الحجز ---------- */
.bk-hero { padding: 140px 0 40px; background: radial-gradient(700px 400px at 85% 0%, var(--mist), transparent 70%), var(--ivory); }
.bk-hero h1 { font-size: clamp(40px, 6.4vw, 92px); line-height: 1.08; }
html[lang="ar"] .bk-hero h1 { line-height: 1.3; }
.bk-hero p { max-width: 52ch; opacity: .82; margin-top: 14px; }
.bk { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 120px; }
.steps-nav { display: flex; gap: 10px; margin: 28px 0 34px; flex-wrap: wrap; }
.sn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 8px; border-radius: 999px; border: 1.4px solid var(--line); font-size: 14px; opacity: .55; transition: all .4s var(--ease); }
html[dir="rtl"] .sn { padding: 0 8px 0 18px; }
.sn b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font-weight: 400; font-size: 13px; }
.sn.on { opacity: 1; border-color: var(--espresso); }
.sn.on b { background: var(--espresso); color: var(--ivory); }
.sn.done { opacity: .9; } .sn.done b { background: var(--powder); }
.pane { display: none; animation: paneIn .7s var(--ease); }
.pane.on { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateY(24px); } }
.pane h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 8px; line-height: 1.2; }
.pane > p { opacity: .75; margin-bottom: 28px; }
.fld { display: grid; gap: 8px; margin-bottom: 22px; }
.fld > label, .fld > .lb { font-size: 14px; opacity: .85; }
.inp { width: 100%; min-height: 54px; padding: 12px 18px; border-radius: 16px; border: 1.4px solid var(--line); background: #fff8; transition: border-color .3s, box-shadow .3s, background .3s; }
textarea.inp { min-height: 120px; resize: vertical; }
.inp:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 4px var(--powder); background: #fff; }
.fld.err .inp { border-color: #b3402c; }
.fld .em { color: #b3402c; font-size: 13px; min-height: 0; display: none; }
.fld.err .em { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.opt { position: relative; padding: 20px; border-radius: 22px; border: 1.4px solid var(--line); background: #fff8; text-align: start; display: grid; gap: 8px; transition: all .35s var(--ease); transform-style: preserve-3d; }
.opt:hover { border-color: var(--espresso); transform: translateY(-3px); }
.opt[aria-checked="true"], .opt[aria-pressed="true"] { border-color: var(--espresso); background: var(--mist); box-shadow: 0 0 0 3px var(--espresso) inset; }
.opt img { width: 78px; height: 78px; object-fit: contain; }
.opt b { font-weight: 400; font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.opt small { opacity: .75; font-size: 13.5px; line-height: 1.5; }
.opt .tick { position: absolute; top: 14px; inset-inline-end: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--espresso); color: var(--ivory); display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: all .35s var(--ease); }
.opt[aria-checked="true"] .tick, .opt[aria-pressed="true"] .tick { opacity: 1; transform: none; }
.opt .tick .icon { width: 14px; height: 14px; stroke-width: 2; }
.cal { border: 1.4px solid var(--line); border-radius: 24px; padding: 20px; background: #fff8; max-width: 520px; }
.cal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-h b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.cal-h button { width: 44px; height: 44px; border-radius: 50%; border: 1.4px solid var(--line); display: grid; place-items: center; }
.cal-h button:hover { background: var(--espresso); color: var(--ivory); }
.cal-h button[disabled] { opacity: .3; pointer-events: none; }
html[dir="rtl"] .cal-h .icon { transform: scaleX(-1); }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-g .dn { text-align: center; font-size: 12px; opacity: .55; padding: 6px 0; }
.day { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-size: 15px; transition: all .25s var(--ease); position: relative; }
.day.free:hover { background: var(--powder); transform: scale(1.08); }
.day.free { background: var(--mist); }
.day.past, .day.full, .day.blocked, .day.empty { opacity: .28; pointer-events: none; background: none; }
.day.full::after, .day.blocked::after { content: ""; position: absolute; left: 20%; right: 20%; top: 50%; height: 1.4px; background: currentColor; transform: rotate(-20deg); }
.day.empty::after { display: none; }
.day.sel { background: var(--espresso) !important; color: var(--ivory); transform: scale(1.08); }
.legend { display: flex; gap: 16px; margin-top: 14px; font-size: 12.5px; opacity: .8; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-inline-end: 6px; vertical-align: -1px; }
.times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tm { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.4px solid var(--line); font-size: 14px; direction: ltr; transition: all .3s var(--ease); }
.tm:hover { border-color: var(--espresso); }
.tm[disabled] { opacity: .3; text-decoration: line-through; pointer-events: none; }
.tm[aria-pressed="true"] { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1.4px solid var(--line); border-radius: 999px; padding: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; font-size: 22px; display: grid; place-items: center; }
.stepper button:hover { background: var(--espresso); color: var(--ivory); }
.stepper output { min-width: 90px; text-align: center; }
.tog { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1.4px solid var(--line); width: 100%; text-align: start; background: #fff8; transition: all .3s; }
.tog:hover { border-color: var(--espresso); }
.tog .sw2 { width: 46px; height: 28px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background .3s; }
.tog .sw2::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ivory); transition: transform .35s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.tog[aria-pressed="true"] { border-color: var(--espresso); background: var(--mist); }
.tog[aria-pressed="true"] .sw2 { background: var(--espresso); }
.tog[aria-pressed="true"] .sw2::after { transform: translateX(18px); }
html[dir="rtl"] .tog[aria-pressed="true"] .sw2::after { transform: translateX(-18px); }
.tog span.t { flex: 1; display: grid; line-height: 1.4; } .tog small { opacity: .7; }
.addons { display: grid; gap: 10px; }
.pane-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.chk input { width: 22px; height: 22px; accent-color: var(--espresso); flex: none; margin-top: 4px; }
.sum { position: sticky; top: 100px; background: var(--espresso); color: var(--ivory); border-radius: 28px; padding: 28px; display: grid; gap: 16px; overflow: hidden; }
.sum h3 { font-size: 24px; }
.sum dl { display: grid; gap: 12px; }
.sum dl > div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid rgba(251, 246, 238, .16); padding-bottom: 10px; font-size: 14.5px; }
.sum dt { opacity: .65; } .sum dd { text-align: end; }
.sum .tk { width: 130px; margin: 0 auto -4px; }
.alert { padding: 14px 18px; border-radius: 16px; background: #f6dcd6; color: #7a2a1b; margin-bottom: 18px; font-size: 14.5px; display: none; }
.alert.show { display: block; }
.alert.info { background: var(--mist); color: var(--espresso); }
.done-card { text-align: center; display: grid; gap: 18px; justify-items: center; padding: 20px 0; }
.ticket { position: relative; width: min(100%, 520px); background: var(--powder); color: var(--espresso); border: 3px solid var(--espresso); border-radius: 14px; display: grid; grid-template-columns: 1fr 120px; text-align: start; box-shadow: 0 30px 50px -24px rgba(36, 25, 18, .5); animation: tk 1.2s var(--ease); }
@keyframes tk { from { transform: translateY(-60px) rotate(-6deg); opacity: 0; } }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 34px; height: 34px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--espresso); margin-top: -17px; }
.ticket::before { left: -19px; } .ticket::after { right: -19px; }
.ticket .main { padding: 28px 34px; display: grid; gap: 4px; }
.ticket .main .nt { font-family: 'Noto Serif', serif; letter-spacing: .2em; font-size: 14px; }
.ticket .main .big { font-family: 'Noto Serif', serif; font-size: 34px; line-height: 1.1; }
.ticket .ref { font-family: 'Noto Serif', serif; font-size: 28px; letter-spacing: .08em; margin-top: 8px; direction: ltr; text-align: start; }
.ticket .stub { border-inline-start: 2.4px dashed var(--espresso); display: grid; place-items: center; }
.ticket .stub img { width: 62px; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 980px) { .bk { grid-template-columns: 1fr; } .sum { position: static; order: 2; } }

/* ---------- الأدمن ---------- */
.adm { min-height: 100svh; background: var(--mist); padding: 40px 0 80px; }
.adm-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.login { max-width: 440px; margin: 12vh auto 0; background: var(--ivory); border: 1.4px solid var(--espresso); border-radius: 28px; padding: 34px; display: grid; gap: 4px; }
.login img { width: 150px; margin-bottom: 18px; }
.tbl { background: var(--ivory); border: 1.4px solid var(--espresso); border-radius: 22px; overflow: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.tbl th, .tbl td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-weight: 400; font-size: 12px; opacity: .65; background: var(--mist); position: sticky; top: 0; }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; background: var(--mist); }
.pill.pending { background: #f4e3b8; } .pill.confirmed { background: #cfe5cf; } .pill.cancelled { background: #f1cfc8; }
.acts { display: flex; gap: 6px; flex-wrap: wrap; }
.acts .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.blk { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.blk .tagx { display: inline-flex; gap: 8px; align-items: center; background: var(--ivory); border: 1.4px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 14px; font-size: 13px; }
.blk .tagx button { width: 26px; height: 26px; border-radius: 50%; }
.blk .tagx button:hover { background: var(--espresso); color: var(--ivory); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ring { animation: none; }
  .rv, .split .w > span { opacity: 1; transform: none; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* أسطح الكشك الإضافية */
.booth .side { position: absolute; left: calc(var(--D) / -2); top: calc(var(--H) / -2 + 56px); width: var(--D); height: calc(var(--H) - 86px); background: var(--pw-s); transform: rotateY(90deg) translateZ(calc(var(--W) / 2)); }
.booth .side .slot { position: absolute; right: 34px; bottom: 70px; left: auto; width: 24px; height: 50px; border-radius: 6px 6px 3px 3px; background: var(--ivory); border: 2px solid var(--espresso); }
.booth .side .sline { position: absolute; left: 30px; top: 18px; bottom: 28px; width: 2px; background: var(--steel-deep); border-radius: 2px; }
.booth .top { position: absolute; left: calc((var(--W) - 112px) / -2); top: calc(var(--D) / -2); width: calc(var(--W) - 112px); height: var(--D); background: var(--pw); transform: translateY(calc(var(--H) / -2)) rotateX(90deg); }
.booth .slot { display: none; }
.booth .side .slot { display: block; }
.booth .light { display: block; }

/* index extras */
.sw[hidden] { display: none; }
.fin { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.fin[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--espresso); }
.chip:has(.fin) { padding: 0 10px; gap: 4px; }
.chip:has(.fin):hover { background: rgba(251, 246, 238, .75); color: inherit; transform: none; }
[data-finish="powder"] .sw { --c: #B2CFDF; } [data-finish="ivory"] .sw { --c: #FBF6EE; } [data-finish="espresso"] .sw { --c: #4A3129; } [data-finish="mist"] .sw { --c: #E6F0F5; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { padding: 34px; border-radius: 28px; border: 1.4px solid var(--espresso); background: var(--mist); display: grid; gap: 12px; transform-style: preserve-3d; transition: transform .25s ease-out; }
.tcard img { width: 150px; margin-inline: auto; transform: translateZ(50px); }
.tcard h3 { font-size: 30px; line-height: 1.2; } .tcard p { opacity: .82; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
.cam-flash { position: absolute; z-index: 3; } .cam-flash.fire { animation: flash .6s ease-out; }
.cta .sparks span { position: absolute; }
.cta .sparks .sp1 { top: 12%; inset-inline-start: 8%; --dl: 0s; width: 84px; } .cta .sparks .sp2 { top: 62%; inset-inline-start: 5%; --dl: 1.4s; width: 120px; }
.cta .sparks .sp3 { top: 14%; inset-inline-end: 6%; --dl: .8s; width: 150px; } .cta .sparks .sp4 { top: 66%; inset-inline-end: 8%; --dl: 2.2s; width: 150px; }
.cta .sparks img { width: 100%; }
.cta .wrap { position: relative; z-index: 1; }
@media (max-width: 700px) { .cta .sparks { opacity: .35; } }
.how .sec-h { margin-bottom: 16px; }
.how .wrap { display: grid; }

/* booking extras */
.legend .lg-free { background: var(--mist); border: 1px solid var(--line); } .legend .lg-full { background: var(--line); }
.sum-inline.sum { position: static; margin-bottom: 22px; }
.bk.is-done { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
.tog img { width: 44px; height: 44px; object-fit: contain; flex: none; }
#timeGrid:not(:has(.tm)) { font-size: 14px; opacity: .7; }
.cal-g .dn { font-size: 12px; }
.blk-t { margin-top: 40px; }
[hidden]{display:none!important}
html, body { overflow-x: clip; }

.stage.paused .ring, .stage.paused .spark { animation-play-state: paused; }

.pk img.cv, .opt img.cv { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.pk { min-height: 0; }
.pk-note { margin-top: 26px; font-size: 13px; opacity: .65; max-width: 80ch; }
.col-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.col-card { display: grid; gap: 10px; align-content: start; padding: 14px 14px 22px; border-radius: 24px; background: var(--ivory); border: 1.4px solid var(--line); }
.col-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.col-card h3 { font-size: 22px; padding-inline: 8px; } .col-card p { padding-inline: 8px; font-size: 14px; opacity: .8; }

/* الكاراكتر */
.ch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ch-side { display: grid; gap: 20px; }
.drop { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 34px 20px; border: 1.6px dashed var(--espresso); border-radius: 26px; background: #fff8; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.drop:hover, .drop:focus-within { background: var(--mist); transform: translateY(-2px); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop .drop-ic { width: 34px; height: 34px; } .drop small { opacity: .65; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-note { font-size: 13px; opacity: .65; }
.ch-stage { display: grid; gap: 16px; }
.ch-frame { position: relative; aspect-ratio: 1; border-radius: 28px; background: var(--mist); border: 1.4px solid var(--espresso); overflow: hidden; display: grid; place-items: center; }
.ch-frame > img { width: 100%; height: 100%; object-fit: cover; }
.ch-empty { display: grid; justify-items: center; gap: 12px; opacity: .7; padding: 24px; text-align: center; } .ch-empty img { width: 120px; }
.ch-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(251, 246, 238, .86); }
.ch-load i { position: absolute; width: 56px; height: 56px; border: 3px solid var(--espresso); border-radius: 14px; animation: chp 1.6s ease-in-out infinite; }
.ch-load i:nth-child(2) { animation-delay: .25s; width: 80px; height: 80px; opacity: .6; } .ch-load i:nth-child(3) { animation-delay: .5s; width: 104px; height: 104px; opacity: .3; }
.ch-load span { position: relative; margin-top: 130px; font-size: 15px; }
@keyframes chp { 0%, 100% { transform: scale(.85) rotate(0); } 50% { transform: scale(1.1) rotate(8deg); } }
.ch-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.ch .hp { top: auto; }
#chCard { display: none; }
@media (max-width: 900px) { .ch { grid-template-columns: 1fr; } .ch-stage { order: -1; } }
