/* Decorative layers stay behind the content; animate only transform and opacity. */
.hero .hero-atmosphere{position:absolute;inset:0;pointer-events:none;overflow:hidden;contain:layout paint;isolation:isolate}
.hero-atmosphere span{position:absolute;display:block;animation-play-state:paused}
.hero-atmosphere .atmosphere-gold{width:min(850px,100vw);height:650px;top:-210px;inset-inline-end:-100px;background:radial-gradient(ellipse,#d5b77955 0,#c49a5224 36%,transparent 69%);animation:ha-gold-drift 7s ease-in-out infinite alternate;animation-delay:-3s}
.hero-atmosphere .atmosphere-blue{width:min(750px,100vw);height:720px;top:10%;inset-inline-start:-210px;background:radial-gradient(ellipse,#4877ae50 0,#254d7c22 42%,transparent 70%);animation:ha-blue-drift 9s ease-in-out infinite alternate;animation-delay:-5s}
.hero-atmosphere .atmosphere-arc{width:680px;height:680px;top:-390px;inset-inline-start:10%;border:1px solid #d8bd802b;border-radius:50%;box-shadow:0 0 0 42px #d8bd8006,0 0 0 110px #d8bd8004;animation:ha-arc-drift 26s ease-in-out infinite alternate}
.hero-atmosphere .atmosphere-ray{width:190px;height:900px;top:-240px;inset-inline-end:32%;background:linear-gradient(90deg,transparent,#ead2a61e,transparent);transform:rotate(-32deg);animation:ha-ray-drift 8s ease-in-out infinite alternate;animation-delay:-4s}
.hero-atmosphere .atmosphere-spark{width:4px;height:4px;left:var(--spark-x);top:var(--spark-y);border-radius:50%;background:#efd69a;box-shadow:0 0 12px 2px #ebc87940;animation:ha-spark-drift 6s ease-in-out infinite alternate;animation-delay:var(--spark-delay);opacity:.55}
.hero-atmosphere .spark-one{--spark-x:7%;--spark-y:19%;--spark-delay:-2s}.hero-atmosphere .spark-two{--spark-x:31%;--spark-y:10%;--spark-delay:-5s}.hero-atmosphere .spark-three{--spark-x:92%;--spark-y:27%;--spark-delay:-1s}.hero-atmosphere .spark-four{--spark-x:64%;--spark-y:39%;--spark-delay:-4s}.hero-atmosphere .spark-five{--spark-x:12%;--spark-y:48%;--spark-delay:-3s}.hero-atmosphere .spark-six{--spark-x:85%;--spark-y:55%;--spark-delay:-6s}
.hero .hero-atmosphere span{animation-play-state:paused}
.hero.atmosphere-visible .hero-atmosphere span{animation-play-state:running}
.motion-paused .hero .hero-atmosphere span{animation-play-state:paused}
@keyframes ha-gold-drift{from{transform:translate3d(35px,-30px,0) scale(.9);opacity:.6}to{transform:translate3d(-120px,100px,0) scale(1.08);opacity:1}}
@keyframes ha-blue-drift{from{transform:translate3d(0,0,0);opacity:.6}to{transform:translate3d(130px,-80px,0);opacity:1}}
@keyframes ha-arc-drift{from{transform:translate3d(0,0,0) rotate(-8deg);opacity:.45}to{transform:translate3d(45px,35px,0) rotate(8deg);opacity:.8}}
@keyframes ha-ray-drift{from{transform:translate3d(-90px,-30px,0) rotate(-32deg);opacity:.3}to{transform:translate3d(180px,50px,0) rotate(-25deg);opacity:.8}}
@keyframes ha-spark-drift{from{transform:translate3d(-12px,24px,0);opacity:.3}to{transform:translate3d(20px,-45px,0);opacity:.85}}
@media(max-width:600px){.hero-atmosphere .atmosphere-gold{width:500px;height:480px;inset-inline-end:-170px;top:-170px;animation-duration:8s}.hero-atmosphere .atmosphere-blue{width:400px;height:560px;top:10%;inset-inline-start:-220px;animation-duration:10s}.hero-atmosphere .atmosphere-arc{width:420px;height:420px;top:-270px;inset-inline-start:-70px;animation:none;opacity:.5;box-shadow:0 0 0 35px #d8bd8006}.hero-atmosphere .atmosphere-ray{width:90px;opacity:.5}.hero-atmosphere .spark-four,.hero-atmosphere .spark-six{display:none}}
@media(prefers-reduced-motion:reduce){.hero .hero-atmosphere span{animation:none!important;opacity:.65}}
.hero-atmosphere .atmosphere-ray{mask-image:linear-gradient(180deg,transparent,#000 20%,#000 65%,transparent);-webkit-mask-image:linear-gradient(180deg,transparent,#000 20%,#000 65%,transparent)}
