:root {
  --bg: #eae5d7;
  --bg-meadow: #e0d9c6;
  --surface: #f4f0e5;
  --surface-alt: #ebe5d5;
  --surface-wood: #e1d6be;
  --surface-elevated: #f7f4eb;
  --text: #211d16;
  --muted: #584e40;
  --border: #c7bca3;
  --border-strong: #a99b7e;
  --green: #357e2e;
  --green-deep: #1e6026;
  --green-soft: rgba(53, 126, 46, 0.12);
  --oak: #744927;
  --amber: #a8600d;
  --amber-soft: rgba(168, 96, 13, 0.14);
  --sky: #1964a6;
  --sky-soft: rgba(25, 100, 166, 0.12);
  --danger: #b42318;
  --danger-soft: rgba(180, 35, 24, 0.12);
  --shadow: 0 8px 22px rgba(64, 48, 24, 0.07);
  --shadow-strong: 0 16px 36px rgba(64, 48, 24, 0.12);
  --radius: 16px;
}

body.dark {
  --bg: #131914;
  --bg-meadow: #182119;
  --surface: #1b241d;
  --surface-alt: #222d24;
  --surface-wood: #2a241c;
  --surface-elevated: #222c24;
  --text: #f3efe4;
  --muted: #b0aa99;
  --border: #334034;
  --border-strong: #4a5a4b;
  --green: #58b847;
  --green-deep: #6ee05b;
  --green-soft: rgba(88, 184, 71, 0.16);
  --oak: #b87e4d;
  --amber: #eab349;
  --amber-soft: rgba(234, 179, 73, 0.16);
  --sky: #60a5fa;
  --sky-soft: rgba(96, 165, 250, 0.14);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.16);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 20px 44px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

body {
  margin: 0;
  font-family: "Inter", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 42% at 50% -10%, rgba(112, 168, 78, 0.14), transparent 65%),
    radial-gradient(ellipse 65% 35% at 10% 35%, rgba(200, 142, 56, 0.06), transparent 60%);
  color: var(--text);
  line-height: 1.55;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Crisp Single-Row Navbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 240, 229, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border);
}
body.dark .topbar {
  background: rgba(19, 25, 20, 0.94);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 8px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 2px solid var(--border-strong);
  box-shadow: 0 2px 0 rgba(84, 57, 36, 0.16);
}
.brand-name {
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.top-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  white-space: nowrap;
}
.nav-anchor,
.nav-tab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 15px;
  margin: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}
.nav-anchor:hover,
.nav-tab-btn:hover {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.nav-anchor.active,
.nav-tab-btn.active {
  background: linear-gradient(180deg, #4ba23d 0%, #347a2c 100%);
  border-color: #255b1e;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(53, 126, 46, 0.28);
}
.btn-primary.nav-buy-active {
  box-shadow: 0 0 0 3px var(--green-soft), 0 6px 16px rgba(52, 122, 44, 0.34);
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 3px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
}
.lang-pill {
  height: 28px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  padding: 0 9px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.12s ease;
}
.lang-pill.active {
  background: var(--surface);
  color: var(--green-deep);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.nav-utility-btn,
.nav-buy-cta {
  height: 36px;
  padding: 0 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px solid var(--border-strong);
  border-bottom-width: 3px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { background: var(--surface-alt); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 6px 11px; font-size: 12.5px; }
.btn-primary {
  background: linear-gradient(180deg, #4ba23d 0%, #347a2c 100%);
  border-color: #255b1e;
  border-bottom-color: #1a4315;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(52, 122, 44, 0.24);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #53af45 0%, #3b8932 100%);
  color: #ffffff;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.promo-sec { display: none; padding: 26px 0 44px; }
.promo-sec.active { display: block; }

/* Overworld Non-Rectangular Ribbons & Signposts */
.signpost-plank {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f3e4c5 0%, #e4cfa3 100%);
  border: 1.5px solid #9f7545;
  border-bottom-width: 3px;
  color: #4f3116;
  font-size: 12px;
  font-weight: 800;
}
body.dark .signpost-plank {
  background: linear-gradient(180deg, #3c2a1b 0%, #2b1e13 100%);
  border-color: #7d5735;
  color: #f6dcab;
}
.plank-pin { width: 6px; height: 6px; border-radius: 50%; background: #7c5832; }

.swallowtail-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px 9px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.swallowtail-badge.amber { background: var(--amber-soft); color: var(--amber); }
.swallowtail-badge.stone { background: var(--surface-alt); color: var(--muted); }

.ribbon-tag {
  display: inline-block;
  padding: 5px 18px 5px 14px;
  background: var(--oak);
  color: #fffaf0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%);
  margin-bottom: 8px;
}
.ribbon-tag.emerald { background: var(--green-deep); }
.ribbon-tag.stone { background: #5a5244; }
.ribbon-tag.oak { background: var(--amber); color: #ffffff; }

/* Hero Craft Board */
.hero-craft-board {
  background: linear-gradient(155deg, var(--surface) 0%, var(--bg-meadow) 100%);
  border: 2px solid var(--border);
  border-bottom-width: 4px;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-strong);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 28px;
  align-items: center;
}

.hero-title {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.025em;
}
.overworld-highlight {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(61, 139, 53, 0.35);
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}
.hero-subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  max-width: 510px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hero-main-install {
  padding: 12px 20px;
  font-size: 14.5px;
  border-radius: 13px;
  gap: 9px;
}
.hero-cta-meta {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
}
.hero-secondary-btn {
  padding: 12px 16px;
  font-size: 13.5px;
  border-radius: 13px;
}
.hero-os-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.os-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}
.os-mini-chip span { color: var(--muted); font-weight: 600; }
.os-mini-chip:hover { border-color: var(--green); }

/* 3-Step Quick Start Journey */
.steps-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.journey-step-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-bottom-width: 3px;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.step-num-badge {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #4ba23d 0%, #347a2c 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(52, 122, 44, 0.22);
}
.journey-step-card h3 { margin: 0 0 5px; font-size: 15px; font-weight: 800; }
.journey-step-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.trust-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Organic Diorama Showcase */
.diorama-arch {
  position: relative;
  border-radius: 115px 115px 22px 22px;
  overflow: hidden;
  border: 3px solid var(--border-strong);
  box-shadow: var(--shadow-strong);
  min-height: 340px;
  background: #233322;
}
.diorama-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diorama-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 26, 17, 0.1) 0%, rgba(16, 26, 17, 0.3) 50%, rgba(16, 26, 17, 0.88) 100%);
}
.diorama-top-chips {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 16px;
}
.wood-chip {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34, 24, 15, 0.72);
  border: 1px solid rgba(255, 243, 214, 0.3);
  color: #fff8e7;
  font-size: 11.5px;
  font-weight: 700;
}
.diorama-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(24, 30, 21, 0.86);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 248, 225, 0.2);
  color: #f8f5ec;
}
.diorama-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}
.metric-mini small { display: block; font-size: 10.5px; color: #cbc4b1; }
.metric-mini strong { display: block; font-size: 14.5px; font-weight: 900; color: #7ce668; margin-top: 2px; }

/* Notched Stone Security Strip */
.craft-seal-section { margin-top: 22px; }
.seal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.notch-tablet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.notch-tablet h3 { margin: 0 0 4px; font-size: 14.5px; font-weight: 800; }
.notch-tablet p { margin: 0; font-size: 12.5px; color: var(--muted); }
.seal-icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--border);
}
.seal-icon.oak { background: rgba(180, 83, 9, 0.1); }
.seal-icon.grass { background: var(--green-soft); }
.seal-icon.stone { background: var(--amber-soft); }

/* Section Headers */
.section-block { margin-top: 46px; }
.section-banner-header { margin-bottom: 18px; }
.section-banner-header h2 { margin: 0; font-size: 25px; font-weight: 900; letter-spacing: -0.02em; }
.section-banner-header p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.with-side-badge {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Bento Value Pillars & Memory Benchmark */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.craft-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-bottom-width: 3px;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.bento-head { display: flex; gap: 12px; align-items: flex-start; }
.craft-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.bento-head .craft-icon { margin-bottom: 0; }
.craft-card h3 { margin: 0 0 5px; font-size: 15.5px; font-weight: 800; }
.craft-card p { margin: 0; font-size: 13px; color: var(--muted); }

.bench-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  display: grid;
  gap: 8px;
}
.bench-row {
  display: grid;
  grid-template-columns: 150px 1fr 90px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.bench-name { font-weight: 700; }
.bench-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(120, 113, 108, 0.16);
  overflow: hidden;
}
.bench-bar.win { height: 100%; background: linear-gradient(90deg, #4ba23d, #2e7d32); }
.bench-bar.other { height: 100%; background: #a89f8d; }
.loader-pill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

/* Specs Tablets with OS Logos */
.specs-grid,
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.spec-tablet {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-bottom-width: 3px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.spec-banner-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1.5px solid var(--border);
}
.spec-banner-head.win-theme { background: linear-gradient(120deg, rgba(2, 132, 199, 0.12), var(--surface-alt)); }
.spec-banner-head.linux-theme { background: linear-gradient(120deg, rgba(217, 119, 6, 0.12), var(--surface-alt)); }
.spec-banner-head h3 { margin: 0; font-size: 15px; font-weight: 800; }
.spec-banner-head span { font-size: 12px; color: var(--muted); }
.os-logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.spec-list { list-style: none; margin: 0; padding: 12px 16px 14px; display: grid; gap: 8px; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}
.spec-list li:last-child { border-bottom: none; padding-bottom: 0; }
.spec-list li span { color: var(--muted); }
.spec-list li strong { text-align: right; }

/* Download Cards */
.downloads-grid.single-mode {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.os-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-bottom-width: 4px;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow);
}
.os-card.single-file-card {
  border-color: var(--green);
  border-width: 2px;
  border-bottom-width: 5px;
  background: linear-gradient(155deg, var(--surface) 0%, var(--bg-meadow) 100%);
  box-shadow: var(--shadow-strong);
}
.single-dl-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.single-dl-chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
}
.pkg-audience-note {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-alt);
  border-left: 3px solid var(--green);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.os-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.os-icon-orb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.os-title { font-size: 15px; font-weight: 800; }
.os-meta { font-size: 12.5px; color: var(--muted); }
.os-sha-panel {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 10px;
  display: grid;
  gap: 7px;
}
.os-other-builds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.os-other-link {
  color: var(--emerald);
  font-weight: 700;
  text-decoration: none;
}
.os-other-link:hover { text-decoration: underline; }
.all-downloads-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-bottom-width: 3px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.all-dl-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface-alt);
  border: none;
  border-bottom: 1.5px solid var(--border);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.all-dl-header strong { font-size: 15px; margin-right: 10px; }
.all-dl-header span.muted { font-size: 12.5px; }
.all-dl-chevron { font-size: 13px; color: var(--muted); }
.all-dl-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 18px 20px;
}
.all-dl-body.collapsed { display: none; }
.all-dl-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.all-dl-req {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.all-dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.all-dl-row:last-child { border-bottom: none; }
.all-dl-archs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.all-dl-arch-link {
  color: var(--emerald);
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}
.all-dl-arch-link:hover { border-color: var(--emerald); }
.all-dl-arch-soon {
  color: var(--muted);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--surface-alt);
  border: 1px dashed var(--border);
}
@media (max-width: 780px) {
  .specs-grid, .downloads-grid, .all-dl-body { grid-template-columns: 1fr; }
}
.os-sha-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.os-sha {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 10.5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 8px;
  word-break: break-all;
  color: var(--text);
}
.os-sha-verify-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.os-sha-status {
  font-size: 11px;
  font-weight: 700;
  word-break: break-word;
}
.os-sha-status.ok { color: var(--green-deep); }
.os-sha-status.err { color: var(--danger); }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

/* Package Cards with Minecraft Character Banners */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 16px;
}
.pkg-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-bottom-width: 4px;
  border-radius: 18px;
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pkg-card.popular {
  border-color: var(--green);
  box-shadow: 0 14px 32px rgba(52, 122, 44, 0.2);
}
.pkg-card.best-value {
  border-color: var(--amber);
  box-shadow: 0 12px 26px rgba(168, 96, 13, 0.14);
}
.pkg-character-banner {
  margin: 0 -18px;
  padding: 13px 16px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
}
.pkg-character-banner.tier-free { background: linear-gradient(135deg, #d7ebc7, #c1dfa7); color: #214017; }
.pkg-character-banner.tier-beginner { background: linear-gradient(135deg, #c7e8d3, #a5d8b8); color: #14432a; }
.pkg-character-banner.tier-pro { background: linear-gradient(135deg, #bfe3f8, #8bc9ee); color: #0c3954; }
.pkg-character-banner.tier-squad { background: linear-gradient(135deg, #f8e1b4, #ebc074); color: #4f2c08; }
body.dark .pkg-character-banner.tier-free { background: linear-gradient(135deg, #273b22, #1e2d1a); color: #d8f2c7; }
body.dark .pkg-character-banner.tier-beginner { background: linear-gradient(135deg, #1d4431, #153224); color: #c7f2da; }
body.dark .pkg-character-banner.tier-pro { background: linear-gradient(135deg, #1a3c56, #142c40); color: #cce9fa; }
body.dark .pkg-character-banner.tier-squad { background: linear-gradient(135deg, #4b3417, #37250e); color: #fbe3b6; }

.pkg-char-pill { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.86; }
.pkg-char-frame {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
body.dark .pkg-char-frame { background: rgba(15, 20, 16, 0.45); border-color: rgba(255, 255, 255, 0.25); }
.pkg-price { font-size: 24px; font-weight: 900; color: var(--green-deep); margin: 4px 0 8px; }
.pkg-features { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 12.8px; color: var(--muted); }

.craft-compare-details {
  margin-top: 18px;
}
.craft-compare-details summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--green-deep);
  padding: 6px 0;
}
.craft-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th,
.compare-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.compare-table th { background: var(--surface-alt); font-weight: 800; }
.compare-table th.col-hl-pro,
.compare-table td.col-hl-pro {
  background: rgba(53, 126, 46, 0.08);
  border-left: 2px solid rgba(53, 126, 46, 0.35);
  border-right: 2px solid rgba(53, 126, 46, 0.35);
}
.compare-table th.col-hl-pro {
  background: rgba(53, 126, 46, 0.16);
  border-top: 3px solid var(--green);
  color: var(--green-deep);
}
.compare-table th.col-hl-squad,
.compare-table td.col-hl-squad {
  background: rgba(168, 96, 13, 0.06);
  border-left: 1.5px solid rgba(168, 96, 13, 0.28);
}
.compare-table th.col-hl-squad {
  background: rgba(168, 96, 13, 0.13);
  border-top: 3px solid var(--amber);
  color: var(--amber);
}
.tbl-hl-pill {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.tbl-hl-pill.pro { background: var(--green-deep); }
.tbl-hl-pill.squad { background: var(--amber); }
.compare-table tr:last-child td { border-bottom: none; }

/* Reviews Section */
.reviews-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 16px; align-items: start; }
.rating-summary-box {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--border);
}
.big-score { font-size: 40px; font-weight: 900; line-height: 1; }
.stars-display { color: #eab308; font-size: 17px; margin: 4px 0; }
.rating-bars { flex: 1; min-width: 170px; display: grid; gap: 4px; }
.rbar-row { display: grid; grid-template-columns: 36px 1fr 24px; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.rbar-track { height: 8px; border-radius: 999px; background: var(--surface-alt); overflow: hidden; }
.rbar-fill { height: 100%; background: linear-gradient(90deg, #eab308, #4ba23d); }
.star-filter-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rev-filter-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.rev-filter-btn.active { background: var(--green-soft); border-color: var(--green); color: var(--green-deep); }
.review-form { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1.5px solid var(--border); }
.review-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input, .select, .textarea {
  width: 100%;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
}
.stars-picker-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars-picker { display: inline-flex; gap: 3px; }
.star-btn { border: none; background: transparent; font-size: 22px; line-height: 1; color: var(--border-strong); cursor: pointer; padding: 2px; }
.star-btn.active { color: #eab308; }
.review-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.review-notice { padding: 10px 12px; border-radius: 10px; background: var(--green-soft); border: 1px solid rgba(61, 139, 53, 0.35); font-size: 12.5px; font-weight: 600; }
.review-notice.err { background: rgba(185, 28, 28, 0.12); border-color: rgba(185, 28, 28, 0.4); color: var(--danger); }
.reviews-feed { display: grid; gap: 10px; max-height: 540px; overflow-y: auto; }
.review-item { background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.review-item-head { display: flex; justify-content: space-between; gap: 8px; }
.review-author { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-weight: 800; }
.review-stars { color: #eab308; font-size: 13px; font-weight: 700; }
.review-body { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

/* FAQ & Wood CTA */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 18px; }
.faq-item summary { font-weight: 800; font-size: 14.5px; cursor: pointer; }
.faq-item p { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

.cta-wood-banner {
  margin-top: 38px;
  padding: 24px 26px;
  background: linear-gradient(135deg, var(--surface-wood) 0%, var(--bg-meadow) 100%);
  border: 2px solid var(--border-strong);
  border-bottom-width: 4px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-wood-banner h3 { margin: 0 0 4px; font-size: 19px; font-weight: 900; }
.cta-wood-banner p { margin: 0; font-size: 13.5px; color: var(--muted); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buy Tab */
.buy-wood-header { background: var(--surface); border: 2px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.buy-wood-header h2 { margin: 0 0 6px; font-size: 24px; font-weight: 900; }
.buy-wood-header p { margin: 0; font-size: 13.5px; color: var(--muted); }
.id-lookup-row { display: flex; gap: 10px; margin-top: 16px; max-width: 500px; }
.lookup-result { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--green-soft); border: 1.5px solid rgba(61, 139, 53, 0.42); font-size: 13px; }
.lookup-result.not-found { background: rgba(185, 28, 28, 0.12); border-color: rgba(185, 28, 28, 0.4); color: var(--danger); }
.lookup-card-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.lookup-plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.lookup-plan-chip.tier-beginner { background: rgba(53, 126, 46, 0.16); border-color: var(--green); color: var(--green-deep); }
.lookup-plan-chip.tier-pro { background: var(--sky-soft); border-color: var(--sky); color: var(--sky); }
.lookup-plan-chip.tier-squad { background: var(--amber-soft); border-color: var(--amber); color: var(--amber); }
.lookup-plan-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.qris-box { display: none; margin-top: 24px; background: var(--surface); border: 2px solid var(--green); border-radius: 20px; padding: 22px 24px 24px; box-shadow: var(--shadow-strong); overflow: hidden; }
.qris-mc-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: -22px -24px 18px;
  padding: 14px 22px;
  background: linear-gradient(135deg, rgba(53, 126, 46, 0.14) 0%, rgba(200, 142, 56, 0.14) 100%);
  border-bottom: 2px solid var(--border);
}
.qris-mc-greet { display: flex; align-items: center; gap: 14px; flex: 1 1 320px; min-width: 0; }
.qris-mc-companions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mc-char-box {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: linear-gradient(180deg, #dff4ff 0%, #eefaf0 76%, #d9cbb6 100%);
  border: 2px solid var(--border-strong);
  box-shadow: 0 5px 0 rgba(74, 52, 26, 0.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.mc-char-box.steve-box {
  width: 78px;
  height: 78px;
}
.mc-char-box.companion-allay {
  background: linear-gradient(180deg, #e0f2fe 0%, #f0fdf4 100%);
}
.mc-char-box.companion-creeper {
  background: linear-gradient(180deg, #ecfccb 0%, #dcfce7 100%);
}
.steve-wave-arm {
  transform-box: fill-box;
  transform-origin: bottom left;
  animation: steveWave 1.8s ease-in-out infinite;
}
@keyframes steveWave {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(12deg); }
}
@media (prefers-reduced-motion: reduce) {
  .steve-wave-arm { animation: none; }
}
.mc-speech-bubble {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  padding: 9px 14px;
  font-size: 13px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.qris-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1.5px solid var(--border); }
.qris-head h3 { margin: 0; font-size: 18px; }
.status-pill { padding: 6px 14px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-size: 12px; font-weight: 800; white-space: nowrap; }
.status-pill.paid { background: var(--green-soft); color: var(--green-deep); }
.status-pill.failed { background: var(--danger-soft); color: var(--danger); }
.qris-body { display: grid; grid-template-columns: 276px 1fr; gap: 22px; margin-top: 18px; align-items: start; }
.qr-frame-wrap { display: flex; flex-direction: column; gap: 10px; }
.qr-frame { background: #ffffff; border: 2px solid var(--border-strong); border-radius: 16px; padding: 12px; text-align: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04); }
.qr-frame img { width: 100%; max-width: 248px; margin: 0 auto; display: block; border-radius: 6px; image-rendering: pixelated; }
.qr-clean-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.amount-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.amount-big { font-size: 28px; font-weight: 900; color: var(--green-deep); }
.sim-box { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--sky-soft); border: 1px dashed var(--sky); font-size: 12.5px; }
.license-reveal { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--green-soft); border: 1.5px solid var(--green); }
.license-code { margin: 8px 0; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 16px; font-weight: 800; }

.promo-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  max-width: 420px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface-elevated);
  color: var(--text);
  border: 2px solid var(--green);
  box-shadow: var(--shadow-strong);
  font-size: 13px;
  font-weight: 700;
  display: none;
}
.promo-toast.show { display: block; }
.promo-toast.err { border-color: var(--danger); color: var(--danger); }

.muted { color: var(--muted); }
.footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 20px 36px; border-top: 1.5px solid var(--border); font-size: 12.5px; color: var(--muted); }
.footer a { color: var(--green-deep); font-weight: 700; text-decoration: none; }

/* ---- Admin Panel Professional Styles ---- */
.admin-shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 20px;
  align-items: start;
  padding-top: 22px;
  padding-bottom: 42px;
}
.admin-sidebar {
  position: sticky;
  top: 84px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-bottom-width: 3px;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}
.admin-nav-btn:hover { background: var(--surface-alt); color: var(--text); }
.admin-nav-btn.active {
  background: var(--green-soft);
  border-color: rgba(53, 126, 46, 0.35);
  color: var(--green-deep);
}
.admin-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.admin-view { display: none; flex-direction: column; gap: 16px; }
.admin-view.active { display: flex; }

.admin-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-bottom-width: 3px;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.admin-card-head h2, .admin-card-head h3 { margin: 0; font-size: 17px; font-weight: 800; }

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.kpi-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-bottom-width: 3px;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.kpi-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.kpi-val { font-size: 24px; font-weight: 900; margin-top: 4px; color: var(--text); line-height: 1.2; }
.kpi-sub { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  align-items: center;
}
.admin-toolbar .input { flex: 1 1 220px; min-width: 180px; }
.admin-toolbar .select { width: auto; min-width: 140px; }

.tbl-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface-elevated);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.8px;
}
.admin-table th,
.admin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.admin-table th {
  background: var(--surface-alt);
  font-weight: 800;
  color: var(--muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: var(--surface-alt); }

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.badge-paid { background: var(--green-soft); border-color: rgba(53, 126, 46, 0.35); color: var(--green-deep); }
.badge-pending { background: var(--amber-soft); border-color: rgba(168, 96, 13, 0.35); color: var(--amber); }
.badge-processing { background: var(--sky-soft); border-color: rgba(25, 100, 166, 0.35); color: var(--sky); }
.badge-failed, .badge-expired, .badge-cancelled, .badge-refunded {
  background: var(--danger-soft);
  border-color: rgba(180, 35, 24, 0.35);
  color: var(--danger);
}

.btn-danger {
  background: var(--danger);
  border-color: #7f1d1d;
  border-bottom-color: #5c1313;
  color: #ffffff;
}
.btn-danger:hover { background: #dc2626; color: #ffffff; }

.admin-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.admin-field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(18, 24, 19, 0.68);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.admin-modal-backdrop.open { display: flex; }
.admin-modal {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: 18px;
  padding: 22px;
  width: min(640px, 96vw);
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-strong);
}

@media (max-width: 960px) {
  .topbar-inner { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .top-links { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .hero-grid, .seal-grid, .steps-journey-grid, .bento-grid, .specs-grid, .downloads-grid, .reviews-layout, .qris-body, .admin-shell, .admin-two-col {
    grid-template-columns: 1fr;
  }
  .admin-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .admin-nav-btn { width: auto; }
}
@media (max-width: 560px) {
  .review-form-row, .bench-row { grid-template-columns: 1fr; }
  .id-lookup-row { flex-direction: column; }
  .btn-icon-label #themeBtnText { display: none; }
}
