/* ==========================================================
   Hero film: 8 scenes, "account blocked" -> "verified".
   Each scene is an <svg class="sc">; film.js toggles .on/.out/.play.
   Inner animations live under .play so they keep running while a scene
   exits. Base styles are each scene's last frame (reduced-motion view).
   ========================================================== */
.film {
  --fe: cubic-bezier(.2, .9, .25, 1);
  /* sized so the CTA under it stays above the fold (topbar + cta + tabbar ≈ 270px) */
  --fh: max(300px, calc(100svh - 270px - var(--safe-b, 0px)));
  position: relative; aspect-ratio: 360 / 440; width: min(100%, calc(var(--fh) * 360 / 440)); margin: 0 auto 14px; border-radius: 26px; overflow: hidden;
  background: #0b1411; isolation: isolate; cursor: pointer; user-select: none; -webkit-user-select: none;
  box-shadow: 0 34px 60px -34px rgba(18,33,27,.75), 0 0 0 1px rgba(18,33,27,.08); outline: none;
}
.film:focus-visible { box-shadow: 0 0 0 3px var(--acc); }
.film-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.film .sc { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; visibility: hidden; }
.film .sc.on { opacity: 1; visibility: visible; z-index: 2; }
.film .sc.out { visibility: visible; z-index: 1; }
.film svg [class] { transform-box: fill-box; transform-origin: center; }
.film text { font-family: "Vazirmatn", system-ui, sans-serif; }
.film.halt .sc, .film.halt .sc *, .film.halt .film-cap, .film.halt .film-rec b { animation-play-state: paused !important; }

/* ---------- overlay: progress, meta, caption ---------- */
.film-ui { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.film-ui::before, .film-ui::after { content: ""; position: absolute; inset-inline: 0; }
.film-ui::before { top: 0; height: 74px; background: linear-gradient(rgba(6,12,10,.5), transparent); }
.film-ui::after { bottom: 0; height: 124px; background: linear-gradient(transparent, rgba(6,12,10,.85)); }
.film-bars { position: absolute; z-index: 1; top: 12px; inset-inline: 14px; display: flex; gap: 4px; }
.film-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.film-bars b { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: right; }
.film-meta {
  position: absolute; z-index: 1; top: 24px; inset-inline: 14px; display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,.85); font: 700 10px/1 "JetBrains Mono", monospace; letter-spacing: .14em;
}
.film-rec { display: inline-flex; align-items: center; gap: 6px; direction: ltr; }
.film-rec b { width: 7px; height: 7px; border-radius: 50%; background: #ff4d3d; animation: fmRec 1.2s steps(2) infinite; }
@keyframes fmRec { 50% { opacity: .15; } }
.film-cap {
  position: absolute; z-index: 1; bottom: 16px; inset-inline: 18px; margin: 0; text-align: center; color: #fff;
  font-weight: 800; font-size: 16px; line-height: 1.6; text-wrap: balance; text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.film-cap.in { animation: fmCap .6s var(--fe) both; }
@keyframes fmCap { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.film-grain {
  position: absolute; inset: -60px; z-index: 4; pointer-events: none; opacity: .07;
  background: 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'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: fmGrain .9s steps(5) infinite;
}
@keyframes fmGrain { 20% { transform: translate(-14px, 9px); } 40% { transform: translate(11px, -16px); } 60% { transform: translate(-7px, 18px); } 80% { transform: translate(16px, 4px); } }
.film::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 70px rgba(0,0,0,.35); }
.film-state {
  position: absolute; z-index: 6; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(6,12,10,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .25s var(--fe); pointer-events: none;
}
.film.paused .film-state { opacity: 1; transform: none; }
.film-state svg { width: 26px; height: 26px; fill: #fff; margin-inline-end: -3px; }

/* ---------- shared keyframes ---------- */
@keyframes fmPop { 0% { opacity: 0; transform: scale(.3); } 65% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes fmUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes fmFade { from { opacity: 0; } }
@keyframes fmOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes fmRing { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(2.3); } }
@keyframes fmBlink { 0%, 44%, 52%, 100% { transform: none; } 48% { transform: scaleY(.1); } }
@keyframes fmFloat { 50% { transform: translateY(-3px); } }
@keyframes fmSpin { to { transform: rotate(360deg); } }
@keyframes fmTwinkle { 50% { opacity: .2; } }
@keyframes fmPulse { from { opacity: .45; } to { opacity: 1; } }

/* ---------- scene transitions ---------- */
.film .sc-1.on { animation: s1in 3s cubic-bezier(.25,.6,.3,1) both; }
@keyframes s1in { from { opacity: 0; transform: scale(1.1); } 25% { opacity: 1; } to { opacity: 1; transform: none; } }
.film .sc-1.out { transform-origin: 50% 68%; animation: s1out .7s cubic-bezier(.7,0,.9,.5) both; }
@keyframes s1out { from { opacity: 1; transform: none; } 60% { opacity: 1; } to { opacity: 0; transform: scale(2.6); } }
.film .sc-2.on { animation: s2in .8s cubic-bezier(.2,.8,.3,1) both; }
@keyframes s2in { from { opacity: 0; transform: scale(1.4); } 40% { opacity: 1; } }
.film .sc-2.out { animation: s2out .5s steps(1) both; }
@keyframes s2out {
  0% { opacity: 1; transform: none; clip-path: inset(0); }
  20% { transform: translateX(-10px); clip-path: inset(12% 0 55% 0); }
  40% { transform: translateX(12px); clip-path: inset(48% 0 18% 0); }
  60% { opacity: .6; transform: translateX(-5px); clip-path: inset(0 0 70% 0); }
  80% { opacity: .35; transform: translateX(8px); clip-path: inset(70% 0 4% 0); }
  100% { opacity: 0; }
}
.film .sc-3.on { animation: s3in .7s var(--fe) .1s both; }
@keyframes s3in { from { opacity: 0; transform: translateY(50px) scale(.96); } }
.film .sc-3.out { animation: s3out .6s cubic-bezier(.6,0,.9,.4) both; }
@keyframes s3out { from { opacity: 1; } to { opacity: 0; transform: scale(.82) translateY(-20px); } }
.film .sc-4.on { animation: s4in .8s cubic-bezier(.7,0,.2,1) both; }
@keyframes s4in { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
.film .sc-4.out { animation: fmOut .45s ease both; }
.film .sc-5.on { animation: s5in .7s cubic-bezier(.7,0,.2,1) both; }
@keyframes s5in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
.film .sc-5.out { animation: s5out .45s cubic-bezier(.6,0,1,.6) both; }
@keyframes s5out { from { opacity: 1; } to { opacity: 0; transform: translateX(-55%); filter: blur(6px); } }
.film .sc-6.on { animation: s6in .55s cubic-bezier(0,.5,.3,1) both; }
@keyframes s6in { from { opacity: 0; transform: translateX(55%); filter: blur(6px); } }
.film .sc-6.out { animation: fmOut .35s ease both; }
.film .sc-7.on { animation: s7in .65s var(--fe) both; }
@keyframes s7in { from { opacity: 0; transform: scale(1.15) rotate(-5deg); } }
.film .sc-7.out { animation: fmOut .3s ease both; }
.film .sc-8.on { animation: s8in .7s var(--fe) both; }
@keyframes s8in { from { opacity: 0; transform: scale(.94); filter: brightness(2.5); } }
.film .sc-8.out { animation: s8out .8s ease both; }
@keyframes s8out { from { opacity: 1; } to { opacity: 0; transform: scale(1.05); } }

/* ---------- 01 night ---------- */
.sc-1.play .s1-char { animation: s1breath 2.6s ease-in-out infinite; }
@keyframes s1breath { 50% { transform: translateY(2.5px); } }
.s1-head { transform-origin: 50% 100%; transform: rotate(-3deg) translateY(3px); }
.sc-1.play .s1-head { animation: s1droop 3s cubic-bezier(.4,0,.2,1) both; }
@keyframes s1droop { 0% { transform: rotate(3deg); } 35% { transform: rotate(-4deg) translateY(4px); } 100% { transform: rotate(-3deg) translateY(3px); } }
.sc-1.play .s1-eyes { animation: fmBlink 2.6s .6s infinite; }
.sc-1.play .s1-tear { animation: s1tear 1.8s ease-in .9s infinite both; }
@keyframes s1tear { 0% { opacity: 0; transform: translateY(-3px) scale(.6); } 25% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(16px); } }
.sc-1.play .s1-cloud { animation: s1cloud .9s var(--fe) .25s both; }
@keyframes s1cloud { from { opacity: 0; transform: translateY(-30px) scale(.8); } }
.sc-1.play .s1-cloudb { animation: fmFloat 2.2s ease-in-out infinite; }
.sc-1.play .s1-drop { animation: s1drop .75s linear infinite; }
@keyframes s1drop { 0% { opacity: 0; transform: translateY(-4px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(26px); } }
.sc-1.play .s1-glow { animation: fmPulse 1.1s ease-in-out infinite alternate; }
.sc-1.play .s1-pglow { animation: fmTwinkle .8s steps(2) infinite; }
.sc-1.play .s1-steam { animation: s1steam 1.6s ease-in-out infinite; }
@keyframes s1steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }
.sc-1.play .s1-star { animation: fmTwinkle 1.6s ease-in-out infinite; }

/* ---------- 02 error screen ---------- */
.sc-2.play .s2-modal { animation: fmPop .5s var(--fe) .15s both; }
.sc-2.play .s2-warn { animation: s2warn .6s cubic-bezier(.3,1.6,.5,1) .4s both; }
@keyframes s2warn { from { opacity: 0; transform: scale(0) rotate(-40deg); } }
.s2-ring { opacity: 0; }
.sc-2.play .s2-ring { animation: fmRing 1.4s ease-out .8s infinite; }
.sc-2.play .s2-ring2 { animation-delay: 1.5s; }
.sc-2.play .s2-t1 { animation: fmUp .45s var(--fe) .55s both; }
.sc-2.play .s2-t2 { animation: fmUp .45s var(--fe) .7s both; }
.sc-2.play .s2-btn { animation: fmUp .45s var(--fe) .85s both; }
.sc-2.play .s2-btnred { animation: s2red 3.4s both; }
@keyframes s2red { 0%, 56% { opacity: 0; } 58%, 100% { opacity: 1; } }
.sc-2.play .s2-cursor { animation: s2cur 3.4s both; }
@keyframes s2cur {
  0%, 28% { opacity: 0; transform: translate(80px, 70px); }
  32% { opacity: 1; transform: translate(70px, 62px); animation-timing-function: cubic-bezier(.5,0,.2,1); }
  52% { transform: none; } 55% { transform: scale(.78); } 58%, 100% { opacity: 1; transform: none; }
}
.sc-2.play .s2-toast { animation: s2toast 3.4s both; }
@keyframes s2toast { 0%, 58% { opacity: 0; transform: translateY(-34px); } 66% { opacity: 1; transform: translateY(2px); } 70%, 100% { opacity: 1; transform: none; } }
.sc-2.play .s2-laptop { animation: s2shake 3.4s both; }
@keyframes s2shake { 0%, 58% { transform: none; } 60% { transform: translateX(-7px); } 62% { transform: translateX(6px); } 64% { transform: translateX(-4px); } 66% { transform: translateX(3px); } 68%, 100% { transform: none; } }
.s2-gl { opacity: 0; }
.sc-2.play .s2-gl { animation: s2gl 3.4s steps(1) both; }
.sc-2.play .s2-gl2 { animation-name: s2gl2; }
.sc-2.play .s2-gl3 { animation-name: s2gl3; }
@keyframes s2gl { 0%, 59% { opacity: 0; } 60% { opacity: 1; transform: translateX(-12px); } 62% { opacity: 0; } 65% { opacity: 1; transform: translate(10px, 30px); } 67% { opacity: 0; } 86% { opacity: 1; transform: translate(-6px, 60px); } 88%, 100% { opacity: 0; } }
@keyframes s2gl2 { 0%, 60% { opacity: 0; } 61% { opacity: 1; transform: translateX(14px); } 64% { opacity: 0; } 70% { opacity: 1; transform: translate(-10px, -40px); } 72%, 100% { opacity: 0; } }
@keyframes s2gl3 { 0%, 62% { opacity: 0; } 63% { opacity: 1; transform: translateX(-8px); } 66%, 100% { opacity: 0; } }
.s2-bloom { opacity: .75; }
.sc-2.play .s2-bloom { animation: s2bloom 3.4s ease both; }
@keyframes s2bloom { 0% { opacity: .3; } 58% { opacity: .5; } 62% { opacity: 1; } 100% { opacity: .75; } }
.sc-2.play .s2-rim { animation: fmPulse 1.1s ease-in-out infinite alternate; }
.sc-2.play .s2-head { animation: s2head 3.4s ease-in-out both; }
@keyframes s2head { from { transform: translate(-10px, 14px); } }

/* ---------- 03 ordering ---------- */
.sc-3.play .s3-phone { animation: fmFloat 3s ease-in-out .6s infinite; }
.sc-3.play .s3-bokeh { animation: s3bk 4.6s ease-in-out both; }
@keyframes s3bk { from { opacity: 0; transform: translateX(16px); } }
.s3-m1, .s3-typing, .s3-m3 { transform-origin: 0% 100%; }
.s3-m2 { transform-origin: 100% 100%; }
.sc-3.play .s3-m1 { animation: fmPop .45s var(--fe) .35s both; }
.sc-3.play .s3-btn { animation: fmUp .35s var(--fe) .7s both; }
.s3-rip { opacity: 0; }
.sc-3.play .s3-rip { animation: s3rip 4.6s ease-out both; }
@keyframes s3rip { 0%, 28.5% { opacity: 0; transform: scale(.2); } 30% { opacity: .35; } 40%, 100% { opacity: 0; transform: scale(1.5); } }
.s3-thumb { transform: translate(60px, 130px); }
.sc-3.play .s3-thumb { animation: s3thumb 4.6s both; }
@keyframes s3thumb {
  0%, 12% { transform: translate(60px, 130px); animation-timing-function: cubic-bezier(.3,0,.2,1); }
  27% { transform: translate(-67px, -180px); }
  29% { transform: translate(-66px, -177px) scale(.96); }
  31% { transform: translate(-67px, -180px); animation-timing-function: cubic-bezier(.4,0,.2,1); }
  40%, 50% { transform: translate(30px, 40px); animation-timing-function: cubic-bezier(.3,0,.2,1); }
  62% { transform: translate(-52px, -99px); }
  64.5% { transform: translate(-51px, -96px) scale(.96); }
  67% { transform: translate(-52px, -99px); animation-timing-function: cubic-bezier(.5,0,.8,.4); }
  78%, 100% { transform: translate(60px, 130px); }
}
.s3-sheet { transform: translateY(230px); }
.sc-3.play .s3-sheet { animation: s3sheet 4.6s both; }
@keyframes s3sheet {
  0%, 32% { transform: translateY(230px); animation-timing-function: var(--fe); }
  40%, 67% { transform: none; animation-timing-function: cubic-bezier(.6,0,.8,.3); }
  74%, 100% { transform: translateY(230px); }
}
.sc-3.play .s3-photo { animation: s3photo 4.6s both; }
@keyframes s3photo { 0%, 38% { opacity: 0; transform: scale(.4); } 43% { opacity: 1; transform: scale(1.08); } 46%, 100% { opacity: 1; transform: none; } }
.s3-f { transform-origin: 100% 50%; }
.sc-3.play .s3-f { animation: s3type .32s steps(6) 1.9s both; }
@keyframes s3type { from { transform: scaleX(0); } }
.sc-3.play .s3-submit { animation: s3press 4.6s both; }
@keyframes s3press { 0%, 63.5% { transform: none; } 65% { transform: scale(.94); } 67%, 100% { transform: none; } }
.sc-3.play .s3-m2 { animation: fmPop .45s var(--fe) 3.4s both; }
.s3-typing { opacity: 0; }
.sc-3.play .s3-typing { animation: s3typing 4.6s both; }
@keyframes s3typing { 0%, 79% { opacity: 0; transform: scale(.6); } 81%, 88% { opacity: 1; transform: none; } 89%, 100% { opacity: 0; } }
.sc-3.play .s3-dot { animation: s3dot .6s ease-in-out infinite; }
@keyframes s3dot { 50% { transform: translateY(-2.5px); opacity: .5; } }
.sc-3.play .s3-m3 { animation: fmPop .45s var(--fe) 4.1s both; }

/* ---------- 04 post office ---------- */
.s4-inter { opacity: 0; }
.sc-4.play .s4-inter { animation: s4inter 4.2s both; }
@keyframes s4inter { 0%, 30% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.7,0,.2,1); } 40%, 100% { opacity: 1; transform: translateY(-440px); } }
.sc-4.play .s4-cal { animation: fmPop .55s var(--fe) .1s both; }
.s4-page { transform-origin: 0% 0%; opacity: 0; }
.sc-4.play .s4-page { animation: s4page 4.2s both; }
@keyframes s4page { 0%, 13% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.5,0,.9,.5); } 26%, 100% { opacity: 0; transform: translate(-40px, 160px) rotate(-38deg); } }
.sc-4.play .s4-later { animation: fmUp .5s var(--fe) .7s both; }
.s4-qo { opacity: 0; }
.sc-4.play .s4-qo { animation: s4qo 4.2s steps(1) both; }
@keyframes s4qo { 0%, 40% { opacity: 1; } 41%, 100% { opacity: 0; } }
.sc-4.play .s4-qn { animation: s4qn 4.2s steps(1) both; }
@keyframes s4qn { 0%, 40% { opacity: 0; } 41% { opacity: 1; } 44% { opacity: .2; } 47% { opacity: 1; } 50% { opacity: .2; } 53%, 100% { opacity: 1; } }
.s4-mn, .s4-hr { transform-origin: 50% 100%; }
.sc-4.play .s4-mn { animation: fmSpin 1s linear infinite; }
.sc-4.play .s4-hr { animation: fmSpin 12s linear infinite; }
.s4-arm { transform: translate(24px, 80px); }
.sc-4.play .s4-arm { animation: s4arm 4.2s both; }
@keyframes s4arm {
  0%, 38% { transform: none; animation-timing-function: cubic-bezier(.4,0,.2,1); }
  53%, 62% { transform: translate(-16px, -30px); animation-timing-function: cubic-bezier(.5,0,.5,1); }
  76%, 100% { transform: translate(24px, 80px); }
}
.s4-pkg { transform-origin: 50% 100%; }
.sc-4.play .s4-pkg { animation: s4pkg 4.2s both; }
@keyframes s4pkg {
  0%, 38% { transform: translate(32px, 84px) scale(1.3); animation-timing-function: cubic-bezier(.4,0,.2,1); }
  55%, 64.5% { transform: none; } 66% { transform: scale(1.04, .9); } 69%, 100% { transform: none; }
}
.s4-stamp { opacity: 0; }
.sc-4.play .s4-stamp { animation: s4stamp 4.2s both; }
@keyframes s4stamp {
  0%, 52% { opacity: 0; transform: translateY(-26px); }
  57% { opacity: 1; transform: translateY(-22px); animation-timing-function: cubic-bezier(.6,0,1,.6); }
  64.5% { transform: none; } 70% { transform: translateY(-3px); }
  78% { opacity: 1; transform: translateY(-26px); } 84%, 100% { opacity: 0; transform: translateY(-26px); }
}
.sc-4.play .s4-mark { animation: s4mark 4.2s both; }
@keyframes s4mark { 0%, 64.5% { opacity: 0; transform: scale(1.8); } 67%, 100% { opacity: 1; transform: none; } }
.s4-hit { opacity: 0; }
.sc-4.play .s4-hit { animation: s4hit 4.2s both; }
@keyframes s4hit { 0%, 64.5% { opacity: 0; transform: scale(.7); } 66.5% { opacity: 1; transform: none; } 74%, 100% { opacity: 0; transform: scale(1.25); } }
.sc-4.play .s4-world { animation: s4jolt 4.2s both; }
@keyframes s4jolt { 0%, 64.5% { transform: none; } 66% { transform: translateY(2px); } 68%, 100% { transform: none; } }
.sc-4.play .s4-ceyes { animation: fmBlink 2.2s 1.6s infinite; }
.sc-4.play .s4-clerk { animation: s4clerk 4.2s ease-in-out both; }
@keyframes s4clerk { 0%, 50% { transform: none; } 58% { transform: translateY(4px); } 72% { transform: translateY(5px); } 82%, 100% { transform: none; } }

/* ---------- 05 truck ---------- */
.sc-5.play .s5-far { animation: s5loop 10s linear infinite; }
.sc-5.play .s5-near { animation: s5loop 3.2s linear infinite; }
.sc-5.play .s5-props { animation: s5loop 2s linear infinite; }
@keyframes s5loop { to { transform: translateX(360px); } }
.sc-5.play .s5-dash { animation: s5dash .3s linear infinite; }
@keyframes s5dash { to { transform: translateX(60px); } }
.sc-5.play .s5-clouds { animation: s5cloud 3s linear both; }
@keyframes s5cloud { from { transform: translateX(-30px); } }
.sc-5.play .s5-rays { animation: fmSpin 10s linear infinite; }
.s5-truck { transform: translateX(-360px); }
.sc-5.play .s5-truck { animation: s5truck 3s both; }
@keyframes s5truck {
  0% { transform: translateX(330px); animation-timing-function: cubic-bezier(.15,.75,.3,1); }
  30% { transform: none; animation-timing-function: ease-in-out; }
  72% { transform: translateX(-8px); animation-timing-function: cubic-bezier(.7,0,1,.6); }
  100% { transform: translateX(-360px); }
}
.sc-5.play .s5-bob { animation: s5bob .28s ease-in-out infinite alternate; }
@keyframes s5bob { to { transform: translateY(-1.6px); } }
.sc-5.play .s5-wheel { animation: s5wheel .4s linear infinite; }
@keyframes s5wheel { to { transform: rotate(-360deg); } }
.s5-puff { opacity: 0; }
.sc-5.play .s5-puff { animation: s5puff .7s ease-out infinite; }
@keyframes s5puff { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: translate(30px, -14px) scale(1.6); } }
.s5-sp { opacity: 0; }
.sc-5.play .s5-sp { animation: s5sp .5s linear infinite; }
@keyframes s5sp { 0% { opacity: 0; transform: translateX(-12px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(30px); } }
.sc-5.play .s5-beam { animation: fmPulse .5s ease-in-out infinite alternate; }

/* ---------- 06 unboxing ---------- */
.sc-6.play .s6-box { animation: s6box .75s .1s both; }
@keyframes s6box {
  0% { transform: translateY(-320px); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  55% { transform: translateY(6px) scale(1.05, .92); animation-timing-function: ease-out; }
  72% { transform: translateY(-8px); } 86% { transform: translateY(2px); } 100% { transform: none; }
}
.s6-dust { opacity: 0; }
.sc-6.play .s6-dust { animation: s6dust .6s ease-out .5s both; }
@keyframes s6dust { from { opacity: .8; transform: scale(.3); } to { opacity: 0; transform: scale(1.4) translateY(-6px); } }
.s6-fl { transform-origin: 0% 50%; transform: rotate(-165deg); }
.s6-fr { transform-origin: 100% 50%; transform: rotate(165deg); }
.sc-6.play .s6-fl { animation: s6fl 3.8s both; }
@keyframes s6fl { 0%, 23% { transform: none; animation-timing-function: cubic-bezier(.3,1.5,.6,1); } 33%, 100% { transform: rotate(-165deg); } }
.sc-6.play .s6-fr { animation: s6fr 3.8s both; }
@keyframes s6fr { 0%, 24.5% { transform: none; animation-timing-function: cubic-bezier(.3,1.5,.6,1); } 34.5%, 100% { transform: rotate(165deg); } }
.sc-6.play .s6-rays { animation: s6rays 3.8s both; }
@keyframes s6rays { 0%, 30% { opacity: 0; transform: scale(.2); } 42%, 100% { opacity: 1; transform: none; } }
.sc-6.play .s6-rays-r { animation: fmSpin 14s linear infinite; }
.sc-6.play .s6-glow { animation: s6glow 3.8s both; }
@keyframes s6glow { 0%, 30% { opacity: 0; transform: scale(.3); } 44% { opacity: 1; transform: scale(1.15); } 54%, 100% { opacity: .9; transform: none; } }
.s6-card { transform: rotate(-5deg); }
.sc-6.play .s6-card { animation: s6card 3.8s both; }
@keyframes s6card {
  0%, 32% { opacity: 0; transform: translateY(46px) scale(.7); animation-timing-function: cubic-bezier(.2,.9,.3,1.2); }
  46% { opacity: 1; transform: translateY(-10px) rotate(-9deg) scale(1.06); }
  56%, 100% { opacity: 1; transform: rotate(-5deg); }
}
.sc-6.play .s6-cardf { animation: fmFloat 2s ease-in-out 2.2s infinite; }
.s6-fa { opacity: 0; }
.sc-6.play .s6-fa { animation: s6fa 3.8s steps(1) both; }
@keyframes s6fa { 0%, 43% { opacity: 1; } 44%, 100% { opacity: 0; } }
.sc-6.play .s6-fb { animation: s6fb 3.8s steps(1) both; }
@keyframes s6fb { 0%, 43% { opacity: 0; } 44%, 100% { opacity: 1; } }
.sc-6.play .s6-hop { animation: s6hop 3.8s both; }
@keyframes s6hop {
  0%, 44% { transform: none; animation-timing-function: cubic-bezier(.2,.8,.4,1); }
  49% { transform: translateY(-10px); animation-timing-function: cubic-bezier(.6,0,.8,.4); }
  54% { transform: none; } 58% { transform: translateY(-3px); } 62%, 100% { transform: none; }
}
.sc-6.play .s6-spark { animation: s6spark 1.1s ease-out 1.8s infinite both; }
@keyframes s6spark { 0% { opacity: 0; transform: scale(0) rotate(-90deg); } 45% { opacity: 1; transform: scale(1.15) rotate(0); } 100% { opacity: 0; transform: scale(.5) rotate(60deg); } }

/* ---------- 07 selfie ---------- */
.sc-7.play .s7-phone { animation: s7sway 2.6s ease-in-out infinite alternate; }
@keyframes s7sway { from { transform: rotate(-.8deg) translateY(1px); } to { transform: rotate(.8deg); } }
.sc-7.play .s7-hint { animation: fmUp .45s var(--fe) .3s both; }
.sc-7.play .s7-scan { animation: s7scan 1s ease-in-out .35s infinite alternate both; }
@keyframes s7scan { from { transform: none; } to { transform: translateY(160px); } }
.s7-ring { stroke-dashoffset: 0; }
.sc-7.play .s7-ring { animation: s7ring 1.7s cubic-bezier(.45,0,.25,1) .5s both; }
@keyframes s7ring { from { stroke-dashoffset: 100; } }
.sc-7.play .s7-pt { animation: fmPop .35s var(--fe) .7s both; }
.s7-mesh { stroke-dashoffset: 0; }
.sc-7.play .s7-mesh { animation: s7mesh .9s ease-out 1.2s both; }
@keyframes s7mesh { from { stroke-dashoffset: 1; } }
.sc-7.play .s7-eyes { animation: fmBlink 2.4s .5s infinite; }
.sc-7.play .s7-shin { animation: s7shin 3.4s both; }
@keyframes s7shin { 0%, 66% { transform: none; } 68% { transform: scale(.72); } 72%, 100% { transform: none; } }
.s7-flash { opacity: 0; }
.sc-7.play .s7-flash { animation: s7flash 3.4s both; }
@keyframes s7flash { 0%, 68% { opacity: 0; } 69.5% { opacity: 1; } 88%, 100% { opacity: 0; } }
.sc-7.play .s7-shot { animation: s7shot 3.4s both; }
@keyframes s7shot { 0%, 72% { opacity: 0; transform: scale(.4); } 78%, 100% { opacity: 1; transform: none; } }

/* ---------- 08 verified ---------- */
.sc-8.play .s8-rays { animation: fmFade .6s both; }
.sc-8.play .s8-rays-r { animation: fmSpin 16s linear infinite; }
.sc-8.play .s8-phone { animation: fmFloat 2.6s ease-in-out .8s infinite; }
.sc-8.play .s8-badge { animation: s8badge .6s cubic-bezier(.3,1.6,.5,1) .15s both; }
@keyframes s8badge { from { opacity: 0; transform: scale(0); } }
.s8-check { stroke-dashoffset: 0; }
.sc-8.play .s8-check { animation: s8chk .45s cubic-bezier(.6,0,.3,1) .5s both; }
@keyframes s8chk { from { stroke-dashoffset: 1; } }
.s8-rip { opacity: 0; }
.sc-8.play .s8-rip { animation: fmRing 1.6s ease-out .55s infinite; }
.sc-8.play .s8-rip2 { animation-delay: 1.35s; }
.sc-8.play .s8-t1 { animation: fmUp .5s var(--fe) .85s both; }
.sc-8.play .s8-t2 { animation: fmUp .5s var(--fe) 1s both; }
.sc-8.play .s8-card { animation: fmUp .5s var(--fe) 1.2s both; }
.sc-8.play .s8-ros { animation: s8ros .6s cubic-bezier(.3,1.6,.5,1) 1.6s both; }
@keyframes s8ros { from { opacity: 0; transform: scale(0) rotate(-120deg); } }
.sc-8.play .s8-chip { animation: fmPop .4s var(--fe) 1.9s both; }
.sc-8.play .s8-tick { animation: fmPop .35s var(--fe) 2.1s both; }
.film .cf { opacity: 0; }
.sc-8.play .cf { animation: s8cf 1.7s cubic-bezier(.12,.7,.3,1) .45s both; }
@keyframes s8cf {
  0% { opacity: 1; transform: scale(.3); }
  55% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 80px)) rotate(calc(var(--r) * 2)); }
}
