/* Halloween 2026 LP — page 57351 hero + offers scene.
   Full-bleed breakout of .theme-container; static title on top, background
   fades in with the offers, hands animate on the sides. */

body:has(.hw-scene) {
  overflow-x: hidden;
}

.hw-scene {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #050505;
  display: grid;
  overflow: hidden;
  margin-top: 10px;
}

.hw-scene::before {
  content: "";
  grid-area: 1 / 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: url("../images/LPs/halloween-2026/background-dekstop.webp")
    no-repeat center top / cover;
  animation: hw-fade-in 0.94s ease-out 0.45s both;
}

/* WebGL "Light rays" layer — sits above the ::before background (DOM order)
   and below the hero (hands z1 / title z3 / crumbs z10) and offers (z6).
   Fades in on the same timing as the background it visually replaces. */
.hw-scene__shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  z-index: 0;
  pointer-events: none;
  animation: hw-fade-in 0.94s ease-out 0.45s both;
}

.hw-hero {
  grid-area: 1 / 1;
  align-self: start;
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  overflow: hidden;
}

.hw-hero img {
  margin: 0;
}

.hw-hero__crumbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 8px 12px;
}

.hw-hero__crumbs .breadcrumb-container ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hw-hero__crumbs .breadcrumb-container li {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.hw-hero__crumbs .breadcrumb-container li + li::before {
  content: "/";
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.5);
}

.hw-hero__crumbs .breadcrumb-container a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.hw-hero__crumbs .breadcrumb-container a:hover {
  text-decoration: underline;
}

.hw-hero__hand {
  /* Springy entrance like the reference LP, but from the sides: hands slide
     in from their own edge (--hw-side-x, % of element width so it scales
     per breakpoint), scaled 0 and pre-rotated, overshoot easing to rest. */
  --hw-r0: -70deg;
  --hw-side-x: -120%;
  position: absolute;
  z-index: 1;
  top: 0;
  width: 520px;
  height: auto;
  max-width: none;
  object-fit: contain;
  animation: hw-hand-in 1.28s cubic-bezier(0.7, -0.4, 0.4, 1.4) 0.11s both;
}

.hw-hero__hand--left {
  left: 0;
}

.hw-hero__hand--right {
  right: 0;
  --hw-r0: 70deg;
  --hw-side-x: 120%;
}

.hw-hero__title {
  position: absolute;
  z-index: 3;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  max-width: calc(100% - 32px);
}

.hw-hero__title img {
  display: block;
  width: 100%;
  height: auto;
}

.hw-offers {
  grid-area: 1 / 1;
  align-self: end;
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 314px 10px 93px;
  animation: hw-offers-in 0.94s ease-out 0.45s both;
}

.hw-offers__list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hw-offer {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 4px;
  background: #ffc500;
}

.hw-offer__brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hw-offer__logo {
  display: block;
  width: 172px;
  height: 83px;
  object-fit: contain;
  margin: 0;
}

.hw-offer__casino-name {
  color: #101010;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.hw-offer__main {
  flex: 1 1 auto;
  display: flex;
  gap: 16px;
  text-align: left;
  align-items: center;
}

.hw-offer__title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #000 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  margin: 0;
  max-width: 360px;
  padding-bottom: 0 !important;
}

.hw-offer__title::before {
  margin-top: 4px;
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: url("../images/LPs/halloween-2026/offer-title-icon.svg") no-repeat
    center / contain;
}

.hw-offer__desc {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.312px;
  color: #000;
}

.hw-offer__desc p {
  margin: 0 0 4px;
}

.hw-offer__desc p:last-child {
  margin-bottom: 0;
}

.hw-offer__desc ul {
  margin: 0;
  padding-bottom: 0;
}

.hw-offer__desc ul li {
  margin-bottom: 10px;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.312px;
  margin: 0;
}

.hw-offer__desc ul li::marker {
  color: #000 !important;
}

.hw-offer__cta {
  flex: 0 0 auto;
  margin-left: auto;
}

.hw-offer__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 9999px;
  background: #0a8a0f !important;
  color: #fff !important;
  text-align: center;
  font-family: "Inter", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 19px !important;
  letter-spacing: -0.234px !important;
  text-transform: uppercase !important;
  min-width: 200px;
  margin: 0 !important;
}

.hw-offer__cta-btn:hover {
  background: #42bb0d;
}

.hw-post-title {
  padding: 24px 0 32px;
}

/* Cards render blacked-out (not fully black) at every width. The veil can't
   reach the pill poking above the card, so it gets its own brightness dim. */
.hw-offer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hw-offer__verified {
  filter: brightness(0.3);
  transition: filter 0.3s ease;
}

/* Desktop: reveal the true colors on hover. */
@media (min-width: 1025px) {
  .hw-offer:hover::after {
    opacity: 0;
  }

  .hw-offer:hover .hw-offer__verified {
    filter: none;
  }
}

/* <=1024: no hover — reveal automatically when the card is fully inside the
   viewport (class toggled by IntersectionObserver in lp-halloween-2026.js). */
@media (max-width: 1024px) {
  .hw-offer--inview::after {
    opacity: 0;
  }

  .hw-offer--inview .hw-offer__verified {
    filter: none;
  }
}

@media (max-width: 1024px) {
  .hw-offers {
    padding: 320px 10px 64px;
  }

  .hw-hero__title {
    top: 56px;
    width: 500px;
  }

  .hw-offers__list {
    align-items: center;
  }

  .hw-offer {
    flex-direction: column;
    align-items: flex-start;
    max-width: 550px;
    padding: 12px 14px;
    gap: 20px;
  }

  .hw-offer__logo {
    width: 89px;
    height: 43px;
  }

  .hw-offer__brand {
    align-self: auto;
  }

  .hw-offer__main {
    flex-direction: column;
    align-items: flex-start;
  }

  .hw-offer__cta {
    margin: 0 auto;
  }

  .hw-hero__hand {
    width: 360px;
  }

  .hw-hero__hand--left {
    left: -35px;
  }

  .hw-hero__hand--right {
    right: -35px;
  }
}

@media (max-width: 782px) {
  .hw-scene {
    margin-top: 0px;
  }
}

@media (max-width: 768px) {
  .hw-scene::before {
    background-image: url("../images/LPs/halloween-2026/background-mobile.webp");
    background-size: cover;
    background-position: center top;
  }

  .hw-hero__title {
    top: 121px;
    width: 100%;
    max-width: 360px;
    animation: hw-title-mobile 0.94s ease-out 0.45s both;
  }

  .hw-hero__hand {
    width: 160px;
  }

  .hw-hero__hand--left {
    left: -15px;
  }

  .hw-hero__hand--right {
    right: -15px;
  }

  .hw-offers {
    padding: 230px 10px 40px;
  }

  .hw-offer__title {
    font-size: 18px !important;
    line-height: 22px !important;
  }

  .hw-offer__title::before {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hw-scene::before,
  .hw-scene__shader,
  .hw-hero__hand,
  .hw-hero__title,
  .hw-offers {
    animation: none;
  }
}

/* Hands slide in from their own side like the reference LP's springy
   entrance: start scaled to 0 at translateX(--hw-side-x) already rotated
   (--hw-r0, mirrored per side), overshoot easing settles them at the rest
   position, opaque. */
@keyframes hw-hand-in {
  from {
    opacity: 0;
    transform: translateX(var(--hw-side-x, -120%)) rotate(var(--hw-r0, 0deg))
      scale(0);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
  }
}

/* Mobile title: fades in while dropping from top:0 to its rest position,
   growing 227px -> 360px wide (max-width so the 100% width stays intact). */
@keyframes hw-title-mobile {
  0% {
    top: 0;
    max-width: 227px;
    opacity: 0;
  }
  100% {
    top: 121px;
    max-width: 360px;
    opacity: 1;
  }
}

@keyframes hw-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hw-offers-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
