:root {
  --sky: #90d7ff;
  --sky-deep: #63aee8;
  --grass: #76ca5d;
  --grass-deep: #4f7d2b;
  --stone: #b7c1cc;
  --stone-deep: #697688;
  --dirt: #a36b41;
  --dirt-deep: #6b4022;
  --panel: #243617;
  --panel-2: #355022;
  --panel-3: #171f0e;
  --text: #f7f4dd;
  --muted: #dce8b0;
  --shadow: 0 22px 52px rgba(2, 10, 2, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 26px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 16%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 20%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 24%, #7bc758 24%, #426f23 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(0, 0, 0, 0.03) 24px 25px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(0, 0, 0, 0.03) 24px 25px);
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.shell {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 4px solid #6f9448;
  border-radius: 16px;
  box-shadow: 0 0 0 6px #24420f, 0 0 0 12px #6b8843, var(--shadow);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #253413, #141d0d);
}

.shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 4px solid #36531e;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 40%),
    repeating-linear-gradient(90deg, #6ea13e 0 16%, #5d8d34 16% 32%, #6ea03b 32% 48%, #57832f 48% 64%, #6da241 64% 80%, #5d8d34 80% 100%),
    #4b7328;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid #274110;
  background: linear-gradient(180deg, #82dc73, #4c7d2f);
  color: #fbffe7;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.34), inset 0 2px 0 rgba(255, 255, 255, 0.24);
}

.brand h1 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-shadow: 2px 2px 0 #21350d;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: #eef7cb;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-links a,
.cta,
.links a {
  position: relative;
  overflow: hidden;
  border: 4px solid #315019;
  border-radius: 0;
  box-shadow: 0 7px 0 #21350f, inset 0 3px 0 rgba(255, 255, 255, 0.2), inset 0 -4px 0 rgba(0, 0, 0, 0.2);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.nav-links a::before,
.cta::before,
.links a::before,
.stat::before,
.feature-item::before,
.hero-card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 46%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 14px);
  opacity: 0.8;
}

.nav-links a:hover,
.cta:hover,
.links a:hover {
  transform: translateY(1px);
  filter: brightness(1.06);
}

.nav-links a {
  min-width: 116px;
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  color: #f7f7db;
}

.hero {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 22px;
  padding: 30px 32px;
  border-bottom: 4px solid #385425;
  background:
    linear-gradient(180deg, rgba(135, 191, 98, 0.18), rgba(19, 24, 11, 0.12));
}

.hero-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 4vw, 4.15rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 3px 3px 0 #17260d;
}

.hero-copy p {
  margin: 0 0 22px;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.cta {
  min-width: 156px;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 11px 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 3px solid #445f26;
  background: linear-gradient(180deg, #6d8e40, #3f5f25);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.32), inset 0 2px 0 rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.32rem;
  color: #fff9d8;
}

.stat span {
  color: #edf4c8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.hero-card,
.panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 4px solid #49652b;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #2a391a, #17230d);
  box-shadow: 0 7px 0 #152309, inset 0 2px 0 rgba(255, 255, 255, 0.12);
}

.hero-card h3,
.panel h3 {
  margin: 0 0 11px;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e7f1b7;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-item {
  position: relative;
  overflow: hidden;
  padding: 12px 14px;
  border: 3px solid #405c24;
  background:
    linear-gradient(180deg, #7e9d4a, #4a6328);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.26), inset 0 2px 0 rgba(255, 255, 255, 0.1);
}

.feature-item strong {
  display: block;
  margin-bottom: 3px;
  color: #fff9db;
}

.feature-item span,
.panel p {
  color: #e4efc0;
  line-height: 1.6;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 32px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(34, 44, 21, 0.36), rgba(12, 16, 8, 0.56));
}

.panel p {
  margin: 0 0 14px;
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.links a {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: #fffce2;
}

.block-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(0, 0, 0, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.footer {
  padding: 18px;
  text-align: center;
  color: #d7e5b1;
  font-size: 0.88rem;
  border-top: 4px solid #385425;
  background: linear-gradient(180deg, #253214, #151d0e);
}

.grass-face {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 44%), repeating-linear-gradient(90deg, #8ad162 0 18%, #68a548 18% 36%, #7fbe58 36% 54%, #5c953e 54% 72%, #84c964 72% 90%), #4e7c2a;
}

.stone-face {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 44%), repeating-linear-gradient(90deg, #b8bec7 0 18%, #8b96a4 18% 36%, #a5b1bc 36% 54%, #6e7a8a 54% 72%, #9eabb8 72% 90%), #718093;
}

.gold-face {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 44%), repeating-linear-gradient(90deg, #f7da70 0 18%, #f0c754 18% 36%, #dfab2f 36% 54%, #f1d66b 54% 72%, #ca9125 72% 90%), #d6a034;
  color: #2d1c04 !important;
}

.dirt-face {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 44%), repeating-linear-gradient(90deg, #ba804e 0 18%, #8d5933 18% 36%, #a96d43 36% 54%, #74492a 54% 72%, #ba8756 72% 90%), #7c4e2d;
}

.water-face {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 44%), repeating-linear-gradient(90deg, #90e4ff 0 18%, #67c7f4 18% 36%, #9fe8ff 36% 54%, #53a9d5 54% 72%, #7fdcff 72% 90%), #4aaed6;
}

.redstone-face {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 44%), repeating-linear-gradient(90deg, #ff8d8d 0 18%, #cf4949 18% 36%, #ff7878 36% 54%, #a62828 54% 72%, #ff9b9b 72% 90%), #ad2f2f;
}

@media (max-width: 950px) {
  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  body {
    padding: 10px;
  }

  .topbar,
  .hero,
  .content-grid {
    padding: 16px;
  }

  .stats,
  .links {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
