/* Wanglong Studio V12.10 — Ambient Aurora
   Decorative only. No interactions, tracking, fonts or external resources.
   Performance: opacity/transform-only motion, reduced-motion support. */
html.wl-ambient-on { background-color:#f8fafd; }
body.wl-ambient-on {
  background: transparent !important;
  isolation: isolate;
}
body.wl-ambient-on > .wl-ambient-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  contain: paint;
  background: linear-gradient(145deg,#f9fbff 0%,#f7fafc 47%,#fcfbf8 100%);
}
.wl-ambient-scene .wl-ambient-haze {
  position:absolute;
  display:block;
  border-radius:43% 57% 38% 62% / 59% 44% 56% 41%;
  transform:translate3d(0,0,0);
  will-change:transform;
  backface-visibility:hidden;
  filter:blur(30px);
}
.wl-ambient-scene .wl-ambient-haze--blue {
  width:min(92vw,1240px);height:min(78vw,950px);
  left:-25vw;top:-26vw;
  background:radial-gradient(ellipse at 46% 48%,rgba(102,151,255,.24) 0%,rgba(136,180,250,.17) 34%,rgba(171,200,252,.07) 56%,transparent 72%);
  animation:wl-aurora-drift-a 30s ease-in-out infinite alternate;
}
.wl-ambient-scene .wl-ambient-haze--violet {
  width:min(85vw,1190px);height:min(90vw,1120px);
  right:-30vw;top:11vh;
  background:radial-gradient(ellipse at 52% 54%,rgba(159,145,255,.16) 0%,rgba(129,161,248,.12) 37%,transparent 71%);
  animation:wl-aurora-drift-b 36s ease-in-out infinite alternate;
}
.wl-ambient-scene .wl-ambient-haze--orange {
  width:min(80vw,1150px);height:min(65vw,880px);
  right:-16vw;bottom:-29vw;
  background:radial-gradient(ellipse at 53% 50%,rgba(255,174,114,.22) 0%,rgba(255,206,164,.14) 34%,rgba(255,216,196,.055) 55%,transparent 73%);
  animation:wl-aurora-drift-c 32s ease-in-out infinite alternate;
}
.wl-ambient-scene .wl-ambient-haze--ice {
  width:min(70vw,880px);height:min(70vw,850px);
  left:26%;top:35%;
  background:radial-gradient(ellipse at 47% 48%,rgba(158,216,255,.12),rgba(180,231,250,.04) 52%,transparent 71%);
  animation:wl-aurora-drift-d 40s ease-in-out infinite alternate;
}
@keyframes wl-aurora-drift-a {
  0%{transform:translate3d(-5%,-4%,0) rotate(-13deg) scale(.94)}
  50%{transform:translate3d(17%,13%,0) rotate(4deg) scale(1.07)}
  100%{transform:translate3d(26%,-1%,0) rotate(15deg) scale(.99)}
}
@keyframes wl-aurora-drift-b {
  0%{transform:translate3d(10%,-6%,0) rotate(6deg) scale(.91)}
  50%{transform:translate3d(-19%,10%,0) rotate(-9deg) scale(1.09)}
  100%{transform:translate3d(-27%,-9%,0) rotate(10deg) scale(.98)}
}
@keyframes wl-aurora-drift-c {
  0%{transform:translate3d(7%,7%,0) rotate(-7deg) scale(.94)}
  50%{transform:translate3d(-17%,-12%,0) rotate(13deg) scale(1.07)}
  100%{transform:translate3d(-26%,-5%,0) rotate(-3deg) scale(1.03)}
}
@keyframes wl-aurora-drift-d {
  0%{transform:translate3d(-18%,10%,0) rotate(4deg) scale(.95)}
  50%{transform:translate3d(14%,-13%,0) rotate(-15deg) scale(1.06)}
  100%{transform:translate3d(25%,9%,0) rotate(5deg) scale(.98)}
}
/* Let the original section design breathe; keep cards and text completely opaque. */
body.wl-ambient-on.home-page .project-section {
  background:rgba(246,249,253,.70);
  border-color:rgba(224,233,246,.64);
}
body.wl-ambient-on.home-page .contact-section {
  background:linear-gradient(145deg,rgba(255,247,239,.80),rgba(255,252,248,.68));
}
body.wl-ambient-on .site-footer {
  background:rgba(248,250,253,.86);
}
@media (max-width:700px) {
  .wl-ambient-scene .wl-ambient-haze {filter:blur(22px)}
  .wl-ambient-scene .wl-ambient-haze--blue{width:110vw;height:130vw;left:-54vw;top:-45vw}
  .wl-ambient-scene .wl-ambient-haze--violet{width:105vw;height:140vw;right:-65vw;top:21vh}
  .wl-ambient-scene .wl-ambient-haze--orange{width:125vw;height:120vw;right:-70vw;bottom:-60vw}
  .wl-ambient-scene .wl-ambient-haze--ice{display:none}
}
@media (prefers-reduced-motion:reduce){
  .wl-ambient-scene .wl-ambient-haze{animation:none!important;will-change:auto!important}
}
