/* minecraftlauncher.pro — premium Minecraft game guide */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Silkscreen:wght@400;700&display=swap');

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Minecraft Ten';
  src: url('../fonts/Minecraft-Tenv2.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Minecraft Seven';
  src: url('../fonts/Minecraft-Seven-v2.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Design tokens ─────────────────────────────────────────────── */

:root {
  /* Overworld palette */
  --grass: #3c8527;
  --grass-mid: #5d8c3e;
  --grass-light: #6fa84a;
  --grass-dark: #2d6319;
  --grass-deep: #1e4510;
  --grass-glow: rgba(60, 133, 39, 0.28);
  --grass-top: #5d8c3e;
  --grass-side: #3c8527;

  /* Dirt & stone */
  --dirt: #8b6914;
  --dirt-dark: #6b4f0f;
  --dirt-light: #a67c1a;
  --stone: #8a8a82;
  --stone-dark: #5c5c56;
  --stone-light: #b8b8b0;
  --cobble: #6e6e68;

  --gold: #c9a227;
  --gold-bg: rgba(201, 162, 39, 0.12);
  --danger: #c0392b;
  --danger-bg: rgba(192, 57, 43, 0.08);

  /* Nether / End accents */
  --nether: #8b2e1a;
  --nether-glow: rgba(180, 60, 30, 0.35);
  --end: #6b3fa0;
  --end-glow: rgba(107, 63, 160, 0.3);

  /* Dark game surfaces */
  --bg: #0e1410;
  --bg-2: #131a14;
  --surface: #1a221b;
  --surface-2: #222b22;
  --surface-raised: #2a352a;
  --footer-bg: #0a0c09;

  /* Text on dark */
  --ink: #f3f6ee;
  --ink-soft: #d4ddd0;
  --muted: #9aaa95;
  --line: rgba(116, 168, 79, 0.14);
  --line-strong: rgba(116, 168, 79, 0.28);

  /* Remapped legacy tokens (dark panels) */
  --cream: #161d16;
  --cream-deep: #111711;
  --cream-grid: rgba(116, 168, 79, 0.05);
  --white: #1e261e;

  /* Cinematic hero */
  --hero-bg: #0a0c09;
  --hero-surface: rgba(255, 255, 255, 0.05);
  --hero-border: rgba(255, 255, 255, 0.09);
  --hero-text: #f3f1eb;
  --hero-muted: #a8a89e;

  /* Typography (minecraft.net stack) */
  --font-sans: "Noto Sans", system-ui, sans-serif;
  --font-display: "Minecraft Ten", "Minecraft Seven", system-ui, sans-serif;
  --font-heading: "Minecraft Seven", "Noto Sans", system-ui, sans-serif;
  --font-game: "Minecraft Seven", "Silkscreen", "Arial Black", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --max: 1180px;
  --nav-h: 72px;
  --radius: 4px;
  --radius-sm: 2px;
  --block-shadow: 0 4px 0 var(--grass-deep), 0 6px 16px rgba(30, 69, 16, 0.25);
  --block-shadow-sm: 0 3px 0 var(--grass-deep), 0 4px 10px rgba(30, 69, 16, 0.18);
  --shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 12px 40px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 24px 64px rgba(0, 0, 0, 0.42), 0 0 48px rgba(60, 133, 39, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Grass block top pattern (CSS pixel grid) */
  --grass-pattern:
    linear-gradient(135deg, var(--grass-top) 25%, transparent 25%) -4px 0,
    linear-gradient(225deg, var(--grass-top) 25%, transparent 25%) -4px 0,
    linear-gradient(315deg, var(--grass-top) 25%, transparent 25%),
    linear-gradient(45deg, var(--grass-top) 25%, transparent 25%);
  --grass-pattern-size: 8px 8px;

  /* Subtle pixel grid for sections */
  --pixel-grid:
    linear-gradient(rgba(116, 168, 79, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 168, 79, 0.04) 1px, transparent 1px);
  --pixel-grid-size: 40px 40px;
}

/* ── Reset & base ──────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.mc-theme::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--pixel-grid);
  background-size: var(--pixel-grid-size);
  pointer-events: none;
  z-index: 0;
}

body.mc-theme::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(116, 168, 79, 0.1), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

#main {
  position: relative;
  z-index: 1;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: #a0e080; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #c8f0a8; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.12em 0.35em;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 2px;
  border: 1px solid var(--line);
  color: #c8f0a8;
}

/* ── Utility: skip link ────────────────────────────────────────── */

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--grass);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--block-shadow-sm);
}

/* ── Layout ────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Block divider (grass + dirt pixel strip) ──────────────────── */

.block-divider {
  position: relative;
  height: 16px;
  border: none;
  margin: 0;
  background:
    /* grass top — checker pixel pattern */
    var(--grass-pattern),
    /* dirt layer */
    repeating-linear-gradient(
      90deg,
      var(--dirt) 0px,
      var(--dirt) 4px,
      var(--dirt-dark) 4px,
      var(--dirt-dark) 8px
    );
  background-size: var(--grass-pattern-size), 8px 8px;
  background-color: var(--grass-side);
  background-position: 0 0, 0 8px;
  background-repeat: repeat, repeat;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.15),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.block-divider--tall {
  height: 24px;
  background-position: 0 0, 0 12px;
}

/* ── Game label (Silkscreen — sparing use) ─────────────────────── */

.game-label {
  font-family: var(--font-game);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grass-mid);
  line-height: 1.3;
}

/* ── Eyebrow & sections ───────────────────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-game);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a0e080;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #a0e080;
  box-shadow: 0 0 8px rgba(160, 224, 128, 0.45);
}

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--bg);
  background-image: var(--pixel-grid);
  background-size: var(--pixel-grid-size);
}

.section--alt {
  background: var(--bg-2);
  background-image: var(--pixel-grid);
  background-size: var(--pixel-grid-size);
  border-block: 1px solid var(--line);
}

.section--alt::before,
.section:not(.section--alt)::after {
  content: none;
}

.section__head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-top: 0.75rem;
}
.section__lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}
.section__head--center .section__lead { margin-inline: auto; }

/* ── Buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease), background 0.15s var(--ease);
}
.btn--primary {
  background: linear-gradient(180deg, var(--grass-light) 0%, var(--grass) 45%, var(--grass-dark) 100%);
  color: #fff;
  border-color: var(--grass-deep);
  box-shadow: var(--block-shadow-sm);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #7ab855 0%, var(--grass-mid) 45%, var(--grass) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 var(--grass-deep), 0 8px 20px var(--grass-glow);
}
.btn--primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--grass-deep);
}
.btn--ghost {
  background: rgba(14, 20, 16, 0.55);
  color: var(--hero-text);
  border: 2px solid rgba(116, 168, 79, 0.35);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(116, 168, 79, 0.12);
  border-color: rgba(160, 224, 128, 0.55);
  color: #fff;
}
.btn--ghost:active {
  transform: translateY(1px);
  box-shadow: none;
}
.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.875rem; }

/* Minecraft UI block button */
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  background: linear-gradient(180deg, #6fa84a 0%, var(--grass-mid) 30%, var(--grass) 70%, var(--grass-dark) 100%);
  border: 2px solid var(--grass-deep);
  border-radius: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15),
    0 4px 0 var(--grass-deep),
    0 6px 12px rgba(30, 69, 16, 0.3);
  transition: transform 0.1s var(--ease), box-shadow 0.1s var(--ease);
  cursor: pointer;
}
.mc-btn:hover {
  background: linear-gradient(180deg, #7ab855 0%, var(--grass-light) 30%, var(--grass-mid) 70%, var(--grass) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12),
    0 5px 0 var(--grass-deep),
    0 8px 16px var(--grass-glow);
}
.mc-btn:active {
  transform: translateY(3px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    0 1px 0 var(--grass-deep);
}
.mc-btn--stone {
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, #d4d0c8 0%, var(--stone-light) 40%, var(--stone) 100%);
  border-color: var(--stone-dark);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 4px 0 var(--stone-dark),
    0 6px 12px rgba(0, 0, 0, 0.15);
}
.mc-btn--stone:hover {
  color: var(--ink);
  background: linear-gradient(180deg, #e0dcd4 0%, #c8c4bc 40%, var(--stone-light) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 5px 0 var(--stone-dark),
    0 8px 16px rgba(0, 0, 0, 0.12);
}
.mc-btn--stone:active {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 0 var(--stone-dark);
}

/* ── Site header ───────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 12, 9, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 2px solid var(--hero-border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--grass-pattern), var(--grass-side);
  background-size: var(--grass-pattern-size);
  opacity: 0.85;
}
.site-header.is-scrolled {
  background: rgba(10, 12, 9, 0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--hero-text);
}
.brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 2px solid var(--hero-border);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--font-game);
  font-size: 0.55rem;
  color: var(--hero-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hero-muted);
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--hero-text); background: var(--hero-surface); }
.nav__cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1rem !important;
  background: linear-gradient(180deg, var(--grass-light), var(--grass)) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border: 2px solid var(--grass-deep) !important;
  box-shadow: 0 3px 0 var(--grass-deep) !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.nav__cta:hover {
  background: linear-gradient(180deg, #7ab855, var(--grass-mid)) !important;
  transform: translateY(-1px);
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--hero-border);
  border-radius: var(--radius-sm);
  background: var(--hero-surface);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--hero-text);
  transition: transform 0.25s, opacity 0.2s;
}
.menu-btn span { position: relative; }
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn.is-open span { background: transparent; }
.menu-btn.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-btn.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ── Hero (cinematic + parallax) ───────────────────────────────── */

.hero {
  position: relative;
  min-height: 94vh;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 0;
  background: var(--hero-bg);
  color: var(--hero-text);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.52;
  will-change: transform;
  animation: hero-parallax 20s ease-in-out infinite alternate;
  filter: saturate(1.15);
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 12, 9, 0.9) 0%, rgba(10, 12, 9, 0.55) 42%, rgba(10, 12, 9, 0.35) 68%, rgba(10, 12, 9, 0.72) 100%),
    linear-gradient(180deg, rgba(10, 12, 9, 0.1) 0%, rgba(10, 12, 9, 0.82) 78%, var(--bg) 100%),
    radial-gradient(ellipse 70% 55% at 75% 25%, rgba(60, 133, 39, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(93, 140, 62, 0.16), transparent 55%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-bottom: 4rem;
}
.hero__content { max-width: 34rem; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-game);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hero-muted);
  background: var(--hero-surface);
  border: 2px solid var(--hero-border);
  border-radius: 0;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #a8e86a 0%, #74a84f 50%, #5d8c3e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__lead {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--hero-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.hero .btn--ghost {
  border-color: var(--hero-border);
  color: var(--hero-text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.hero .btn--ghost:hover {
  background: var(--hero-surface);
  border-color: rgba(159, 212, 106, 0.4);
}
.hero__note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--hero-muted);
  max-width: 32rem;
  opacity: 0.9;
}
.hero__visual { position: relative; }
.hero__device {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(116, 168, 79, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 100px rgba(60, 133, 39, 0.18);
  background: #0a0c09;
  transform: perspective(1200px) rotateX(2deg);
  animation: hero-device-float 6s ease-in-out infinite alternate;
}
@keyframes hero-device-float {
  0%, 100% { transform: perspective(1200px) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1200px) rotateX(2deg) translateY(-10px); }
}
.hero__device::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
}
.hero__device img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.hero__caption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--hero-surface);
  border: 2px solid var(--hero-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
}
.hero__caption img {
  border-radius: 2px;
  border: 1px solid var(--hero-border);
}
.hero__caption strong { display: block; font-weight: 600; }
.hero__caption span {
  font-family: var(--font-game);
  font-size: 0.55rem;
  color: var(--hero-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes hero-parallax {
  0% { transform: translateY(0); }
  100% { transform: translateY(-2%); }
}

/* Grass strip at hero bottom */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  z-index: 2;
  background: var(--grass-pattern), var(--grass-side);
  background-size: var(--grass-pattern-size);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.15);
}

/* ── Trust bar ─────────────────────────────────────────────────── */

.trust {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
  padding: 1.1rem 0;
}
.trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grass-pattern), var(--grass-side);
  background-size: var(--grass-pattern-size);
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.trust__inner--links {
  justify-content: center;
}
.trust__inner--links .trust__links {
  justify-content: center;
}
.trust__label strong { color: var(--ink); }
.trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.trust__links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}
.trust__links a:hover { color: #a0e080; }

/* ── Cards ─────────────────────────────────────────────────────── */

.card {
  position: relative;
  background: linear-gradient(145deg, rgba(34, 43, 34, 0.95), rgba(26, 34, 27, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grass-pattern), var(--grass-mid);
  background-size: var(--grass-pattern-size);
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transition: opacity 0.22s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(60, 133, 39, 0.35);
}
.card:hover::before { opacity: 1; }
.card__tag {
  display: inline-block;
  font-family: var(--font-game);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grass);
  margin-bottom: 0.6rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card p { color: var(--muted); font-size: 0.95rem; }

/* ── Chooser ───────────────────────────────────────────────────── */

.chooser {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 38, 30, 0.98), rgba(22, 28, 22, 0.99));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.chooser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--grass-pattern), var(--grass-mid);
  background-size: var(--grass-pattern-size);
}
.chooser__step { margin-bottom: 1.75rem; }
.chooser__step:last-of-type { margin-bottom: 0; }
.chooser__label {
  font-family: var(--font-game);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.chooser__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.chooser__opt {
  padding: 0.7rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(14, 20, 16, 0.65);
  color: var(--ink-soft);
  box-shadow: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.1s, box-shadow 0.1s;
}
.chooser__opt:hover {
  border-color: var(--grass-mid);
  transform: translateY(-1px);
}
.chooser__opt.is-active {
  background: linear-gradient(180deg, var(--grass-light), var(--grass));
  border-color: var(--grass-deep);
  color: #fff;
  box-shadow: 0 3px 0 var(--grass-deep);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.chooser__result {
  margin-top: 1.75rem;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(60, 133, 39, 0.16), rgba(93, 140, 62, 0.06)),
    rgba(14, 20, 16, 0.75);
  border: 1px solid rgba(116, 168, 79, 0.32);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.chooser__result[hidden] { display: none !important; }
.chooser__result h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.chooser__result p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.chooser__result-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.chooser__alt {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Edition rail (launcher sidebar style) ─────────────────────── */

.edition-rail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem;
  background: linear-gradient(180deg, #1a1d18 0%, #121410 100%);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 220px;
}
.edition-rail__item,
.edition-rail__btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.edition-rail__item:hover,
.edition-rail__btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}
.edition-rail__item.is-active,
.edition-rail__btn.is-active {
  background: rgba(60, 133, 39, 0.2);
  border-color: var(--grass-mid);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(93, 140, 62, 0.3);
}
.edition-rail__btn img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  image-rendering: pixelated;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}
.edition-rail__btn img[src*="official/"] {
  image-rendering: auto;
}
.edition-rail__btn small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.15rem;
  line-height: 1.35;
}
.edition-rail__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 2px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.edition-rail__label {
  font-family: var(--font-game);
  font-size: 0.55rem;
  display: block;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.edition-rail--horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  max-width: none;
}
.edition-rail--horizontal .edition-rail__item {
  flex: 1 1 auto;
  min-width: 140px;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 1rem;
}

/* ── Worlds grid (dimensions) ──────────────────────────────────── */

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.world-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.world-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 rgba(26, 26, 24, 0.1), 0 28px 56px rgba(0, 0, 0, 0.18);
}
.world-card__art,
.world-card__img {
  position: relative;
  background: #0a0c09;
}
.world-card__art img,
.world-card__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
.world-card:hover .world-card__art img,
.world-card:hover .world-card__img img {
  transform: none;
}
.world-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}
.world-card__img::after {
  display: none;
}
.world-card--overworld { border-top-color: var(--grass-mid); }
.world-card--overworld .world-card__badge { background: var(--grass); }
.world-card--nether { border-top-color: var(--nether); }
.world-card--nether .world-card__badge { background: var(--nether); }
.world-card--end { border-top-color: var(--end); }
.world-card--end .world-card__badge { background: var(--end); }
.world-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 1.25rem;
  color: #fff;
}
.world-card__badge {
  display: inline-block;
  font-family: var(--font-game);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.world-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.world-card__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}
.world-card__img ~ .world-card__body {
  position: static;
  padding: 1.15rem 1.25rem 1.25rem;
  color: var(--ink);
  background: var(--surface-2);
  border-top: 1px solid var(--line-strong);
}
.world-card__dim {
  font-family: var(--font-game);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.world-card--overworld .world-card__dim { color: var(--grass); }
.world-card--nether .world-card__dim { color: var(--nether); }
.world-card--end .world-card__dim { color: var(--end); }
.world-card__img ~ .world-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.world-card__img ~ .world-card__body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}
.world-card__img ~ .world-card__body p:last-child {
  margin-bottom: 0;
}

/* ── Game showcase (split layout) ──────────────────────────────── */

.game-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.game-showcase__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  background: #0a0c09;
}
.game-showcase__visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 1;
  background: var(--grass-pattern), var(--grass-mid);
  background-size: var(--grass-pattern-size);
}
.game-showcase__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
.game-showcase__content,
.game-showcase__copy {
  padding: 0.5rem 0;
}
.game-showcase__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  background: rgba(10, 12, 9, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  font-family: var(--font-game);
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.game-showcase__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.game-stat {
  flex: 1 1 8.5rem;
  padding: 0.85rem 1rem;
  background: rgba(14, 20, 16, 0.65);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
.game-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.game-stat span {
  font-size: 0.82rem;
  color: var(--muted);
}
.game-showcase__tag {
  font-family: var(--font-game);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grass);
  margin-bottom: 0.75rem;
  display: block;
}
.game-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.game-showcase__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.game-showcase__features {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.game-showcase__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  background: rgba(14, 20, 16, 0.65);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
.game-showcase__features li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  background: var(--grass-mid);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.game-showcase--reverse {
  direction: rtl;
}
.game-showcase--reverse > * {
  direction: ltr;
}

/* ── Video embed (16:9) ────────────────────────────────────────── */

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  background: #0a0c09;
}
.video-embed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1;
  background: var(--grass-pattern), var(--grass-mid);
  background-size: var(--grass-pattern-size);
}
.video-embed__ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  object-position: center;
}
.video-embed__caption {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

/* ── Download grid ─────────────────────────────────────────────── */

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.download-card {
  position: relative;
  background: linear-gradient(145deg, rgba(34, 43, 34, 0.95), rgba(26, 34, 27, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}
.download-card:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 133, 39, 0.3);
}
.download-card--featured {
  border-color: var(--grass-mid);
  box-shadow:
    0 0 0 1px rgba(60, 133, 39, 0.12),
    var(--shadow-lg);
}
.download-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grass-pattern), var(--grass-mid);
  background-size: var(--grass-pattern-size);
  border-radius: 2px 2px 0 0;
}
.download-card__os {
  font-family: var(--font-game);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--grass);
}
.download-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.download-card__meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: auto;
}
.safety-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ── Matrix table ──────────────────────────────────────────────── */

.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.matrix-wrap::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--grass-pattern), var(--grass-mid);
  background-size: var(--grass-pattern-size);
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.matrix th,
.matrix td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.matrix th {
  background: var(--cream-deep);
  font-family: var(--font-game);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.matrix tr:last-child td { border-bottom: 0; }
.matrix tr:hover td {
  background: rgba(93, 140, 62, 0.04);
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
}
.badge--yes {
  background: rgba(60, 133, 39, 0.2);
  color: #a0e080;
  border-color: rgba(60, 133, 39, 0.35);
}
.badge--no {
  background: rgba(0, 0, 0, 0.25);
  color: var(--muted);
  border-color: var(--line);
}
.badge--partial {
  background: var(--gold-bg);
  color: var(--gold);
  border-color: rgba(201, 162, 39, 0.3);
}

/* ── Decision list ─────────────────────────────────────────────── */

.decision-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.65rem;
}
.decision-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: rgba(14, 20, 16, 0.65);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  box-shadow: none;
  transition: border-color 0.15s;
}
.decision-list li:hover {
  border-color: rgba(93, 140, 62, 0.35);
}
.decision-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  background: var(--grass-mid);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ── Tabs & steps ──────────────────────────────────────────────── */

.tabs { margin-top: 2rem; }
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  background: rgba(14, 20, 16, 0.65);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.tab-btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-soft);
  box-shadow: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s, box-shadow 0.1s;
}
.tab-btn:hover {
  border-color: var(--grass-mid);
  transform: translateY(-1px);
}
.tab-btn.is-active {
  background: linear-gradient(180deg, var(--grass-light), var(--grass));
  border-color: var(--grass-deep);
  color: #fff;
  box-shadow: 0 3px 0 var(--grass-deep);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}
.step:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 140, 62, 0.3);
}
.step__img {
  overflow: hidden;
  background: #0a0c09;
  border-bottom: 2px solid var(--line);
}
.step__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
.step__body { padding: 1.15rem; }
.step__num {
  font-family: var(--font-game);
  font-size: 0.58rem;
  font-weight: 400;
  color: var(--grass);
  letter-spacing: 0.08em;
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.35rem 0 0.4rem;
}
.step p { font-size: 0.88rem; color: var(--muted); }

/* ── Feature cards ─────────────────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  padding: 1.75rem;
  background: linear-gradient(145deg, rgba(34, 43, 34, 0.95), rgba(26, 34, 27, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 140, 62, 0.3);
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(93, 140, 62, 0.16);
  border: 1px solid rgba(60, 133, 39, 0.28);
  border-radius: 8px;
  color: #a0e080;
  box-shadow: none;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.92rem; color: var(--muted); }

/* ── Fix cards ─────────────────────────────────────────────────── */

.fix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.fix-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}
.fix-card:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 140, 62, 0.25);
}
.fix-card__tag {
  font-family: var(--font-game);
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--grass);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fix-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.5rem 0;
}
.fix-card p { font-size: 0.88rem; color: var(--muted); }
.fix-card__step {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 2px solid var(--line);
  font-size: 0.88rem;
}
.fix-card__step strong { color: var(--ink); }

/* ── Gallery ───────────────────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery__item {
  position: relative;
  border: 3px solid var(--line-strong);
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #0a0c09;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.gallery__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: var(--grass-pattern), var(--grass-mid);
  background-size: var(--grass-pattern-size);
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery__item:hover {
  transform: translateY(-3px);
  border-color: var(--grass-mid);
  box-shadow: var(--shadow-lg);
}
.gallery__item:hover::before { opacity: 1; }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
.gallery__item:hover img { transform: none; }
.gallery__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  text-align: left;
  font-size: 0.85rem;
  border-top: 2px solid rgba(93, 140, 62, 0.4);
}
.gallery__overlay strong {
  display: block;
  font-family: var(--font-game);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

/* ── Lightbox ──────────────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(10, 12, 9, 0.94);
  backdrop-filter: blur(12px);
}
.lightbox[hidden] { display: none !important; }
.lightbox__inner { max-width: 960px; width: 100%; }
.lightbox__img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  border: 3px solid var(--hero-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.lightbox__cap {
  margin-top: 0.85rem;
  color: var(--hero-muted);
  font-size: 0.9rem;
  text-align: center;
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--hero-surface);
  border: 2px solid var(--hero-border);
  color: var(--hero-text);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.1s;
}
.lightbox__close:hover { transform: translateY(-1px); }
.lightbox__close:active { transform: translateY(2px); box-shadow: none; }

/* ── FAQ ───────────────────────────────────────────────────────── */

.faq { max-width: 44rem; margin: 0 auto; }
.faq details {
  border-bottom: 2px solid var(--line);
  padding: 0.25rem 0;
}
.faq summary {
  padding: 1.1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.15s;
}
.faq summary:hover { color: #a0e080; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--grass-mid);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a {
  padding: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Methodology ───────────────────────────────────────────────── */

.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── Footer ────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  background: var(--footer-bg);
  color: #c8c8c0;
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--grass-pattern), var(--grass-side);
  background-size: var(--grass-pattern-size);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12);
}
.site-footer a { color: #e8e8e0; text-decoration: none; }
.site-footer a:hover { color: #9fd46a; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: #fff;
  font-weight: 700;
}
.footer-brand img {
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-col h4 {
  font-family: var(--font-game);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.85rem;
}
.footer-col li { margin-bottom: 0.45rem; }
.disclosure {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #8a8a82;
}

/* ── Index game sections (HTML bridge) ─────────────────────────── */

.section--game {
  border-top: 4px solid var(--grass-mid);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.section.section--dark {
  background-color: var(--bg);
  background-image: var(--pixel-grid);
  background-size: var(--pixel-grid-size);
  color: var(--hero-text);
}
.section.section--dark .section__title { color: var(--hero-text); }
.section.section--dark .section__lead { color: var(--hero-muted); }
.section.section--dark .eyebrow { color: var(--grass-light); }

.pixel-gif {
  image-rendering: pixelated;
  vertical-align: middle;
}

.edition-spotlight {
  display: grid;
  grid-template-columns: minmax(200px, 220px) 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.edition-spotlight .edition-rail {
  max-width: none;
  height: 100%;
}
.edition-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: 3px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #1a1d18 0%, #121410 100%);
  box-shadow: var(--shadow-lg);
}
.edition-panel__screen {
  position: relative;
  min-height: 0;
  background: #0a0c09;
  display: flex;
  align-items: center;
  justify-content: center;
}
.edition-panel__screen img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  display: none;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.edition-panel__screen img.is-active {
  display: block;
  opacity: 1;
}
.edition-panel__body {
  padding: 1.5rem;
  color: var(--hero-text);
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.edition-panel__tag {
  font-family: var(--font-game);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grass-light);
  margin-bottom: 0.5rem;
}
.edition-panel__body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}
.edition-panel__body p {
  color: var(--hero-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.games-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.game-tile {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.game-tile:hover {
  transform: translateY(-3px);
  border-color: var(--grass-mid);
}
.game-tile__art {
  background: #0a0c09;
  overflow: hidden;
}
.game-tile__art img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
.game-tile:hover .game-tile__art img {
  transform: none;
}
.game-tile__body {
  padding: 0.85rem 1rem 1rem;
  border-top: 3px solid var(--grass-mid);
}
.game-tile__body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.game-tile__body p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.video-block {
  max-width: 56rem;
  margin-inline: auto;
}
.video-caption {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Gameplay Trailers (minecraft.net style) ───────────────────── */

.section--trailers {
  background: linear-gradient(180deg, var(--bg) 0%, #0a0c09 100%);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.trailers__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-align: center;
  margin: 0 0 2rem;
  color: var(--ink);
  text-transform: none;
}

.trailers-accordion {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.trailer-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  background: rgba(10, 12, 9, 0.65);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.trailer-panel[open] {
  border-color: rgba(160, 224, 128, 0.35);
  box-shadow: 0 0 0 1px rgba(60, 133, 39, 0.12);
}

.trailer-panel__summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  border-bottom: 1px solid transparent;
  transition: background 0.15s ease;
}
.trailer-panel__summary::-webkit-details-marker { display: none; }
.trailer-panel__summary:hover {
  background: rgba(116, 168, 79, 0.06);
}
.trailer-panel[open] .trailer-panel__summary {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(116, 168, 79, 0.05);
}

.trailer-panel__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
}
.trailer-panel__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}

.trailer-panel__name {
  flex: 1;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.trailer-panel__chev {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-right: 2px solid rgba(255, 255, 255, 0.65);
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}
.trailer-panel[open] .trailer-panel__chev {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.trailer-panel__body {
  padding: 0 1.15rem 1.25rem;
}

.trailer-panel__lead {
  margin: 0.25rem 0 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 42rem;
}

.trailer-panel__video {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  overflow: hidden;
}
.trailer-panel__video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.trailer-panel__note {
  margin: 0.85rem 0 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}
.trailer-panel__note strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.trailer-panel__yt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: #a0e080;
  text-decoration: none;
  border-bottom: 1px solid rgba(160, 224, 128, 0.45);
  padding-bottom: 0.1rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.trailer-panel__yt:hover {
  color: #c8f0a8;
  border-bottom-color: #c8f0a8;
}
.trailer-panel__yt::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.trailers__credit {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Scroll reveal ─────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; }
  .download-grid,
  .grid-3,
  .fix-grid,
  .method,
  .worlds-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .game-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .game-showcase--reverse { direction: ltr; }
  .edition-rail--horizontal .edition-rail__item,
  .edition-rail--horizontal .edition-rail__btn {
    min-width: calc(50% - 0.5rem);
  }
  .edition-spotlight {
    grid-template-columns: 1fr;
  }
  .edition-panel {
    grid-template-columns: 1fr;
  }
  .edition-panel__body {
    border-left: none;
    border-top: 2px solid rgba(255, 255, 255, 0.08);
  }
  .games-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    left: 1rem;
    right: 1rem;
    padding: 0.75rem;
    background: rgba(10, 12, 9, 0.98);
    border: 2px solid var(--hero-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open a { padding: 0.85rem 1rem; width: 100%; }
  .menu-btn { display: flex; }
  .download-grid,
  .grid-3,
  .fix-grid,
  .method,
  .gallery,
  .steps,
  .worlds-grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .edition-rail {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
  }
  .edition-rail__item,
  .edition-rail__btn {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 0;
    flex-direction: column;
    text-align: center;
    padding: 0.85rem 0.5rem;
    font-size: 0.8rem;
  }
  .games-row {
    grid-template-columns: 1fr;
  }
  .hero__bg img {
    height: 100%;
    animation: none;
  }
}

/* ── Inner pages ───────────────────────────────────────────────── */

.page-head {
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  background: linear-gradient(180deg, rgba(60, 133, 39, 0.1) 0%, transparent 72%);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.35rem;
}
.breadcrumbs a {
  color: var(--grass-light);
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-hidden="true"] { margin: 0 0.4rem; opacity: 0.45; }

.page-hero {
  width: 100%;
  max-width: none;
  padding: 0;
}
.page-hero .eyebrow {
  margin-bottom: 0.9rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-top: 0;
}
.page-hero__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 1.15rem;
  max-width: 40rem;
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.page-head + .section {
  padding-top: clamp(2.25rem, 4vw, 3rem);
}

.page-head + .section > .container > .prose:first-child,
.page-head + .section > .container > .worlds-grid:first-child,
.page-head + .section > .container > .edition-spotlight:first-child,
.page-head + .section > .container > .chooser:first-child,
.page-head + .section > .container > .faq:first-child,
.page-head + .section > .container > .gallery:first-child,
.page-head + .section > .container > .fix-grid:first-child {
  margin-top: 0;
}

.nav a.is-current {
  color: var(--hero-text);
  background: rgba(60, 133, 39, 0.22);
  box-shadow: inset 0 0 0 1px rgba(93, 140, 62, 0.35);
}

.prose {
  max-width: 44rem;
  line-height: 1.7;
}
.prose > * + h2 {
  margin-top: 2.5rem;
}
.prose > * + h3 {
  margin-top: 1.75rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 2rem 0 0.65rem;
  color: var(--ink);
}
.prose h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--ink);
}
.prose p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}
.prose ul,
.prose ol {
  margin: 0 0 1.25rem 1.35rem;
  color: var(--ink-soft);
}
.prose li { margin-bottom: 0.45rem; }
.prose a { color: var(--grass-light); }
.prose a:hover { text-decoration: underline; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.12rem 0.35rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}

.text-link {
  font-weight: 600;
  color: var(--grass-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section-cta {
  margin-top: 1.25rem;
}
.section-cta a {
  font-weight: 600;
  color: var(--grass-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.section-cta--center {
  text-align: center;
}

.page-cta-bar {
  margin-top: 2.5rem;
  padding: 1.35rem 1.5rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.page-cta-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.error-page {
  text-align: center;
  padding: 4rem 0 6rem;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5.5rem);
  color: var(--grass);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-page p {
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

/* ── Reduced motion ────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card,
  .gallery__item,
  .gallery__item img,
  .world-card,
  .world-card__art img,
  .step,
  .feature-card,
  .fix-card,
  .download-card,
  .mc-btn,
  .chooser__opt,
  .tab-btn,
  .lightbox__close {
    transition: none;
  }
  .hero__bg img {
    animation: none;
    transform: none;
  }
  .btn--primary:hover,
  .btn--primary:active,
  .mc-btn:hover,
  .mc-btn:active,
  .chooser__opt:hover,
  .tab-btn:hover {
    transform: none;
  }
}
