:root {
  --army: #2f3d2a;
  --army-deep: #1c2718;
  --olive: #8fbf5a;
  --olive-lime: #c3e07a;
  --cream: #f5f4ec;
  --ink: #1c2418;
  --ink-soft: #3f4a35;
  --paper: #fafaf4;
  --muted: #6d7662;
  --line: #dfe3d2;
  --shell: 1160px;
  --header-height: 72px;
  --shadow: 0 18px 44px rgba(30, 45, 22, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.page-shell { width: min(var(--shell), calc(100% - 40px)); margin: 0 auto; }

/* 通用 header */
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header-height); background: var(--cream); border-bottom: 1px solid var(--line); }
.nav-shell { width: min(var(--shell), calc(100% - 40px)); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.primary-nav a:hover { color: var(--army-deep); }
.nav-download { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 10px; background: var(--army); color: #fff; font-size: 14px; font-weight: 800; }
.nav-download:hover { background: var(--army-deep); }
.icon { width: 16px; height: 16px; display: inline-block; background-repeat: no-repeat; background-position: center; background-size: contain; }
.icon-download { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4M4 17v3h16v-3'/%3E%3C/svg%3E"); }
.icon-menu { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2418' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E"); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 11px; font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--army); color: #fff; box-shadow: 0 10px 24px rgba(47,61,42,0.28); }
.button-primary:hover { box-shadow: 0 14px 30px rgba(47,61,42,0.38); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }

/* hero — 游戏 HUD 瞄具取景框 */
.hero {
  position: relative; isolation: isolate; overflow: hidden; padding: 58px 0 82px; color: #fff;
  background: radial-gradient(circle at 78% 26%, rgba(143,191,90,0.20), transparent 42%),
              radial-gradient(circle at 12% 88%, rgba(195,224,122,0.10), transparent 46%),
              linear-gradient(155deg, #1c2718 0%, #2f3d2a 56%, #3c4c30 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(195,224,122,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(195,224,122,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 44%, #000 8%, transparent 76%);
  mask-image: radial-gradient(ellipse at 70% 44%, #000 8%, transparent 76%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); gap: 40px; align-items: center; }
.hero-copy h1 { margin: 0 0 8px; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; }
.hero-title { margin: 0 0 18px; font-size: 20px; font-weight: 800; color: var(--olive-lime); }
.hero-summary { margin: 0 0 26px; max-width: 35em; color: #ced9c1; }
.hero .eyebrow { color: var(--olive-lime); }
.hero-copy .button-primary { min-width: 178px; background: var(--olive-lime); color: #1c2718; box-shadow: 0 10px 26px rgba(195,224,122,0.3); }

/* HUD 取景框舞台 */
.hud-stage { position: relative; display: grid; place-items: center; min-height: 470px; animation: hud-in 1s ease both; }
.hud-reticle { position: absolute; width: 388px; height: 388px; border-radius: 50%; border: 1px solid rgba(195,224,122,.22); pointer-events: none; }
.hud-reticle::before, .hud-reticle::after { content:""; position:absolute; background: rgba(195,224,122,.32); }
.hud-reticle::before { left: 50%; top: -12px; bottom: -12px; width: 1px; }
.hud-reticle::after { top: 50%; left: -12px; right: -12px; height: 1px; }
.hud-corner { position: absolute; width: 34px; height: 34px; border-color: var(--olive-lime); border-style: solid; pointer-events: none; z-index: 5; }
.hud-corner.tl { top: 6%; left: 4%; border-width: 3px 0 0 3px; border-radius: 6px 0 0 0; }
.hud-corner.tr { top: 6%; right: 4%; border-width: 3px 3px 0 0; border-radius: 0 6px 0 0; }
.hud-corner.bl { bottom: 8%; left: 4%; border-width: 0 0 3px 3px; border-radius: 0 0 0 6px; }
.hud-corner.br { bottom: 8%; right: 4%; border-width: 0 3px 3px 0; border-radius: 0 0 6px 0; }
.hud-scan { position: absolute; left: 8%; right: 8%; top: 44%; height: 2px; background: linear-gradient(90deg, transparent, var(--olive-lime), transparent); opacity: .6; pointer-events: none; box-shadow: 0 0 14px var(--olive-lime); animation: hud-scan 4s ease-in-out infinite; }
.hud-phone {
  position: relative; z-index: 3; width: 224px; padding: 9px; border-radius: 38px;
  background: linear-gradient(150deg, #5c6e4a 0%, #2c3823 24%, #141b10 62%, #465438 100%);
  border: 1px solid rgba(195,224,122,.3);
  box-shadow: 0 34px 64px rgba(0,0,0,.5), 0 0 0 2px rgba(143,191,90,.16), inset 0 1px 2px rgba(255,255,255,.2), inset 0 -1px 2px rgba(0,0,0,.5);
  animation: hud-phone 1s cubic-bezier(.2,.8,.2,1) both;
}
.hud-phone::before { content:""; position:absolute; left:-3px; top:118px; width:3px; height:44px; border-radius:3px 0 0 3px; background:linear-gradient(#5c6e4a,#141b10); }
.hud-phone::after { content:""; position:absolute; right:-3px; top:96px; width:3px; height:64px; border-radius:0 3px 3px 0; background:linear-gradient(#5c6e4a,#141b10); }
.hud-screen { position: relative; border-radius: 30px; overflow: hidden; }
.hud-phone img { width: 100%; aspect-ratio: 9/19; object-fit: cover; object-position: top; border-radius: 30px; display: block; }
.hud-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 82px; height: 19px; border-radius: 0 0 12px 12px; background: #141b10; z-index: 3; }
.hud-notch::after { content:""; position:absolute; right:12px; top:6px; width:6px; height:6px; border-radius:50%; background:#2c3823; box-shadow: inset 0 0 2px rgba(195,224,122,.7); }
.hud-reflection { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 30px; background: linear-gradient(118deg, transparent 32%, rgba(255,255,255,.10) 43%, rgba(255,255,255,.03) 50%, transparent 62%); }
.hud-homebar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 76px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.6); z-index: 3; }
/* 区服标签 */
.hud-server { position: absolute; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 8px; background: rgba(20,28,16,.92); border: 1px solid rgba(143,191,90,.5); color: #e8f0dc; font-size: 12px; font-weight: 700; box-shadow: 0 12px 26px rgba(0,0,0,.4); }
.hud-server i { width: 8px; height: 8px; border-radius: 50%; background: var(--olive-lime); box-shadow: 0 0 8px var(--olive-lime); }
.hud-server b { display: block; color: #b6dc86; font-size: 14px; }
.hud-server.a { top: 9%; left: -2%; animation: hud-chip .7s .2s ease both; }
.hud-server.b { bottom: 14%; right: -3%; animation: hud-chip .7s .35s ease both; }
/* HUD 读数条 */
.hud-readout { position: absolute; z-index: 5; top: 48%; left: -9%; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 11px; line-height: 1.5; color: rgba(195,224,122,.75); letter-spacing: .08em; }
.hud-readout span { display: block; }
.hud-badge { position: absolute; z-index: 5; top: 2%; right: 6%; padding: 6px 12px; border-radius: 4px; border: 1px solid rgba(195,224,122,.5); color: var(--olive-lime); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
@keyframes hud-in { from { opacity:0; } to { opacity:1; } }
@keyframes hud-phone { from { opacity:0; transform: translateY(24px) scale(.96); } to { opacity:1; transform: none; } }
@keyframes hud-chip { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform: none; } }
@keyframes hud-scan { 0%,100% { top: 30%; opacity:.35; } 50% { top: 62%; opacity:.75; } }

.yx-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: -40px 0 0; position: relative; z-index: 6; }
.yx-metrics div { padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 26px rgba(30,45,22,0.08); border-top: 3px solid var(--olive); text-align: center; }
.yx-metrics b { display: block; color: var(--army-deep); font-size: 22px; line-height: 1.2; }
.yx-metrics span { color: var(--muted); font-size: 13px; }

.features { padding: 54px 0 58px; }
.yx-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yx-features article { position: relative; padding: 26px 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(30,45,22,0.05); transition: transform .25s ease, box-shadow .25s ease; }
.yx-features article:nth-child(2) { transform: translateY(12px); }
.yx-features article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.yx-features .num { position: absolute; top: 14px; right: 16px; font-size: 30px; font-weight: 900; color: #eef3e3; }
.yx-features .ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #eef4e2; color: var(--army); font-size: 18px; font-weight: 900; }
.yx-features h4 { margin: 12px 0 8px; font-size: 18px; color: var(--army-deep); }
.yx-features p { margin: 0; color: var(--muted); font-size: 14px; }

.screens { padding: 20px 0 58px; background: linear-gradient(180deg, transparent, #eef3e4 16%, transparent 92%); }
.yx-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.yx-gallery figure { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 22px rgba(30,45,22,0.06); transition: transform .25s ease; }
.yx-gallery figure:nth-child(2) { transform: translateY(12px); }
.yx-gallery figure:hover { transform: translateY(-5px); }
.yx-gallery img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; }
.yx-gallery figcaption { padding: 12px 14px; font-size: 13px; font-weight: 800; color: var(--army-deep); }
.yx-gallery figcaption span { color: var(--muted); font-weight: 500; margin-left: 6px; }
.yx-guide { margin-top: 22px; padding: 22px 24px; border-radius: 14px; background: var(--army-deep); color: #d3dec7; border-left: 4px solid var(--olive-lime); }
.yx-guide h4 { margin: 0 0 8px; color: #fff; font-size: 17px; }
.yx-guide p { margin: 0; }

.faq { padding: 16px 0 58px; }
.yx-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.yx-faq details { border-radius: 12px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.yx-faq details[open] { border-color: #bcd79a; box-shadow: 0 8px 22px rgba(143,191,90,0.12); }
.yx-faq summary { padding: 15px 18px; cursor: pointer; list-style: none; font-weight: 700; color: var(--army-deep); }
.yx-faq summary::-webkit-details-marker { display: none; }
.yx-faq summary::before { content: "Q"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 7px; background: var(--army); color: #fff; font-size: 12px; vertical-align: middle; }
.yx-faq h3 { margin: 0; font-size: 16px; display: inline; }
.yx-faq .faq-answer { padding: 0 18px 16px 52px; color: var(--muted); font-size: 14px; }
.yx-faq .faq-answer p { margin: 0; }

.official { padding: 6px 0 44px; }
.yx-official { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 32px; border-radius: 16px; background: linear-gradient(120deg, #1c2718, #3d5230); color: #fff; position: relative; overflow: hidden; }
.yx-official::before { content: ""; position: absolute; top: -40px; right: 40px; width: 160px; height: 160px; border-radius: 50%; border: 1px dashed rgba(195,224,122,0.42); }
.yx-official .eyebrow { color: var(--olive-lime); }
.yx-official h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 30px); position: relative; }
.yx-official p { margin: 0; color: #cbd9bd; max-width: 42em; position: relative; }
.yx-official .button { position: relative; z-index: 1; background: var(--olive-lime); color: #1c2718; }

.reviews { padding: 10px 0 58px; }
.yx-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.yx-reviews article { position: relative; padding: 18px 18px 16px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 18px rgba(30,45,22,0.04); }
.yx-reviews article::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--olive); border-radius: 0 3px 3px 0; }
.yx-reviews article:nth-child(even)::before { background: var(--army); }
.yx-reviews p { margin: 0 0 12px; color: var(--ink-soft); font-size: 14px; }
.yx-reviews footer { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }
.yx-reviews footer span { font-weight: 800; color: var(--army-deep); }

.download { padding: 0 0 68px; }
.yx-download { position: relative; overflow: hidden; padding: 44px 40px; border-radius: 18px; background: radial-gradient(circle at 88% 20%, rgba(195,224,122,0.22), transparent 40%), linear-gradient(125deg, #1c2718, #3a4e2c); color: #fff; box-shadow: var(--shadow); }
.yx-download::before { content: ""; position: absolute; width: 200px; height: 200px; right: -30px; bottom: -60px; border-radius: 50%; border: 1px dashed rgba(195,224,122,0.45); }
.yx-download .eyebrow { color: var(--olive-lime); }
.yx-download h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); position: relative; }
.yx-download p { margin: 0 0 22px; max-width: 38em; color: #cbd9bd; position: relative; }
.yx-download .button { position: relative; min-width: 190px; background: var(--olive-lime); color: #1c2718; }

.site-footer { padding: 44px 0 96px; background: #182113; color: #c3d0b7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.footer-brand { display: grid; gap: 10px; justify-items: start; }
.footer-brand img { width: 40px; height: 40px; border-radius: 11px; background: #fff; object-fit: cover; }
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand p { margin: 0; font-size: 14px; color: #9bab8f; max-width: 28em; }
.footer-title { margin: 0 0 10px; color: #fff; font-size: 14px; font-weight: 800; }
.footer-nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-nav a { color: #9bab8f; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: #8ea082; }
.legal { grid-column: 1 / -1; font-size: 12px; color: #849676; }
.legal p { margin: 0 0 8px; }
.legal a { color: #b4c6a5; }
.disclaimer { line-height: 1.7; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(30,45,22,0.16); }
.to-top::before { content: ""; display: block; width: 12px; height: 12px; margin: 14px auto 0; border-left: 2px solid var(--army); border-top: 2px solid var(--army); transform: rotate(45deg); }

@media (max-width: 960px) {
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--cream); padding: 12px 20px 18px; border-bottom: 1px solid var(--line); }
  .primary-nav.is-open ul { flex-direction: column; gap: 12px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav-download { order: 2; }
  .hero-grid, .yx-features, .yx-gallery, .yx-faq, .yx-reviews, .yx-official, .footer-grid { grid-template-columns: 1fr; }
  .yx-features article:nth-child(2), .yx-gallery figure:nth-child(2) { transform: none; }
  .yx-official { align-items: flex-start; }
}
@media (max-width: 640px) {
  .hero { padding: 30px 0 74px; }
  .hud-stage { min-height: 400px; transform: scale(.88); }
  .hud-reticle { width: 320px; height: 320px; }
  .hud-server.a { left: 0; }
  .hud-server.b { right: 0; }
  .hud-readout { left: 0; }
  .yx-metrics { grid-template-columns: 1fr; margin-top: 20px; }
  .yx-download { padding: 32px 22px; }
  .yx-download::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hud-stage, .hud-phone, .hud-server, .hud-scan { animation: none; }
  .yx-features article, .yx-gallery figure { transition: none; }
  html { scroll-behavior: auto; }
}
