/* ==========================================================================
   周末愉快 · 全站样式
   纯手写 CSS，无外部字体与图片依赖；方块、草地、云朵均由 CSS 绘制。
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 颜色：深色方块世界 + 草方块绿 */
  --bg: #07100b;
  --bg-soft: #0a1510;
  --surface: #0f1a14;
  --surface-2: #13231a;
  --surface-3: #192d21;
  --line: #263b2e;
  --line-strong: #3a5642;

  --text: #f0f7e9;
  --muted: #a4b7a9;
  --muted-2: #809687;

  --green: #9ce76b;
  --green-bright: #c0fa92;
  --green-deep: #4d7f34;
  --grass: #6cac42;
  --dirt: #7b5840;
  --dirt-dark: #5a3f2e;
  --amber: #f0c15b;
  --red: #f47e69;

  /* 字体：优先使用系统字体，避免请求外部字体 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --container: 1160px;
  --header-height: 76px;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --shadow-pixel: 6px 6px 0 rgba(1, 6, 3, 0.4);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 88% 2%, rgba(108, 172, 66, 0.12), transparent 30rem),
    linear-gradient(rgba(154, 197, 132, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 197, 132, 0.028) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

button {
  font: inherit;
  color: inherit;
}

code {
  font-family: var(--font-mono);
}

::selection {
  color: #07100b;
  background: var(--green);
}

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

/* ---------- 3. 工具类与通用布局 ---------- */
.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #07100b;
  background: var(--green);
  border: 2px solid var(--green-bright);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  color: #07100b;
  transform: translateY(0);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--notice {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(109, 169, 70, 0.045), transparent 50%),
    rgba(7, 16, 11, 0.35);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.4rem, 4.5vw, 4rem);
}

.section-title {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.3vw, 3.7rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-desc {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
  text-wrap: pretty;
}

.section-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 12.5px;
}

.note-mark {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: var(--green-deep);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-sep {
  color: var(--line-strong);
}

.pixel-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 2px 2px 0 var(--green-deep);
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(156, 231, 107, 0.1);
  animation: statusPulse 2.6s ease-in-out infinite;
}

.status-dot--amber {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(240, 193, 91, 0.1);
}

/* ---------- 4. 按钮与链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease),
    background-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.btn-arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  transition: transform 0.18s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn--primary {
  color: #07100b;
  background: var(--green);
  border-color: var(--green-bright);
  box-shadow: 5px 5px 0 var(--green-deep);
}

.btn--primary:hover {
  color: #07100b;
  background: var(--green-bright);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--green-deep);
}

.btn--primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--green-deep);
}

.btn--ghost {
  color: var(--text);
  background: rgba(15, 26, 20, 0.72);
  border-color: var(--line-strong);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
}

.btn--ghost:hover {
  color: var(--green-bright);
  background: var(--surface-2);
  border-color: var(--green-deep);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.35);
}

.btn--ghost:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding-bottom: 3px;
  color: var(--green);
  border-bottom: 1px solid rgba(156, 231, 107, 0.42);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.text-link:hover {
  color: var(--green-bright);
  border-color: var(--green-bright);
}

.text-link span {
  font-family: var(--font-mono);
  transition: transform 0.18s var(--ease);
}

.text-link:hover span {
  transform: translateX(3px);
}

.copy-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 10px;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    color 0.18s var(--ease),
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.copy-btn:hover {
  color: var(--green);
  background: var(--surface-2);
  border-color: var(--green-deep);
}

.copy-btn:active {
  transform: translate(1px, 1px);
}

.copy-btn.is-copied {
  color: #07100b;
  background: var(--green);
  border-color: var(--green-bright);
}

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 16, 11, 0.84);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 16, 11, 0.96);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.24);
}

.header-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  background-color: var(--dirt);
  background-image:
    linear-gradient(to bottom, var(--grass) 0 37%, transparent 37%),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.1) 18% 34%, transparent 34% 57%, rgba(0, 0, 0, 0.16) 57% 72%, transparent 72%),
    linear-gradient(0deg, transparent 0 48%, rgba(0, 0, 0, 0.12) 48% 62%, transparent 62%);
  border: 2px solid #061009;
  box-shadow: 4px 4px 0 var(--green-deep);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.24);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 43%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3f6f2b;
}

.brand:hover .brand-mark {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--green-deep);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-text small {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  padding: 10px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 5px;
  left: 11px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-left: 10px;
  padding: 8px 13px;
  color: #07100b;
  background: var(--green);
  border: 2px solid var(--green-bright);
  box-shadow: 3px 3px 0 var(--green-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.nav-join:hover {
  color: #07100b;
  background: var(--green-bright);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--green-deep);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__icon span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -25vw;
  right: -18vw;
  width: 65vw;
  height: 65vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 172, 66, 0.14), transparent 66%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 18%;
  left: -44px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(156, 231, 107, 0.08);
  box-shadow:
    22px 22px 0 rgba(156, 231, 107, 0.025),
    44px 44px 0 rgba(156, 231, 107, 0.015);
  transform: rotate(12deg);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-title {
  margin-bottom: 0;
  font-size: clamp(2.9rem, 5vw, 4.75rem);
  font-weight: 900;
  line-height: 0.99;
  letter-spacing: -0.06em;
}

.highlight {
  position: relative;
  display: inline-block;
  padding: 0 0.12em 0.04em;
  color: #07100b;
  background: var(--green);
  border: 2px solid var(--green-bright);
  box-shadow: 0.08em 0.08em 0 var(--green-deep);
  line-height: 0.95;
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 35em;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.9;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.hero-tags li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-tags li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green-deep);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

/* ---------- 7. 首屏世界预览 ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 510px;
  margin-left: auto;
  padding: 22px 26px 16px 12px;
}

.world-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow:
    12px 12px 0 rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.world-card::after {
  content: "";
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  background: var(--green-deep);
  box-shadow: -10px 0 0 var(--surface-3), 0 -10px 0 var(--surface-3);
  pointer-events: none;
}

.world-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 9px 13px;
  background: #0a1510;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.window-dots {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}

.window-dots i {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--line-strong);
}

.window-dots i:first-child {
  background: var(--green-deep);
}

.window-dots i:last-child {
  background: var(--dirt);
}

.world-url {
  flex: 1;
  overflow: hidden;
  color: var(--muted-2);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-index {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 8px;
  font-weight: 700;
}

.world-scene {
  position: relative;
  height: 460px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #0b2118 0%, #0b1b14 58%, #09130e 100%);
  perspective: 980px;
}

.world-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  background:
    linear-gradient(90deg, rgba(7, 16, 11, 0.22), transparent 16%, transparent 84%, rgba(7, 16, 11, 0.24)),
    linear-gradient(180deg, rgba(7, 16, 11, 0.12), transparent 20%, transparent 80%, rgba(7, 16, 11, 0.2));
  pointer-events: none;
}

.world-stars {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image:
    radial-gradient(circle at 12% 18%, #d3eac6 0 1px, transparent 1.8px),
    radial-gradient(circle at 24% 38%, #c3ddb4 0 1px, transparent 1.8px),
    radial-gradient(circle at 40% 14%, #e0f4d2 0 1.2px, transparent 2px),
    radial-gradient(circle at 58% 28%, #b7d7a7 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 16%, #d3eac6 0 1px, transparent 1.6px),
    radial-gradient(circle at 86% 34%, #dcefd2 0 1px, transparent 1.8px),
    radial-gradient(circle at 32% 56%, #b7d7a7 0 1px, transparent 1.6px),
    radial-gradient(circle at 64% 48%, #c3ddb4 0 1.2px, transparent 2px),
    radial-gradient(circle at 91% 57%, #b7d7a7 0 1px, transparent 1.6px),
    radial-gradient(circle at 8% 68%, #d3eac6 0 1px, transparent 1.7px);
  background-size: 100% 100%;
  animation: starTwinkle 6s ease-in-out infinite alternate;
}

.pixel-moon {
  position: absolute;
  z-index: 1;
  top: 38px;
  right: 38px;
  width: 48px;
  height: 48px;
  background: #f0e0a1;
  border: 2px solid #cbb974;
  box-shadow:
    7px 7px 0 rgba(240, 224, 161, 0.09),
    -5px -5px 0 rgba(240, 224, 161, 0.05);
}

.pixel-moon::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 10px;
  height: 10px;
  background: #d7c582;
}

.pixel-moon::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 9px;
  width: 7px;
  height: 7px;
  background: #dfcf91;
}

.pixel-cloud {
  position: absolute;
  z-index: 1;
  width: 22px;
  height: 11px;
  background: rgba(211, 231, 217, 0.12);
  box-shadow:
    22px 0 0 rgba(211, 231, 217, 0.12),
    0 -11px 0 rgba(211, 231, 217, 0.1),
    22px -11px 0 rgba(211, 231, 217, 0.16),
    44px 0 0 rgba(211, 231, 217, 0.1),
    44px -11px 0 rgba(211, 231, 217, 0.12);
  animation: cloudDrift 14s ease-in-out infinite alternate;
}

.pixel-cloud--a {
  top: 100px;
  left: 9%;
}

.pixel-cloud--b {
  top: 170px;
  right: 20%;
  opacity: 0.58;
  animation-duration: 19s;
  animation-direction: alternate-reverse;
}

.scene-coords {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 17px;
  color: rgba(204, 229, 206, 0.42);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.cube-stage {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px 0 26px;
}

.cube-float {
  transform-style: preserve-3d;
  animation: cubeBob 6.5s ease-in-out infinite;
}

.mega-cube {
  --cube-size: 164px;
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform-style: preserve-3d;
  transform: rotateX(-22deg) rotateY(-35deg);
}

.cube-face {
  position: absolute;
  inset: 0;
  background-color: var(--dirt);
  border: 3px solid #07100b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cube-face--top {
  background-color: #71b448;
  background-image:
    linear-gradient(90deg, transparent 49%, rgba(42, 83, 31, 0.28) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(42, 83, 31, 0.28) 50%, transparent 51%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.06) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.05) 75%);
  background-size: 34px 34px, 34px 34px, 68px 68px, 68px 68px;
  transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-face--front {
  background-color: var(--dirt);
  background-image:
    linear-gradient(180deg, #6da944 0 21%, transparent 21%),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.08) 18% 29%, transparent 29% 54%, rgba(0, 0, 0, 0.14) 54% 65%, transparent 65%),
    linear-gradient(0deg, transparent 0 36%, rgba(0, 0, 0, 0.12) 36% 45%, transparent 45% 74%, rgba(255, 255, 255, 0.05) 74% 83%, transparent 83%),
    radial-gradient(circle at 76% 64%, rgba(58, 38, 25, 0.6) 0 3px, transparent 3.5px),
    radial-gradient(circle at 26% 78%, rgba(255, 255, 255, 0.1) 0 2px, transparent 2.5px);
  background-size: 100% 100%, 37px 37px, 43px 43px, 38px 38px, 52px 52px;
  transform: translateZ(calc(var(--cube-size) / 2));
}

.cube-face--front::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 14%;
  right: 0;
  left: 0;
  height: 24px;
  background: #6da944;
  clip-path: polygon(
    0 0, 100% 0, 100% 42%, 92% 42%, 92% 72%, 82% 72%, 82% 100%,
    70% 100%, 70% 58%, 58% 58%, 58% 88%, 46% 88%, 46% 48%, 33% 48%,
    33% 70%, 20% 70%, 20% 38%, 8% 38%, 8% 64%, 0 64%
  );
}

.cube-face--right {
  filter: brightness(0.82);
  background-image:
    linear-gradient(90deg, transparent 0 30%, rgba(255, 255, 255, 0.06) 30% 46%, transparent 46% 76%, rgba(0, 0, 0, 0.1) 76% 86%, transparent 86%),
    linear-gradient(0deg, transparent 0 28%, rgba(0, 0, 0, 0.15) 28% 39%, transparent 39% 66%, rgba(255, 255, 255, 0.04) 66% 78%, transparent 78%);
  background-size: 33px 33px, 49px 49px;
  transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-face--back {
  filter: brightness(0.7);
  transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-face--left {
  filter: brightness(0.7);
  transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-face--right::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 16%;
  background: #588c38;
}

.scene-label {
  position: absolute;
  z-index: 5;
  padding: 4px 7px;
  color: var(--green);
  background: rgba(7, 16, 11, 0.78);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.22);
}

.scene-label--a {
  top: 36%;
  left: 10%;
  transform: rotate(-3deg);
}

.scene-label--b {
  top: 26%;
  right: 11%;
  color: var(--amber);
  transform: rotate(2deg);
}

.scene-label--c {
  right: 19%;
  bottom: 31%;
  color: var(--muted);
  transform: rotate(-2deg);
}

.pixel-tree {
  position: absolute;
  z-index: 4;
  bottom: 68px;
  left: 11%;
  width: 74px;
  height: 90px;
}

.pixel-tree__leaves {
  position: absolute;
  top: 0;
  left: 12px;
  width: 14px;
  height: 14px;
  background: #5f9d3d;
  box-shadow:
    14px 0 0 #4f8833,
    28px 0 0 #467b2d,
    -14px 0 0 #4f8833,
    0 -14px 0 #6eae47,
    14px -14px 0 #73b64b,
    28px -14px 0 #5f9d3d,
    -14px -14px 0 #588f37,
    7px -28px 0 #7abf50,
    21px -28px 0 #6aab45,
    7px 14px 0 #467b2d,
    21px 14px 0 #3d6d28;
  filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, 0.18));
}

.pixel-tree__trunk {
  position: absolute;
  bottom: 0;
  left: 28px;
  width: 14px;
  height: 36px;
  background: #63452f;
  border-left: 2px solid #4d3423;
  box-shadow: 7px 0 0 #4f3624;
}

.world-ground {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 94px;
  background-color: #1b2c1f;
  background-image:
    linear-gradient(180deg, #579838 0 7px, #365a2d 7px 13px, #1b2c1f 13px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, 0.025) 31px 32px),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(0, 0, 0, 0.08) 25px 26px);
  border-top: 1px solid #7ac04f;
}

.world-ground::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 44px;
  left: 0;
  height: 52px;
  background: #223a25;
  clip-path: polygon(
    0 100%, 0 56%, 8% 56%, 8% 28%, 15% 28%, 15% 66%, 25% 66%,
    25% 40%, 32% 40%, 32% 72%, 44% 72%, 44% 50%, 52% 50%,
    52% 18%, 59% 18%, 59% 58%, 70% 58%, 70% 36%, 78% 36%,
    78% 64%, 88% 64%, 88% 30%, 94% 30%, 94% 56%, 100% 56%, 100% 100%
  );
}

.world-ground::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  opacity: 0.34;
  background:
    linear-gradient(90deg, transparent 0 12%, #6aab43 12% 16%, transparent 16% 44%, #6aab43 44% 49%, transparent 49% 76%, #6aab43 76% 81%, transparent 81%);
}

.pixel-sign {
  position: absolute;
  z-index: 5;
  right: 26px;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 136px;
  padding: 12px 14px 11px;
  background: #35271c;
  border: 3px solid #1d1510;
  box-shadow:
    4px 4px 0 rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: rotate(-1.5deg);
}

.pixel-sign::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 5px;
  height: 5px;
  background: #1d1510;
  box-shadow: -8px 0 0 #1d1510, 0 -8px 0 #1d1510;
}

.pixel-sign__pin {
  position: absolute;
  top: 5px;
  left: 6px;
  width: 4px;
  height: 4px;
  background: #9b927b;
  box-shadow: 119px 0 0 #9b927b;
}

.pixel-sign__eyebrow {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.pixel-sign strong {
  color: #f2e8d3;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.pixel-sign small {
  color: #9d907c;
  font-size: 9px;
}

.world-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 10px 14px;
  background: #0a1510;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.world-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.world-edition {
  color: var(--green);
  font-weight: 700;
}

.sticker {
  position: absolute;
  z-index: 9;
  padding: 8px 10px;
  background: #101d15;
  border: 1px solid var(--line-strong);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.28);
  font-family: var(--font-mono);
  line-height: 1.2;
}

.sticker span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted-2);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.sticker strong {
  display: block;
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.sticker--top {
  top: -24px;
  right: -1px;
  transform: rotate(3deg);
}

.sticker--bottom {
  top: 88px;
  bottom: auto;
  left: -8px;
  transform: rotate(-3deg);
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: 20px;
  border-top: 1px dashed var(--line);
  color: var(--muted-2);
  font-size: 11px;
}

.hero-footnote p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.hero-footnote .mono {
  font-size: 8.5px;
  letter-spacing: 0.1em;
}

/* ---------- 8. 服务器卡片 ---------- */
.server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.server-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 74%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition:
    transform 0.22s var(--ease),
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.server-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  width: 30px;
  height: 3px;
  background: var(--grass);
  box-shadow:
    36px 0 0 var(--green-deep),
    72px 0 0 var(--amber);
}

.server-card::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 5px;
  height: 5px;
  background: var(--line-strong);
  box-shadow: -6px 0 0 var(--line-strong), 0 -6px 0 var(--line-strong);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.server-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.22);
}

.server-card:hover::after {
  opacity: 1;
}

.server-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.block-icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  background-color: var(--block-face, var(--dirt));
  background-image:
    linear-gradient(to bottom, var(--block-top, var(--grass)) 0 35%, transparent 35%),
    linear-gradient(90deg, transparent 0 17%, rgba(255, 255, 255, 0.1) 17% 31%, transparent 31% 59%, rgba(0, 0, 0, 0.14) 59% 74%, transparent 74%),
    linear-gradient(0deg, transparent 0 39%, rgba(0, 0, 0, 0.12) 39% 53%, transparent 53% 78%, rgba(255, 255, 255, 0.05) 78% 88%, transparent 88%);
  background-size: 100% 100%, 23px 23px, 29px 29px;
  border: 2px solid #061009;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.28);
}

.block-icon::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.block-icon::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 9px;
  width: 5px;
  height: 5px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: -9px -5px 0 rgba(0, 0, 0, 0.12);
}

.block-icon--grass {
  --block-top: #6eac46;
  --block-face: #7b5840;
}

.block-icon--creative {
  --block-top: #c3ac68;
  --block-face: #8b7850;
}

.block-icon--creative::before {
  background: rgba(255, 249, 207, 0.25);
}

.block-icon--minigame {
  --block-top: #c36e50;
  --block-face: #76463b;
}

.state-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  color: var(--amber);
  background: rgba(240, 193, 91, 0.055);
  border: 1px solid rgba(240, 193, 91, 0.3);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.state-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--amber);
}

.server-card__heading {
  margin-bottom: 14px;
}

.server-type {
  margin: 0 0 5px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.server-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  letter-spacing: -0.03em;
}

.server-desc {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.server-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: auto 0 0;
  padding: 13px 0;
  border-block: 1px solid var(--line);
}

.server-meta div {
  min-width: 0;
}

.server-meta dt {
  margin-bottom: 3px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.server-meta dd {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  padding-top: 14px;
}

.server-address__label {
  grid-column: 1 / -1;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.server-address code {
  overflow: hidden;
  color: var(--green);
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 9. 公告与特色 ---------- */
.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  gap: 18px;
  align-items: stretch;
}

.notice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 100%, rgba(108, 172, 66, 0.08), transparent 40%),
    linear-gradient(150deg, rgba(108, 172, 66, 0.08), transparent 44%),
    var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
}

.notice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background:
    repeating-linear-gradient(180deg, var(--green-deep) 0 18px, var(--grass) 18px 36px);
  opacity: 0.8;
}

.notice-card__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 22px 14px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.notice-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}

.notice-status .status-dot {
  width: 6px;
  height: 6px;
}

.notice-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  padding: clamp(26px, 4vw, 42px) clamp(24px, 4.5vw, 48px);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  color: var(--green);
  background: rgba(156, 231, 107, 0.06);
  border: 1px solid rgba(156, 231, 107, 0.28);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.notice-card h3 {
  max-width: 12em;
  margin: 22px 0 16px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.notice-card p {
  max-width: 40em;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.notice-card .text-link {
  margin-top: auto;
}

.notice-card__stamp {
  position: absolute;
  right: -12px;
  bottom: 6px;
  display: flex;
  flex-direction: column;
  padding: 6px 14px;
  color: rgba(156, 231, 107, 0.1);
  border: 8px solid rgba(156, 231, 107, 0.08);
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.04em;
  transform: rotate(-8deg);
  pointer-events: none;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.feature-card:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.feature-icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  background: #0a1510;
  border: 1px solid var(--line-strong);
}

.feature-icon--grid::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 11px;
  width: 6px;
  height: 6px;
  background: var(--green);
  box-shadow:
    10px 0 0 var(--green-deep),
    0 10px 0 var(--green-deep),
    10px 10px 0 var(--green);
}

.feature-icon--pin::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 13px;
  width: 12px;
  height: 12px;
  background: var(--green-deep);
  border: 2px solid var(--green);
  box-shadow: -4px 4px 0 var(--green);
}

.feature-icon--pin::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 2px;
  height: 9px;
  background: var(--green);
}

.feature-icon--bolt::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 15px;
  width: 10px;
  height: 24px;
  background: var(--green);
  clip-path: polygon(52% 0, 100% 0, 65% 42%, 92% 42%, 33% 100%, 45% 56%, 14% 56%);
}

.feature-card h3 {
  margin: 1px 0 5px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

/* ---------- 10. 加入社区 ---------- */
.join-section {
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
}

.join-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4.8vw, 3.8rem);
  overflow: hidden;
  background:
    linear-gradient(rgba(156, 231, 107, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 231, 107, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 0 0, rgba(108, 172, 66, 0.16), transparent 32%),
    var(--surface-2);
  background-size: 32px 32px, 32px 32px, auto, auto;
  border: 1px solid var(--line-strong);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.24);
}

.join-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--grass) 0 28px,
    var(--green-deep) 28px 56px,
    var(--dirt) 56px 84px,
    var(--dirt-dark) 84px 112px
  );
}

.join-copy {
  position: relative;
  z-index: 1;
}

.join-copy .section-title {
  margin-bottom: 22px;
}

.join-copy > p:not(.eyebrow):not(.join-small) {
  max-width: 36em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.join-copy a {
  color: var(--green);
}

.join-small {
  margin: 20px 0 0;
  padding-top: 14px;
  color: var(--muted-2);
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
}

.contact-list {
  position: relative;
  z-index: 1;
  align-self: center;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-strong);
}

.contact-glyph {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--green);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.26);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.contact-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.contact-label {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.contact-text strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-placeholder {
  width: fit-content;
  margin-top: 2px;
  padding: 1px 4px;
  color: var(--amber);
  background: rgba(240, 193, 91, 0.06);
  border: 1px solid rgba(240, 193, 91, 0.22);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* ---------- 11. 常见问题 ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.faq-intro .section-desc {
  margin-top: 22px;
  margin-bottom: 22px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 21px 0;
  color: var(--text);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  transition: color 0.18s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--green);
}

.faq-index {
  color: var(--green-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.faq-question {
  min-width: 0;
}

.faq-plus {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.faq-plus::before {
  width: 8px;
  height: 2px;
}

.faq-plus::after {
  width: 2px;
  height: 8px;
}

.faq-item[open] .faq-plus {
  background: rgba(156, 231, 107, 0.06);
  border-color: var(--green-deep);
}

.faq-item[open] .faq-plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  padding: 0 34px 22px 42px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: var(--green);
}

/* ---------- 12. 内页通用头图 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.3rem, 5vw, 4.2rem) clamp(3rem, 6.5vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 0, rgba(108, 172, 66, 0.11), transparent 34rem),
    linear-gradient(180deg, rgba(19, 35, 26, 0.8), rgba(7, 16, 11, 0.1));
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156, 231, 107, 0.32), transparent);
}

.page-hero__decor {
  position: absolute;
  top: 54px;
  right: 5%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0.35;
  transform: rotate(-8deg);
  pointer-events: none;
}

.page-hero__decor span {
  display: block;
  width: 54px;
  height: 54px;
  background:
    linear-gradient(to bottom, rgba(108, 172, 66, 0.45) 0 35%, transparent 35%),
    rgba(123, 88, 64, 0.22);
  border: 1px solid rgba(156, 231, 107, 0.28);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.18);
}

.page-hero__decor span:nth-child(2) {
  width: 38px;
  height: 38px;
  margin-top: 34px;
}

.page-hero__decor span:nth-child(3) {
  width: 24px;
  height: 24px;
  margin-top: -14px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--green);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.page-title {
  max-width: 16em;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.page-intro {
  max-width: 46ch;
  padding-left: 20px;
  border-left: 2px solid var(--green-deep);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.page-intro p:last-child {
  margin-bottom: 0;
}

.page-intro__meta {
  padding-top: 14px;
  color: var(--muted-2);
  border-top: 1px dashed var(--line);
  font-size: 12px;
}

.update-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
}

/* ---------- 13. 关于页 ---------- */
.section--about {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.prose {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.prose > section,
.prose > .prose-section {
  min-width: 0;
}

.prose section + section {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.prose-kicker {
  margin-bottom: 10px;
  color: var(--green-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.prose h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.prose h3 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

.prose p {
  max-width: 68ch;
  margin-bottom: 1.3rem;
  text-wrap: pretty;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose a {
  color: var(--green);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.value-card {
  position: relative;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.value-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
  background: var(--green-deep);
}

.value-index {
  display: block;
  margin-bottom: 12px;
  color: var(--green-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.value-card h3 {
  font-size: 15px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.rules-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
}

.rules-list li {
  position: relative;
  padding: 16px 0 16px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
  counter-increment: rule;
}

.rules-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.rules-list li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  top: 16px;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--green);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 9px;
}

.rules-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 14px;
}

.step-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: #07100b;
  background: var(--green);
  box-shadow: 3px 3px 0 var(--green-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 3px;
  font-size: 14px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.about-aside {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  display: grid;
  gap: 14px;
}

.aside-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.aside-card::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 56px;
  height: 56px;
  border: 1px dashed var(--line-strong);
  transform: rotate(12deg);
}

.aside-block {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 26px;
  height: 26px;
  background:
    linear-gradient(to bottom, var(--grass) 0 35%, transparent 35%),
    var(--dirt);
  border: 2px solid #061009;
  opacity: 0.8;
}

.aside-kicker {
  margin-bottom: 18px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.info-list {
  margin: 0;
}

.info-list div {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.info-list dt {
  margin-bottom: 3px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.info-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 12px;
}

.aside-note {
  padding: 20px;
  background: rgba(156, 231, 107, 0.045);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green-deep);
}

.aside-note .aside-kicker {
  margin-bottom: 10px;
  color: var(--muted-2);
}

.aside-note p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.aside-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  color: var(--green);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.aside-link:hover {
  color: var(--green-bright);
  background: var(--surface-3);
  border-color: var(--green-deep);
}

/* ---------- 14. 隐私政策 ---------- */
.section--privacy {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.policy-toc .aside-kicker {
  margin-bottom: 14px;
  color: var(--muted-2);
}

.policy-toc nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.policy-toc nav a {
  padding: 7px 8px;
  color: var(--muted);
  border-left: 2px solid transparent;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.policy-toc nav a:hover {
  color: var(--green);
  background: rgba(156, 231, 107, 0.04);
  border-left-color: var(--green-deep);
}

.policy-back {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  text-decoration: none;
}

.policy-back:hover {
  color: var(--green);
}

.policy-content {
  max-width: 74ch;
}

.policy-content section {
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.policy-content section:first-child {
  padding-top: 0;
  border-top: 0;
}

.policy-callout {
  margin: 22px 0;
  padding: 19px 20px;
  background: rgba(108, 172, 66, 0.055);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
}

.policy-callout strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 13px;
}

.policy-callout p {
  margin: 0;
  font-size: 13px;
}

.policy-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.policy-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.8;
}

.policy-list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--green-deep);
}

.policy-links-box {
  margin: 24px 0;
  padding: 16px 18px;
  background: rgba(7, 16, 11, 0.52);
  border: 1px dashed var(--line-strong);
}

.policy-links-label {
  margin-bottom: 10px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.policy-links-box ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-links-box a {
  font-size: 12px;
}

.policy-list--contact {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.inline-note {
  margin-left: 5px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 9px;
}

.policy-footnote {
  margin-top: 24px;
  padding-top: 16px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.8;
}

/* ---------- 15. CTA 横条 ---------- */
.cta-band {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(108, 172, 66, 0.09), transparent 50%),
    var(--surface);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band .eyebrow {
  margin-bottom: 8px;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  letter-spacing: -0.04em;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 16. 404 ---------- */
.error-page {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.error-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.error-code {
  display: flex;
  align-items: center;
  margin: 14px 0 6px;
  color: var(--surface-2);
  font-family: var(--font-mono);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.13em;
  text-shadow: 5px 5px 0 var(--green-deep);
  -webkit-text-stroke: 1px var(--line-strong);
  user-select: none;
}

.error-code span {
  display: inline-block;
}

.error-code .error-zero {
  color: var(--green);
  text-shadow: 5px 5px 0 var(--green-deep);
  -webkit-text-stroke: 1px var(--green-deep);
}

.error-copy h1 {
  margin: 22px 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.error-lead {
  max-width: 38em;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
  text-wrap: pretty;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 30px 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  list-style: none;
}

.error-links a {
  color: var(--muted-2);
  text-decoration: none;
}

.error-links a:hover {
  color: var(--green);
}

.error-visual {
  position: relative;
}

.error-scene {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background:
    linear-gradient(rgba(156, 231, 107, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 231, 107, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(108, 172, 66, 0.11), transparent 35%),
    var(--surface);
  background-size: 40px 40px, 40px 40px, auto, auto;
  border: 1px solid var(--line-strong);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.22);
}

.error-scene::before,
.error-scene::after {
  content: "";
  position: absolute;
  z-index: 1;
  background: rgba(211, 231, 217, 0.14);
  box-shadow:
    20px 0 0 rgba(211, 231, 217, 0.14),
    0 -10px 0 rgba(211, 231, 217, 0.12),
    20px -10px 0 rgba(211, 231, 217, 0.16);
  width: 20px;
  height: 10px;
}

.error-scene::before {
  top: 54px;
  left: 38px;
}

.error-scene::after {
  right: 30px;
  bottom: 70px;
  opacity: 0.5;
  transform: scale(0.75);
}

.error-block {
  position: absolute;
  z-index: 3;
  top: 48%;
  left: 50%;
  width: 176px;
  height: 176px;
  background-color: var(--dirt);
  background-image:
    linear-gradient(90deg, transparent 0 20%, rgba(255, 255, 255, 0.07) 20% 32%, transparent 32% 62%, rgba(0, 0, 0, 0.16) 62% 74%, transparent 74%),
    linear-gradient(0deg, transparent 0 35%, rgba(0, 0, 0, 0.13) 35% 46%, transparent 46% 70%, rgba(255, 255, 255, 0.045) 70% 82%, transparent 82%);
  background-size: 41px 41px, 53px 53px;
  border: 3px solid #061009;
  box-shadow:
    12px 12px 0 rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translate(-50%, -50%) rotate(-5deg);
}

.error-block__top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 31%;
  background-color: #60983d;
  background-image:
    linear-gradient(90deg, transparent 49%, rgba(42, 83, 31, 0.34) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(42, 83, 31, 0.34) 50%, transparent 51%);
  background-size: 29px 29px;
  border-bottom: 3px solid #3d662a;
}

.error-block__top::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 10px;
  width: 18px;
  height: 20px;
  background: #60983d;
  box-shadow:
    28px 0 0 #60983d,
    56px -3px 0 #60983d,
    96px 2px 0 #60983d,
    122px 0 0 #60983d;
  opacity: 0.92;
}

.error-block__face {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 24%, rgba(255, 255, 255, 0.03) 25%, transparent 26%);
}

.error-crack {
  position: absolute;
  z-index: 2;
  display: block;
  height: 3px;
  background: #24170f;
  box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.06);
  transform-origin: left center;
}

.error-crack--one {
  top: 32%;
  left: 16%;
  width: 54px;
  transform: rotate(46deg);
}

.error-crack--two {
  top: 49%;
  left: 35%;
  width: 62px;
  transform: rotate(-38deg);
}

.error-crack--three {
  top: 64%;
  left: 26%;
  width: 44px;
  transform: rotate(74deg);
}

.error-fragment {
  position: absolute;
  z-index: 4;
  display: block;
  border: 2px solid #061009;
  background: var(--dirt);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.error-fragment--a {
  top: 24%;
  left: 18%;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(to bottom, #60983d 0 35%, transparent 35%),
    var(--dirt);
  transform: rotate(14deg);
}

.error-fragment--b {
  top: 19%;
  right: 18%;
  width: 12px;
  height: 12px;
  transform: rotate(-18deg);
}

.error-fragment--c {
  right: 20%;
  bottom: 25%;
  width: 28px;
  height: 28px;
  background:
    linear-gradient(to bottom, #60983d 0 35%, transparent 35%),
    var(--dirt);
  transform: rotate(28deg);
}

.error-shadow {
  position: absolute;
  z-index: 2;
  bottom: 80px;
  left: 50%;
  width: 230px;
  height: 34px;
  background: rgba(0, 0, 0, 0.26);
  filter: blur(5px);
  transform: translateX(-50%) rotate(-5deg);
}

.error-coord {
  position: absolute;
  z-index: 4;
  bottom: 20px;
  left: 22px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.error-visual__note {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-align: right;
}

/* ---------- 17. 页脚 ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(3rem, 6vw, 4.6rem);
  padding-bottom: 26px;
  background: #07100b;
  border-top: 1px solid var(--line-strong);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--grass) 0 16px,
    #4f8533 16px 32px,
    var(--dirt) 32px 48px,
    var(--dirt-dark) 48px 64px
  );
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-bottom: 38px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand > p {
  margin-bottom: 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.9;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-nav h2 {
  margin: 0 0 13px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-nav span {
  display: block;
  margin: 9px 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--green);
}

.footer-nav span {
  color: var(--muted-2);
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px 30px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.7;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  max-width: 64ch;
}

.back-to-top {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 9px;
  text-decoration: none;
  white-space: nowrap;
}

.back-to-top:hover {
  color: var(--green-bright);
}

/* ---------- 18. 复制提示 ---------- */
.toast {
  position: fixed;
  z-index: 500;
  right: 50%;
  bottom: 24px;
  max-width: min(90vw, 420px);
  padding: 10px 15px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--green);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 14px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

/* ---------- 19. 动效 ---------- */
.js .reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease) var(--reveal-delay, 0ms),
    transform 0.7s var(--ease) var(--reveal-delay, 0ms);
}

.js .reveal-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .hero-enter {
  opacity: 0;
  animation: heroEnter 0.72s var(--ease) forwards;
}

.js .hero-copy .hero-enter:nth-child(1) {
  animation-delay: 0.04s;
}

.js .hero-copy .hero-enter:nth-child(2) {
  animation-delay: 0.12s;
}

.js .hero-copy .hero-enter:nth-child(3) {
  animation-delay: 0.2s;
}

.js .hero-copy .hero-enter:nth-child(4) {
  animation-delay: 0.28s;
}

.js .hero-copy .hero-enter:nth-child(5) {
  animation-delay: 0.36s;
}

.js .hero-visual.hero-enter {
  animation-delay: 0.22s;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cubeBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes cloudDrift {
  from {
    translate: 0 0;
  }
  to {
    translate: 22px 3px;
  }
}

@keyframes starTwinkle {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 0.9;
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1100px) {
  .hero-layout {
    gap: 2.5rem;
  }

  .hero-title {
    font-size: clamp(3rem, 5.8vw, 4.8rem);
  }

  .hero-visual {
    padding-right: 18px;
  }

  .world-scene {
    height: 430px;
  }

  .server-card {
    padding: 21px;
  }

  .join-panel {
    gap: 2.5rem;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2.8rem;
  }
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.6rem;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 8.4vw, 5.7rem);
  }

  .hero-visual {
    width: min(100%, 540px);
    max-width: 540px;
    margin-inline: auto;
    padding: 20px 22px 20px 12px;
  }

  .world-scene {
    height: 450px;
  }

  .sticker--top {
    right: 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-desc {
    max-width: 58ch;
  }

  .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-card:last-child {
    grid-column: 1 / -1;
  }

  .notice-layout {
    grid-template-columns: 1fr;
  }

  .notice-card {
    min-height: 350px;
  }

  .feature-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-card {
    flex-direction: column;
    gap: 13px;
  }

  .join-panel {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .contact-list {
    align-self: stretch;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro .section-desc {
    max-width: 58ch;
  }

  .faq-list {
    max-width: 760px;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-intro {
    max-width: 58ch;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .aside-card {
    grid-row: span 2;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .policy-toc {
    position: static;
  }

  .policy-toc nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 8px;
  }

  .policy-content {
    max-width: 74ch;
  }

  .error-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .error-copy {
    max-width: 680px;
  }

  .error-visual {
    width: min(100%, 520px);
  }

  .error-scene {
    min-height: 340px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
}

@media (max-width: 840px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(var(--container), calc(100% - 2rem));
  }

  .header-inner {
    gap: 12px;
    padding-block: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 2px 4px;
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    z-index: 110;
    display: none;
    flex-basis: auto;
    order: initial;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100dvh - var(--header-height) - 16px);
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #0b1710;
    border: 1px solid var(--line-strong);
    border-top: 0;
    box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.26);
  }

  .js .site-nav.is-open {
    display: flex;
    animation: navIn 0.2s var(--ease);
  }

  .nav-link {
    padding: 11px 12px;
    font-size: 13.5px;
  }

  .nav-link::after {
    right: auto;
    bottom: 6px;
    left: 12px;
    width: 16px;
  }

  .nav-join {
    min-height: 42px;
    margin: 6px 0 0;
    text-align: center;
  }

  .brand-text small {
    font-size: 7.5px;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero::after {
    display: none;
  }

  .hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .feature-stack {
    grid-template-columns: 1fr;
  }

  .feature-card {
    flex-direction: row;
    gap: 16px;
  }

  .page-hero__decor {
    top: 32px;
    right: -12px;
    opacity: 0.22;
  }

  .page-title {
    font-size: clamp(2.3rem, 7vw, 3.8rem);
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .about-aside {
    grid-template-columns: 1fr;
  }

  .aside-card {
    grid-row: auto;
  }

  .policy-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-nav {
    gap: 16px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .back-to-top {
    justify-self: start;
    margin-top: 4px;
  }
}

@media (max-width: 660px) {
  .section {
    padding-block: 4.2rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .hero-lead {
    margin-top: 23px;
    font-size: 14px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
  }

  .hero-tags {
    gap: 9px 16px;
    margin-top: 27px;
  }

  .hero-visual {
    padding: 18px 12px 16px 5px;
  }

  .sticker {
    display: none;
  }

  .world-scene {
    height: 390px;
  }

  .mega-cube {
    --cube-size: 142px;
  }

  .pixel-sign {
    right: 16px;
    bottom: 42px;
    min-width: 122px;
    padding: 10px 12px;
  }

  .scene-label--a {
    left: 7%;
  }

  .scene-label--b {
    right: 7%;
  }

  .pixel-tree {
    left: 6%;
    transform: scale(0.8);
    transform-origin: bottom left;
  }

  .hero-footnote {
    margin-top: 2.6rem;
    font-size: 10.5px;
  }

  .server-grid {
    grid-template-columns: 1fr;
  }

  .server-card:last-child {
    grid-column: auto;
  }

  .server-card {
    padding: 22px;
  }

  .notice-card__stamp {
    opacity: 0.6;
  }

  .join-panel {
    padding: 1.4rem;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.24);
  }

  .contact-row {
    gap: 10px;
  }

  .contact-glyph {
    width: 34px;
    height: 34px;
  }

  .contact-text strong {
    font-size: 11px;
  }

  .faq-answer {
    padding-right: 10px;
    padding-left: 42px;
  }

  .page-hero {
    padding-top: 1.8rem;
  }

  .page-title {
    font-size: clamp(2.1rem, 8.4vw, 3.2rem);
  }

  .page-intro {
    padding-left: 16px;
    font-size: 13.5px;
  }

  .prose {
    font-size: 14px;
  }

  .rules-list li {
    padding-left: 42px;
  }

  .policy-toc {
    padding: 16px;
  }

  .policy-toc nav a {
    font-size: 11.5px;
  }

  .error-page {
    padding-block: 2.5rem 4rem;
  }

  .error-code {
    font-size: clamp(5rem, 24vw, 8rem);
  }

  .error-copy h1 {
    margin-top: 18px;
  }

  .error-scene {
    min-height: 310px;
  }

  .error-block {
    width: 142px;
    height: 142px;
  }

  .error-fragment--a {
    left: 12%;
  }

  .error-fragment--b {
    right: 12%;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .cta-band__actions {
    width: 100%;
  }

  .cta-band__actions .btn {
    flex: 1 1 140px;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .nav-toggle__label {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
    letter-spacing: -0.055em;
  }

  .hero-actions {
    flex-direction: column;
    gap: 11px;
  }

  .hero-actions .btn {
    flex-basis: auto;
    width: 100%;
  }

  .hero-visual {
    padding-right: 8px;
  }

  .world-toolbar {
    gap: 8px;
    padding-inline: 9px;
  }

  .world-url {
    font-size: 8px;
  }

  .world-index {
    display: none;
  }

  .world-scene {
    height: 350px;
  }

  .mega-cube {
    --cube-size: 128px;
  }

  .pixel-sign {
    right: 12px;
    bottom: 36px;
    min-width: 112px;
    padding: 9px 10px;
  }

  .pixel-sign strong {
    font-size: 12px;
  }

  .scene-label {
    display: none;
  }

  .pixel-tree {
    left: 3%;
    bottom: 62px;
    transform: scale(0.66);
  }

  .world-footer {
    padding-inline: 10px;
    font-size: 7.5px;
  }

  .world-edition {
    font-size: 7px;
  }

  .notice-card__body {
    padding: 24px 20px;
  }

  .notice-card__bar {
    padding-inline: 22px;
  }

  .contact-row {
    flex-wrap: wrap;
  }

  .contact-text {
    flex-basis: calc(100% - 48px);
  }

  .contact-row .copy-btn {
    min-height: 36px;
    margin-left: 48px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn {
    width: 100%;
  }

  .policy-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-toc nav a {
    padding: 6px 8px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    margin-top: 8px;
  }
}

/* ---------- 21. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .hero-enter {
    opacity: 1;
    animation: none;
  }

  .js .reveal-enabled .reveal,
  .js .reveal-enabled .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .cube-float,
  .pixel-cloud,
  .world-stars,
  .status-dot {
    animation: none !important;
  }
}

/* ==========================================================================
   22. 周末愉快 · 新内容与二维码交互
   ========================================================================== */

/* 顶部「加入社区」与二维码面板 */
.nav-qr-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.nav-qr-wrap .nav-join {
  margin-left: 0;
}

.nav-join {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.nav-join__icon {
  display: block;
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  margin-right: 2px;
  background: currentColor;
  box-shadow:
    6px 0 0 currentColor,
    0 6px 0 currentColor,
    6px 6px 0 currentColor;
}

.nav-join.is-active,
.nav-qr-wrap.is-qr-open .nav-join {
  background: var(--green-bright);
  box-shadow:
    0 0 0 3px rgba(156, 231, 107, 0.3),
    4px 4px 0 var(--green-deep);
  outline: 2px solid var(--green-bright);
  outline-offset: 2px;
}

.nav-qr-panel {
  position: absolute;
  z-index: 160;
  top: calc(100% + 9px);
  right: 0;
  width: min(430px, calc(100vw - 2rem));
  padding: 16px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(108, 172, 66, 0.1), transparent 42%),
    var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow:
    12px 12px 0 rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.nav-qr-panel::before {
  content: "";
  position: absolute;
  right: 21px;
  bottom: 100%;
  width: 10px;
  height: 10px;
  background: var(--surface-2);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  transform: translateY(5px) rotate(45deg);
}

.nav-qr-panel:not([hidden]) {
  animation: qrPanelIn 0.18s var(--ease);
}

.nav-qr-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.nav-qr-panel__head > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-qr-panel__head strong {
  font-size: 17px;
  letter-spacing: 0.01em;
}

.nav-qr-eyebrow {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nav-qr-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.nav-qr-close:hover {
  color: var(--green);
  border-color: var(--green-deep);
}

.nav-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nav-qr-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
}

.nav-qr-panel__foot a {
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}

.nav-qr-panel__foot a:hover {
  color: var(--green-bright);
}

@keyframes qrPanelIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 白底二维码卡片：手机扫码需要足够对比度与留白 */
.qr-figure {
  margin: 0;
  padding: 9px;
  color: #101b14;
  background: #ffffff;
  border: 1px solid #d7e2d9;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22);
}

.qr-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
}

.qr-figure figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: 7px;
  padding-top: 7px;
  color: #26372b;
  border-top: 1px solid #dbe6dd;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
}

.qr-figure figcaption span {
  color: #526458;
  white-space: nowrap;
}

.qr-figure figcaption strong {
  overflow-wrap: anywhere;
  font-size: 9px;
  font-weight: 700;
  text-align: right;
}

.qr-panel-kicker {
  margin-bottom: 8px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

/* 唯一服务器展示卡 */
.server-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 255px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(108, 172, 66, 0.12), transparent 34%),
    linear-gradient(155deg, var(--surface-2), var(--surface) 72%);
  border: 1px solid var(--line-strong);
  box-shadow:
    10px 10px 0 rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.server-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--grass) 0 28px,
    var(--green-deep) 28px 56px,
    var(--dirt) 56px 84px,
    var(--dirt-dark) 84px 112px
  );
}

.server-showcase::after {
  content: "01";
  position: absolute;
  right: 20px;
  bottom: 4px;
  color: rgba(156, 231, 107, 0.055);
  font-family: var(--font-mono);
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.server-showcase__main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.server-showcase .server-card__top {
  margin-bottom: 20px;
}

.server-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.server-name span {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
}

.server-intro {
  max-width: 55ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  text-wrap: pretty;
}

.server-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 26px 0 0;
  border-block: 1px solid var(--line);
}

.server-facts div {
  min-width: 0;
  padding: 13px 12px;
  border-left: 1px solid var(--line);
}

.server-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.server-facts dt {
  margin-bottom: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.server-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 13px;
}

.server-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.server-showcase__actions .btn {
  min-height: 46px;
  padding: 10px 17px;
  font-size: 13px;
}

.server-warning {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 19px 0 0;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.7;
}

.server-warning .note-mark {
  margin-top: 5px;
  background: var(--amber);
}

.server-showcase__join {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  border-left: 1px dashed var(--line-strong);
}

.server-showcase__join .qr-figure {
  width: 100%;
  max-width: 230px;
}

.server-showcase__join > p:last-child {
  max-width: 24ch;
  margin: 12px 0 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.7;
}

/* 加入区二维码双卡 */
.join-panel--qr {
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
}

.join-copy .contact-list {
  margin-top: 24px;
}

.contact-link {
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--green);
  text-decoration: underline;
}

.join-qr-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  border-left: 1px dashed var(--line-strong);
}

.join-qr-heading {
  margin-bottom: 16px;
}

.join-qr-heading h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  letter-spacing: -0.03em;
}

.join-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}

.join-qr-side > p:last-child {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.8;
}

/* 桌面端较窄时，导航留出空间 */
@media (max-width: 1100px) {
  .site-nav {
    gap: 0;
  }

  .nav-link {
    padding-inline: 9px;
  }

  .nav-link::after {
    right: 9px;
    left: 9px;
  }
}

@media (max-width: 980px) {
  .server-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .server-showcase__join {
    align-self: auto;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 9px 20px;
    align-items: center;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px dashed var(--line-strong);
    border-left: 0;
  }

  .server-showcase__join .qr-panel-kicker {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .server-showcase__join .qr-figure {
    grid-row: span 2;
    max-width: 170px;
  }

  .server-showcase__join > p:last-child {
    max-width: 32ch;
    margin-top: 0;
  }

  .join-panel--qr {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .join-qr-side {
    padding-top: 2rem;
    padding-left: 0;
    border-top: 1px dashed var(--line-strong);
    border-left: 0;
  }

  .join-qr-grid {
    max-width: 620px;
  }
}

@media (max-width: 840px) {
  .nav-qr-wrap {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 6px 0 0;
  }

  .nav-qr-wrap .nav-join {
    width: 100%;
    min-height: 42px;
    margin: 0;
  }

  .nav-qr-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
    padding: 13px;
    border: 1px solid var(--line-strong);
    box-shadow: none;
  }

  .nav-qr-panel::before {
    display: none;
  }

  .nav-qr-panel__head {
    margin-bottom: 10px;
  }

  .nav-qr-panel__head strong {
    font-size: 15px;
  }

  .nav-qr-panel__foot {
    font-size: 7.5px;
  }
}

@media (max-width: 660px) {
  .server-showcase {
    padding: 1.25rem;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.22);
  }

  .server-name {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .server-name span {
    flex-basis: 100%;
    font-size: 9px;
  }

  .server-intro {
    font-size: 13px;
  }

  .server-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-facts div {
    border-top: 1px solid var(--line);
  }

  .server-facts div:nth-child(-n + 2) {
    border-top: 0;
  }

  .server-facts div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .server-showcase__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .server-showcase__actions .btn {
    width: 100%;
  }

  .join-qr-side {
    padding-top: 1.6rem;
  }
}

@media (max-width: 560px) {
  .server-showcase__join {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .server-showcase__join .qr-figure {
    width: min(100%, 240px);
    max-width: 240px;
    grid-row: auto;
  }

  .server-showcase__join > p:last-child {
    margin-top: 0;
  }

  .join-qr-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .nav-qr-panel {
    padding: 11px;
  }

  .nav-qr-grid {
    gap: 7px;
  }

  .nav-qr-panel__foot {
    display: none;
  }

  .qr-figure {
    padding: 7px;
  }

  .qr-figure figcaption {
    font-size: 7px;
  }

  .qr-figure figcaption strong {
    font-size: 8px;
  }
}

@media (max-width: 460px) {
  .hero-title {
    font-size: clamp(2.35rem, 11.4vw, 3.05rem);
  }

  .nav-qr-close {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 460px) {
  /* 加入区三个联系方式尽量保持单行，复制按钮靠右 */
  .join-copy .contact-row {
    flex-wrap: nowrap;
  }

  .join-copy .contact-text {
    flex-basis: auto;
    min-width: 0;
  }

  .join-copy .contact-row .copy-btn {
    min-height: 36px;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-qr-panel:not([hidden]) {
    animation: none;
  }
}
