:root {
  --ink: #2A1220;
  --ink-2: #5C3A47;
  --sindoor: #B4152B;
  --sindoor-dark: #8C0E20;
  --haldi: #F2A81D;
  --paper: #FFF8F6;
  --rose: #F8E6E3;
  --line: #EBCFCB;
  --leaf: #2E5E3E;
  --white: #FFFFFF;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --naskh: "NyotaNaskh", "Geeza Pro", "Damascus", serif;
  --display: "Rozha One", "Hind", "NyotaNaskh", Georgia, serif;
  --body: "Hind", "NyotaNaskh", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
a { color: var(--sindoor); }
img, canvas { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--haldi); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.logo b { font: 400 30px/1 var(--display); color: var(--sindoor); }
.logo span { font: 500 15px/1 var(--body); color: var(--ink-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font: 600 17px/1 var(--body); transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sindoor); color: #fff; }
.btn-primary:hover { background: var(--sindoor-dark); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 80px; padding-block: 32px 48px; font-size: 15px; color: var(--ink-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
.foot a { color: var(--ink-2); }

/* legal pages */
.legal { max-width: 720px; padding-top: 24px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal h2 { font-size: 24px; margin-top: 1.6em; }

/* ---------- shared effects ---------- */
.foil-text {
  background: linear-gradient(100deg, #9A6B1E 0%, #E9C46A 18%, #FFF4C8 28%, #E9C46A 38%, #B8862B 55%, #F7DC8C 72%, #9A6B1E 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil-sweep 6s linear infinite;
}
@keyframes foil-sweep { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* gold marquee band */
.marquee { overflow: hidden; background: linear-gradient(90deg, #4A0712, #8C1027 50%, #4A0712); border-block: 2px solid #E9C46A; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 22px; padding: 16px 22px; font: 400 clamp(22px, 2.6vw, 30px)/1 var(--display); color: #F7DC8C; white-space: nowrap; }
.marquee-item i { width: 14px; height: 14px; transform: rotate(45deg); background: #FFB21E; box-shadow: 0 0 0 3px rgba(255,178,30,.25); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* auto-scrolling card reel */
.reel { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; gap: 20px; width: max-content; animation: marquee 70s linear infinite; padding-block: 20px 34px; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel canvas { width: 240px; height: auto; aspect-ratio: 4 / 5; border-radius: 14px; box-shadow: 0 26px 40px -24px rgba(0,0,0,.65); transition: transform .3s; }
.reel canvas:nth-child(odd) { transform: translateY(14px) rotate(-1.5deg); }
.reel canvas:nth-child(even) { transform: rotate(1.5deg); }
.reel canvas:hover { transform: translateY(-8px) scale(1.04); }

/* live typing demo */
.demo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; }
.demo-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 24px; backdrop-filter: blur(6px); }
.demo-row { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.demo-row:last-child { border-bottom: 0; }
.demo-row small { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.demo-row span { font: 500 24px/1.3 var(--body); color: #fff; min-height: 32px; display: inline-block; }
.demo-row span.typing::after { content: ""; display: inline-block; width: 2px; height: 26px; margin-left: 2px; vertical-align: -4px; background: #F7DC8C; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-card { position: relative; justify-self: center; width: min(360px, 80vw); }
.demo-card::before { content: ""; position: absolute; inset: -40px; border-radius: 50%; background: radial-gradient(circle, var(--demo-bg, #8C1027) 0%, transparent 70%); opacity: .9; filter: blur(20px); transition: background .8s; }
.demo-card canvas { position: relative; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 16px; box-shadow: 0 50px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1); }

/* sparkle buttons */
.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: btn-shine 3.6s ease-in-out infinite; }
@keyframes btn-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; gap: 28px; }
  .reel canvas { width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .foil-text, .marquee-track, .reel-track, .btn-glow::after, .demo-row span.typing::after { animation: none !important; }
  .reel { overflow-x: auto; }
}

/* Arabic and Urdu always in Naskh, never the system Nastaliq fallback */
:lang(ar), :lang(ur), [dir=rtl] { font-family: var(--naskh) !important; }
input, textarea, select { font-family: var(--body); }

/* complete-set summary at the point of purchase */
.set-hint { margin: 0 0 8px; font-size: 14px; color: var(--muted, #6b5646); }
.set-hint b { color: var(--ink, #2a1220); }
.bundle { margin: 0 0 12px; padding: 12px 14px; border: 1px solid rgba(160, 120, 50, 0.35); border-radius: 14px; background: rgba(255, 250, 240, 0.7); }
.bundle-head { margin: 0 0 8px; font-size: 14px; }
.bundle-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bundle-list li { font-size: 13px; padding: 4px 10px 4px 24px; border-radius: 999px; background: #fff; border: 1px solid rgba(160, 120, 50, 0.3); position: relative; }
.bundle-list li::before { content: ""; position: absolute; left: 9px; top: 50%; width: 8px; height: 4px; border-left: 2px solid #3E7A3E; border-bottom: 2px solid #3E7A3E; transform: translateY(-70%) rotate(-45deg); }
.bundle-list li.guest { background: #FFF6E0; }

/* slashed list price */
s.mrp, .price-was s { text-decoration-thickness: 1.5px; opacity: .62; font-weight: inherit; }
s.mrp { font-size: .82em; margin-right: .15em; }
.btn s.mrp { opacity: .7; }
.price-was { font-size: 18px; opacity: .85; margin-top: 8px; }

/* Lucide icons from assets/icons.svg */
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .ic { margin: 0 -.1em; }
