/* ==========================================================================
   HOLLOW DREAD - cinematic identity layer
   Loaded after 0rot5zt15b72s.css. Overrides the original green theme and
   adds the display face, the atmosphere and the motion. No layout changes
   outside the blocks owned by this file.
   ========================================================================== */

/* ---------------------------------------------------------------- display */

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../font/cinzel-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../font/cinzel-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Minecraft";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../font/minecraft.ttf?v=34") format("truetype");
}

/* ----------------------------------------------------------------- tokens */

:root,
.dark {
  --hd-void: #040508;
  --hd-bg: #07080c;
  --hd-bg-2: #0a0c11;
  --hd-bg-3: #0e1117;
  --hd-card: #0c0e14;
  --hd-card-2: #12151c;
  --hd-line: rgba(255, 255, 255, 0.07);
  --hd-line-2: rgba(255, 255, 255, 0.12);
  --hd-text: #eceae6;
  --hd-text-2: #a3a5ae;
  --hd-text-3: #71747e;
  --hd-red: #9e2632;
  --hd-red-hi: #c63b48;
  --hd-red-lo: #5a1820;
  --hd-metal: #777b85;

  --hd-font-display: "Cinzel", "Iowan Old Style", "Palatino Linotype", Georgia,
    serif;
  --hd-font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo,
    Consolas, monospace;
  --hd-font-pixel: "Minecraft", "Courier New", monospace;

  /* theme tokens consumed by the compiled utilities */
  --background: #07080c;
  --foreground: #eceae6;
  --card: #0c0e14;
  --card-foreground: #eceae6;
  --popover: #0c0e14;
  --popover-foreground: #eceae6;
  --primary: #9e2632;
  --primary-foreground: #f7edee;
  --secondary: #0a0c11;
  --secondary-foreground: #eceae6;
  --muted: #12151c;
  --muted-foreground: #a3a5ae;
  --accent: #171a21;
  --accent-foreground: #eceae6;
  --destructive: #c63b48;
  --border: rgba(255, 255, 255, 0.08);
  --input: rgba(255, 255, 255, 0.1);
  --ring: #c63b48;

  --chart-1: #9e2632;
  --chart-2: #c63b48;
  --chart-3: #777b85;
  --chart-4: #5a1820;
  --chart-5: #a3a5ae;

  --sidebar: #06070a;
  --sidebar-foreground: #eceae6;
  --sidebar-primary: #9e2632;
  --sidebar-primary-foreground: #f7edee;
  --sidebar-accent: #12151c;
  --sidebar-accent-foreground: #eceae6;
  --sidebar-border: rgba(255, 255, 255, 0.07);
  --sidebar-ring: #c63b48;

  --radius: 0.125rem;
}

/* ------------------------------------------------------------------- base */

html,
body {
  background-color: var(--hd-bg);
  color: var(--hd-text);
}

html {
  scrollbar-width: thin;
  scrollbar-color: #33363f transparent;
}

body {
  background-image:
    radial-gradient(
      1200px 720px at 50% -12%,
      rgba(158, 38, 50, 0.1),
      transparent 66%
    ),
    radial-gradient(
      900px 560px at 94% 12%,
      rgba(90, 24, 32, 0.08),
      transparent 70%
    );
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(198, 59, 72, 0.4);
  color: #ffffff;
}

/* forest grain over the whole frame, one inline SVG, no asset */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* -------------------------------------------------------------- scrollbar */

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: #08090d;
}

::-webkit-scrollbar-thumb {
  background: #2b2e37;
  border: 3px solid #08090d;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hd-red);
}

::-webkit-scrollbar-corner {
  background: #08090d;
}

/* -------------------------------------------------------------- type face */

.font-heading {
  font-family: var(--hd-font-display);
  letter-spacing: 0.045em;
  font-weight: 600;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

main p {
  line-height: 1.75;
}

/* ------------------------------------------------------------------ brand */

.hd-brand {
  font-family: var(--hd-font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.05;
  color: var(--hd-text);
  text-shadow: 0 0 22px rgba(158, 38, 50, 0.32);
}

.hd-brand--hero {
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: 0.055em;
  line-height: 1.05;
  max-width: 15ch;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.4),
    0 0 46px rgba(158, 38, 50, 0.22);
}

/* wordmark lockup replaces the diamond mark, links home */
.hd-brand-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.hd-brand-logo {
  display: block;
  height: auto;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(158, 38, 50, 0.35));
  transition:
    filter 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

.hd-brand-logo--nav {
  height: 32px;
}

.hd-brand-logo--drawer {
  width: 216px;
}

.hd-brand-link:hover .hd-brand-logo,
.hd-brand-link:focus-visible .hd-brand-logo {
  filter: drop-shadow(0 0 22px rgba(198, 59, 72, 0.65)) brightness(1.08);
  transform: translateY(-1px);
}

.hd-rule {
  width: 96px;
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hd-red-hi) 30%,
    var(--hd-red) 70%,
    transparent
  );
}

/* ---------------------------------------------------------------- eyebrow */

.hd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-family: var(--hd-font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--hd-text-2);
}

.hd-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hd-red-hi));
}

/* --------------------------------------------------------------- top bar */

.hd-topbar {
  min-height: 64px;
  padding: 0 clamp(16px, 3vw, 30px);
  background-color: rgba(6, 7, 10, 0.74);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--hd-line);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.hd-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 59, 72, 0.38),
    transparent
  );
  pointer-events: none;
}

.hd-topbar.is-scrolled {
  background-color: rgba(5, 6, 9, 0.94);
  box-shadow: 0 22px 44px -32px #000;
}

.hd-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
  margin-right: 14px;
}

.hd-nav a {
  position: relative;
  padding: 7px 0;
  font-family: var(--hd-font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hd-text-2);
}

.hd-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--hd-red-hi);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hd-nav a:hover,
.hd-nav a[aria-current="page"] {
  color: var(--hd-text);
}

.hd-nav a:hover::after,
.hd-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hd-burger {
  display: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.hd-burger:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--hd-line);
}

main.pt-14 {
  padding-top: 64px;
}

@media (max-width: 899px) {
  .hd-nav {
    display: none;
  }

  .hd-burger {
    display: inline-flex;
  }
}

/* ----------------------------------------------------------------- drawer */

aside {
  background-color: #08090d;
  border-right: 1px solid var(--hd-line);
  box-shadow: 40px 0 90px -50px rgba(0, 0, 0, 1);
}

aside > div:first-child {
  background:
    radial-gradient(
      120% 80% at 50% 0%,
      rgba(158, 38, 50, 0.14),
      transparent 70%
    ),
    #07080c;
}

aside nav a {
  border-left: 2px solid transparent;
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

aside nav a:hover {
  background-color: rgba(158, 38, 50, 0.1);
  border-left-color: var(--hd-red);
  color: var(--hd-text);
}

/* the current page: a red edge and a tint, not a solid block */
aside nav a.bg-sidebar-primary {
  background-color: rgba(158, 38, 50, 0.14);
  color: var(--hd-text);
  border-left-color: var(--hd-red);
  box-shadow: inset 0 0 0 1px rgba(158, 38, 50, 0.28);
}

aside nav a.bg-sidebar-primary:hover {
  background-color: rgba(158, 38, 50, 0.2);
  color: var(--hd-text);
}

/* the cartoon icons stay, drained to sit in the dark palette */
aside nav a img {
  filter: grayscale(0.6) saturate(0.6) brightness(0.95);
  opacity: 0.85;
  transition:
    filter 0.22s ease,
    opacity 0.22s ease;
}

aside nav a:hover img,
aside nav a.bg-sidebar-primary img {
  filter: none;
  opacity: 1;
}

/* ---------------------------------------------------------------- intro */

.hd-intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  overflow: hidden;
  background: #030406;
}

html.hd-intro-on {
  overflow: hidden;
}

html.hd-intro-on .hd-intro {
  display: grid;
  animation: hd-intro-veil 0.9s ease 2.7s forwards;
}

.hd-intro__fog,
.hd-intro__glow {
  position: absolute;
  pointer-events: none;
}

.hd-intro__fog {
  inset: -25%;
  background:
    radial-gradient(
      42% 38% at 28% 62%,
      rgba(158, 38, 50, 0.2),
      transparent 70%
    ),
    radial-gradient(
      38% 34% at 72% 36%,
      rgba(90, 24, 32, 0.22),
      transparent 72%
    ),
    radial-gradient(
      50% 40% at 50% 50%,
      rgba(119, 123, 133, 0.07),
      transparent 70%
    );
  filter: blur(42px);
  animation: hd-intro-drift 9s ease-in-out infinite alternate;
}

.hd-intro__glow {
  width: 76vmax;
  height: 76vmax;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(158, 38, 50, 0.16),
    transparent 62%
  );
  filter: blur(24px);
}

.hd-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 38%,
    rgba(3, 4, 6, 0.92) 100%
  );
}

.hd-intro__mark {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  text-align: center;
}

.hd-intro__eyebrow {
  font-family: var(--hd-font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--hd-text-3);
  animation: hd-intro-fade 1.1s ease 0.15s both;
}

.hd-intro__title {
  position: relative;
  left: 0.11em;
  margin: 0;
  font-family: var(--hd-font-display);
  font-size: clamp(2.2rem, 9.5vw, 5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f2f0ec;
  text-shadow:
    0 0 40px rgba(158, 38, 50, 0.35),
    0 0 130px rgba(158, 38, 50, 0.2);
  animation: hd-intro-title 1.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hd-intro__line {
  width: min(190px, 42vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hd-red-hi) 50%,
    transparent
  );
  transform-origin: center;
  animation: hd-intro-line 1.1s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

@keyframes hd-intro-title {
  from {
    opacity: 0;
    transform: translateY(16px);
    letter-spacing: 0.4em;
    filter: blur(9px);
  }
  to {
    opacity: 1;
    transform: none;
    letter-spacing: 0.22em;
    filter: none;
  }
}

@keyframes hd-intro-line {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes hd-intro-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hd-intro-drift {
  from {
    transform: translate3d(-2%, 1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, -1%, 0) scale(1.06);
  }
}

@keyframes hd-intro-veil {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ------------------------------------------------------------------ hero */

.hd-hero {
  background-color: #05060a;
  min-height: min(860px, calc(100vh - 64px));
}

.hd-hero > .absolute img {
  opacity: 0.5;
  filter: grayscale(0.32) contrast(1.08) brightness(0.98);
}

.hd-hero > .absolute > div {
  background: linear-gradient(
    180deg,
    rgba(5, 6, 10, 0.42) 0%,
    rgba(5, 6, 10, 0.18) 34%,
    rgba(5, 6, 10, 0.82) 86%,
    #07080c 100%
  );
}

.hd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      58% 52% at 10% 88%,
      rgba(158, 38, 50, 0.17),
      transparent 70%
    ),
    radial-gradient(
      44% 40% at 90% 16%,
      rgba(90, 24, 32, 0.14),
      transparent 72%
    ),
    linear-gradient(
      90deg,
      rgba(4, 5, 8, 0.82) 0%,
      rgba(4, 5, 8, 0.34) 46%,
      rgba(4, 5, 8, 0.02) 100%
    );
}

.hd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 100% at 50% 38%,
    transparent 54%,
    rgba(3, 4, 6, 0.5) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hd-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(44px, 6.4vw, 92px) clamp(52px, 7vw, 100px);
}

.hd-hero__grid {
  gap: clamp(40px, 6vw, 84px);
}

.hd-hero__copy {
  position: relative;
}

.hd-hero__poster {
  position: relative;
  isolation: isolate;
}

.hd-hero__poster::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 0;
  width: 118%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(158, 38, 50, 0.22),
    rgba(90, 24, 32, 0.08) 45%,
    transparent 66%
  );
  filter: blur(26px);
  pointer-events: none;
}

.hd-mascot {
  position: relative;
  z-index: 1;
  width: min(286px, 68vw);
  max-width: 286px;
  margin-inline: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 52px rgba(158, 38, 50, 0.16));
}

.hd-hero__poster h1 {
  position: relative;
  z-index: 2;
  margin-top: 4px;
}

.hd-hero__poster .hd-rule {
  margin-top: 26px;
}

.hd-hero__lede {
  max-width: 46ch;
  font-size: clamp(1rem, 1.1vw, 1.075rem);
  line-height: 1.8;
  color: rgba(236, 234, 230, 0.78);
}

.hd-hero__lede > span {
  max-width: 42ch;
  margin-top: 14px;
  font-size: 0.855rem;
  line-height: 1.8;
  color: rgba(236, 234, 230, 0.5);
}

.hd-hero__actions {
  margin-top: 34px;
  gap: 12px;
}

.hd-hero__actions .animate-pulse-glow {
  animation: none;
}

.hd-hero__actions .bg-primary {
  padding: 15px 28px;
  border-radius: 2px;
  background-image: linear-gradient(180deg, #ad2b38, #881f2a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 34px -18px rgba(158, 38, 50, 0.9);
}

.hd-hero__actions .bg-primary:hover {
  transform: translateY(-2px);
  background-image: linear-gradient(180deg, #c03443, #9a2430);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 22px 44px -20px rgba(192, 57, 70, 0.9);
}

.hd-hero__actions > a {
  border-radius: 2px;
  border-color: var(--hd-line-2);
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  letter-spacing: 0.02em;
}

.hd-hero__actions > a:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 59, 72, 0.45);
  background-color: rgba(158, 38, 50, 0.08);
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.9);
}

.hd-hero__copy > div:last-child {
  align-self: stretch;
}

.hd-specs {
  width: 100%;
  max-width: 520px;
  gap: 0;
  border-top: 1px solid var(--hd-line);
  border-bottom: 1px solid var(--hd-line);
}

.hd-specs > div {
  position: relative;
  padding: 17px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.hd-specs > div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--hd-line);
}


.hd-specs .font-heading {
  font-family: var(--hd-font-pixel);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hd-specs > div > div:last-child {
  margin-top: 5px;
  font-family: var(--hd-font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.26em;
  color: var(--hd-text-3);
}

.hd-hero__stage {
  position: relative;
  isolation: isolate;
}

.hd-hero__stage::before {
  content: "";
  position: absolute;
  inset: -10% -8% -6%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    58% 54% at 50% 48%,
    rgba(158, 38, 50, 0.2),
    rgba(90, 24, 32, 0.06) 54%,
    transparent 74%
  );
  filter: blur(26px);
  pointer-events: none;
}

.hd-hero__stage > div {
  position: relative;
  z-index: 1;
}

.hd-hero__model {
  transform: none;
}

/* the 3D viewer keeps its exact geometry; this is only the frame around it */
.hd-viewport {
  position: relative;
  border: 0;
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  /* no frame: the model dissolves into the hero instead of ending on a cut */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 74%,
    rgba(0, 0, 0, 0.45) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 74%,
    rgba(0, 0, 0, 0.45) 92%,
    transparent 100%
  );
}



.hd-viewport__hint {
  margin: 12px 0 0;
  font-family: var(--hd-font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  color: var(--hd-text-3);
}

.hd-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: none;
  width: 1px;
  height: 54px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.18)
  );
}

.hd-scroll span {
  position: absolute;
  left: -1.5px;
  top: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hd-red-hi);
  box-shadow: 0 0 10px 2px rgba(198, 59, 72, 0.6);
  animation: hd-scroll-dot 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes hd-scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(50px);
    opacity: 0;
  }
}

/* desktop hero: left aligned, the copy owns the left column */
@media (min-width: 1024px) {
  .hd-hero__copy {
    align-items: flex-start;
    text-align: left;
  }

  .hd-hero__poster .hd-rule {
    margin-inline: 0;
  }

  .hd-hero__lede,
  .hd-hero__lede > span {
    margin-inline: 0;
  }

  .hd-hero__actions {
    justify-content: flex-start;
  }

  .hd-mascot {
    margin-inline: 0;
  }

  .hd-scroll {
    display: block;
  }
}

/* -------------------------------------------------------------- features */

.hd-band {
  background-color: #06070a;
}

.hd-band::before,
.hd-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 110px;
  pointer-events: none;
}

.hd-band::before {
  top: 0;
  background: linear-gradient(180deg, #07080c, transparent);
}

.hd-band::after {
  bottom: 0;
  background: linear-gradient(0deg, #07080c, transparent);
}

.hd-band__deco {
  opacity: 0.78;
}

/* -------------------------------------------------------------- download */

.hd-download {
  position: relative;
  padding-top: clamp(44px, 5vw, 60px);
  padding-bottom: 8px;
}

.hd-download__head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
  padding: 0 4px;
}

.hd-download__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.14),
    transparent
  );
}

#download-modpack-banner {
  border: 1px solid rgba(198, 59, 72, 0.26);
  border-radius: 2px;
  background:
    linear-gradient(
      115deg,
      rgba(158, 38, 50, 0.16) 0%,
      rgba(12, 14, 19, 0.96) 44%,
      rgba(9, 11, 15, 0.98) 100%
    );
  padding: 30px 32px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 40px 80px -60px #000;
}

#download-modpack-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    60% 130% at 100% 0%,
    rgba(198, 59, 72, 0.16),
    transparent 62%
  );
}

#download-modpack-banner:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 59, 72, 0.52);
  box-shadow:
    0 44px 90px -54px #000,
    0 0 54px -26px rgba(158, 38, 50, 0.6);
}

#download-modpack-banner > div:first-of-type > div:first-child {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(198, 59, 72, 0.28);
  border-radius: 2px;
  background: radial-gradient(
    circle at 32% 22%,
    rgba(158, 38, 50, 0.24),
    rgba(158, 38, 50, 0.04) 72%
  );
  animation: none;
}

#download-modpack-banner h2 {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

#download-modpack-banner .bg-primary {
  padding: 13px 22px;
  border-radius: 2px;
  background-image: linear-gradient(180deg, #ad2b38, #881f2a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 30px -18px rgba(158, 38, 50, 0.9);
}

#download-modpack-banner:hover .bg-primary {
  background-image: linear-gradient(180deg, #c03443, #9a2430);
}

/* ----------------------------------------------------------------- video */

.hd-video {
  position: relative;
  margin-top: clamp(64px, 8vw, 92px);
  border-top: 1px solid var(--hd-line);
  border-bottom: 1px solid var(--hd-line);
  background:
    radial-gradient(
      70% 60% at 50% 0%,
      rgba(158, 38, 50, 0.07),
      transparent 70%
    ),
    linear-gradient(180deg, #07080c 0%, #0a0c12 50%, #07080c 100%);
}

.hd-video > div {
  padding-top: clamp(64px, 8vw, 92px);
  padding-bottom: clamp(64px, 8vw, 92px);
}

.hd-video__head {
  margin-bottom: 26px;
  text-align: center;
}

.hd-video h2 {
  font-family: var(--hd-font-pixel);
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--hd-text);
}

.hd-video__frame {
  position: relative;
  border: 1px solid var(--hd-line-2);
  border-radius: 2px;
  background: #000;
  box-shadow: 0 60px 120px -64px #000;
}



.hd-video video {
  border-radius: 1px;
}

/* ------------------------------------------------------------------- cta */

/* ---------------------------------------------------------------- footer */

.hd-footer {
  position: relative;
  border-top: 1px solid var(--hd-line);
  background-color: #05060a;
}

.hd-footer__deco {
  opacity: 0.6;
}

.hd-footer > .relative.z-10 {
  padding-top: clamp(56px, 7vw, 80px);
  padding-bottom: clamp(48px, 6vw, 64px);
}

.hd-footer a.rounded-sm {
  padding: 11px 16px;
  border-radius: 2px;
  border-color: var(--hd-line);
  background-color: rgba(255, 255, 255, 0.025);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hd-footer a.rounded-sm:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 59, 72, 0.45);
  background-color: rgba(158, 38, 50, 0.08);
  color: var(--hd-text);
}

@media (min-width: 900px) {
  .hd-footer > .relative.z-10 {
    display: grid;
    grid-template-columns: 400px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: clamp(40px, 5vw, 72px);
    max-width: 1024px;
    text-align: left;
  }

  .hd-footer > .relative.z-10 > div:nth-child(1) {
    grid-row: 1 / span 2;
  }

  .hd-footer > .relative.z-10 > div:nth-child(2) {
    grid-row: 1;
    grid-column: 2;
    align-self: end;
  }

  .hd-footer > .relative.z-10 > div:nth-child(3) {
    grid-row: 2;
    grid-column: 2;
    align-self: start;
  }

  .hd-footer > .relative.z-10 > div:nth-child(2) p {
    margin-inline: 0;
    max-width: 44ch;
  }

  .hd-footer > .relative.z-10 > div:nth-child(3) > div {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 22px;
  }

  .hd-footer img[alt="Join the community"] {
    max-width: 380px;
    margin-inline: 0;
  }
}

/* the slim bar shared by every page */
.hd-footbar {
  position: relative;
  border-top: 1px solid var(--hd-line);
  background-color: rgba(4, 5, 8, 0.92);
}

.hd-footbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1024px;
  margin-inline: auto;
  padding: 24px clamp(20px, 4vw, 32px);
}

.hd-footbar__brand img {
  display: block;
  width: auto;
  height: 26px;
  opacity: 0.72;
  transition:
    opacity 0.25s ease,
    filter 0.25s ease;
}

.hd-footbar__brand:hover img {
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(198, 59, 72, 0.45));
}

.hd-footbar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hd-footbar__nav a {
  font-family: var(--hd-font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hd-text-3);
}

.hd-footbar__nav a:hover,
.hd-footbar__nav a[aria-current="page"] {
  color: var(--hd-text);
}

.hd-footbar__meta {
  margin: 0;
  font-family: var(--hd-font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hd-text-3);
}

@media (max-width: 719px) {
  .hd-footbar__inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

/* ---------------------------------------------------------- page headers */

.hd-pagehead {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hd-line);
  background-color: #06070a;
}

.hd-pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      50% 120% at 10% 0%,
      rgba(158, 38, 50, 0.16),
      transparent 66%
    ),
    radial-gradient(
      42% 96% at 92% 22%,
      rgba(90, 24, 32, 0.12),
      transparent 72%
    );
}

.hd-pagehead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 59, 72, 0.35),
    transparent
  );
  pointer-events: none;
}

.hd-pagehead__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(52px, 7vw, 84px);
}

.hd-pagehead h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: 0.04em;
}

.hd-pagehead h1 + p {
  color: rgba(236, 234, 230, 0.62);
}

.hd-pagehead .hd-eyebrow {
  margin-bottom: 16px;
}

.hd-pagehead--rich .hd-pagehead__inner {
  padding-block: clamp(44px, 6vw, 72px);
}

/* -------------------------------------------------------- shared surfaces */

/* the old pixel drop shadow becomes a soft, deep one */
.pixel-shadow {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 18px 40px -22px rgba(0, 0, 0, 0.95),
    0 2px 8px -4px rgba(0, 0, 0, 0.8);
}

/* green gradient outline on hover becomes the red one */
.glow-border::before {
  background: linear-gradient(
    135deg,
    var(--hd-red-hi),
    var(--hd-red-lo) 55%,
    var(--hd-metal)
  );
}

.shimmer-hover::after {
  background: linear-gradient(
      105deg,
      transparent 40%,
      rgba(198, 59, 72, 0.12) 50%,
      transparent 60%
    )
    0 0 / 200% 100%;
}

/* cards: border lift, no bounce */
a.rounded-md,
div.rounded-md,
article.rounded-md {
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
}

/* buttons */
button,
a {
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    opacity 0.22s ease;
}

.bg-primary {
  background-image: linear-gradient(180deg, #ab2a37, #8a1f2a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bg-primary:hover,
button.bg-primary:hover {
  background-color: var(--hd-red-hi);
  background-image: linear-gradient(180deg, #c13644, #9c2431);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 32px -18px rgba(192, 57, 70, 0.75);
}

/* focus, keyboard only */
:focus-visible {
  outline: 1px solid var(--hd-red-hi);
  outline-offset: 3px;
}

/* ------------------------------------------------------------ mod cards */

.hd-mod-card {
  border-radius: 2px;
  border-color: var(--hd-line);
  background:
    linear-gradient(160deg, rgba(18, 21, 28, 0.9), rgba(9, 11, 15, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hd-mod-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--hd-red-hi),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hd-mod-card:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 59, 72, 0.34);
  box-shadow:
    0 26px 50px -30px #000,
    0 0 44px -24px rgba(158, 38, 50, 0.45);
}

.hd-mod-card:hover::before {
  opacity: 1;
}

.hd-mod-card .size-10 {
  border: 1px solid var(--hd-line);
  border-radius: 2px;
  background-color: #0a0c11;
}

/* ------------------------------------------------------------ mod filters */

.mb-8.flex.flex-wrap.gap-2 button {
  padding: 9px 16px;
  border-radius: 2px;
  font-family: var(--hd-font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hd-text-2);
}

.mb-8.flex.flex-wrap.gap-2 button.border {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: var(--hd-line);
}

.mb-8.flex.flex-wrap.gap-2 button.border:hover {
  color: var(--hd-text);
  border-color: rgba(198, 59, 72, 0.4);
  background-color: rgba(158, 38, 50, 0.08);
}

/* --------------------------------------------------------------- guides */

/* install timeline */
main ol.border-l-2 {
  border-left-color: rgba(198, 59, 72, 0.26);
  border-left-style: solid;
}

main ol.border-l-2 > li > span.bg-primary {
  background-color: #0a0c11;
  border: 1px solid rgba(198, 59, 72, 0.5);
  color: var(--hd-red-hi);
  font-family: var(--hd-font-display);
  font-size: 0.6875rem;
  box-shadow:
    0 0 0 4px #07080c,
    0 0 18px rgba(158, 38, 50, 0.35);
}

main .rounded-md.border.border-border.bg-card {
  border-radius: 2px;
  background:
    linear-gradient(160deg, rgba(20, 23, 30, 0.72), rgba(9, 11, 15, 0.92));
}

main .rounded-md.border.border-border.bg-card:hover {
  border-color: rgba(198, 59, 72, 0.32);
}

/* fabric tip */
main aside .rounded-md.border.border-accent\/40 {
  border-radius: 2px;
  border-left: 2px solid rgba(198, 59, 72, 0.55);
  background: linear-gradient(
    120deg,
    rgba(158, 38, 50, 0.12),
    rgba(10, 12, 17, 0.9)
  );
}

/* ------------------------------------------------------------- utilities */

/* the reaper lockup, black keyed out of the original art */
main div.grid.size-14 img {
  filter: grayscale(0.5) saturate(0.7) brightness(0.95);
}

/* the content column is a flex item: without this its min-content wins on
   narrow phones and the 3D block pushes the whole page sideways */
div.flex.min-h-screen > .flex-1 {
  min-width: 0;
}

/* the copy-path button: the mono path breaks instead of widening the layout */
main button.font-mono {
  min-width: 0;
}

main button.font-mono > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* cookie banner, brought into the palette */
.ac-cookie > div {
  border-radius: 2px;
  border-color: rgba(198, 59, 72, 0.3);
  background-color: rgba(8, 10, 14, 0.96);
  backdrop-filter: blur(18px);
}

/* ------------------------------------------------------------- reveal */

html.hd-js [data-hd-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

html.hd-js [data-hd-reveal].hd-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* soft red light, replaces the arbitrary oklch shadow utilities */
.hd-glow {
  box-shadow: 0 8px 32px rgba(158, 38, 50, 0.3);
}

.hd-hover-glow:hover {
  box-shadow: 0 6px 24px rgba(192, 57, 70, 0.45);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 640px) {

  .hd-brand--hero {
    letter-spacing: 0.04em;
  }

  .hd-intro__title {
    letter-spacing: 0.16em;
    left: 0.08em;
  }

  #download-modpack-banner {
    padding: 24px 22px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html.hd-js [data-hd-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.hd-intro-on .hd-intro {
    display: none !important;
  }

  .hd-intro__fog,
  .hd-intro__title,
  .hd-intro__line,
  .hd-intro__eyebrow,
  .hd-scroll span {
    animation: none !important;
  }

  .hd-feature,
  .hd-mod-card,
  #download-modpack-banner,
  .hd-cta__row {
    transition: none;
  }
}

/* ------------------------------------------------------- polish pass v20 */

/* scrollbars: the browser default is a white bar on a black page */
html {
  scrollbar-width: thin;
  scrollbar-color: #2a2d36 #07080c;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #07080c;
}

::-webkit-scrollbar-thumb {
  background: #24272f;
  border: 2px solid #07080c;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a2a31;
}

/* hero artwork: fade the baked-in black plate into the page */
.hd-mascot {
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}

/* spec strip: readable labels, icons that actually register */

.hd-specs > div > div:last-child {
  color: #8b8f99;
  font-size: 0.59375rem;
}

/* page heads: less dead air, softer red wash, smaller mascot */
.hd-pagehead__inner {
  padding-block: clamp(44px, 5vw, 64px);
}

.hd-pagehead--rich .hd-pagehead__inner {
  padding-block: clamp(36px, 4vw, 52px);
}

.hd-pagehead::before {
  background:
    radial-gradient(
      50% 120% at 10% 0%,
      rgba(158, 38, 50, 0.12),
      transparent 66%
    ),
    radial-gradient(
      42% 96% at 92% 22%,
      rgba(90, 24, 32, 0.1),
      transparent 72%
    );
}

.hd-pagehead img[width="240"] {
  width: 200px;
  height: 200px;
}

/* section rhythm: the video and CTA were stacking 184px of padding */
.hd-video {
  margin-top: clamp(44px, 5vw, 56px);
}

.hd-video > div {
  padding-block: clamp(44px, 5vw, 60px);
}

@media (min-width: 1024px) {
  .hd-hero__inner {
    padding-bottom: 56px;
  }
}

/* download banner: stack the icon, centre the lockup on phones */
@media (max-width: 639px) {
  #download-modpack-banner {
    gap: 18px;
    padding: 24px 20px;
  }

  #download-modpack-banner > div.relative {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  #download-modpack-banner > div.relative > div > div {
    justify-content: center;
  }

  #download-modpack-banner > div.relative p {
    font-size: 0.75rem;
  }

  #download-modpack-banner > span {
    width: 100%;
    justify-content: center;
  }
}

/* filters: a 2x3 grid beats a ragged wrap */
@media (max-width: 639px) {
  .hd-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hd-filters > button {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
  }
}

/* mod cards: tags sit on the same baseline inside a row */
.hd-mod-card > :last-child {
  margin-top: auto;
}

/* page head lede: icon beside the copy, not floating above it */
@media (max-width: 639px) {
  .hd-pagehead p > span {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }

  .hd-pagehead p > span img {
    width: 44px;
    height: 44px;
  }
}

/* footer */
.hd-footer > .relative.z-10 {
  padding-top: clamp(44px, 5.5vw, 64px);
}

.hd-footbar__brand img {
  opacity: 0.8;
}

/* intro: the red line and eyebrow were almost invisible */
.hd-intro__eyebrow {
  color: #8b8f99;
}

.hd-intro__line {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 59, 72, 0.9) 50%,
    transparent
  );
  box-shadow: 0 0 20px rgba(198, 59, 72, 0.35);
}

/* ------------------------------------------------------- polish pass v22 */

/* mod grid: reveal wrappers were auto-height, so cards in a row never
   matched and the category tag floated at different offsets */
.hd-mods-grid > div,
.hd-mods-grid > div > .relative,
.hd-mods-grid .hd-mod-card {
  height: 100%;
}

/* spec icons: 16px grey specks were unreadable */

.hd-specs > div > div:last-child {
  color: #9a9ea8;
}

/* wordmark: 32px reads as a favicon at 1440 */
.hd-brand-logo--nav {
  height: 37px;
}

/* page head mascots sit a touch smaller and tighter */
.hd-pagehead img[width="240"] {
  width: 188px;
  height: 188px;
}

/* footer: the top pad was stacking on top of the section rhythm */
.hd-footer > .relative.z-10 {
  padding-top: clamp(40px, 4.5vw, 56px);
}

/* ------------------------------------------------------- polish pass v24 */

/* features: full-width rows, one under the other, pointer tilt */
.hd-features {
  max-width: 1024px;
  padding-top: clamp(48px, 6vw, 72px);
}

.hd-features__grid {
  gap: 14px;
  padding-top: 0;
  padding-bottom: clamp(48px, 5.5vw, 68px);
  counter-reset: hd-feature;
}

.hd-feature {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 24px 104px 24px 26px;
  border: 1px solid var(--hd-line);
  border-radius: 2px;
  background:
    linear-gradient(100deg, rgba(23, 26, 33, 0.92), rgba(9, 11, 15, 0.96) 62%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 50px -40px #000;
  counter-increment: hd-feature;
  transform-style: preserve-3d;
  transition:
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.hd-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 59, 72, 0.7),
    transparent
  );
  transition: opacity 0.35s ease;
}

.hd-feature::after {
  content: counter(hd-feature, decimal-leading-zero);
  position: absolute;
  top: 50%;
  right: 34px;
  transform: translateY(-50%);
  font-family: var(--hd-font-pixel);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(236, 234, 230, 0.22);
}

.hd-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 59, 72, 0.34);
  box-shadow:
    0 30px 60px -34px #000,
    0 0 44px -22px rgba(158, 38, 50, 0.45);
}

.hd-feature:hover::before {
  opacity: 1;
}

.hd-feature__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0;
  border: 1px solid rgba(198, 59, 72, 0.24);
  border-radius: 2px;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(158, 38, 50, 0.26),
    rgba(158, 38, 50, 0.04) 72%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.35s ease,
    transform 0.35s ease;
}

.hd-feature:hover .hd-feature__icon {
  transform: translateY(-2px);
  border-color: rgba(198, 59, 72, 0.5);
}

.hd-feature img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6));
}

.hd-feature h3 {
  font-family: var(--hd-font-pixel);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f1efeb;
}

.hd-feature p {
  max-width: 78ch;
  margin-top: 7px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(236, 234, 230, 0.6);
}

@media (min-width: 900px) {
  .hd-feature {
    padding: 26px 112px 26px 28px;
  }
}

@media (max-width: 640px) {
  .hd-feature {
    gap: 16px;
    padding: 20px;
  }

  .hd-feature::after {
    display: none;
  }

  .hd-feature__icon {
    width: 48px;
    height: 48px;
  }

  .hd-feature img {
    width: 26px;
    height: 26px;
  }

  .hd-feature h3 {
    font-size: 1rem;
  }

  .hd-feature p {
    font-size: 0.8125rem;
    line-height: 1.6;
  }
}

/* the collection: a wide strip with the count as the anchor */
.hd-cta {
  padding-block: clamp(48px, 6vw, 72px);
}

.hd-cta__row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 38px);
  border: 1px solid var(--hd-line);
  border-radius: 2px;
  background:
    radial-gradient(
      70% 140% at 0% 50%,
      rgba(158, 38, 50, 0.14),
      transparent 62%
    ),
    linear-gradient(110deg, rgba(17, 20, 26, 0.94), rgba(8, 10, 14, 0.97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform-style: preserve-3d;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hd-cta__row::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -6%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(158, 38, 50, 0.16),
    transparent 66%
  );
  filter: blur(22px);
  pointer-events: none;
}

.hd-cta__row:hover {
  border-color: rgba(198, 59, 72, 0.4);
  box-shadow:
    0 30px 70px -50px #000,
    0 0 50px -26px rgba(158, 38, 50, 0.5);
}

.hd-cta__count {
  font-family: var(--hd-font-pixel);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--hd-red-hi);
  text-shadow: 0 0 40px rgba(198, 59, 72, 0.35);
}

.hd-cta__copy {
  position: relative;
  z-index: 1;
}

.hd-cta__copy .hd-eyebrow {
  margin-bottom: 8px;
}

.hd-cta__copy h2 {
  font-family: var(--hd-font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #f1efeb;
}

.hd-cta__copy p:last-child {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--hd-text-2);
}

.hd-cta__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 2px;
  background-image: linear-gradient(180deg, #ad2b38, #881f2a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 34px -20px rgba(158, 38, 50, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  color: #f7edee;
  white-space: nowrap;
  transition:
    transform 0.3s ease,
    background-image 0.3s ease,
    box-shadow 0.3s ease;
}

.hd-cta__row:hover .hd-cta__btn {
  transform: translateX(3px);
  background-image: linear-gradient(180deg, #c03443, #9a2430);
}

@media (max-width: 760px) {
  .hd-cta__row {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 20px;
  }

  .hd-cta__btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hd-cta__count {
    font-size: 2.9rem;
  }
}

/* 1024-1199: the copy column is narrow, keep the three actions on one line */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hd-hero__actions {
    gap: 8px;
  }

  .hd-hero__actions .bg-primary {
    padding-inline: 20px;
  }

  .hd-hero__actions > a {
    padding-inline: 16px;
  }
}

/* pointer tilt: only the transform is accelerated while tracking */
.is-tilting {
  transition: transform 0.09s linear !important;
  will-change: transform;
}

/* ===================================================== polish pass v27 ===
   guide drawer, minecraft headings, cooler mascot, stronger glow, compact cta
   ========================================================================= */

/* the burger is the only primary navigation at every width */
.hd-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--hd-line);
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.025);
  color: var(--hd-text);
}

.hd-burger:hover {
  border-color: rgba(198, 59, 72, 0.45);
  background-color: rgba(158, 38, 50, 0.1);
}

/* minecraft headings: the supplied minecraft.ttf is the display face */
.hd-brand--hero,
.hd-pagehead h1,
.hd-cta__copy h2,
.hd-guide-name,
.hd-guide-nav__label {
  font-family: var(--hd-font-pixel);
  font-weight: 400;
  text-transform: uppercase;
}

.hd-brand--hero {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.2;
  letter-spacing: 0.012em;
  max-width: 19ch;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.45),
    0 0 46px rgba(158, 38, 50, 0.2);
}

.hd-pagehead h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: 0.015em;
}

/* hero image: less heat, less saturation, cool cast */
.hd-mascot {
  filter: saturate(0.56) contrast(1.09) brightness(0.93) hue-rotate(-10deg)
    drop-shadow(0 30px 60px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 52px rgba(112, 140, 178, 0.26));
}

.hd-hero__poster::before {
  background: radial-gradient(
    circle,
    rgba(82, 112, 152, 0.26),
    rgba(44, 62, 88, 0.1) 45%,
    transparent 66%
  );
}

/* fireflies: keep the drift, give the dots a real halo */
.animate-firefly,
.animate-firefly-b,
.animate-firefly-c {
  filter: brightness(1.45) drop-shadow(0 0 5px rgba(255, 82, 96, 0.9))
    drop-shadow(0 0 15px rgba(192, 57, 70, 0.55));
}

.hd-footer__deco [class*="#777b85"] {
  filter: brightness(1.45) drop-shadow(0 0 6px rgba(190, 205, 230, 0.85))
    drop-shadow(0 0 16px rgba(120, 150, 190, 0.5));
}

.hd-hero > .absolute img {
  opacity: 0.5;
  filter: grayscale(0.38) saturate(0.72) contrast(1.07) brightness(0.96);
}

.hd-hero::after {
  background:
    radial-gradient(
      56% 48% at 76% 34%,
      rgba(74, 102, 138, 0.12),
      transparent 70%
    ),
    radial-gradient(
      120% 100% at 50% 38%,
      transparent 54%,
      rgba(3, 4, 6, 0.5) 100%
    );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* spec icons: a touch larger, still the original coloured art */
.hd-specs img {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 14px rgba(198, 59, 72, 0.18));
}

/* brighter pulsing orbs in the band and the footer */
@keyframes hd-glow-pulse-v27 {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.14);
  }
}

.hd-band__deco .animate-glow-pulse,
.hd-footer__deco .animate-glow-pulse {
  animation: hd-glow-pulse-v27 5.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

/* collection strip: white 24 at the heading size, no eyebrow, shorter row */
.hd-cta {
  padding-block: clamp(36px, 4.5vw, 54px);
}

.hd-cta__row {
  gap: clamp(16px, 2.4vw, 30px);
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 32px);
}

.hd-cta__count,
.hd-cta__copy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #f1efeb;
}

.hd-cta__count {
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
}

.hd-cta__copy h2 {
  font-weight: 400;
}

/* footer: small community art above the copy, centred, cooler */
.hd-footer > .relative.z-10 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 760px;
  padding-top: clamp(36px, 4.5vw, 52px);
  padding-bottom: clamp(36px, 5vw, 56px);
  text-align: center;
}

.hd-footer img[alt="Join the community"] {
  width: min(190px, 48vw);
  max-width: 190px;
  margin-inline: auto;
  mix-blend-mode: screen;
  filter: saturate(0.6) contrast(1.07) brightness(0.93) hue-rotate(-10deg);
}

.hd-footer > .relative.z-10 > div:nth-child(2) p {
  margin-inline: auto;
  max-width: 48ch;
}

.hd-footer > .relative.z-10 > div:nth-child(3) > div {
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

/* guide drawer */
.hd-guide-drawer {
  width: min(352px, 88vw);
  background:
    radial-gradient(
      120% 50% at 0% 0%,
      rgba(158, 38, 50, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #0b0d13, #06070a);
  border-right-color: var(--hd-line-2);
  box-shadow: 30px 0 80px -40px #000;
}

.hd-guide-drawer button[aria-label="Fechar menu"] {
  padding: 6px;
  border: 1px solid var(--hd-line);
  border-radius: 2px;
  color: rgba(236, 234, 230, 0.72);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.hd-guide-drawer button[aria-label="Fechar menu"]:hover {
  border-color: rgba(198, 59, 72, 0.5);
  background-color: rgba(158, 38, 50, 0.12);
  color: var(--hd-text);
}

.hd-guide-nav__label {
  padding: 0 10px 12px;
  font-size: 0.95rem;
  letter-spacing: 0.07em;
  color: var(--hd-red-hi);
}

.hd-guide-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: rgba(236, 234, 230, 0.78);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.hd-guide-link:hover {
  transform: translateX(2px);
  border-color: var(--hd-line);
  background-color: rgba(255, 255, 255, 0.03);
}

.hd-guide-link.is-active {
  border-color: rgba(198, 59, 72, 0.4);
  background: linear-gradient(
    90deg,
    rgba(158, 38, 50, 0.2),
    rgba(158, 38, 50, 0.02)
  );
}

.hd-guide-thumb {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid var(--hd-line);
  border-radius: 2px;
  background-color: #0a0c11;
}

.hd-guide-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04) brightness(1.08);
}

.hd-guide-thumb--contain img {
  padding: 6px;
  object-fit: contain;
}

.hd-guide-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hd-guide-name {
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #f1efeb;
}

.hd-guide-desc {
  font-family: inherit;
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  color: rgba(236, 234, 230, 0.5);
}

.hd-guide-arrow {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: rgba(236, 234, 230, 0.32);
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.hd-guide-link:hover .hd-guide-arrow {
  transform: translateX(2px);
  color: rgba(236, 234, 230, 0.7);
}

.hd-guide-link.is-active .hd-guide-arrow {
  color: var(--hd-red-hi);
}

@media (prefers-reduced-motion: reduce) {
  .hd-band__deco .animate-glow-pulse,
  .hd-footer__deco .animate-glow-pulse {
    animation: none;
    opacity: 0.7;
  }
}

/* footer alignment: the old desktop grid left align-self values out; every
   footer block shares the same centre line as the community art */
.hd-footer > .relative.z-10 > div:nth-child(2),
.hd-footer > .relative.z-10 > div:nth-child(3) {
  align-self: center;
}
