/*
----------------------------------------------------
-- 2SLOW RP DEVELOPMENT
-- Resource: 2slow-cinematic-visuals
-- Created for: 2SLOW RP Server
-- Developer: 2SLOW Development Team
-- Copyright © 2026 2SLOW RP
-- All Rights Reserved
----------------------------------------------------
*/
.cinema-world,.cinema-hero{pointer-events:none;overflow:hidden;contain:layout paint}
.cinema-world{position:fixed;inset:0;z-index:0;opacity:.72}
body>main,body>footer{position:relative;z-index:1}
.cinema-world canvas,.cinema-hero canvas{display:block;width:100%;height:100%}
.cinema-hero{position:absolute;inset:0;z-index:0;mask-image:linear-gradient(#000 70%,transparent)}
.cinema-hero:before{content:'';position:absolute;left:5%;top:15%;width:44%;height:72%;background:radial-gradient(ellipse,rgba(230,15,45,.13),transparent 66%);animation:cinema-aura 12s ease-in-out infinite alternate}
html[dir=ltr] .cinema-hero:before{left:auto;right:5%}
.cinema-still{position:absolute;width:clamp(170px,24vw,340px);left:12%;top:23%;opacity:.42;filter:drop-shadow(0 0 22px #dd1b3f60)}
html[dir=ltr] .cinema-still{left:auto;right:12%}
.cinema-hero.has-canvas .cinema-still{display:none}
.hero h1>span:last-child{animation:cinema-title 8s ease-in-out infinite}
.hero .hero-grid{position:relative;z-index:1}
main :is(.store-card,.moment,.path,.story-image){--cinema-rx:0deg;--cinema-ry:0deg;--cinema-x:50%;--cinema-y:50%;transform:perspective(1100px) rotateX(var(--cinema-rx)) rotateY(var(--cinema-ry));transition:transform .32s ease,border-color .32s,box-shadow .32s;transform-origin:center}
main :is(.store-card,.moment,.path,.story-image):hover{border-color:#f1243570;box-shadow:0 18px 50px #0004,0 0 26px #f1243510}
main :is(.store-card,.moment)::before{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;background:radial-gradient(320px circle at var(--cinema-x) var(--cinema-y),#ff314415,transparent 65%);opacity:0;transition:opacity .3s}
main :is(.store-card,.moment):hover::before{opacity:1}.store-card{position:relative}
.cinema-toggle{position:fixed;inset-inline-end:18px;bottom:18px;z-index:22;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #f1243560;border-radius:50%;background:#0b0b0ee6;color:#f9f7fa;box-shadow:0 0 22px #f1243512;backdrop-filter:blur(10px);transition:border-color .2s,transform .2s;cursor:pointer}
.cinema-toggle svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round}.cinema-toggle:hover{border-color:#ff3e52;transform:translateY(-2px)}
.cinema-toggle[aria-pressed=false]{color:#9a959c;border-color:#ffffff24}.cinema-toggle:focus-visible{outline:2px solid var(--red);outline-offset:4px}
.cinema-toggle span{position:absolute;inset-inline-end:54px;white-space:nowrap;background:#111114;color:#fff;padding:7px 12px;border:1px solid #f1243530;border-radius:6px;font-size:11px;opacity:0;pointer-events:none;transition:opacity .2s}.cinema-toggle:is(:hover,:focus-visible) span{opacity:1}
html[data-theme=light] .cinema-world{opacity:.3}html[data-theme=light] .cinema-hero{opacity:.8}html[data-theme=light] .cinema-toggle{background:#fffffff0;color:#951128;border-color:#be1c3650}
html[data-theme=light] .hero h1>span:first-child,html[data-theme=light] .closing h2>span:first-child{color:#f5f3f2}
html[dir=ltr] .cinema-hero{background:linear-gradient(90deg,#09090aaa,transparent 58%)}
html[dir=ltr] .hero h1{font-size:clamp(46px,5vw,72px);letter-spacing:-1.5px}
body[data-cinema-motion=paused] .cinema-hero:before,body[data-cinema-motion=paused] .hero h1>span:last-child{animation:none}
@keyframes cinema-aura{from{transform:translate(-4%,3%) scale(.92);opacity:.65}to{transform:translate(5%,-4%) scale(1.1);opacity:1}}
@keyframes cinema-title{0%,100%{text-shadow:0 0 26px #f1243525}50%{text-shadow:0 0 52px #f1243560}}
@media(max-width:700px){.cinema-world{opacity:.52}.cinema-hero{opacity:.48}.cinema-still{width:165px;left:-35px;top:31%}.cinema-toggle{width:40px;height:40px;bottom:14px;inset-inline-end:14px}main :is(.store-card,.moment,.path,.story-image){transform:none}.cinema-toggle span{display:none}}
@media(prefers-reduced-motion:reduce){.cinema-hero:before,.hero h1>span:last-child{animation:none}main :is(.store-card,.moment,.path,.story-image){transform:none}.cinema-toggle{transition:none}}

/* Product decoration: one shared stage for every current and future card. */
.store-card{--store-bone:#e1e3eb;--store-void:#111219;--store-red:#ff314b;display:flex;flex-direction:column;isolation:isolate}
.store-card>img{transition:transform .6s cubic-bezier(.2,.7,.2,1);transform-origin:center}
.store-card:is(:hover,:focus-within)>img{transform:scale(1.035)}
.store-card>div:last-child{display:flex;flex:1;flex-direction:column;position:relative;z-index:1}
.store-card footer{margin-top:auto}.store-card .stock-label{margin-bottom:18px}
.store-card>.store-stage{position:relative;height:108px;min-height:108px;padding:0;overflow:hidden;pointer-events:none;user-select:none;contain:layout paint;background:radial-gradient(ellipse at 20% 80%,#f1243520,transparent 65%),linear-gradient(#141015,#101013);border-bottom:1px solid #f1243520}
.store-stage:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#11111470,transparent 40%,#11111480);pointer-events:none}
.store-stage-mark{position:absolute;inset-inline-start:24px;top:30px;z-index:2;font-family:inherit;font-weight:900;font-size:23px;line-height:1.1;letter-spacing:3px;color:#d7d9e1;text-shadow:0 0 22px #f1243525}
.store-stage-mark>span{display:block;margin-top:9px;font:600 8px/1.4 sans-serif;letter-spacing:1.6px;color:#b27883}
.store-wave-track{position:absolute;top:20px;left:0;width:200%;height:100px;color:#f12435;opacity:.5;animation:store-wave 9s linear infinite;animation-delay:var(--store-phase,0s)}
.store-wave-track svg{width:100%;height:100%;display:block;stroke-width:.8}
.store-wave-track path:nth-child(2n){opacity:.55}.store-wave-track path:last-child{opacity:.25}
.store-skeleton{position:absolute;inset-inline-end:23px;bottom:4px;width:77px;height:103px;z-index:2;overflow:visible;filter:drop-shadow(0 0 6px #f1243545)}
.store-dance-floor{position:absolute;inset-inline-end:12px;bottom:6px;width:100px;height:15px;border:1px solid #ef254b80;border-radius:50%;background:radial-gradient(ellipse,#f1243520,transparent 70%);box-shadow:0 0 12px #f1243530;animation:store-floor 1.8s ease-in-out infinite;animation-delay:var(--store-phase,0s);z-index:1}
.store-skeleton g{transform-box:view-box;animation-delay:var(--store-phase,0s)}
.skeleton-body{transform-origin:60px 100px;animation:store-dance 1.8s ease-in-out infinite}
.skeleton-head{transform-origin:60px 43px;animation:store-nod 1.8s ease-in-out infinite}
.skeleton-arm-left{transform-origin:43px 52px;animation:store-arm-left 1.8s ease-in-out infinite}
.skeleton-arm-right{transform-origin:77px 52px;animation:store-arm-right 1.8s ease-in-out infinite}
.skeleton-forearm-left{transform-origin:33px 70px;animation:store-forearm-left 1.8s ease-in-out infinite}
.skeleton-forearm-right{transform-origin:87px 70px;animation:store-forearm-right 1.8s ease-in-out infinite}
.skeleton-leg-left{transform-origin:53px 104px;animation:store-step-left 1.8s ease-in-out infinite}
.skeleton-leg-right{transform-origin:67px 104px;animation:store-step-right 1.8s ease-in-out infinite}
.skeleton-shin-left{transform-origin:48px 125px;animation:store-knee-left 1.8s ease-in-out infinite}
.skeleton-shin-right{transform-origin:72px 125px;animation:store-knee-right 1.8s ease-in-out infinite}
.store-spark{position:absolute;width:3px;height:3px;background:#ff6275;border-radius:50%;box-shadow:0 0 8px #ff314b;animation:store-spark 4s ease-in-out infinite;z-index:1}
.spark-one{left:12%;top:32%;animation-delay:var(--store-phase,0s)}.spark-two{left:46%;top:70%;animation-delay:-1.8s}.spark-three{left:80%;top:20%;animation-delay:-2.9s}
.store-card[data-store-visible=false] .store-stage *,body[data-cinema-motion=paused] .store-stage *,body[data-cinema-visibility=hidden] .store-stage *{animation-play-state:paused}
body[data-cinema-motion=paused] .store-card:is(:hover,:focus-within)>img{transform:none}
html[data-theme=light] .store-card{--store-bone:#48505f;--store-void:#f2f1f4;--store-red:#be1733}
html[data-theme=light] .store-stage{background:radial-gradient(ellipse at 20% 80%,#f1243512,transparent 65%),linear-gradient(#f7f5f7,#eeebef)}
html[data-theme=light] .store-stage:after{background:linear-gradient(90deg,#f7f5f755,transparent 40%,#f7f5f770)}
html[data-theme=light] .store-stage-mark{color:#343947}html[data-theme=light] .store-stage-mark>span{color:#963344}
@keyframes store-wave{to{transform:translateX(-50%)}}
@keyframes store-dance{0%,100%{transform:translate(-3px,0) rotate(-5deg)}25%{transform:translate(0,-3px) rotate(0deg)}50%{transform:translate(3px,0) rotate(5deg)}75%{transform:translate(0,-3px) rotate(0deg)}}
@keyframes store-nod{0%,100%{transform:rotate(8deg)}50%{transform:rotate(-8deg)}}
@keyframes store-arm-left{0%,100%{transform:rotate(20deg)}50%{transform:rotate(-28deg)}}
@keyframes store-arm-right{0%,100%{transform:rotate(28deg)}50%{transform:rotate(-20deg)}}
@keyframes store-forearm-left{0%,100%{transform:rotate(-15deg)}50%{transform:rotate(35deg)}}
@keyframes store-forearm-right{0%,100%{transform:rotate(-35deg)}50%{transform:rotate(15deg)}}
@keyframes store-step-left{0%,100%{transform:rotate(12deg)}50%{transform:rotate(-10deg)}}
@keyframes store-step-right{0%,100%{transform:rotate(10deg)}50%{transform:rotate(-12deg)}}
@keyframes store-knee-left{0%,100%{transform:rotate(-18deg)}50%{transform:rotate(8deg)}}
@keyframes store-knee-right{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(18deg)}}
@keyframes store-floor{0%,100%{opacity:.55;transform:scaleX(.85)}50%{opacity:1;transform:scaleX(1)}}
@keyframes store-spark{0%,100%{opacity:.15;transform:translateY(5px)}50%{opacity:.7;transform:translateY(-8px)}}
@media(max-width:700px){.store-card>.store-stage{height:98px;min-height:98px}.store-skeleton{height:94px;width:70px}.store-stage-mark{top:27px}.store-card:is(:hover,:focus-within)>img{transform:none}}
@media(prefers-reduced-motion:reduce){.store-card>img{transition:none}.store-card:is(:hover,:focus-within)>img{transform:none}}

/* Canvas-independent fallback: products and the public site remain animated. */
.cinema-world.is-css-fallback canvas,.cinema-hero.is-css-fallback canvas{display:none}
.cinema-world.is-css-fallback:after{content:'';position:absolute;left:-25%;bottom:-18%;width:150%;height:48%;border-radius:50%;border-top:1px solid #f1243580;box-shadow:0 -13px 0 -12px #ff3b5550,0 -29px 0 -28px #f1243560,0 -48px 0 -47px #ff3b5530,0 -70px 0 -69px #f1243540;background:radial-gradient(ellipse at 50% 0,#f1243510,transparent 65%);animation:cinema-fallback-wave 12s ease-in-out infinite alternate}
.cinema-hero.is-css-fallback .cinema-still{animation:cinema-fallback-skull 10s ease-in-out infinite alternate}
.cinema-hero.is-css-fallback:after{content:'';position:absolute;inset:40% -20% -25%;border-top:1px solid #f1243550;border-radius:50%;box-shadow:0 -25px 0 -24px #f1243530,0 -48px 0 -47px #f1243530;animation:cinema-fallback-wave 14s ease-in-out infinite alternate}
@keyframes cinema-fallback-wave{from{transform:translate(-2%,2%) rotate(-4deg)}to{transform:translate(3%,-5%) rotate(3deg)}}
@keyframes cinema-fallback-skull{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-12px) rotate(2deg)}}
@keyframes cinema-gentle-glow{0%,100%{opacity:.65}50%{opacity:.9}}
body[data-cinema-intensity=gentle] .store-skeleton g{animation:none}
body[data-cinema-intensity=gentle] .store-skeleton .skeleton-body,body[data-cinema-intensity=gentle] .store-wave-track,body[data-cinema-intensity=gentle] .store-dance-floor,body[data-cinema-intensity=gentle] .store-spark{animation-name:cinema-gentle-glow!important;animation-duration:10s!important;animation-timing-function:ease-in-out!important;animation-iteration-count:infinite!important;animation-delay:0s!important}
body[data-cinema-intensity=gentle] .cinema-hero:before,body[data-cinema-intensity=gentle] .hero h1>span:last-child,body[data-cinema-intensity=gentle] .cinema-world.is-css-fallback:after,body[data-cinema-intensity=gentle] .cinema-hero.is-css-fallback:after,body[data-cinema-intensity=gentle] .cinema-hero.is-css-fallback .cinema-still{animation-name:cinema-gentle-glow!important;animation-duration:12s!important;animation-timing-function:ease-in-out!important;animation-iteration-count:infinite!important;animation-delay:0s!important;transform:none}
body[data-cinema-motion=paused] .store-stage *,body[data-cinema-visibility=hidden] .store-stage *,body .store-card[data-store-visible=false] .store-stage *{animation-play-state:paused!important}
body[data-cinema-motion=paused] :is(.cinema-world,.cinema-hero):after,body[data-cinema-motion=paused] .cinema-still,body[data-cinema-motion=paused] .cinema-hero:before,body[data-cinema-motion=paused] .hero h1>span:last-child,body[data-cinema-visibility=hidden] :is(.cinema-world,.cinema-hero):after,body[data-cinema-visibility=hidden] .cinema-still,body[data-cinema-visibility=hidden] .cinema-hero:before{animation-play-state:paused!important}
