/* استند افقی 1920×1080. همه‌چیز با vw/vh اندازه می‌گیرد تا روی وضوح‌های دیگر هم درست بنشیند. */
html, body { overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: manipulation; background: var(--teal-ink); }
#stage { position: fixed; inset: 0; }
.scr { position: absolute; inset: 0; display: none; }
.scr.on { display: flex; animation: fade .45s ease both; }
@keyframes fade { from { opacity: 0; transform: scale(.985); } }
.logo { display: inline-block; width: 1em; height: 1.12em; background: currentColor; -webkit-mask: url(/assets/logo-white.png) center/contain no-repeat; mask: url(/assets/logo-white.png) center/contain no-repeat; }
.cta { min-width: 20vw; padding: 2.2vh 4vw; border-radius: 999px; font-size: 2.4vw; font-weight: 900; background: var(--gold); color: var(--teal-ink); transition: transform .12s; }
.cta:active { transform: scale(.96); }
.cta.ghost { background: transparent; color: #fff; border: .25vw solid rgba(255,255,255,.6); }
.cta.wide { width: 100%; }
.cta:disabled { opacity: .35; }
.row { display: flex; gap: 2vw; justify-content: center; }

/* جذب */
#s-attract { background: radial-gradient(60vw 60vw at 70% 40%, #0a9a8c, var(--teal) 45%, var(--teal-ink)); color: #fff; align-items: center; }
.att-bg { position: absolute; inset: -10%; opacity: .08; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3vw; transform: rotate(-10deg); }
.att-bg .ic { width: 6vw; height: 6vw; animation: drift 14s linear infinite; }
@keyframes drift { 50% { transform: translateY(-2vh) rotate(8deg); } }
.att-in { position: relative; padding-right: 8vw; width: 52vw; }
.att-logo { display: flex; align-items: center; gap: 1vw; font-size: 2.4vw; }
.att-logo b { font-weight: 800; }
#s-attract h1 { font-size: 6.6vw; line-height: 1.2; font-weight: 900; margin: 4vh 0 2vh; }
#s-attract p { font-size: 2vw; opacity: .9; margin-bottom: 6vh; }
#start { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); box-shadow: 0 0 0 2vw rgba(201,169,110,.18); } }
.att-types { position: relative; width: 40vw; height: 80vh; }
.att-card { position: absolute; width: 15vw; padding: 2.4vh 1vw; border-radius: 2vw; text-align: center; color: #fff; font-weight: 800; font-size: 1.5vw;
  box-shadow: 0 2vh 4vh rgba(0,0,0,.25); animation: float 6s ease-in-out infinite; }
.att-card .ic { width: 5vw; height: 5vw; display: block; margin: 0 auto 1.2vh; }
@keyframes float { 50% { transform: translateY(-2.4vh) rotate(var(--r2, 2deg)); } }

/* سوال */
#s-q { flex-direction: column; background: var(--cream); }
.qhead { display: flex; align-items: center; gap: 2vw; padding: 3.5vh 5vw 0; }
.back { font-size: 1.6vw; font-weight: 700; color: var(--teal-ink); padding: 1vh 1vw; min-width: 8vw; }
.back.hide { visibility: hidden; }
.prog { flex: 1; display: flex; gap: .6vw; }
.prog i { flex: 1; height: 1vh; border-radius: 1vh; background: var(--cream-2); }
.prog i.done { background: var(--teal); }
.prog i.cur { background: var(--gold); }
.qn { font-size: 1.6vw; font-weight: 700; color: var(--muted); min-width: 8vw; text-align: left; }
.qbody { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 6vw 6vh; }
.qicon { color: var(--teal); }
.qicon .ic { width: 7vw; height: 7vw; }
#qtext { font-size: 3.6vw; font-weight: 900; text-align: center; margin: 2.5vh 0 5vh; color: var(--teal-ink); line-height: 1.4; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2vw; width: 100%; max-width: 78vw; }
.opt { min-height: 16vh; padding: 2vh 2.4vw; border-radius: 1.6vw; background: #fff; font-size: 2vw; font-weight: 700; line-height: 1.5; text-align: right;
  border: .25vw solid transparent; box-shadow: 0 .6vh 2vh rgba(0,59,54,.08); display: flex; align-items: center; gap: 1.4vw; transition: transform .12s, background .2s; }
.opt b { flex: none; width: 3.6vw; height: 3.6vw; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--teal-ink); font-size: 1.7vw; font-weight: 900; }
.opt:active { transform: scale(.97); }
.opt.sel { background: var(--teal); color: #fff; border-color: var(--teal-deep); }
.opt.sel b { background: var(--gold); }

/* شماره */
#s-phone { background: var(--teal-ink); color: #fff; align-items: center; padding: 0 6vw; gap: 5vw; }
.ph-left { flex: 1.1; }
.teaser { display: flex; gap: 1vw; margin-bottom: 3vh; }
.teaser span { width: 4.4vw; height: 4.4vw; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--gold); filter: blur(.25vw); }
.teaser span .ic { width: 2.6vw; height: 2.6vw; }
#s-phone h2 { font-size: 4vw; font-weight: 900; }
#s-phone p { font-size: 1.7vw; opacity: .85; margin-top: 1vh; line-height: 1.7; }
.phone { margin: 4vh 0 3vh; font-size: 4.6vw; font-weight: 900; letter-spacing: .3vw; direction: ltr; text-align: right; min-height: 8vh;
  border-bottom: .3vw solid var(--gold); padding-bottom: 1vh; font-variant-numeric: tabular-nums; }
.phone .ph { opacity: .3; }
.consent { display: flex; align-items: center; gap: 1.2vw; font-size: 1.6vw; }
.consent input { width: 2.6vw; height: 2.6vw; accent-color: var(--gold); }
.fine { font-size: 1.2vw !important; opacity: .6 !important; margin-top: 2vh !important; }
.ph-right { flex: .9; }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2vw; margin-bottom: 2.4vh; direction: ltr; }
.pad button { height: 12vh; border-radius: 1.4vw; background: rgba(255,255,255,.1); font-size: 3.4vw; font-weight: 800; color: #fff; }
.pad button:active { background: rgba(255,255,255,.28); }
.pad .fn { font-size: 1.8vw; }

/* تایید */
#s-confirm { background: var(--teal-ink); color: #fff; align-items: center; justify-content: center; }
.center { text-align: center; }
#s-confirm h2 { font-size: 3.4vw; font-weight: 800; }
.bignum { font-size: 8vw; font-weight: 900; margin: 5vh 0 6vh; direction: ltr; letter-spacing: .4vw; color: var(--gold); font-variant-numeric: tabular-nums; }

/* رونمایی */
#s-reveal { background: var(--bg, var(--teal)); color: var(--ink-c, #fff); }
.rv { position: relative; flex: 1; display: flex; align-items: center; padding: 0 6vw; gap: 3vw; overflow: hidden;
  background: radial-gradient(50vw 50vw at 35% 50%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), linear-gradient(135deg, var(--bg), var(--bg2)); }
.rv-em { flex: none; width: 29vw; animation: pop .9s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes pop { from { transform: scale(.2) rotate(-30deg); opacity: 0; } }
.rv-tx { flex: 1; min-width: 0; }
.rv-tx small { font-size: 2vw; opacity: .85; }
.rv-tx h1 { font-size: 6vw; font-weight: 900; line-height: 1.15; animation: rise .7s .25s both; }
.rv-tx .tg { font-size: 2.1vw; line-height: 1.7; margin-top: 1vh; animation: rise .7s .4s both; }
.rv-tr { display: flex; gap: 1vw; margin-top: 3vh; animation: rise .7s .55s both; }
.rv-tr span { padding: 1vh 2vw; border-radius: 999px; font-size: 1.6vw; font-weight: 800; background: var(--accent); color: var(--on-accent); }
@keyframes rise { from { opacity: 0; transform: translateY(3vh); } }
.rv-side { flex: none; width: 24vw; text-align: center; animation: rise .7s .7s both; }
.rv-msg { margin-top: 3vh; padding: 2vh 1.5vw; border-radius: 1.4vw; background: color-mix(in srgb, var(--ink-c) 12%, transparent); font-size: 1.5vw; line-height: 1.7; }
.rv-qr { background: #fff; padding: 1vw; border-radius: 1vw; display: block; width: fit-content; margin: 1.5vh auto 0; }
.rv-qr img, .rv-qr canvas { width: 11vw; height: 11vw; display: block; image-rendering: pixelated; }
.rv-bar { position: absolute; left: 0; bottom: 0; height: .8vh; background: var(--accent); animation: bar linear forwards; }
@keyframes bar { from { width: 100%; } to { width: 0; } }
.rv-again { position: absolute; left: 4vw; top: 4vh; font-size: 1.5vw; font-weight: 700; padding: 1.2vh 2vw; border-radius: 999px; border: .2vw solid currentColor; opacity: .8; }
.confetti { position: absolute; top: -5vh; width: 1vw; height: 2vh; border-radius: .2vw; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(115vh) rotate(720deg); } }

/* کارکنان */
#staffHot { position: fixed; top: 0; right: 0; width: 7vw; height: 10vh; z-index: 20; }
.staff { position: fixed; inset: 20vh 30vw; background: #fff; color: var(--ink); border-radius: 2vw; padding: 4vh 3vw; z-index: 30; display: none; font-size: 1.5vw; line-height: 2; box-shadow: 0 0 0 100vmax rgba(0,0,0,.6); }
.staff.on { display: block; }
.staff h3 { font-size: 2vw; margin-bottom: 2vh; }
.staff button { padding: 1.2vh 2vw; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700; margin-top: 3vh; }
.net { position: fixed; bottom: 2vh; left: 2vw; font-size: 1.1vw; padding: .6vh 1.2vw; border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; z-index: 15; display: none; }
.net.on { display: block; }
