/* Decorative GPT Image 2.5 layers. Inserted after hydration, painted behind section content. */
.dqq-decor-host {
  isolation: isolate;
}

.dqq-decor-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.mack-journey-cta > .dqq-decor-layer {
  z-index: 1;
}

.dqq-decor {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: transform;
}

.dqq-decor-layer.is-shown .dqq-decor {
  opacity: var(--dqq-decor-opacity, 1);
}

/* White welcome bridge: colorful play equipment and a leaf spray. */
.dqq-decor--play {
  right: 2.2vw;
  top: 50%;
  width: clamp(170px, 17vw, 270px);
  aspect-ratio: 1100 / 729;
  margin-top: calc(clamp(170px, 17vw, 270px) * -0.33);
  background-image: url("/banner-video/decor-play-objects-20261125.webp");
  filter: drop-shadow(0 18px 26px rgba(1, 40, 110, 0.18));
  animation: dqq-decor-float 7s ease-in-out infinite;
}

.dqq-decor--leaves {
  left: -1.5vw;
  bottom: -10px;
  width: clamp(180px, 19vw, 300px);
  aspect-ratio: 1000 / 661;
  background-image: url("/banner-video/decor-leaves-20261125.webp");
  transform-origin: 0% 100%;
  animation: dqq-decor-sway 8s ease-in-out infinite;
}

/* Cosmos welcome section: floating planets in the corners. */
.dqq-decor--planets-left,
.dqq-decor--planets-right {
  width: clamp(220px, 24vw, 380px);
  aspect-ratio: 1200 / 707;
  background-image: url("/banner-video/decor-planets-20261125.webp");
  --dqq-decor-opacity: 0.9;
}

.dqq-decor--planets-left {
  left: -4vw;
  top: 9%;
  background-size: 200% auto;
  background-position: 0% 100%;
  animation: dqq-decor-drift 11s ease-in-out infinite;
}

.dqq-decor--planets-right {
  right: -3vw;
  bottom: 6%;
  background-size: 200% auto;
  background-position: 100% 0%;
  animation: dqq-decor-drift 13s ease-in-out -4s infinite reverse;
}

/* Product section: gradient ribbon and sparkles. */
.dqq-decor--ribbon {
  right: -6vw;
  top: 10px;
  width: clamp(420px, 58vw, 920px);
  aspect-ratio: 1800 / 491;
  background-image: url("/banner-video/decor-ribbon-20261125.webp");
  --dqq-decor-opacity: 0.55;
  mix-blend-mode: screen;
  animation: dqq-decor-wave 10s ease-in-out infinite;
}

.dqq-decor--sparkles {
  inset: 4% 3% auto 3%;
  height: min(82%, 760px);
  background-image: url("/banner-video/decor-sparkles-20261125.webp");
  background-size: min(100%, 1500px) auto;
  background-repeat: repeat-y;
  background-position: center top;
  --dqq-decor-opacity: 0.6;
  animation: dqq-decor-twinkle 6s ease-in-out infinite;
}

/* Orbit section: twilight park panorama rising from the bottom edge. */
.dqq-decor--panorama {
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background-image: url("/banner-video/decor-park-panorama-20261125.webp");
  background-size: cover;
  background-position: center bottom;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 100%);
  mask-image: linear-gradient(to top, #000 30%, transparent 100%);
  --dqq-decor-opacity: 0.42;
  animation: dqq-decor-pan 30s ease-in-out infinite alternate;
}

/* Call to action: play equipment on the right. */
.dqq-decor--cta-play {
  right: 3vw;
  bottom: 8%;
  width: clamp(150px, 15vw, 240px);
  aspect-ratio: 1100 / 729;
  background-image: url("/banner-video/decor-play-objects-20261125.webp");
  --dqq-decor-opacity: 0.95;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.35));
  animation: dqq-decor-float 8s ease-in-out -2s infinite;
}

.dqq-decor--cta-planets {
  left: 3vw;
  top: 12%;
  width: clamp(130px, 12vw, 200px);
  aspect-ratio: 1;
  background-image: url("/banner-video/decor-planets-20261125.webp");
  background-size: 300% auto;
  background-position: 72% 30%;
  --dqq-decor-opacity: 0.9;
  animation: dqq-decor-drift 12s ease-in-out infinite;
}

@keyframes dqq-decor-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -16px, 0) rotate(-2deg); }
}

@keyframes dqq-decor-sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(3deg); }
}

@keyframes dqq-decor-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(14px, -12px, 0); }
  66% { transform: translate3d(-10px, 10px, 0); }
}

@keyframes dqq-decor-wave {
  0%, 100% { transform: translate3d(0, 0, 0) scaleY(1); }
  50% { transform: translate3d(-30px, 8px, 0) scaleY(1.08); }
}

@keyframes dqq-decor-twinkle {
  0%, 100% { opacity: var(--dqq-decor-opacity, 1); }
  50% { opacity: calc(var(--dqq-decor-opacity, 1) * 0.45); }
}

@keyframes dqq-decor-pan {
  from { background-position: 40% bottom; }
  to { background-position: 60% bottom; }
}

@media (max-width: 760px) {
  .dqq-decor--play {
    right: -18px;
    top: 18px;
    margin-top: 0;
    width: 118px;
    --dqq-decor-opacity: 0.9;
  }

  .dqq-decor--leaves {
    width: 140px;
    left: -24px;
    bottom: -6px;
    --dqq-decor-opacity: 0.85;
  }

  .dqq-decor--planets-left,
  .dqq-decor--planets-right {
    width: 190px;
    --dqq-decor-opacity: 0.7;
  }

  .dqq-decor--planets-left {
    left: -60px;
    top: 2%;
  }

  .dqq-decor--planets-right {
    right: -50px;
    bottom: 2%;
  }

  .dqq-decor--ribbon {
    width: 420px;
    right: -140px;
    --dqq-decor-opacity: 0.4;
  }

  .dqq-decor--panorama {
    height: 40%;
  }

  .dqq-decor--cta-play {
    width: 110px;
    right: -10px;
    bottom: 10px;
    --dqq-decor-opacity: 0.7;
  }

  .dqq-decor--cta-planets {
    width: 96px;
    left: -20px;
    top: 14px;
    --dqq-decor-opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dqq-decor {
    animation: none !important;
  }
}
