/* Shared public backdrop, including every game without a dedicated theme. */
body.g2u-luxury-global {
  background: #020c1b;
}

/* Let the homepage artwork continue behind the navigation. */
body.g2u-luxury-global.is-home .topbar {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.g2u-luxury-global.is-home .topbar.is-scrolled {
  background: rgba(5, 13, 27, .86);
  border-bottom-color: rgba(133, 179, 242, .12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

@media (prefers-reduced-motion: reduce) {
  body.g2u-luxury-global.is-home .topbar { transition: none; }
}

/* Override the old global bg.svg layer; fixed keeps the artwork continuous while scrolling. */
body.g2u-luxury-global::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,10,23,.06), rgba(3,10,23,.10) 76%, rgba(3,10,23,.18)),
    url('/static/g2u-halloween-pumpkin-fog-background.png') center top / cover no-repeat;
}

/* Existing homepage patches draw their artwork only on the hero;
   remove that second image and let the same backdrop shine through every section. */
body.g2u-luxury-global.is-home .h-hero {
  background: transparent !important;
}
body.g2u-luxury-global.is-home .h-hero::before {
  background: none !important;
}
body.g2u-luxury-global.is-home .h-hero::after {
  content: none;
  background: none !important;
}
body.g2u-luxury-global.is-home .h-hero-bg,
body.g2u-luxury-global.is-home .h-hero-clip .h-hero-bg {
  display: none !important;
}
body.g2u-luxury-global.is-home .h-sec {
  background: transparent !important;
}

/* Keep the footer readable without replacing the atmospheric backdrop. */
body.g2u-luxury-global .footer {
  background: rgba(7,17,33,.78);
  border-top-color: rgba(85,125,186,.20);
}

/* On smaller screens the artwork stays softly shaded behind the layout. */
@media (max-width: 860px) {
  body.g2u-luxury-global::before {
    background:
      linear-gradient(180deg, rgba(3,10,23,.18), rgba(3,10,23,.30)),
      url('/static/g2u-halloween-pumpkin-fog-background.png') center top / cover no-repeat;
  }
}
