/* SlugCraft V8 — Descent Into Darkness */
:root {
  --ink: #050807;
  --ink-soft: #08110f;
  --panel: #0d1815;
  --panel-bright: #12231e;
  --line: rgba(198, 255, 221, 0.13);
  --line-strong: rgba(198, 255, 221, 0.24);
  --text: #f2fff8;
  --text-soft: #a7bdb3;
  --slug: #9cff2e;
  --slug-bright: #c8ff72;
  --cyan: #46e7ff;
  --orange: #ff9c32;
  --danger: #ff4d37;
  --discord: #5865f2;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 1.5rem;
  --header-height: 5rem;
  --shell: min(1180px, calc(100% - 3rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
  overflow-x: clip;
  color-scheme: dark;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(66, 210, 138, 0.08), transparent 28rem),
    var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--slug), var(--cyan), transparent);
  box-shadow: 0 0 24px rgba(70, 231, 255, 0.6);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Arial Black", Impact, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.55rem, 6vw, 5.4rem);
}

h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}

::selection {
  background: var(--slug);
  color: #071008;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(6rem, 11vw, 10rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: 0.4rem;
  background: var(--slug);
  color: #071008;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.kicker,
.eyebrow,
.feature-label,
.season-kicker,
.layer-direction {
  color: var(--slug-bright);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker {
  margin-bottom: 1.15rem;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--slug);
  box-shadow: 0 0 0 rgba(156, 255, 46, 0);
  color: #081107;
}

.button-primary:hover {
  background: var(--slug-bright);
  box-shadow: 0 12px 38px rgba(156, 255, 46, 0.2);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(4, 10, 8, 0.42);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  border-color: rgba(198, 255, 221, 0.45);
  background: rgba(15, 34, 28, 0.72);
}

.button-large {
  min-height: 4.15rem;
  padding-inline: 1.8rem;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  border-bottom-color: var(--line);
  background: rgba(5, 10, 8, 0.88);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(156, 255, 46, 0.38);
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 32% 24%, rgba(70, 231, 255, 0.2), transparent 52%),
    rgba(156, 255, 46, 0.075);
  color: var(--slug);
  box-shadow: inset 0 0 18px rgba(156, 255, 46, 0.055), 0 0 18px rgba(70, 231, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand-mark svg {
  width: 1.8rem;
  height: 1.8rem;
}

.brand-name {
  color: var(--text);
  font-family: "Arial Black", Impact, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name > span {
  color: var(--slug);
}

.brand:hover .brand-mark {
  transform: translateY(-2px);
  border-color: rgba(156, 255, 46, 0.7);
  box-shadow: inset 0 0 20px rgba(156, 255, 46, 0.08), 0 7px 24px rgba(70, 231, 255, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  color: #c0d1c9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--slug);
  transition: transform 180ms ease;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--text);
}

.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(156, 255, 46, 0.35);
  border-radius: 0.35rem;
  background: rgba(156, 255, 46, 0.08);
  color: var(--slug-bright);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.nav-cta:hover {
  border-color: rgba(156, 255, 46, 0.65);
  background: rgba(156, 255, 46, 0.14);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.4rem;
  background: rgba(9, 20, 16, 0.75);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 0.27rem;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: max(48rem, 100svh);
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-media,
.hero-depth {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media {
  z-index: -3;
  transform: scale(1.025);
  background:
    linear-gradient(90deg, rgba(4, 8, 6, 0.98) 7%, rgba(4, 8, 6, 0.84) 45%, rgba(4, 8, 6, 0.48) 78%, rgba(4, 8, 6, 0.72)),
    linear-gradient(0deg, var(--ink) 0%, transparent 28%, rgba(2, 7, 5, 0.12) 72%, rgba(2, 7, 5, 0.65) 100%),
    url("SlugTaming.webp") center / cover no-repeat;
  filter: saturate(0.74) contrast(1.08);
}

.hero-depth {
  z-index: -2;
  opacity: 0.82;
  background:
    radial-gradient(circle at 74% 42%, rgba(70, 231, 255, 0.17), transparent 24rem),
    radial-gradient(circle at 65% 64%, rgba(156, 255, 46, 0.12), transparent 28rem),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(10% - 1px), rgba(200, 255, 222, 0.025) 10%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(200, 255, 222, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 222, 0.075) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 50%);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.72fr);
  padding-block: calc(var(--header-height) + 4rem) 7rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: #d6e9df;
}

.eyebrow span {
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(156, 255, 46, 0.35);
  border-radius: 0.25rem;
  background: rgba(156, 255, 46, 0.1);
  color: var(--slug-bright);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.15rem, 5.6vw, 5.2rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 8px 38px rgba(0, 0, 0, 0.55);
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: var(--slug);
  font-style: normal;
  text-shadow: 0 0 36px rgba(156, 255, 46, 0.18);
}

.hero-lead {
  max-width: 42rem;
  margin-top: 1.7rem;
  color: #c5d7ce;
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.release-facts {
  display: grid;
  max-width: 42rem;
  margin-top: 3.2rem;
  border-top: 1px solid var(--line-strong);
  grid-template-columns: repeat(4, 1fr);
}

.release-facts div {
  padding: 1rem 1rem 0 0;
}

.release-facts div + div {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.release-facts dt {
  color: #7f968b;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-facts dd {
  margin-top: 0.25rem;
  color: var(--text);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 29rem);
  padding: 0.7rem;
  transform: rotate(1.5deg);
  border: 1px solid rgba(125, 252, 255, 0.24);
  border-radius: 1.3rem;
  background: linear-gradient(145deg, rgba(21, 53, 43, 0.52), rgba(2, 8, 6, 0.82));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(8px);
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  content: "";
  pointer-events: none;
}

.hero-art::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
  border-radius: 1.3rem 0 0;
}

.hero-art::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--slug);
  border-bottom: 2px solid var(--slug);
  border-radius: 0 0 1.3rem;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.9rem;
  object-fit: cover;
}

.hero-art-glow {
  position: absolute;
  inset: 16% 12%;
  border-radius: 50%;
  background: rgba(70, 231, 255, 0.24);
  filter: blur(50px);
}

.art-caption {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.35rem 0.25rem;
  color: #9bb2a7;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.art-caption span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--slug);
  box-shadow: 0 0 14px var(--slug);
}

.depth-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateX(-50%);
  color: #8ea59a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.depth-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 2.4rem;
  overflow: hidden;
  background: rgba(198, 255, 221, 0.22);
}

.depth-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--slug);
  animation: descend 2s ease-in-out infinite;
}

@keyframes descend {
  0% { transform: translateY(0); }
  70%, 100% { transform: translateY(200%); }
}

/* Intro */
.intro {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.95%, var(--line) 50%, transparent 50.05%),
    var(--ink-soft);
}

.intro::after {
  position: absolute;
  right: -10rem;
  bottom: -15rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(70, 231, 255, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 4rem rgba(70, 231, 255, 0.018), 0 0 0 8rem rgba(70, 231, 255, 0.012);
}

.intro-grid {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: 0.92fr 1.08fr;
}

.section-heading h2 {
  max-width: 11ch;
}

.intro-copy {
  max-width: 42rem;
  align-self: end;
  color: var(--text-soft);
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
}

.intro-copy p + p {
  margin-top: 1.5rem;
}

.intro-copy strong {
  color: var(--text);
}

.section-heading-wide {
  display: grid;
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  grid-template-columns: 1fr minmax(18rem, 0.65fr);
}

.section-heading-wide > p {
  max-width: 35rem;
  padding-bottom: 0.45rem;
  color: var(--text-soft);
  font-size: 1.06rem;
}

/* Dimension stack */
.descent {
  background:
    radial-gradient(circle at 80% 8%, rgba(162, 131, 255, 0.09), transparent 25rem),
    linear-gradient(#09130f, #060807 60%, #120807);
}

.descent::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22rem;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgba(255, 67, 35, 0.055));
}

.descent .shell {
  position: relative;
  z-index: 1;
}

.world-stack {
  position: relative;
  max-width: 59rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.world-stack::before {
  position: absolute;
  z-index: -1;
  top: 2rem;
  bottom: 2rem;
  left: 5.42rem;
  width: 2px;
  content: "";
  background: linear-gradient(#bca1ff, #8fd8ff 14%, #7bff76 30%, var(--slug) 44%, #b75cff 58%, #825f6e 72%, #126a7f 86%, var(--danger));
  box-shadow: 0 0 18px rgba(156, 255, 46, 0.16);
}

.world-layer {
  --layer-color: var(--slug);
  position: relative;
  display: grid;
  min-height: 8.5rem;
  align-items: center;
  gap: 1.45rem;
  padding: 1.5rem 1.65rem 1.5rem 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 4.4rem 2rem 1fr auto;
  transition: background-color 220ms ease, transform 220ms ease;
}

.world-layer:last-child {
  border-bottom: 1px solid var(--line);
}

.world-layer:hover {
  transform: translateX(0.5rem);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--layer-color) 6%, transparent));
}

.layer-index {
  color: #62746c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: right;
}

.layer-marker {
  position: relative;
  width: 0.78rem;
  height: 0.78rem;
  justify-self: center;
  border: 2px solid var(--layer-color);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 14px color-mix(in srgb, var(--layer-color) 50%, transparent);
}

.layer-marker::after {
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: var(--layer-color);
  content: "";
}

.layer-copy h3 {
  margin-bottom: 0.4rem;
  color: color-mix(in srgb, var(--layer-color) 84%, white);
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  letter-spacing: -0.025em;
}

.layer-copy p:not(.layer-direction) {
  max-width: 38rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.layer-direction {
  margin-bottom: 0.45rem;
  color: color-mix(in srgb, var(--layer-color) 80%, white);
  font-size: 0.57rem;
}

.layer-tag {
  min-width: 5.8rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--layer-color) 24%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--layer-color) 7%, transparent);
  color: color-mix(in srgb, var(--layer-color) 80%, white);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.layer-end { --layer-color: #b69cff; }
.layer-aether { --layer-color: #8ed9ff; }
.layer-overworld { --layer-color: #7ef475; }
.layer-slugterra { --layer-color: var(--slug); }
.layer-dark { --layer-color: #bd62ff; }
.layer-undergarden { --layer-color: #9e788a; }
.layer-otherside { --layer-color: #20bddb; }
.layer-nether { --layer-color: var(--danger); }

.layer-slugterra {
  min-height: 10.5rem;
  margin: 0.65rem 0;
  padding-left: 0;
  border: 1px solid rgba(156, 255, 46, 0.24);
  border-right-color: transparent;
  border-left-color: transparent;
  background: linear-gradient(90deg, transparent, rgba(156, 255, 46, 0.075), transparent);
  box-shadow: inset 0 0 48px rgba(156, 255, 46, 0.025);
}

.layer-dark {
  min-height: 9.5rem;
  background: linear-gradient(90deg, transparent, rgba(189, 98, 255, 0.065), transparent);
  box-shadow: inset 0 0 42px rgba(189, 98, 255, 0.018);
}

/* Slug spotlight */
.spotlight {
  background:
    radial-gradient(circle at 15% 50%, rgba(70, 231, 255, 0.08), transparent 28rem),
    #07100d;
}

.spotlight-grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 8vw, 7.5rem);
  grid-template-columns: 1.2fr 0.8fr;
}

.spotlight-media {
  position: relative;
  min-height: clamp(23rem, 46vw, 36rem);
}

.spotlight-media::before {
  position: absolute;
  z-index: 2;
  top: -1rem;
  right: -1rem;
  width: 7rem;
  height: 7rem;
  border-top: 1px solid var(--slug);
  border-right: 1px solid var(--slug);
  content: "";
}

.spotlight-media::after {
  position: absolute;
  z-index: 2;
  bottom: 2.5rem;
  left: -1rem;
  width: 7rem;
  height: 7rem;
  border-bottom: 1px solid var(--cyan);
  border-left: 1px solid var(--cyan);
  content: "";
}

.spotlight-media img {
  width: 100%;
  height: clamp(22rem, 43vw, 34rem);
  border-radius: 0.3rem;
  object-fit: cover;
  object-position: 58% center;
  box-shadow: var(--shadow);
  filter: saturate(0.88) contrast(1.04);
}

.spotlight-media figcaption {
  position: absolute;
  z-index: 3;
  right: -1rem;
  bottom: 0;
  max-width: 16rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--slug);
  background: rgba(7, 18, 14, 0.94);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  color: #dcebe3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.spotlight-copy h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.15rem);
}

.spotlight-copy > p:not(.kicker) {
  margin-top: 1.7rem;
  color: var(--text-soft);
  font-size: 1.06rem;
}

.check-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-top: 1px solid var(--line);
  color: #d5e5dd;
  font-size: 0.9rem;
}

.check-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 1.05rem;
  left: 0.3rem;
  width: 0.6rem;
  height: 0.35rem;
  transform: rotate(-45deg);
  border-bottom: 2px solid var(--slug);
  border-left: 2px solid var(--slug);
  content: "";
}

/* Features */
.features {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(rgba(8, 17, 14, 0.94), rgba(8, 17, 14, 0.94)),
    linear-gradient(135deg, transparent 24%, rgba(156, 255, 46, 0.06) 25%, transparent 26%) 0 0 / 2.5rem 2.5rem;
}

.feature-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  position: relative;
  min-height: 20rem;
  padding: 2rem;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 14, 11, 0.72);
  transition: background-color 220ms ease, transform 220ms ease;
}

.feature-card:hover {
  z-index: 2;
  transform: translateY(-0.35rem);
  background: var(--panel-bright);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.feature-card-accent {
  background:
    radial-gradient(circle at 82% 16%, rgba(156, 255, 46, 0.17), transparent 11rem),
    rgba(15, 30, 22, 0.92);
}

.feature-number {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  color: #50645a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
}

.feature-icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 3.5rem;
  place-items: center;
  border: 1px solid rgba(156, 255, 46, 0.24);
  border-radius: 50%;
  background: rgba(156, 255, 46, 0.045);
  color: var(--slug-bright);
  font-size: 1.4rem;
  box-shadow: inset 0 0 18px rgba(156, 255, 46, 0.04);
}

.feature-label {
  margin-bottom: 0.7rem;
  font-size: 0.57rem;
}

.feature-card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.55rem;
}

.feature-card > p:not(.feature-label) {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Seasons */
.seasons {
  background:
    radial-gradient(circle at 20% 22%, rgba(70, 231, 255, 0.06), transparent 24rem),
    var(--ink);
}

.seasons-layout {
  display: grid;
  align-items: start;
  gap: clamp(4rem, 9vw, 9rem);
  grid-template-columns: 0.72fr 1.28fr;
}

.seasons-heading {
  position: sticky;
  top: calc(var(--header-height) + 3rem);
}

.seasons-heading h2 {
  font-size: clamp(3rem, 5.6vw, 5.3rem);
}

.seasons-heading > p:not(.kicker) {
  max-width: 28rem;
  margin-top: 1.6rem;
  color: var(--text-soft);
}

.text-link {
  display: inline-flex;
  gap: 0.65rem;
  margin-top: 2rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(156, 255, 46, 0.5);
  color: var(--slug-bright);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-list {
  border-top: 1px solid var(--line);
}

.season-card {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 6.5rem 1fr;
}

.season-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.season-card p:not(.season-kicker) {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.season-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.season-meta strong {
  color: #70867a;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.season-meta span {
  color: var(--slug-bright);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.season-kicker {
  margin-bottom: 0.45rem;
  font-size: 0.54rem;
}

.season-current {
  position: relative;
  margin-block: 0.9rem;
  padding: 2.3rem 1.8rem;
  border: 1px solid rgba(156, 255, 46, 0.24);
  background: linear-gradient(125deg, rgba(156, 255, 46, 0.1), rgba(70, 231, 255, 0.03));
}

.season-current::after {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 4rem;
  height: 4rem;
  border-top: 2px solid var(--slug);
  border-right: 2px solid var(--slug);
  content: "";
}

.season-current .season-meta strong,
.season-current h3 {
  color: var(--slug-bright);
}

.season-condensed {
  opacity: 0.82;
}

/* Community */
.community {
  padding-top: 2rem;
  background: var(--ink);
}

.community-card {
  position: relative;
  display: grid;
  min-height: 20rem;
  align-items: center;
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(123, 134, 255, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 50%, rgba(88, 101, 242, 0.26), transparent 18rem),
    linear-gradient(115deg, #111b32, #0a1118 68%);
  box-shadow: var(--shadow);
  grid-template-columns: 8rem 1fr auto;
}

.community-card::after {
  position: absolute;
  top: 0;
  right: 18%;
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(transparent, rgba(136, 147, 255, 0.2), transparent);
  transform: rotate(18deg);
}

.community-signal {
  position: relative;
  display: grid;
  width: 7.5rem;
  height: 7.5rem;
  place-items: center;
  border: 1px solid rgba(160, 169, 255, 0.25);
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.08);
}

.community-signal img {
  position: relative;
  z-index: 2;
  width: 3.5rem;
}

.community-signal span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(120, 132, 255, 0.24);
  border-radius: 50%;
  animation: signal 3.4s ease-out infinite;
}

.community-signal span:nth-child(2) { animation-delay: 1.1s; }
.community-signal span:nth-child(3) { animation-delay: 2.2s; }

@keyframes signal {
  0% { opacity: 0.8; transform: scale(0.75); }
  100% { opacity: 0; transform: scale(1.75); }
}

.community-copy {
  position: relative;
  z-index: 1;
}

.community-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.community-copy > p:not(.kicker) {
  max-width: 42rem;
  margin-top: 1rem;
  color: #aebbd1;
}

.button-discord {
  position: relative;
  z-index: 2;
  background: #eef0ff;
  color: #222c89;
  white-space: nowrap;
}

.button-discord:hover {
  background: #fff;
  box-shadow: 0 12px 38px rgba(88, 101, 242, 0.24);
}

/* Final call to action */
.final-cta {
  position: relative;
  display: grid;
  min-height: 42rem;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  isolation: isolate;
}

.final-cta-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 5, 0.96), rgba(3, 7, 5, 0.62) 52%, rgba(3, 7, 5, 0.84)),
    linear-gradient(0deg, #030605, transparent 50%, #030605),
    url("SlugCraft-Icon.webp") 84% 42% / min(55rem, 72vw) no-repeat;
  filter: saturate(0.72);
}

.final-cta::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 74% 50%, rgba(70, 231, 255, 0.13), transparent 22rem),
    linear-gradient(90deg, rgba(156, 255, 46, 0.04), transparent 45%);
}

.final-cta-inner {
  width: var(--shell);
}

.final-cta h2 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  text-transform: uppercase;
}

.final-cta-inner > p:not(.kicker) {
  margin: 1.4rem 0 2rem;
  color: var(--text-soft);
  font-size: 1.08rem;
}

/* Footer */
.site-footer {
  padding-block: 3.5rem 1.8rem;
  border-top: 1px solid var(--line);
  background: #030605;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand {
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
}

.footer-links a {
  color: #84988e;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--slug-bright);
}

.footer-legal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: #7c9087;
  font-size: 0.68rem;
}

.footer-legal p:last-child {
  max-width: 47rem;
  text-align: right;
}

/* Progressive enhancement */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.js .reveal[data-delay="1"] { transition-delay: 100ms; }
.js .reveal[data-delay="2"] { transition-delay: 200ms; }

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet and mobile */
@media (max-width: 960px) {
  :root {
    --header-height: 4.5rem;
    --shell: min(100% - 2rem, 46rem);
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    gap: 0;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: rgba(5, 10, 8, 0.97);
    opacity: 0;
    pointer-events: none;
    transition: max-height 280ms ease, opacity 180ms ease, border-color 180ms ease;
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    max-height: 30rem;
    border-bottom-color: var(--line);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav > a:not(.nav-cta),
  .nav-cta {
    width: min(100% - 2rem, 46rem);
    margin-inline: auto;
    padding-block: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    justify-content: space-between;
    margin-block: 0.65rem;
    border: 1px solid rgba(156, 255, 46, 0.26);
    padding-inline: 0.9rem;
  }

  .hero-grid {
    max-width: 46rem;
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + 5rem);
    text-align: center;
  }

  .hero h1,
  .hero-lead,
  .release-facts {
    margin-inline: auto;
  }

  .eyebrow,
  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    display: none;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(4, 8, 6, 0.88), rgba(4, 8, 6, 0.68)),
      linear-gradient(0deg, var(--ink), transparent 45%, rgba(2, 7, 5, 0.7)),
      url("SlugTaming.webp") 57% center / cover no-repeat;
  }

  .intro {
    background: var(--ink-soft);
  }

  .intro-grid,
  .section-heading-wide,
  .spotlight-grid,
  .seasons-layout {
    grid-template-columns: 1fr;
  }

  .section-heading-wide {
    gap: 1.4rem;
  }

  .section-heading-wide > p {
    padding-bottom: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seasons-heading {
    position: static;
  }

  .community-card {
    grid-template-columns: 6rem 1fr;
  }

  .community-signal {
    width: 5.5rem;
    height: 5.5rem;
  }

  .community-signal img {
    width: 2.5rem;
  }

  .community-card .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 1.4rem);
    --radius: 1rem;
  }

  .section {
    padding-block: 5.2rem;
  }

  .brand {
    gap: 0.58rem;
  }

  .brand-mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.58rem;
  }

  .brand-mark svg {
    width: 1.58rem;
    height: 1.58rem;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .hero {
    min-height: 46rem;
  }

  .hero-grid {
    padding-bottom: 5rem;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 14vw, 4.15rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .eyebrow {
    flex-direction: column;
    gap: 0.55rem;
  }

  .hero-actions {
    display: grid;
  }

  .release-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .release-facts div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .release-facts div:nth-child(n + 3) {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
  }

  .depth-cue {
    display: none;
  }

  .world-stack::before {
    left: 3.13rem;
  }

  .world-layer {
    gap: 0.8rem;
    padding-right: 0;
    grid-template-columns: 2.4rem 1.1rem 1fr;
  }

  .world-layer:hover {
    transform: none;
  }

  .layer-index {
    font-size: 0.6rem;
  }

  .layer-tag {
    display: none;
  }

  .layer-copy p:not(.layer-direction) {
    font-size: 0.82rem;
  }

  .spotlight-media,
  .spotlight-media img {
    min-height: 0;
    height: 22rem;
  }

  .spotlight-media figcaption {
    right: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 17rem;
  }

  .feature-icon {
    margin-bottom: 2.6rem;
  }

  .season-card {
    gap: 0.8rem;
    grid-template-columns: 4.7rem 1fr;
  }

  .season-current {
    padding: 1.5rem 1rem;
  }

  .community-card {
    gap: 1.5rem;
    padding: 2rem 1.25rem;
    text-align: center;
    grid-template-columns: 1fr;
  }

  .community-signal,
  .community-card .button {
    justify-self: center;
    grid-column: 1;
  }

  .final-cta {
    min-height: 38rem;
    text-align: center;
  }

  .final-cta-bg {
    background:
      linear-gradient(rgba(3, 7, 5, 0.82), rgba(3, 7, 5, 0.9)),
      url("SlugCraft-Icon.webp") center / min(38rem, 125vw) no-repeat;
  }

  .final-cta h2 {
    margin-inline: auto;
    font-size: clamp(3.15rem, 16vw, 5rem);
  }

  .footer-main,
  .footer-legal {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-legal p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
