/* The supplied pixel hellscape becomes the full-bleed altar. */

.v4-hellscape .hero {
  position: relative;
  display: flex;
  min-height: max(100svh, 48rem);
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  padding: clamp(8rem, 16vh, 10.5rem) var(--page-pad) clamp(4.5rem, 9vh, 6.5rem);
  background: #12070e;
  isolation: auto;
}

.v4-hellscape .hero::before {
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 4, 8, 0.94) 0%, rgba(10, 4, 8, 0.79) 38%, rgba(10, 4, 8, 0.27) 70%, rgba(10, 4, 8, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 3, 6, 0.82) 0%, transparent 39%, rgba(8, 3, 6, 0.28) 100%);
  mask-image: none;
}

.v4-hellscape .hero::after {
  display: none;
}

.hero-hellscape {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #2b0e1d;
}

.hero-hellscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  image-rendering: pixelated;
  filter: saturate(0.92) contrast(1.06) brightness(0.88);
}

.js .v4-hellscape .hero-hellscape img {
  opacity: 0.2;
  transform: scale(1.045);
}

.js.is-ready .v4-hellscape .hero-hellscape img {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1s ease 180ms, transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 180ms;
}

.v4-hellscape .hero-copy {
  z-index: 22;
  width: min(66rem, 78vw);
  max-width: 66rem;
  justify-self: auto;
  margin: 1.5rem 0 0;
  padding: 0;
  transform: none;
}

.v4-hellscape .hero-eyebrow {
  margin: 0 0 1.45rem 0.25rem;
  color: #ff9a55;
  font-size: clamp(0.78rem, 0.9vw, 0.98rem);
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.92);
}

.hero-title-v4 {
  max-width: 100%;
  margin: 0;
  color: #f0dfc5;
  font-family: var(--display);
  font-size: clamp(6.6rem, 10.2vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.72;
  text-shadow:
    -0.035em 0.055em 0 #48121c,
    0 0.08em 0.32em rgba(0, 0, 0, 0.9);
}

.js .hero-title-v4 {
  opacity: 0;
  transform: translateY(1rem);
}

.js.is-ready .hero-title-v4 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 720ms ease 760ms, transform 720ms cubic-bezier(0.16, 1, 0.3, 1) 760ms;
}

.v4-hellscape .hero-decree {
  max-width: 50rem;
  margin: clamp(1.7rem, 3.2vh, 2.5rem) 0 0 0.25rem;
  color: #f2dfca;
  font-size: clamp(2.15rem, 3.15vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95);
}

.v4-hellscape .hero-actions {
  align-items: center;
  flex-direction: row;
  gap: clamp(1.4rem, 2.5vw, 2.4rem);
  margin: clamp(2rem, 4vh, 3rem) 0 0 0.25rem;
}

.v4-hellscape .hero-actions .ember-link {
  min-height: 4.5rem;
  gap: 1.5rem;
  color: #fff1de;
  font-size: clamp(1.25rem, 1.65vw, 1.8rem);
  letter-spacing: 0.12em;
  text-shadow: 0 2px 12px #000;
}

.v4-hellscape .hero-actions .ember-link::before {
  height: 2px;
  background: linear-gradient(to right, #ff6b3d, rgba(255, 107, 61, 0.16));
  box-shadow: 0 0 18px rgba(255, 83, 42, 0.42);
}

.v4-hellscape .hero-actions .ember-link svg {
  width: 4rem;
  stroke: #ff9a55;
  stroke-width: 1.5;
}

.v4-hellscape .hero-actions .quiet-link {
  color: #d0bbb2;
  font-size: clamp(0.9rem, 1vw, 1.08rem);
  text-shadow: 0 2px 9px #000;
}

.v4-hellscape .hero-footnote {
  display: none;
}

.v4-hellscape .final-wishlist {
  min-height: min(48rem, 82svh);
  padding: clamp(6rem, 12vw, 10rem) var(--page-pad);
  border-top: 1px solid #32191b;
  border-bottom: 1px solid #32191b;
  background: #090606;
}

.v4-hellscape .final-wishlist::before {
  background:
    radial-gradient(circle at 50% 48%, rgba(139, 0, 0, 0.31), transparent 31rem),
    #090606;
}

.v4-hellscape .final-wishlist .cta-sigil {
  width: min(43rem, 80vw);
  opacity: 0.075;
  filter: saturate(0.5) sepia(0.3) hue-rotate(320deg) contrast(1.2);
}

.final-wishlist-copy {
  display: flex;
  width: min(62rem, 100%);
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.v4-hellscape .final-wishlist h2 {
  max-width: 58rem;
  margin: 0;
  color: #f0e5d8;
  font-size: clamp(3.6rem, 7vw, 7rem);
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.75);
}

.v4-hellscape .final-wishlist p {
  margin: 1.2rem 0 2rem;
  color: #f0e5d8;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  font-weight: 700;
}

.wishlist-steam {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid #e02222;
  background: #9e0808;
  box-shadow: inset 0 0 0 1px rgba(255, 87, 61, 0.16), 0 8px 28px rgba(0, 0, 0, 0.28);
  color: #fff3e5;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.wishlist-steam:hover,
.wishlist-steam:focus-visible {
  border-color: #ff4a35;
  background: #c20d0d;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .v4-hellscape .hero {
    min-height: 100svh;
    padding-top: 8rem;
    padding-bottom: 4.5rem;
  }

  .v4-hellscape .hero::before {
    background:
      linear-gradient(90deg, rgba(10, 4, 8, 0.9), rgba(10, 4, 8, 0.43) 82%, rgba(10, 4, 8, 0.34)),
      linear-gradient(0deg, rgba(8, 3, 6, 0.78), transparent 48%, rgba(8, 3, 6, 0.35));
  }

  .v4-hellscape .hero-copy {
    width: min(47rem, 100%);
    max-width: 100%;
    margin-top: 2.2rem;
  }

  .hero-title-v4 {
    font-size: clamp(5rem, 14.5vw, 8rem);
  }

  .v4-hellscape .hero-decree {
    max-width: 40rem;
    font-size: clamp(2rem, 5.1vw, 3rem);
  }
}

@media (max-width: 640px) {
  .v4-hellscape .hero {
    min-height: 100svh;
    padding: 7rem 1.15rem 3.5rem;
  }

  .v4-hellscape .hero::before {
    background:
      linear-gradient(90deg, rgba(8, 3, 6, 0.78), rgba(8, 3, 6, 0.42)),
      linear-gradient(0deg, rgba(8, 3, 6, 0.88), transparent 47%, rgba(8, 3, 6, 0.52));
  }

  .hero-hellscape img {
    object-position: 51% center;
  }

  .v4-hellscape .hero-copy {
    margin-top: 1.25rem;
  }

  .v4-hellscape .hero-eyebrow {
    font-size: 0.74rem;
  }

  .hero-title-v4 {
    font-size: clamp(3.35rem, 15.6vw, 4.6rem);
    letter-spacing: -0.085em;
  }

  .v4-hellscape .hero-decree {
    max-width: 22rem;
    margin-top: 1.5rem;
    padding: 0;
    font-size: clamp(1.6rem, 7.4vw, 2.1rem);
    line-height: 1.06;
  }

  .v4-hellscape .hero-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
  }

  .v4-hellscape .hero-actions .ember-link {
    min-height: 3.75rem;
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }

  .v4-hellscape .hero-actions .ember-link svg {
    width: 3.2rem;
  }

  .v4-hellscape .final-wishlist {
    min-height: 36rem;
    padding-inline: 1.15rem;
  }

  .v4-hellscape .final-wishlist h2 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .v4-hellscape .final-wishlist p {
    margin-block: 1rem 1.7rem;
  }

  .wishlist-steam {
    width: min(21rem, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .v4-hellscape .hero-hellscape img,
  .js.is-ready .v4-hellscape .hero-hellscape img,
  .js .hero-title-v4,
  .js.is-ready .hero-title-v4 {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
