/* A single page-level floor continues behind every section. Its coordinates
   follow the document rather than restarting at each content block. */
.site-world{--world-width:max(100vw,1536px);--world-height:calc(var(--world-width) * 1024 / 1536);position:relative;isolation:isolate;background:#18052a}
.site-world:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.8;background-image:linear-gradient(#18052a,transparent 5%,transparent 95%,#18052a),url('assets/environment/arcade-floor.png');background-position:center top;background-size:var(--world-width) var(--world-height);background-repeat:repeat-y}

/* The opening environment joins the common floor at its lower edge. Fade only
   this decorative layer; headings, cards and video retain their full opacity. */
.site-world .intro-scene{background:none}
.site-world .intro-scene:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:#18052a url('assets/hero/intro-environment-v3.png') center top/max(100%,calc(100svh * 1817 / 866)) auto no-repeat;mask-image:linear-gradient(#000 calc(100% - 260px),transparent)}

/* Content sections use the common scene, without the previous repeated neon
   side strips, dark gallery panel or section boundary rules. */
.site-world .section,.site-world .gallery,.site-world .final.neon{background:transparent;border-top:0}
.site-world .neon:before,.site-world .neon:after{content:none}

/* Preserve the full-width crowd banner as a scene within the same world. Its
   image meets the shared floor at all four edges rather than forming a panel. */
.site-world .crowd{background:none;isolation:isolate}
.site-world .crowd:before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:url('assets/crowd/banner.jpg') 72% center/cover no-repeat;mask-image:linear-gradient(transparent,#000 18%,#000 80%,transparent),linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-composite:intersect}
.site-world .crowd:after{content:none}
.site-world .crowd-copy{z-index:1}

/* The closing invitation shares the floor, with a restrained warm light pool
   instead of its previous boxed background illustration. */
.site-world .final-stage{isolation:isolate;background:none;mask-image:none}
.site-world .final-stage:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 70% 55% at 50% 75%,#d58b2322,transparent 75%)}
.site-world .site-foot{background:linear-gradient(transparent,#11051fe6 160px,#0b0114)}

@media(max-width:960px){
 .site-world .crowd:before{background-position:80% center}
}
@media(max-width:760px){
 .site-world{--world-width:max(100vw,900px)}
 .site-world .intro-scene:before{background-image:linear-gradient(#13091e88,transparent 65%),url('assets/hero/intro-environment-v3.png');background-size:100% 100%,max(100%,calc(100svh * 1817 / 866)) auto;mask-image:linear-gradient(#000 calc(100% - 200px),transparent)}
 .site-world .crowd:before{background-position:68% top;background-size:auto 72%;mask-image:linear-gradient(transparent,#000 8%,#000 42%,transparent 72%),linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
}
