/* =========================================================
   MECCHA CRAFT - MC Theme Stylesheet (real block textures)
   ========================================================= */

:root {
  --grass: #6fae4a;
  --grass-dark: #4e7a2b;
  --grass-light: #8fce5a;
  --dirt: #7a5230;
  --dirt-dark: #5a3a1e;
  --plank: #b8945f;
  --plank-dark: #8a6a42;
  --stone: #7b7b7b;
  --stone-dark: #555250;
  --coal: #141210;
  --ink: #0d0c0b;
  --cream: #fff8e7;
  --gold: #f9e75c;
  --lava: #ff7b00;
  --diamond: #60e8cf;

  --font-pixel: 'Press Start 2P', 'Courier New', monospace;
  --font-body: 'VT323', 'Courier New', monospace;

  --shadow-block: 4px 4px 0 rgba(0, 0, 0, 0.4);
  --transition: 0.25s steps(6) all;

  /* ---- real Minecraft block textures (32px SVG tiles) ---- */
  --tex-dirt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%237a5230'/%3E%3Crect x='2' y='3' width='5' height='3' fill='%236b4521'/%3E%3Crect x='13' y='1' width='4' height='4' fill='%238a5f38'/%3E%3Crect x='24' y='3' width='4' height='3' fill='%236b4521'/%3E%3Crect x='7' y='9' width='4' height='3' fill='%238a5f38'/%3E%3Crect x='17' y='8' width='6' height='3' fill='%23613d1c'/%3E%3Crect x='28' y='10' width='3' height='4' fill='%238f6a3f'/%3E%3Crect x='1' y='17' width='4' height='3' fill='%23613d1c'/%3E%3Crect x='10' y='16' width='5' height='4' fill='%238a5f38'/%3E%3Crect x='21' y='18' width='4' height='3' fill='%236b4521'/%3E%3Crect x='28' y='22' width='3' height='4' fill='%23613d1c'/%3E%3Crect x='5' y='24' width='4' height='3' fill='%238f6a3f'/%3E%3Crect x='15' y='26' width='5' height='3' fill='%236b4521'/%3E%3Crect x='24' y='27' width='4' height='3' fill='%238a5f38'/%3E%3Crect x='3' y='31' width='6' height='2' fill='%23613d1c'/%3E%3Crect x='17' y='31' width='4' height='2' fill='%238a5f38'/%3E%3C/svg%3E");
  --tex-grass-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%2369a946'/%3E%3Crect x='2' y='3' width='4' height='3' fill='%23518234'/%3E%3Crect x='14' y='1' width='5' height='3' fill='%237ec459'/%3E%3Crect x='25' y='4' width='4' height='3' fill='%23518234'/%3E%3Crect x='6' y='10' width='4' height='3' fill='%2381ce5c'/%3E%3Crect x='18' y='9' width='5' height='3' fill='%234e7f30'/%3E%3Crect x='28' y='11' width='3' height='3' fill='%237ec459'/%3E%3Crect x='1' y='18' width='3' height='4' fill='%23518234'/%3E%3Crect x='9' y='16' width='4' height='3' fill='%237ec459'/%3E%3Crect x='20' y='19' width='4' height='3' fill='%234e7f30'/%3E%3Crect x='4' y='26' width='4' height='3' fill='%2381ce5c'/%3E%3Crect x='14' y='28' width='4' height='2' fill='%237ec459'/%3E%3Crect x='24' y='27' width='5' height='3' fill='%23518234'/%3E%3Crect x='28' y='31' width='3' height='2' fill='%234e7f30'/%3E%3C/svg%3E");
  --tex-grass-side: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%237a5230'/%3E%3Crect x='2' y='12' width='5' height='3' fill='%236b4521'/%3E%3Crect x='15' y='13' width='4' height='3' fill='%238a5f38'/%3E%3Crect x='26' y='12' width='4' height='3' fill='%23613d1c'/%3E%3Crect x='6' y='19' width='4' height='3' fill='%238a5f38'/%3E%3Crect x='19' y='18' width='6' height='3' fill='%236b4521'/%3E%3Crect x='28' y='21' width='3' height='3' fill='%238f6a3f'/%3E%3Crect x='2' y='26' width='4' height='3' fill='%23613d1c'/%3E%3Crect x='11' y='27' width='5' height='3' fill='%238a5f38'/%3E%3Crect x='22' y='26' width='4' height='3' fill='%236b4521'/%3E%3Crect x='28' y='29' width='3' height='2' fill='%23613d1c'/%3E%3Crect x='0' y='0' width='32' height='6' fill='%2369a946'/%3E%3Crect x='0' y='6' width='32' height='3' fill='%233f6a23'/%3E%3Crect x='7' y='9' width='2' height='3' fill='%23578f38'/%3E%3Crect x='16' y='9' width='2' height='4' fill='%23578f38'/%3E%3Crect x='25' y='9' width='2' height='3' fill='%23578f38'/%3E%3C/svg%3E");
  --tex-stone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%237b7b7b'/%3E%3Crect x='3' y='2' width='5' height='4' fill='%238c8c8c'/%3E%3Crect x='14' y='1' width='4' height='3' fill='%236a6a6a'/%3E%3Crect x='24' y='3' width='5' height='3' fill='%238c8c8c'/%3E%3Crect x='2' y='10' width='4' height='4' fill='%236a6a6a'/%3E%3Crect x='10' y='9' width='6' height='3' fill='%238f8f8f'/%3E%3Crect x='21' y='12' width='4' height='3' fill='%236a6a6a'/%3E%3Crect x='28' y='9' width='3' height='4' fill='%238c8c8c'/%3E%3Crect x='5' y='18' width='5' height='3' fill='%238f8f8f'/%3E%3Crect x='16' y='17' width='4' height='4' fill='%236a6a6a'/%3E%3Crect x='26' y='19' width='4' height='3' fill='%238c8c8c'/%3E%3Crect x='1' y='25' width='4' height='4' fill='%236a6a6a'/%3E%3Crect x='11' y='26' width='5' height='3' fill='%238f8f8f'/%3E%3Crect x='22' y='25' width='4' height='4' fill='%236a6a6a'/%3E%3C/svg%3E");
  --tex-cobble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%233a3a3a'/%3E%3Crect x='1' y='1' width='12' height='13' rx='2' fill='%237f7f7f'/%3E%3Crect x='3' y='3' width='8' height='9' rx='1' fill='%23908f8f'/%3E%3Crect x='16' y='1' width='15' height='11' rx='2' fill='%236f6f6f'/%3E%3Crect x='19' y='3' width='10' height='7' rx='1' fill='%237d7d7d'/%3E%3Crect x='15' y='14' width='5' height='5' rx='1' fill='%23737373'/%3E%3Crect x='1' y='17' width='10' height='14' rx='2' fill='%23797979'/%3E%3Crect x='3' y='19' width='6' height='10' rx='1' fill='%23898989'/%3E%3Crect x='14' y='14' width='17' height='16' rx='2' fill='%23878787'/%3E%3Crect x='16' y='16' width='13' height='12' rx='1' fill='%23949494'/%3E%3Crect x='22' y='24' width='5' height='5' fill='%238a8a8a'/%3E%3C/svg%3E");
  --tex-planks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%23b8945f'/%3E%3Crect x='0' y='8' width='32' height='2' fill='%239a7550'/%3E%3Crect x='0' y='16' width='32' height='2' fill='%239a7550'/%3E%3Crect x='0' y='24' width='32' height='2' fill='%239a7550'/%3E%3Crect x='4' y='3' width='16' height='2' fill='%23a98455'/%3E%3Crect x='6' y='12' width='12' height='2' fill='%23a98455'/%3E%3Crect x='3' y='20' width='14' height='2' fill='%23a98455'/%3E%3Crect x='8' y='2' width='2' height='6' fill='%23a98455'/%3E%3Crect x='20' y='10' width='2' height='5' fill='%23a98455'/%3E%3Crect x='14' y='18' width='2' height='5' fill='%23a98455'/%3E%3C/svg%3E");
  --tex-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%23f9e75c'/%3E%3Crect x='0' y='0' width='32' height='2' fill='%23f5ec8b'/%3E%3Crect x='0' y='2' width='2' height='30' fill='%23f5ec8b'/%3E%3Crect x='30' y='0' width='2' height='32' fill='%23cd9e00'/%3E%3Crect x='0' y='30' width='32' height='2' fill='%23cd9e00'/%3E%3Crect x='7' y='7' width='4' height='4' fill='%23eec40a'/%3E%3Crect x='20' y='13' width='5' height='5' fill='%23eec40a'/%3E%3Crect x='10' y='22' width='4' height='4' fill='%23eec40a'/%3E%3Crect x='24' y='25' width='4' height='3' fill='%23eec40a'/%3E%3C/svg%3E");
  --tex-diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%2360e8cf'/%3E%3Crect x='0' y='0' width='32' height='2' fill='%23a1f5e7'/%3E%3Crect x='0' y='2' width='2' height='30' fill='%23a1f5e7'/%3E%3Crect x='30' y='0' width='2' height='32' fill='%23179e86'/%3E%3Crect x='0' y='30' width='32' height='2' fill='%23179e86'/%3E%3Crect x='7' y='7' width='4' height='4' fill='%2330c4aa'/%3E%3Crect x='20' y='13' width='5' height='5' fill='%2330c4aa'/%3E%3Crect x='10' y='22' width='4' height='4' fill='%2330c4aa'/%3E%3C/svg%3E");
  --tex-nether: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%23aa4030'/%3E%3Crect x='2' y='4' width='4' height='3' fill='%23822f22'/%3E%3Crect x='10' y='2' width='5' height='3' fill='%23c45843'/%3E%3Crect x='22' y='3' width='4' height='4' fill='%23822f22'/%3E%3Crect x='8' y='10' width='4' height='3' fill='%23c45843'/%3E%3Crect x='18' y='9' width='5' height='3' fill='%23822f22'/%3E%3Crect x='27' y='12' width='4' height='3' fill='%23c45843'/%3E%3Crect x='3' y='17' width='4' height='3' fill='%23822f22'/%3E%3Crect x='13' y='18' width='5' height='4' fill='%23c45843'/%3E%3Crect x='24' y='19' width='4' height='3' fill='%23c45843'/%3E%3Crect x='6' y='26' width='5' height='3' fill='%23c45843'/%3E%3Crect x='17' y='27' width='4' height='3' fill='%23822f22'/%3E%3Crect x='27' y='25' width='4' height='4' fill='%23c45843'/%3E%3C/svg%3E");
  --tex-bedrock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%234b4845'/%3E%3Crect x='3' y='3' width='8' height='6' fill='%23161616'/%3E%3Crect x='16' y='1' width='9' height='5' fill='%231d1d1d'/%3E%3Crect x='26' y='6' width='5' height='5' fill='%23605c58'/%3E%3Crect x='1' y='14' width='5' height='4' fill='%23252525'/%3E%3Crect x='12' y='12' width='10' height='6' fill='%23605c58'/%3E%3Crect x='24' y='15' width='6' height='5' fill='%231d1d1d'/%3E%3Crect x='4' y='22' width='7' height='5' fill='%23252525'/%3E%3Crect x='15' y='24' width='9' height='5' fill='%23605c58'/%3E%3Crect x='27' y='24' width='4' height='6' fill='%23161616'/%3E%3Crect x='8' y='30' width='9' height='2' fill='%23524e4b'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 1.55;
  color: var(--cream);
  background-color: var(--ink);
  overflow-x: hidden;
  cursor: default;
}

img { display: block; max-width: 100%; }

a { color: var(--gold); text-decoration: none; }

html, body, a, button, input {
  cursor: url("../images/cursor.png") 4 4, auto;
}

.container { width: min(1100px, 92%); margin: 0 auto; }

::selection { background: var(--grass); color: var(--ink); }

/* ------- scrollbar ------- */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #1a1714; }
::-webkit-scrollbar-thumb { background: var(--stone); border: 3px solid #1a1714; }
::-webkit-scrollbar-thumb:hover { background: var(--grass-dark); }

/* =========================================================
   PARTICLES (falling pixel squares)
   ========================================================= */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  top: -20px;
  image-rendering: pixelated;
  animation: particle-fall linear both infinite;
  opacity: 0.85;
}
@keyframes particle-fall {
  0%   { transform: translateY(-4vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.85; }
  100% { transform: translateY(108vh) rotate(360deg); opacity: 0; }
}

/* =========================================================
   NAVBAR (cobblestone wall)
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background-image:
    linear-gradient(180deg, rgba(10,10,9,0.82), rgba(10,10,9,0.88)),
    var(--tex-cobble);
  background-size: 100% 100%, 64px 64px;
  border-bottom: 4px solid var(--grass-dark);
  box-shadow: 0 2px 0 rgba(0,0,0,0.4);
  transition: background 0.3s steps(6);
}
.navbar.scrolled { background-image: linear-gradient(180deg, rgba(8,8,7,0.96), rgba(8,8,7,0.96)), var(--tex-cobble); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-pixel);
  font-size: 15px;
  color: var(--cream);
}
.brand-text { letter-spacing: 1px; text-shadow: 3px 3px 0 rgba(0,0,0,0.5); }
.brand-craft { color: var(--grass-light); text-shadow: 3px 3px 0 var(--grass-dark); }
.brand-block {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--ink);
  border: 3px solid #000;
  background-image: var(--tex-grass-top);
  background-size: 34px 34px;
  box-shadow: var(--shadow-block), inset 2px 2px 0 rgba(255,255,255,0.25), inset -2px -2px 0 rgba(0,0,0,0.4);
  animation: brand-bounce 2.4s steps(2) infinite;
}
.brand-block.grass { background-image: var(--tex-grass-top); }
@keyframes brand-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--cream);
  padding: 8px 0;
  position: relative;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 3px;
  background: var(--grass-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .nav-download {
  background: linear-gradient(180deg, #55b05d, #2e7d3a);
  color: #0c0c0c;
  padding: 9px 16px;
  border: 2px solid #1d5a28;
  box-shadow: var(--shadow-block), inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -4px 0 rgba(0,0,0,0.3);
  font-size: 11px;
}
.nav-links .nav-download:hover { background: linear-gradient(180deg, #5fc268, #37a146); }
.nav-links .nav-download::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 4px;
  background: var(--cream);
  display: block;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.6);
}

/* =========================================================
   HERO (sky + grass horizon + dirt -> cave)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 0 80px;
  overflow: hidden;
  z-index: 1;
  background-color: var(--dirt);
  background-image:
    linear-gradient(180deg, rgba(13,12,11,0) 55%, rgba(13,12,11,0.55) 82%, var(--ink) 100%),
    linear-gradient(180deg, #63b1ef 0%, #9ad0f0 22%, #b9dff2 34%, rgba(148,197,240,0) 48%),
    var(--tex-dirt);
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: 100% 100%, 100% 100%, 64px 64px;
}
/* pixel sun */
.hero::before {
  content: '';
  position: absolute;
  top: 9vh; right: 12%;
  width: 62px; height: 62px;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Crect width='16' height='16' fill='%23ffec6e'/%3E%3Crect x='2' y='2' width='2' height='2' fill='%23fff6b8'/%3E%3Crect x='10' y='10' width='2' height='2' fill='%23f2c030'/%3E%3Crect x='10' y='3' width='2' height='2' fill='%23f2c030'/%3E%3Crect x='3' y='11' width='2' height='2' fill='%23f2c030'/%3E%3Crect x='6' y='12' width='2' height='2' fill='%23f2c030'/%3E%3Crect x='12' y='6' width='2' height='2' fill='%23f2c030'/%3E%3C/svg%3E");
  background-size: 62px 62px;
  box-shadow: 0 0 26px 6px rgba(255, 214, 79, 0.6), 0 0 60px 26px rgba(255, 190, 60, 0.28);
  image-rendering: pixelated;
  animation: sun-glow 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sun-glow {
  0%, 100% { box-shadow: 0 0 20px 4px rgba(255, 214, 79, 0.5), 0 0 50px 20px rgba(255, 190, 60, 0.22); }
  50%      { box-shadow: 0 0 32px 8px rgba(255, 214, 79, 0.7), 0 0 70px 30px rgba(255, 190, 60, 0.34); }
}
/* drifting pixel clouds */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  z-index: 0;
  opacity: 0.9;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22'%3E%3Crect x='2' y='12' width='60' height='8' fill='%23ffffff'/%3E%3Crect x='8' y='6' width='40' height='8' fill='%23f6fbfe'/%3E%3Crect x='30' y='2' width='22' height='6' fill='%23ffffff'/%3E%3Crect x='66' y='14' width='46' height='7' fill='%23ffffff'/%3E%3Crect x='70' y='9' width='32' height='7' fill='%23f6fbfe'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: auto 60px;
  animation: cloud-drift 60s linear infinite alternate;
  pointer-events: none;
}
@keyframes cloud-drift {
  from { transform: translateX(-4%); }
  to   { transform: translateX(4%); }
}
.blocks-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.float-block {
  position: absolute;
  width: 46px; height: 46px;
  border: 3px solid rgba(0,0,0,0.6);
  background-size: 46px 46px;
  image-rendering: pixelated;
  animation: floaty linear infinite;
  opacity: 0.92;
}
.fb-dirt   { background-image: var(--tex-dirt); }
.fb-grass  { background-image: var(--tex-grass-side); border-top-width: 6px; }
.fb-stone  { background-image: var(--tex-stone); }
.fb-plank  { background-image: var(--tex-planks); }
.fb-gold   { background-image: var(--tex-gold); box-shadow: 0 0 16px rgba(249, 231, 92, 0.55); }
.fb-diamond{ background-image: var(--tex-diamond); box-shadow: 0 0 16px rgba(96, 232, 207, 0.55); }

@keyframes floaty {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%  { transform: translate3d(0, -34px, 0) rotate(90deg); }
  50%  { transform: translate3d(34px, -60px, 0) rotate(180deg); }
  75%  { transform: translate3d(0, -34px, 0) rotate(270deg); }
  100% { transform: translate3d(0, 0, 0) rotate(360deg); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.hero-tag {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--gold);
  background: rgba(0,0,0,0.5);
  border: 2px solid var(--gold);
  padding: 8px 14px;
  display: inline-block;
  box-shadow: var(--shadow-block);
  animation: tag-pulse 2.2s ease-in-out infinite;
}
@keyframes tag-pulse {
  0%, 100% { box-shadow: 4px 4px 0 rgba(0,0,0,0.4), 0 0 0 0 rgba(255, 215, 95, 0.5); }
  50% { box-shadow: 4px 4px 0 rgba(0,0,0,0.4), 0 0 22px 4px rgba(255, 215, 95, 0.35); }
}
.hero-title {
  font-family: var(--font-pixel);
  font-size: clamp(38px, 8vw, 84px);
  line-height: 1.1;
  color: #ece9df;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-shadow:
    0 2px 0 #8a8478, 0 4px 0 #6f6b61,
    0 6px 0 #554f42, 0 8px 0 #3a3529,
    0 10px 10px rgba(0,0,0,0.6);
}
.hero-title .word {
  display: inline-block;
  animation: letter-pop 1.6s ease-out both;
}
.hero-title .craft {
  color: var(--grass-light);
  -webkit-text-stroke: 2px var(--grass-dark);
  text-shadow:
    0 2px 0 #4d8333, 0 4px 0 #3c6826,
    0 6px 0 #2c4d1d, 0 8px 0 #1d3522,
    0 10px 10px rgba(0,0,0,0.6);
  animation-delay: 0.2s;
}
@keyframes letter-pop {
  0% { opacity: 0; transform: translateY(30px) scale(0.4) rotate(-6deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
.hero-title:hover .word { animation: letter-pop 0.5s steps(6) both, wobble 0.5s steps(3) infinite; }
@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  33% { transform: rotate(2deg); }
  66% { transform: rotate(-2deg); }
}
.hero-sub {
  max-width: 620px;
  font-size: 27px;
  color: var(--cream);
  opacity: 0.96;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.55);
}
.glitch {
  color: var(--gold);
  position: relative;
}
.glitch::after {
  content: 'altüst';
  position: absolute;
  inset: 0;
  color: var(--lava);
  clip-path: inset(0);
  transform: translateX(-3px);
  animation: glitch-shift 2.4s steps(3) infinite;
}
@keyframes glitch-shift {
  0%, 87%, 100% { transform: translate(0,0); opacity: 0; }
  88% { transform: translate(-4px, 2px); opacity: 0.9; }
  92% { transform: translate(4px, -2px); opacity: 0.9; }
  96% { transform: translate(-3px, 1px); opacity: 0.9; }
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* ---- hero downloads badge ---- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.75)),
    var(--tex-gold);
  background-size: 100% 100%, 60px 60px;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-block);
  padding: 10px 18px;
  margin-top: 4px;
  animation: tag-pulse 2.2s ease-in-out infinite;
}
.hero-badge-icon {
  font-size: 22px;
  color: var(--lava);
  animation: heart-beat 1s ease-in-out infinite;
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.35); }
}
.hero-badge-num {
  font-family: var(--font-pixel);
  font-size: 20px;
  color: var(--gold);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
.hero-badge-label {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--cream);
  text-align: left;
  line-height: 1.5;
  opacity: 0.95;
}

/* ---- buttons (Minecraft stone-button style) ---- */
.btn {
  font-family: var(--font-pixel);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  color: #0c0c0c;
  cursor: pointer;
  border: 2px solid #000;
  background: linear-gradient(180deg, #9a9a9a, #6d6d6d);
  box-shadow: var(--shadow-block), inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -5px 0 rgba(0,0,0,0.35);
  transition: var(--transition);
  position: relative;
  text-align: center;
  line-height: 1.3;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(0,0,0,0.4), inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -3px 0 rgba(0,0,0,0.35); }
.btn:active { transform: translate(4px, 4px); box-shadow: inset 0 2px 0 rgba(0,0,0,0.3); }
.btn-download {
  background-image:
    linear-gradient(180deg, #57b25f, #2f803c),
    var(--tex-grass-top);
  box-shadow: var(--shadow-block), inset 0 2px 0 rgba(255,255,255,0.4), inset 0 -6px 0 rgba(0,0,0,0.3);
}
.btn-download::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(0,0,0,0.3);
  pointer-events: none;
}
.btn-download:hover {
  background-image:
    linear-gradient(180deg, #5fc268, #37a146),
    var(--tex-grass-top);
  animation: glow-pulse 0.8s steps(4) infinite;
}
.btn-download small {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  opacity: 0.85;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--shadow-block), inset 0 2px 0 rgba(255,255,255,0.4), inset 0 -6px 0 rgba(0,0,0,0.3), 0 0 8px rgba(63,164,66,0.6); }
  50% { box-shadow: var(--shadow-block), inset 0 2px 0 rgba(255,255,255,0.4), inset 0 -6px 0 rgba(0,0,0,0.3), 0 0 24px rgba(93,223,100,0.8); }
}
.btn-ghost {
  background: linear-gradient(180deg, rgba(30,30,30,0.7), rgba(15,15,15,0.8));
  color: var(--cream);
  border-color: var(--cream);
  box-shadow: var(--shadow-block), inset 0 2px 0 rgba(255,255,255,0.2);
}
.btn-ghost:hover { background: linear-gradient(180deg, var(--grass), var(--grass-dark)); color: #0c0c0c; border-color: #000; }
.btn-big { padding: 22px 34px; font-size: 16px; }

/* ---- hero stats ---- */
.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.stat {
  background-image:
    linear-gradient(180deg, rgba(30,28,26,0.9), rgba(15,14,13,0.92)),
    var(--tex-stone);
  background-size: 100% 100%, 46px 46px;
  border: 3px solid #000;
  box-shadow: var(--shadow-block), inset 2px 2px 0 rgba(255,255,255,0.15), inset -2px -2px 0 rgba(0,0,0,0.5);
  padding: 12px 18px;
  min-width: 120px;
}
.stat-num {
  display: block;
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--gold);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
}
.stat-label { font-size: 17px; opacity: 0.85; }

/* ---- community stats strip (grass field) ---- */
.stats-strip {
  position: relative;
  z-index: 1;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.32)),
    var(--tex-grass-top);
  background-size: 100% 100%, 64px 64px;
  border-top: 5px solid var(--grass-dark);
  border-bottom: 5px solid var(--grass-dark);
  box-shadow: 0 14px 0 rgba(0,0,0,0.35);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 40px 0;
}
.stat-box {
  background-image:
    linear-gradient(180deg, rgba(24,22,20,0.92), rgba(12,11,10,0.95)),
    var(--tex-dirt);
  background-size: 100% 100%, 48px 48px;
  border: 3px solid #000;
  box-shadow: var(--shadow-block), inset 2px 2px 0 rgba(255,255,255,0.12), inset -2px -2px 0 rgba(0,0,0,0.5);
  text-align: center;
  padding: 22px 12px;
}
.stat-box:hover { transform: translateY(-4px); }
.stat-box-num {
  display: block;
  font-family: var(--font-pixel);
  font-size: clamp(16px, 3.4vw, 26px);
  color: var(--gold);
  text-shadow: 2px 2px 0 var(--lava);
  margin-bottom: 8px;
}
.stat-box-label {
  display: block;
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--cream);
  opacity: 0.92;
  letter-spacing: 1px;
}

/* ---- scroll hint ---- */
.scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-mouse {
  width: 26px; height: 42px;
  border: 3px solid var(--cream);
  border-radius: 12px;
  display: block;
  position: relative;
  opacity: 0.8;
  background: rgba(0,0,0,0.25);
}
.scroll-wheel {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 1; top: 7px; }
  60% { opacity: 0.4; }
  100% { opacity: 0; top: 24px; }
}

/* =========================================================
   SECTIONS / GENERIC
   ========================================================= */
.features, .gallery, .download {
  position: relative;
  z-index: 1;
  padding: 90px 0;
}
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 {
  font-family: var(--font-pixel);
  font-size: clamp(20px, 4vw, 30px);
  color: var(--cream);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.6);
}
.section-head h2::before {
  content: '\25A0';
  color: var(--grass-light);
  margin-right: 10px;
}
.section-head h2::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8px;
  background-image: var(--tex-grass-side);
  background-size: 48px 48px;
  border-bottom: 2px solid var(--grass-dark);
}
.section-head p { margin-top: 16px; font-size: 24px; opacity: 0.88; }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.6s steps(8), transform 0.6s steps(8);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-dir="left"] { transform: translateX(-46px); }
.reveal[data-dir="left"].in { transform: translateX(0); }
.reveal[data-dir="right"] { transform: translateX(46px); }
.reveal[data-dir="right"].in { transform: translateX(0); }

/* =========================================================
   FEATURES (dim cobblestone walls)
   ========================================================= */
.features {
  background-image:
    linear-gradient(180deg, rgba(13,12,11,0.92), rgba(13,12,11,0.96)),
    var(--tex-cobble);
  background-size: 100% 100%, 110px 110px;
}
.features::before {
  content: '';
  display: block;
  width: 100%;
  height: 26px;
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.18) 0 30px, rgba(0,0,0,0.28) 30px 60px),
    var(--tex-stone);
  background-size: 100% 100%, 60px 60px;
  border-top: 4px solid var(--stone-dark);
  border-bottom: 2px solid rgba(0,0,0,0.6);
  margin-bottom: 60px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background-image:
    linear-gradient(180deg, rgba(16,15,13,0.96), rgba(10,9,8,0.98)),
    var(--tex-dirt);
  background-size: 100% 100%, 56px 56px;
  border: 4px solid #000;
  box-shadow: var(--shadow-block), inset 2px 2px 0 rgba(255,255,255,0.12), inset -2px -2px 0 rgba(0,0,0,0.6);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature-card:hover { transform: translateY(-8px); }
.feature-card::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 3px solid var(--grass-dark);
  pointer-events: none;
  z-index: 2;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8px;
  background-image: var(--tex-grass-side);
  background-size: 48px 48px;
  z-index: 2;
}
.feature-img { position: relative; overflow: hidden; }
.feature-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.7));
}
.feature-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  image-rendering: auto;
  transition: transform 0.3s steps(8);
}
.feature-card:hover .feature-img img { transform: scale(1.06); }
.feature-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-pixel);
  font-size: 15px;
  color: #000;
  background-image: var(--tex-gold);
  background-size: 40px 40px;
  border: 3px solid #000;
  box-shadow: var(--shadow-block), inset 2px 2px 0 rgba(255,255,255,0.4), inset -2px -2px 0 rgba(0,0,0,0.35);
}
.feature-body { padding: 20px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.feature-body h3 { font-family: var(--font-pixel); font-size: 14px; color: var(--grass-light); text-shadow: 2px 2px 0 var(--grass-dark); }
.feature-body p { font-size: 21px; opacity: 0.92; }
.feature-list { list-style: none; margin-top: auto; padding-top: 8px; }
.feature-list li {
  position: relative;
  padding-left: 26px;
  font-size: 20px;
  border-top: 2px dashed rgba(255,255,255,0.16);
  padding-top: 6px;
  padding-bottom: 6px;
}
.feature-list li::before {
  content: '\25AA';
  position: absolute;
  left: 4px;
  color: var(--gold);
}

/* =========================================================
   GALLERY (stone cave)
   ========================================================= */
.gallery {
  background-image:
    linear-gradient(180deg, rgba(13,12,11,0.94), rgba(10,10,10,0.97)),
    var(--tex-stone);
  background-size: 100% 100%, 100px 100px;
  position: relative;
  overflow: hidden;
}
.gallery::before, .gallery::after {
  content: '';
  position: absolute;
  width: 90px; height: 90px;
  background-image: var(--tex-diamond);
  background-size: 90px 90px;
  border: 3px solid #000;
  opacity: 0.7;
}
.gallery::before { top: -20px; left: -20px; animation: floaty 9s linear infinite; }
.gallery::after { bottom: -20px; right: -20px; animation: floaty 7s linear infinite reverse; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 6px solid var(--plank-dark);
  outline: 2px solid #000;
  box-shadow: var(--shadow-block);
  display: block;
  cursor: pointer;
}
.gallery-item::before {
  content: '';
  position: absolute;
  inset: -12px;
  background-image: var(--tex-planks);
  background-size: 48px 48px;
  z-index: -1;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
  border: 4px solid var(--plank);
  transition: transform 0.3s steps(8), filter 0.3s;
}
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.2) contrast(1.05); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--cream);
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.7);
}

/* ---- lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  animation: lb-in 0.25s steps(6) both;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border: 6px solid var(--plank);
  box-shadow: var(--shadow-block), 0 0 80px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-pixel);
  font-size: 22px;
  width: 48px; height: 48px;
  background: var(--lava);
  color: var(--ink);
  border: 3px solid #000;
  cursor: pointer;
  box-shadow: var(--shadow-block), inset 0 2px 0 rgba(255,255,255,0.3);
}
.lightbox-close:hover { background: var(--gold); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- download modal (gold block) ---- */
.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dl-modal.open { display: flex; }
.dl-modal-box {
  width: min(460px, 100%);
  background-image:
    linear-gradient(180deg, rgba(24,22,19,0.97), rgba(14,13,11,0.98)),
    var(--tex-gold);
  background-size: 100% 100%, 64px 64px;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5), 0 0 40px rgba(249, 231, 92, 0.2);
  padding: 34px 30px;
  position: relative;
  text-align: center;
  animation: modal-pop 0.3s steps(6) both;
}
@keyframes modal-pop {
  0%   { opacity: 0; transform: scale(0.6) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.dl-modal-title {
  font-family: var(--font-pixel);
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
}
.dl-progress {
  background: #0a0908;
  border: 3px solid #000;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08);
  height: 36px;
  padding: 5px;
}
.dl-progress-bar {
  height: 100%;
  width: 0%;
  background-image:
    repeating-linear-gradient(45deg, var(--tex-gold) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, #57b25f, #2f803c);
  background-size: 28px 28px, 100% 100%;
  animation: dl-stripes 0.5s linear infinite;
  transition: width 0.1s linear;
}
@keyframes dl-stripes { to { background-position: 28px 0, 0 0; } }
.dl-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
}
.dl-progress-label {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--grass-light);
}
.dl-progress-msg {
  font-size: 20px;
  opacity: 0.85;
  text-align: right;
}
.dl-info {
  display: none;
  margin-top: 24px;
  text-align: left;
  border-top: 3px dashed rgba(255,255,255,0.18);
  padding-top: 18px;
}
.dl-info.show { display: block; animation: lb-in 0.3s steps(6) both; }
.dl-info-title {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.dl-info ul { list-style: none; }
.dl-info li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 20px;
  border-bottom: 2px dashed rgba(255,255,255,0.12);
  padding: 5px 0;
}
.dl-info li span { opacity: 0.7; }
.dl-info li strong {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--grass-light);
  text-align: right;
}
.dl-info-note {
  margin-top: 14px;
  font-size: 19px;
  text-align: center;
  opacity: 0.85;
}
.dl-info-note code {
  font-family: var(--font-pixel);
  font-size: 8px;
  background: #0a0908;
  color: var(--gold);
  padding: 4px 7px;
  border: 2px solid var(--grass-dark);
}
.dl-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--font-pixel);
  font-size: 18px;
  width: 40px; height: 40px;
  background: var(--lava);
  color: var(--ink);
  border: 3px solid #000;
  cursor: pointer;
  box-shadow: var(--shadow-block);
}
.dl-modal-close:hover { background: var(--gold); }

/* =========================================================
   DOWNLOAD (crafting table card)
   ========================================================= */
.download {
  background-image:
    linear-gradient(180deg, rgba(10,9,8,0.96), rgba(6,6,5,0.98)),
    var(--tex-bedrock);
  background-size: 100% 100%, 76px 76px;
}
.download-inner { display: flex; flex-direction: column; align-items: center; }
.dl-card {
  width: min(680px, 100%);
  background-image:
    linear-gradient(180deg, rgba(16,15,13,0.97), rgba(11,10,9,0.98)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 42px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 42px),
    var(--tex-planks);
  background-size: 100% 100%, 42px 42px, 42px 42px, 60px 60px;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.45), inset 2px 2px 0 rgba(255,255,255,0.12), inset -2px -2px 0 rgba(0,0,0,0.55);
  padding: 40px 36px;
  text-align: center;
  position: relative;
}
.dl-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 3px dashed var(--plank-dark);
  pointer-events: none;
}
.dl-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 10px;
  background-image: var(--tex-grass-side);
  background-size: 48px 48px;
  pointer-events: none;
}
.dl-meta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.dl-chip {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 7px 12px;
  background: rgba(0,0,0,0.5);
}
.dl-name { font-family: var(--font-pixel); font-size: 17px; color: var(--cream); margin-bottom: 6px; text-shadow: 3px 3px 0 rgba(0,0,0,0.6); }
.dl-file {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--grass-light);
  margin-bottom: 24px;
  background: rgba(0,0,0,0.55);
  padding: 10px;
  border: 2px solid var(--grass-dark);
}
.dl-requirements {
  margin-top: 30px;
  text-align: left;
  border-top: 3px dashed rgba(255,255,255,0.18);
  padding-top: 22px;
}
.dl-requirements h4 {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 12px;
}
.dl-requirements ul { list-style: none; }
.dl-requirements li {
  position: relative;
  padding-left: 30px;
  font-size: 21px;
  opacity: 0.92;
  margin-bottom: 6px;
}
.dl-requirements li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--grass-light);
  font-weight: bold;
}
.dl-note { margin-top: 22px; font-size: 20px; opacity: 0.8; }
.dl-note code {
  font-family: var(--font-pixel);
  font-size: 9px;
  background: #0a0908;
  color: var(--gold);
  padding: 5px 8px;
  border: 2px solid var(--grass-dark);
}

/* =========================================================
   FOOTER (underground - dirt & bedrock)
   ========================================================= */
.footer {
  z-index: 1;
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(16,14,12,0.96), rgba(8,8,7,0.99)),
    var(--tex-dirt);
  background-size: 100% 100%, 72px 72px;
  border-top: 4px solid var(--stone-dark);
  padding: 40px 0 60px;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 22px;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0) 60%),
    var(--tex-bedrock);
  background-size: 100% 100%, 48px 48px;
  opacity: 0.85;
}
.footer-inner { text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-pixel); font-size: 13px; color: var(--grass-light); text-shadow: 2px 2px 0 var(--grass-dark); }
.footer-disclaimer { max-width: 640px; font-size: 18px; opacity: 0.75; }
.footer-copy { font-size: 20px; opacity: 0.85; color: var(--gold); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .feature-grid, .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    background-image:
      linear-gradient(180deg, rgba(10,10,9,0.98), rgba(10,10,9,0.98)),
      var(--tex-cobble);
    background-size: 100% 100%, 64px 64px;
    padding: 24px;
    gap: 18px;
    transform: translateY(-120%);
    transition: transform 0.3s steps(6);
    border-bottom: 4px solid var(--grass-dark);
  }
  .nav-links.open { transform: translateY(0); }
  .hero { padding-top: 110px; }
  .hero-stats { gap: 10px; }
  .stat { min-width: 100px; padding: 10px 12px; }
  .dl-card { padding: 30px 20px; }
}

/* =========================================================
   MOUSE PAINT TRAIL (smooth brush line)
   ========================================================= */
#paintCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}