/* Animated PowerMax + Elite Power logos */
.stage{width:min(860px,88vw);cursor:pointer;-webkit-tap-highlight-color:transparent}
.tilt{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.logo{width:100%;height:auto;display:block;overflow:visible}


/* ---------- POWERMAX ---------- */
.pm{--sx:0;--sy:0}
.pm .pm-sh{transform:translate(calc(var(--sx)*1px),calc(var(--sy)*1px));transition:transform .45s cubic-bezier(.2,.9,.25,1.25)}
.pm .pm-cut{transform:translate(calc(var(--sx)*-1px),calc(var(--sy)*-1px));transition:transform .45s cubic-bezier(.2,.9,.25,1.25)}
.pm .pm-l{opacity:0;transform:translateX(-90px)}
.pm .pm-fg{transition:transform .35s cubic-bezier(.3,1.6,.4,1)}
.pm .pm-l:hover .pm-fg{transform:translate(5px,-16px)}
.pm .pm-drawpath{stroke-dasharray:1 1;stroke-dashoffset:1}
.play .pm .pm-l{animation:pmIn .7s cubic-bezier(.16,1,.3,1) calc(.15s + var(--i)*65ms) forwards}
.play .pm .pm-drawpath{animation:draw 1.1s cubic-bezier(.65,0,.25,1) .55s forwards}
.play .pm .pm-shine{animation:sweep 1.25s cubic-bezier(.5,0,.3,1) 1.45s}
.pm.follow .pm-shine{transition:opacity .3s;opacity:.55!important}
@keyframes pmIn{0%{opacity:0;transform:translateX(-90px)}60%{opacity:1}100%{opacity:1;transform:none}}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes sweep{0%{opacity:1;transform:translateX(0)}100%{opacity:1;transform:translateX(2900px)}}
/* ---------- ELITE POWER ---------- */
.ep .ep-l{opacity:0;transform:translateX(120px) skewX(-18deg);transform-box:fill-box}
.ep .ep-bolt{opacity:0;transform-box:fill-box;transform-origin:50% 0;transform:scaleY(0)}
.ep .ep-strike{stroke-dasharray:1 1;stroke-dashoffset:1}
.play .ep .ep-l{animation:epIn .55s cubic-bezier(.2,1.25,.35,1) calc(.1s + var(--i)*45ms) forwards}
.play .ep .ep-strike{animation:strike .5s ease-out 1.0s forwards}
.play .ep .ep-bolt{animation:boltIn .25s steps(3,end) 1.12s forwards}
.play .ep{animation:flash .6s ease-out 1.12s}
.play .ep.charged .ep-bolt{opacity:1;transform:none;animation:flicker 1.6s steps(1) infinite}
.ep.charged{filter:drop-shadow(0 0 10px rgba(255,224,27,.55)) drop-shadow(0 0 2px rgba(255,255,255,.9))}
.play .ep.zap .ep-strike{animation:strike2 .45s ease-out forwards}
@keyframes strike2{0%{opacity:1;stroke-dashoffset:1}45%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
.stage .ep{transition:filter .3s}
@keyframes epIn{0%{opacity:0;transform:translateX(120px) skewX(-18deg)}100%{opacity:1;transform:none}}
@keyframes strike{0%{opacity:1;stroke-dashoffset:1}45%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
@keyframes boltIn{0%{opacity:0;transform:scaleY(0)}100%{opacity:1;transform:none}}
@keyframes flash{0%{filter:brightness(2.4) drop-shadow(0 0 30px #fff6a8)}100%{filter:none}}
@keyframes flicker{0%,100%{opacity:1}8%{opacity:.55}12%{opacity:1}55%{opacity:.8}58%{opacity:1}}
@media (prefers-reduced-motion:reduce){
 .pm .pm-l,.ep .ep-l,.ep .ep-bolt{opacity:1!important;transform:none!important;animation:none!important}
 .pm .pm-drawpath{stroke-dashoffset:0!important;animation:none!important}
 .pm-shine,.ep-strike{display:none} .tilt{transform:none!important}}
