/* ============================================================
   Den-SHOW Emergency Stabilization v0.7.4
   Purpose: correct HERO copy/button placement without disabling
   watermark on light sections or six Light Trails.
   ============================================================ */

/* HERO must be a self-contained coordinate system. */
html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23{
  position:relative !important;
  min-height:100svh !important;
  height:100svh !important;
  overflow:hidden !important;
  isolation:isolate !important;
  display:block !important;
  padding:0 !important;
  margin:0 !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(58,170,78,.13), transparent 32%),
    radial-gradient(circle at 82% 60%, rgba(48,150,80,.10), transparent 36%),
    linear-gradient(180deg,#020806 0%,#03100b 52%,#010403 100%) !important;
}

/* HERO has no watermark. Watermark is only for light content sections. */
html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-section-watermark{
  display:none !important;
}

/* Background visual layer. */
html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23 > .ds-hero-v23__stage{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  pointer-events:none !important;
  overflow:hidden !important;
  transform:none !important;
}

html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23 > .ds-hero-v23__stage > .ds-hero-v23__wordmark{
  position:absolute !important;
  left:50% !important;
  top:43% !important;
  width:min(1540px,92vw) !important;
  max-width:none !important;
  height:auto !important;
  transform:translate3d(-50%,-50%,0) !important;
  opacity:.095 !important;
  z-index:1 !important;
  filter:brightness(.72) saturate(1.18) drop-shadow(0 0 18px rgba(80,230,100,.10)) !important;
  mix-blend-mode:screen !important;
}

html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23 > .ds-hero-v23__stage > .ds-hero-v23__alpha{
  position:absolute !important;
  left:50% !important;
  top:37.5% !important;
  width:min(500px,32vw) !important;
  max-width:none !important;
  height:auto !important;
  transform:translate3d(-50%,-50%,0) !important;
  opacity:1 !important;
  z-index:2 !important;
  filter:brightness(1.00) saturate(1.08) drop-shadow(0 0 7px rgba(120,255,120,.14)) drop-shadow(0 0 20px rgba(80,230,100,.08)) !important;
}

/* Content layer: copy and Scroll button return below alpha mark. */
html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23 > .ds-container.ds-hero-v23__content{
  position:absolute !important;
  left:50% !important;
  top:71% !important;
  right:auto !important;
  bottom:auto !important;
  transform:translate3d(-50%,-50%,0) !important;
  z-index:30 !important;
  width:min(1180px,calc(100vw - 40px)) !important;
  max-width:1180px !important;
  min-height:0 !important;
  height:auto !important;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  text-align:center !important;
  pointer-events:auto !important;
}

html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23 > .ds-container.ds-hero-v23__content .ds-hero-words{
  position:relative !important;
  left:auto !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  transform:none !important;
  width:auto !important;
  max-width:min(940px,calc(100vw - 44px)) !important;
  min-height:0 !important;
  height:auto !important;
  padding:0 !important;
  margin:0 auto !important;
  display:block !important;
  text-align:center !important;
  line-height:1.05 !important;
  z-index:31 !important;
}

html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23 > .ds-container.ds-hero-v23__content .ds-hero-line{
  position:static !important;
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  text-align:center !important;
  transform:none !important;
  opacity:1 !important;
  line-height:1.18 !important;
}

html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23 > .ds-container.ds-hero-v23__content .ds-hero-line--two{
  margin-top:.04em !important;
}

html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23 > .ds-container.ds-hero-v23__content .ds-hero-scroll-button{
  position:relative !important;
  left:auto !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  transform:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:58px auto 0 !important;
  z-index:32 !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

/* Legacy two pseudo-lines stay off. */
html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23::before,
html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23::after{
  content:none !important;
  display:none !important;
  animation:none !important;
}

/* Six real Horizontal Light Trails, fixed and visible. */
html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23 > .ds-hero-light-trails{
  display:block !important;
  visibility:visible !important;
  position:absolute !important;
  inset:0 !important;
  z-index:8 !important;
  overflow:hidden !important;
  pointer-events:none !important;
  opacity:1 !important;
  mix-blend-mode:screen !important;
}

html body.denshow-theme.project-infinity-hero-final #denshow-infinity.ds-page--hero-final #opening.ds-hero-v23 > .ds-hero-light-trails > .ds-hero-light-trail{
  display:block !important;
  visibility:visible !important;
  position:absolute !important;
  left:-60vw !important;
  height:2px !important;
  min-height:1px !important;
  border-radius:999px !important;
  opacity:.55 !important;
  background:linear-gradient(90deg,transparent 0%,rgba(116,230,92,.08) 12%,rgba(116,230,92,.34) 28%,rgba(255,255,255,.95) 52%,rgba(116,230,92,.28) 74%,transparent 100%) !important;
  box-shadow:0 0 14px rgba(116,230,92,.42),0 0 36px rgba(116,230,92,.22) !important;
  filter:blur(.45px) !important;
  transform:translate3d(0,0,0) !important;
  animation-name:ds-v074-hero-trail !important;
  animation-timing-function:linear !important;
  animation-iteration-count:infinite !important;
  will-change:transform !important;
}

html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--one{top:18% !important;width:36vw !important;animation-duration:8.8s !important;animation-delay:-7.3s !important;}
html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--two{top:29% !important;width:52vw !important;animation-duration:10.4s !important;animation-delay:-4.7s !important;}
html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--three{top:40% !important;width:42vw !important;animation-duration:9.6s !important;animation-delay:-1.5s !important;}
html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--four{top:53% !important;width:60vw !important;animation-duration:11.8s !important;animation-delay:-9.8s !important;}
html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--five{top:65% !important;width:46vw !important;animation-duration:10.9s !important;animation-delay:-6.0s !important;}
html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--six{top:77% !important;width:56vw !important;animation-duration:9.2s !important;animation-delay:-3.1s !important;}

@keyframes ds-v074-hero-trail{
  0%{transform:translate3d(0,0,0);}
  100%{transform:translate3d(180vw,0,0);}
}

@media (max-width:980px){
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 > .ds-hero-v23__stage > .ds-hero-v23__alpha{
    top:37% !important;
    width:min(520px,56vw) !important;
  }
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 > .ds-container.ds-hero-v23__content{
    top:71.5% !important;
  }
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 > .ds-container.ds-hero-v23__content .ds-hero-scroll-button{
    margin-top:44px !important;
  }
}

@media (max-width:760px){
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23{
    min-height:100svh !important;
    height:100svh !important;
  }
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 > .ds-hero-v23__stage > .ds-hero-v23__wordmark{
    top:43% !important;
    width:145vw !important;
    opacity:.06 !important;
  }
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 > .ds-hero-v23__stage > .ds-hero-v23__alpha{
    top:36.5% !important;
    width:70vw !important;
  }
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 > .ds-container.ds-hero-v23__content{
    top:72% !important;
    width:calc(100vw - 32px) !important;
  }
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 > .ds-container.ds-hero-v23__content .ds-hero-scroll-button{
    margin-top:34px !important;
  }
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 > .ds-hero-light-trails > .ds-hero-light-trail{
    left:-82vw !important;
    height:1px !important;
  }
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--one{top:20% !important;width:70vw !important;display:block !important;}
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--two{top:31% !important;width:84vw !important;display:block !important;}
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--three{top:42% !important;width:74vw !important;display:block !important;}
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--four{top:55% !important;width:86vw !important;display:block !important;}
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--five{top:67% !important;width:72vw !important;display:block !important;}
  html body.denshow-theme.project-infinity-hero-final #opening.ds-hero-v23 .ds-hero-light-trail--six{top:79% !important;width:80vw !important;display:block !important;}
}
