:root {
  --bg: #070907;
  --panel: #0d120d;
  --panel-2: #111811;
  --green: #8cff00;
  --green-2: #4fc500;
  --white: #f3f5f0;
  --muted: #9ca69a;
  --border: rgba(140, 255, 0, .18);
  --shadow: 0 0 45px rgba(140, 255, 0, .09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: .08;
  background: repeating-linear-gradient(
    0deg, transparent 0 3px, #fff 3px 4px
  );
  mix-blend-mode: overlay;
}

.pixel-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image:
    linear-gradient(rgba(140,255,0,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,255,0,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.navbar {
  height: 78px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7,9,7,.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: 1px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand b { color: var(--green); }

.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 800; }
.nav-links a { color: #dbe1d8; transition: .2s; }
.nav-links a:hover { color: var(--green); }
.menu-toggle { display: none; background: none; border: 0; color: white; font-size: 26px; }

.hero {
  min-height: calc(100vh - 78px);
  max-width: 1400px;
  margin: auto;
  padding: 70px 6vw 80px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
  position: relative;
}

.hero-copy { position: relative; z-index: 2; }
.status, .eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
}
.status { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 24px; }
.status span {
  width: 8px; height: 8px; background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 1.5s infinite;
}
.hero h1 {
  font-size: clamp(52px, 7.5vw, 108px);
  line-height: .87;
  letter-spacing: -4px;
  font-weight: 1000;
  text-shadow: 5px 5px 0 #151a15;
}
.hero h1 span, h2 span, h2 em { color: var(--green); font-style: normal; }
.hero p {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 1000;
  font-size: 13px;
  letter-spacing: 1px;
  clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);
  transition: .2s ease;
}
.btn.primary { background: var(--green); color: #081006; box-shadow: 0 0 28px rgba(140,255,0,.18); }
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 0 35px rgba(140,255,0,.35); }
.btn.secondary { border: 1px solid #526050; background: rgba(255,255,255,.02); }
.btn.secondary:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); }

.quick-stats { display: flex; gap: 35px; margin-top: 48px; }
.quick-stats div { display: grid; gap: 3px; }
.quick-stats strong { font-size: 14px; }
.quick-stats span { color: #6f786e; font-size: 11px; text-transform: uppercase; }

.hero-logo { min-height: 500px; position: relative; display: grid; place-items: center; }
.hero-logo > img { width: min(100%, 600px); position: relative; z-index: 2; filter: drop-shadow(0 20px 45px rgba(0,0,0,.8)); animation: float 5s ease-in-out infinite; }
.logo-ring {
  width: 450px; height: 450px; border-radius: 50%;
  border: 1px solid rgba(140,255,0,.18);
  position: absolute;
  box-shadow: 0 0 100px rgba(140,255,0,.08), inset 0 0 70px rgba(140,255,0,.04);
}
.floating-block { position: absolute; width: 42px; height: 42px; background: var(--green); opacity: .7; box-shadow: 8px 8px 0 #1d4d00; }
.block-a { top: 12%; left: 8%; transform: rotate(12deg); }
.block-b { right: 7%; top: 27%; transform: rotate(38deg); }
.block-c { bottom: 10%; left: 17%; transform: rotate(52deg); }

.section { max-width: 1400px; margin: auto; padding: 100px 6vw; }
.section-heading { display: flex; gap: 25px; align-items: flex-start; margin-bottom: 45px; }
.section-heading > span { color: #475145; font-size: 18px; font-weight: 900; }
.section h2 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: .95;
  margin-top: 8px;
  letter-spacing: -2px;
}
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.feature-card {
  min-height: 250px;
  padding: 28px;
  background: linear-gradient(145deg, #111711, #090c09);
  border: 1px solid #1e291d;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .25s;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 100px; height: 100px;
  right: -55px; bottom: -55px;
  background: var(--green);
  opacity: .07;
  transform: rotate(45deg);
}
.feature-card:hover { border-color: var(--border); transform: translateY(-6px); }
.icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  color: #0b1008; background: var(--green);
  font-size: 23px; font-weight: 1000; margin-bottom: 35px;
}
.feature-card h3 { font-size: 17px; letter-spacing: 1px; margin-bottom: 12px; }
.feature-card p { color: var(--muted); line-height: 1.6; font-size: 14px; }

.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch;
}
.about-panel, .craft-panel, .download-box {
  background: var(--panel);
  border: 1px solid #1c261b;
  box-shadow: var(--shadow);
}
.about-panel { padding: 55px; }
.about-panel h2 { margin: 14px 0 28px; }
.about-panel > p:not(.eyebrow):not(.small-note) { color: var(--muted); line-height: 1.8; max-width: 650px; }
.small-note { color: #687267; font-size: 11px; line-height: 1.6; margin-top: 28px; }

.craft-panel {
  min-height: 390px; display: grid; place-items: center; position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(140,255,0,.04), rgba(140,255,0,.01)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 16px);
}
.grass-block {
  position: absolute; width: 220px; height: 220px; left: 12%; top: 17%;
  transform: rotate(-14deg) skewY(4deg);
  box-shadow: 25px 30px 0 rgba(0,0,0,.35);
}
.grass-top { height: 68px; background: repeating-linear-gradient(45deg, #72d900 0 18px, #8cff00 18px 36px); border: 5px solid #43a400; }
.dirt { height: 152px; background: repeating-linear-gradient(45deg, #6b3f1f 0 20px, #804b23 20px 40px); border: 5px solid #4d2d16; }
.craft-text { position: relative; z-index: 2; margin-left: 38%; text-shadow: 4px 4px 0 #050605; }
.craft-text span { display: block; color: var(--green); font-weight: 1000; letter-spacing: 5px; }
.craft-text strong { display: block; font-size: clamp(35px, 4vw, 58px); line-height: .9; }

.download { padding-top: 30px; }
.download-box {
  padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 35px;
  background: linear-gradient(100deg, #0d140d, #111b0e);
}
.download-box h2 { margin: 12px 0; }
.download-box p:not(.eyebrow) { color: var(--muted); line-height: 1.6; max-width: 650px; }
.download-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.large { min-height: 58px; padding: 0 32px; }

footer {
  border-top: 1px solid #1a2319; padding: 35px 6vw; max-width: 1400px; margin: auto;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 45px; height: 45px; object-fit: contain; }
.footer-brand div { display: grid; gap: 4px; }
.footer-brand span, footer > p { color: #687267; font-size: 11px; }
.footer-links { display: flex; gap: 22px; font-size: 12px; font-weight: 800; }
.footer-links a:hover { color: var(--green); }
footer > p { grid-column: 1 / -1; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(.5deg); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 55px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero p { max-width: 700px; }
  .hero-logo { min-height: 400px; }
  .hero-logo > img { width: min(92vw, 520px); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .download-box { flex-direction: column; align-items: flex-start; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 650px) {
  .navbar { padding: 0 20px; }
  .brand span { font-size: 14px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 78px;
    padding: 18px 20px; flex-direction: column; align-items: stretch;
    background: #090d09; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(47px, 14vw, 75px); letter-spacing: -3px; }
  .hero-logo { min-height: 320px; }
  .logo-ring { width: 280px; height: 280px; }
  .quick-stats { gap: 20px; }
  .section { padding: 75px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-panel { padding: 30px; }
  .craft-panel { min-height: 330px; }
  .grass-block { width: 150px; height: 150px; left: 7%; }
  .grass-top { height: 47px; }
  .dirt { height: 103px; }
  .craft-text { margin-left: 35%; }
  .download-box { padding: 30px; }
  footer { padding: 30px 20px; }
}
