:root {
  --ink: #080706;
  --ink-soft: #11100e;
  --panel: #17140f;
  --gold: #c79842;
  --gold-bright: #f1d38b;
  --gold-dark: #72501c;
  --ember: #b64a20;
  --paper: #e9e1d2;
  --muted: #938b7d;
  --line: rgba(202, 160, 76, .2);
  --shell: min(1240px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { color: #140d04; background: var(--gold-bright); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #080706; }
::-webkit-scrollbar-thumb { background: #5a421f; border-radius: 99px; }

.grain {
  position: fixed;
  z-index: 999;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.progress { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: 2px; pointer-events: none; }
.progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #8b541f, #ffe09b); box-shadow: 0 0 12px #eebc5b; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(211, 169, 82, .14);
  background: linear-gradient(180deg, rgba(5, 5, 4, .96), rgba(8, 7, 6, .84));
  backdrop-filter: blur(16px);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(8, 7, 6, .96); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.nav-shell { width: var(--shell); height: 82px; margin: 0 auto; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #e8c372;
  border: 1px solid rgba(232, 195, 114, .6);
  transform: rotate(45deg);
  font-family: SimSun, serif;
  font-size: 21px;
  line-height: 1;
}
.brand-mark::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(232, 195, 114, .25); }
.brand-mark::after { content: ""; position: absolute; inset: -5px 15px; border: solid rgba(232, 195, 114, .34); border-width: 0 1px; }
.brand-mark { text-shadow: 0 0 12px rgba(232, 195, 114, .7); }
.brand-mark { --r: -45deg; }
.brand-mark { color: transparent; }
.brand-mark::before { transform: none; }
.brand-mark::after { transform: none; }
.brand-mark { font-size: 0; }
.brand-mark > i { display: block; color: #e8c372; font-size: 20px; font-style: normal; transform: rotate(-45deg); }
.brand-mark::marker { display: none; }
.brand-mark { background: linear-gradient(135deg, rgba(255,255,255,.03), rgba(199,152,66,.1)); }
.brand-mark:empty::before { content: "杉"; display: grid; place-items: center; inset: 0; border: 0; color: #e8c372; font-size: 20px; transform: rotate(-45deg); }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { color: #e9d7ae; font-family: STKaiti, KaiTi, serif; font-size: 25px; letter-spacing: 3px; font-weight: 700; }
.brand-copy small { color: #7e7568; font: 8px/1 Arial, sans-serif; letter-spacing: 2.8px; }

.nav-links { flex: 1; display: flex; justify-content: center; align-self: stretch; }
.nav-links a { position: relative; display: flex; min-width: 104px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #c3baac; font-size: 14px; letter-spacing: 1px; transition: color .25s ease; }
.nav-links a::after { content: ""; position: absolute; right: 50%; bottom: 0; left: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-bright), transparent); transition: inset .25s ease; }
.nav-links a:hover, .nav-links a.active { color: #f1dbab; }
.nav-links a:hover::after, .nav-links a.active::after { right: 18%; left: 18%; }
.nav-links small { color: #625d55; font: 8px/1 Arial, sans-serif; letter-spacing: 1.8px; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.mobile-quick-downloads, .mobile-notice, .mobile-bottom-nav { display: none; }
.sound-button { width: 38px; height: 38px; padding: 0; border: 1px solid #3c352a; border-radius: 50%; background: rgba(255,255,255,.025); cursor: pointer; }
.sound-bars { display: flex; height: 14px; align-items: center; justify-content: center; gap: 2px; }
.sound-bars i { width: 2px; height: 6px; background: #9c8b6e; transition: .2s ease; }
.sound-bars i:nth-child(2) { height: 12px; }
.sound-button.playing .sound-bars i { background: var(--gold-bright); animation: sound 1s infinite ease-in-out; }
.sound-button.playing .sound-bars i:nth-child(2) { animation-delay: -.35s; }
.sound-button.playing .sound-bars i:nth-child(3) { animation-delay: -.7s; }
@keyframes sound { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.nav-download { display: grid; height: 40px; padding: 0 21px; place-items: center; color: #170e04; background: linear-gradient(110deg, #9d682b, #e2bf71 45%, #ae772e); font-size: 13px; font-weight: 700; letter-spacing: 1px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: filter .2s ease, transform .2s ease; }
.nav-download:hover { filter: brightness(1.15); transform: translateY(-1px); }
.menu-toggle { display: none; width: 40px; height: 40px; margin-left: auto; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px auto; background: #d5bc82; transition: .25s ease; }

.floating-qr-dock { position: fixed; z-index: 25; top: 50%; right: 18px; display: grid; width: 132px; gap: 10px; transform: translateY(-45%); }
.floating-qr-card { position: relative; display: block; padding: 8px 8px 10px; border: 1px solid rgba(212,169,84,.45); color: #d9c6a0; background: linear-gradient(145deg, rgba(21,17,11,.96), rgba(7,6,5,.96)); box-shadow: 0 14px 32px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.025); text-align: center; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.floating-qr-card::before, .floating-qr-card::after { content: ""; position: absolute; width: 12px; height: 12px; border-color: #c19147; pointer-events: none; }
.floating-qr-card::before { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.floating-qr-card::after { right: -1px; bottom: -1px; border-right: 1px solid; border-bottom: 1px solid; }
.floating-qr-card:hover { border-color: rgba(232,191,108,.8); box-shadow: 0 16px 36px rgba(0,0,0,.5), 0 0 22px rgba(190,128,40,.15); transform: translateX(-4px); }
.floating-qr-card > span { display: block; margin-bottom: 6px; color: #9e7940; font: 6px/1 Arial, sans-serif; letter-spacing: 1.4px; }
.floating-qr-card img { display: block; width: 104px; height: 104px; margin: 0 auto; padding: 4px; background: #fff; object-fit: contain; }
.floating-qr-card strong { display: block; margin-top: 7px; font-size: 12px; font-weight: 500; letter-spacing: 1px; }

.hero { position: relative; height: max(780px, 100vh); min-height: 720px; overflow: hidden; background: #080806; }
.hero-bg, .hero-vignette, .mist, .embers { position: absolute; inset: 0; }
.hero-bg { background-position: center; background-size: cover; will-change: transform, opacity; }
.hero-bg-a { background-image: url("assets/hero-01.png"); animation: heroBreath 14s ease-in-out infinite alternate; }
.hero-bg-b { background-image: url("assets/hero-02.png"); opacity: 0; animation: heroFlash 12s ease-in-out infinite; }
@keyframes heroBreath { from { transform: scale(1.01); } to { transform: scale(1.06) translateY(-7px); } }
@keyframes heroFlash { 0%, 35%, 100% { opacity: 0; } 45%, 58% { opacity: .62; } 70% { opacity: .08; } }
.hero-vignette { background: linear-gradient(90deg, rgba(4,4,3,.88) 0%, rgba(5,5,4,.33) 36%, rgba(5,5,4,.08) 62%, rgba(4,4,3,.58) 100%), linear-gradient(0deg, #090807 0%, transparent 28%, rgba(0,0,0,.28) 100%); }
.hero-vignette::after { content: ""; position: absolute; inset: 82px 0 0; background: radial-gradient(circle at 50% 40%, transparent 0, rgba(0,0,0,.05) 50%, rgba(0,0,0,.62) 100%); }
.mist { top: auto; bottom: -15%; height: 45%; opacity: .28; filter: blur(24px); background: radial-gradient(ellipse at 20% 50%, #d8d0b9 0, transparent 45%), radial-gradient(ellipse at 70% 60%, #b9b0a0 0, transparent 45%); animation: mist 20s ease-in-out infinite alternate; }
.mist-two { opacity: .12; transform: scaleX(-1); animation-delay: -8s; animation-duration: 27s; }
@keyframes mist { from { transform: translateX(-6%) scale(1.05); } to { transform: translateX(7%) scale(1.18); } }
.embers { overflow: hidden; pointer-events: none; }
.embers i { position: absolute; bottom: -20px; width: 2px; height: 2px; border-radius: 50%; background: #f4b15d; box-shadow: 0 0 6px #df6d26; opacity: 0; animation: emberRise var(--d) linear infinite; animation-delay: var(--delay); left: var(--x); }
@keyframes emberRise { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 10% { opacity: .8; } 100% { opacity: 0; transform: translate(var(--drift), -72vh) scale(1.8); } }

.hero-content { position: relative; z-index: 3; width: var(--shell); margin: 0 auto; padding-top: clamp(210px, 26vh, 270px); }
.eyebrow { display: flex; align-items: center; gap: 13px; color: #d7be85; font-family: KaiTi, STKaiti, serif; font-size: 15px; letter-spacing: 5px; }
.eyebrow span { width: 42px; height: 1px; background: linear-gradient(90deg, transparent, #b68234); }
.eyebrow span:last-child { background: linear-gradient(90deg, #b68234, transparent); }
.hero-title-wrap { position: relative; width: fit-content; margin-top: 20px; }
.hero-title-wrap h1 { position: relative; margin: 0; color: transparent; font-family: STKaiti, KaiTi, SimSun, serif; font-size: clamp(78px, 9vw, 140px); font-weight: 900; line-height: .95; letter-spacing: 9px; -webkit-text-stroke: 1px rgba(255, 224, 153, .7); background: linear-gradient(180deg, #fff2c3 0%, #d5a755 32%, #7e451a 72%, #edc476 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 6px 1px #2f1304) drop-shadow(0 12px 18px rgba(0,0,0,.65)); }
.hero-title-wrap h1::after { content: attr(data-text); position: absolute; inset: 0; z-index: -1; color: transparent; -webkit-text-stroke: 7px rgba(53, 24, 5, .72); }
.hero-seal { position: absolute; z-index: 2; top: 10px; right: -56px; display: grid; width: 37px; height: 58px; place-items: center; color: #f4dfaf; border: 1px solid #d9b161; background: #8a2f1b; font-family: KaiTi, serif; font-size: 13px; line-height: 17px; box-shadow: inset 0 0 0 3px #6a2517, 0 4px 15px rgba(0,0,0,.35); transform: rotate(4deg); }
.hero-subtitle { margin: 24px 0 0; color: #f1deb2; font-family: STKaiti, KaiTi, serif; font-size: clamp(22px, 2.1vw, 32px); letter-spacing: 8px; text-shadow: 0 2px 10px #000; }
.hero-desc { margin: 12px 0 0; color: #a9a092; font-size: 13px; letter-spacing: 3.5px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; min-width: 190px; height: 62px; padding: 0 25px; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; cursor: pointer; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); transition: transform .2s ease, filter .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-3px); filter: brightness(1.12); }
.button strong, .button small { display: block; }
.button strong { font-size: 15px; letter-spacing: 2px; }
.button small { margin-top: 4px; opacity: .62; font: 8px/1 Arial, sans-serif; letter-spacing: 1.4px; }
.button-primary { color: #211407; background: linear-gradient(115deg, #a66c27, #eed38d 48%, #a76d2a); box-shadow: 0 12px 35px rgba(142, 83, 23, .26); }
.button-ghost { color: #e6d7bb; border-color: rgba(225, 191, 120, .42); background: rgba(10, 9, 7, .46); backdrop-filter: blur(5px); }
.button-icon { font-size: 25px; transform: rotate(-25deg); }
.play-icon { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #9e885e; border-radius: 50%; color: #d7b76e; font-size: 8px; }
.hero-index { position: absolute; z-index: 3; right: max(40px, calc((100vw - 1240px) / 2)); bottom: 44px; display: flex; align-items: center; gap: 9px; color: #b5aa98; font: 10px Arial, sans-serif; letter-spacing: 2px; }
.hero-index i { position: relative; width: 74px; height: 1px; background: rgba(255,255,255,.2); }
.hero-index i::before { content: ""; position: absolute; width: 28%; height: 1px; background: #d9b56c; }
.scroll-cue { position: absolute; z-index: 3; bottom: 28px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #81796d; font: 8px Arial, sans-serif; letter-spacing: 3px; transform: translateX(-50%); }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(#a98546, transparent); animation: scrollCue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes scrollCue { 0%,100% { transform: scaleY(.35); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

.platform-strip { position: relative; z-index: 5; background: #0c0b09; border: solid var(--line); border-width: 1px 0; }
.platform-shell { width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.platform-item { display: flex; min-width: 0; height: 108px; padding: 0 27px; align-items: center; gap: 15px; border: 0; border-right: 1px solid rgba(199, 152, 66, .15); background: transparent; text-align: left; cursor: pointer; transition: background .25s ease; }
.platform-item:first-child { border-left: 1px solid rgba(199, 152, 66, .15); }
.platform-item:hover { background: linear-gradient(110deg, rgba(151,97,31,.17), rgba(255,255,255,.015)); }
.platform-icon { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border: 1px solid #51442f; color: #c69b52; font-size: 20px; transform: rotate(45deg); }
.platform-icon::first-letter { transform: rotate(-45deg); }
.platform-item strong, .platform-item small { display: block; }
.platform-item strong { color: #dcd2c2; font-size: 14px; letter-spacing: 1px; }
.platform-item small { margin-top: 6px; color: #6d675e; font-size: 11px; }
.platform-item b { margin-left: auto; color: #6f5c3d; font-size: 17px; font-weight: 400; transition: transform .2s ease, color .2s ease; }
.platform-item:hover b { color: #d0aa68; transform: translateX(5px); }

.section { position: relative; padding: 130px 0; }
.section-shell { width: var(--shell); margin: 0 auto; }
.section-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: #897d6b; font: 10px/1 Arial, sans-serif; letter-spacing: 3px; }
.section-kicker span { display: grid; width: 27px; height: 27px; place-items: center; color: #cda75d; border: 1px solid #5a482e; transform: rotate(45deg); font-size: 8px; }
.section-kicker.light { color: #b5a890; }
.section h2 { margin: 0; color: #e9e2d6; font-family: STKaiti, KaiTi, serif; font-size: clamp(43px, 4.5vw, 66px); font-weight: 500; line-height: 1.22; letter-spacing: 3px; }
.section h2 em { color: #d0a653; font-style: normal; }
.text-link { display: inline-flex; align-items: center; gap: 13px; color: #b79b67; font-size: 12px; letter-spacing: 2px; }
.text-link span { font-size: 18px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.section-heading { display: flex; margin-bottom: 56px; align-items: flex-end; justify-content: space-between; gap: 45px; }
.section-heading > p { max-width: 420px; margin: 0 0 6px; color: #7f786d; font-size: 13px; line-height: 1.9; letter-spacing: .5px; }

.world { overflow: hidden; background: radial-gradient(circle at 75% 50%, rgba(101,72,27,.16), transparent 32%), #0b0a08; }
.world::before { content: "杉"; position: absolute; top: 30px; right: 1vw; color: rgba(208, 166, 83, .025); font: 600 450px/1 SimSun, serif; }
.world-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; grid-template-areas: "copy visual" "stats visual"; gap: 45px 86px; align-items: center; }
.world-copy { grid-area: copy; }
.world-copy .lead { margin-top: 32px; color: #bcb3a4; font-size: 15px; line-height: 2; }
.world-copy p:not(.lead) { color: #776f64; font-size: 13px; line-height: 2; }
.world-copy .text-link { margin-top: 15px; }
.world-visual { position: relative; grid-area: visual; padding: 20px 24px 70px; }
.world-frame { position: relative; border: 1px solid #5b472a; background: #050504; box-shadow: 0 24px 70px rgba(0,0,0,.48); }
.world-frame::before { content: ""; position: absolute; z-index: 1; inset: 10px; border: 1px solid rgba(205,160,76,.16); pointer-events: none; }
.world-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: sepia(.12) contrast(1.05) brightness(.78); transition: filter .45s ease, transform .6s ease; }
.world-frame:hover img { filter: sepia(.03) contrast(1.08) brightness(.95); }
.corner { position: absolute; z-index: 2; width: 20px; height: 20px; border: solid #d3a556; }
.corner-a { top: -5px; left: -5px; border-width: 1px 0 0 1px; }
.corner-b { right: -5px; bottom: -5px; border-width: 0 1px 1px 0; }
.world-note { position: absolute; right: 0; bottom: 16px; display: flex; width: 265px; min-height: 87px; padding: 20px 25px; flex-direction: column; justify-content: center; border-left: 3px solid #ae7931; background: #18140e; box-shadow: 0 16px 40px rgba(0,0,0,.32); }
.world-note small { color: #6f675a; font: 8px Arial, sans-serif; letter-spacing: 2px; }
.world-note strong { margin-top: 7px; color: #dcc38f; font-family: KaiTi, serif; font-size: 18px; letter-spacing: 2px; }
.world-note span { position: absolute; right: 18px; bottom: 15px; color: #554d41; font-size: 9px; }
.world-stats { grid-area: stats; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.world-stats div { padding-top: 22px; }
.world-stats strong { display: block; color: #d7b46b; font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.world-stats span { display: block; margin-top: 6px; color: #635d54; font-size: 10px; }

.gameplay { overflow: hidden; background: #100e0b; }
.gameplay::before { content: ""; position: absolute; inset: 0; opacity: .2; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(197,148,60,.025) 18px 19px); }
.feature-stage { position: relative; display: grid; min-height: 580px; grid-template-columns: 1.35fr .65fr; border: 1px solid rgba(200,156,75,.26); background: #090807; box-shadow: 0 40px 90px rgba(0,0,0,.35); }
.feature-image-wrap { position: relative; display: grid; min-width: 0; overflow: hidden; place-items: center; background: radial-gradient(circle, #29231b, #080706 66%); }
.feature-image-wrap::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, transparent 70%, rgba(7,6,5,.8)); pointer-events: none; }
.feature-image-wrap img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease, transform .45s ease; }
.feature-image-wrap img.switching { opacity: 0; transform: scale(.985); }
.image-scan { position: absolute; z-index: 2; right: 0; left: 0; height: 80px; opacity: .35; background: linear-gradient(transparent, rgba(241,199,113,.08), transparent); animation: scan 5s linear infinite; pointer-events: none; }
@keyframes scan { from { top: -80px; } to { top: 100%; } }
.zoom-button { position: absolute; z-index: 3; right: 20px; bottom: 20px; display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid #665236; color: #e0bd77; background: rgba(8,7,6,.75); font-size: 22px; cursor: pointer; transition: background .2s ease; }
.zoom-button:hover { background: #8b5b25; color: #fff1cd; }
.feature-copy { position: relative; display: flex; padding: 65px 48px; flex-direction: column; justify-content: center; border-left: 1px solid rgba(200,156,75,.2); background: linear-gradient(145deg, #1a1712, #0e0c0a); }
.feature-copy::before { content: ""; position: absolute; top: 25px; right: 25px; width: 45px; height: 45px; border: solid rgba(207,169,94,.2); border-width: 1px 1px 0 0; }
.feature-number { color: #6f604a; font: 11px Arial, sans-serif; letter-spacing: 3px; }
.feature-type { margin: 30px 0 8px; color: #9c7740; font: 9px Arial, sans-serif; letter-spacing: 2.2px; }
.feature-copy h3 { margin: 0; color: #e5d2a8; font-family: STKaiti, KaiTi, serif; font-size: 42px; font-weight: 500; letter-spacing: 3px; }
.feature-copy > p:not(.feature-type) { margin: 22px 0 0; color: #8e8679; font-size: 13px; line-height: 2; }
.feature-meta { display: flex; margin-top: 28px; flex-wrap: wrap; gap: 8px; }
.feature-meta span { padding: 7px 11px; color: #a69270; border: 1px solid #3f3527; font-size: 10px; letter-spacing: 1px; }
.detail-button { display: flex; width: 100%; margin-top: 45px; padding: 17px 0; align-items: center; justify-content: space-between; color: #c8a664; border: solid #3e3528; border-width: 1px 0; background: transparent; font-size: 11px; letter-spacing: 2px; cursor: pointer; }
.detail-button span { font-size: 17px; transition: transform .2s ease; }
.detail-button:hover span { transform: translateX(5px); }
.feature-tabs { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-tab { position: relative; display: grid; min-height: 106px; padding: 0 22px; grid-template-columns: 30px 1fr; grid-template-rows: 1fr 1fr; column-gap: 12px; align-items: end; border: solid rgba(200,156,75,.15); border-width: 0 1px 1px 0; background: #0c0b09; text-align: left; cursor: pointer; transition: background .25s ease; }
.feature-tab:first-child { border-left: 1px solid rgba(200,156,75,.15); }
.feature-tab span { grid-row: 1 / 3; align-self: center; color: #5e5140; font: 12px Georgia, serif; }
.feature-tab strong { align-self: end; color: #a9a093; font-family: KaiTi, serif; font-size: 16px; font-weight: 400; letter-spacing: 1px; }
.feature-tab small { align-self: start; margin-top: 5px; color: #57524b; font-size: 9px; letter-spacing: 1px; }
.feature-tab::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: 0; height: 2px; background: #d4aa5b; transition: left .3s ease, width .3s ease; }
.feature-tab:hover, .feature-tab.active { background: #17130d; }
.feature-tab.active strong { color: #e2c98f; }
.feature-tab.active span { color: #b88a43; }
.feature-tab.active::after { left: 12%; width: 76%; }

.gallery { background: radial-gradient(circle at 15% 20%, rgba(113,75,25,.12), transparent 30%), #090806; }
.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, 280px); gap: 18px; }
.gallery-card { position: relative; overflow: hidden; padding: 0; border: 1px solid rgba(199,152,66,.25); background: #15120e; cursor: pointer; }
.gallery-wide { grid-row: 1 / 3; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.18) saturate(.8) brightness(.72); transition: transform .75s cubic-bezier(.2,.75,.25,1), filter .5s ease; }
.gallery-wide img { object-position: center; }
.gallery-card:hover img { transform: scale(1.045); filter: sepia(.04) saturate(1) brightness(.9); }
.gallery-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,4,.9), transparent 52%); }
.gallery-caption { position: absolute; right: 28px; bottom: 25px; left: 28px; display: grid; grid-template-columns: 1fr auto; align-items: end; text-align: left; }
.gallery-caption small { grid-column: 1 / 3; margin-bottom: 7px; color: #a17a40; font: 8px Arial, sans-serif; letter-spacing: 2px; }
.gallery-caption strong { color: #e4d4b6; font-family: KaiTi, serif; font-size: 23px; font-weight: 500; letter-spacing: 2px; }
.gallery-caption em { color: #8d8578; font-size: 10px; font-style: normal; letter-spacing: 1px; }
.gallery-card > i { position: absolute; top: 18px; right: 18px; display: grid; width: 38px; height: 38px; place-items: center; color: #b89558; border: 1px solid rgba(214,177,106,.38); background: rgba(0,0,0,.35); font-size: 18px; font-style: normal; opacity: 0; transform: scale(.75); transition: .25s ease; }
.gallery-card:hover > i { opacity: 1; transform: scale(1); }

.news { background: #0e0c09; border-top: 1px solid rgba(205,160,76,.08); }
.news-list { border-top: 1px solid #2b251c; }
.news-list article { display: grid; min-height: 142px; padding: 0 24px; grid-template-columns: 135px 1fr 40px; align-items: center; border-bottom: 1px solid #2b251c; transition: background .25s ease, padding .25s ease; }
.news-list article:hover { padding-right: 16px; padding-left: 32px; background: rgba(183,125,45,.06); }
.news-list time { color: #625b51; font: 10px Arial, sans-serif; letter-spacing: 1px; }
.news-list article div > span { color: #85632f; font: 8px Arial, sans-serif; letter-spacing: 2px; }
.news-list h3 { margin: 9px 0 7px; color: #cfc4b1; font-size: 17px; font-weight: 400; letter-spacing: 1px; }
.news-list p { margin: 0; color: #686158; font-size: 11px; }
.news-list b { color: #77613c; font-size: 18px; font-weight: 400; transition: transform .2s ease, color .2s ease; }
.news-list article:hover b { color: #deb96c; transform: translate(3px, -3px); }

.download { min-height: 690px; padding: 125px 0 100px; overflow: hidden; display: flex; align-items: center; }
.download-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,5,.94), rgba(6,6,5,.65) 52%, rgba(6,6,5,.8)), url("assets/hero-02.png") center / cover; filter: saturate(.65); transform: scale(1.03); }
.download-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #080706, transparent 30%, rgba(0,0,0,.2)), radial-gradient(circle at center, transparent, rgba(0,0,0,.65)); }
.download-shell { position: relative; }
.download-copy { max-width: 560px; }
.download-copy p { color: #a29a8e; font-size: 14px; letter-spacing: 1px; }
.download-options { display: grid; max-width: 930px; margin-top: 48px; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.download-card { display: flex; min-height: 170px; padding: 25px; flex-direction: column; align-items: flex-start; border: 1px solid rgba(220,185,111,.23); color: #d8cdbb; background: rgba(9,8,6,.75); backdrop-filter: blur(12px); text-align: left; cursor: pointer; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.download-card:hover { transform: translateY(-5px); border-color: rgba(235,195,111,.6); background: rgba(27,21,13,.88); }
.download-card > span { color: #9e7840; font: 10px Arial, sans-serif; letter-spacing: 2px; }
.download-card strong { margin-top: 18px; font-size: 15px; letter-spacing: 1px; }
.download-card small { margin-top: 7px; color: #6f685e; font-size: 10px; }
.download-card b { margin-top: auto; color: #b79252; font-size: 10px; font-weight: 400; letter-spacing: 1px; }
.download-card.primary { color: #211407; border-color: transparent; background: linear-gradient(140deg, #a8732f, #e1c179 55%, #9c6526); }
.download-card.primary > span, .download-card.primary small, .download-card.primary b { color: rgba(32,19,5,.67); }
.download-tip { margin-top: 20px; color: #625c53; font-size: 10px; letter-spacing: 1px; }

.site-footer { background: #070605; border-top: 1px solid rgba(205,160,76,.16); }
.footer-shell { width: var(--shell); min-height: 180px; margin: 0 auto; display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 45px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand > div { display: flex; flex-direction: column; }
.footer-brand strong { color: #d6c39d; font-family: KaiTi, serif; font-size: 23px; letter-spacing: 3px; }
.footer-brand small { margin-top: 4px; color: #5f584f; font: 7px Arial, sans-serif; letter-spacing: 2px; }
.footer-copy p { margin: 4px 0; color: #6b655c; font-size: 10px; letter-spacing: 1px; }
.footer-copy small { display: block; margin-top: 16px; color: #45413c; font-size: 9px; }
.back-top { color: #81745f; font-size: 10px; letter-spacing: 1px; }

.modal, .lightbox { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
.modal.open, .lightbox.open { visibility: visible; opacity: 1; }
.modal-backdrop, .lightbox-backdrop { position: absolute; inset: 0; background: rgba(3,3,2,.82); backdrop-filter: blur(8px); }
.modal-panel { position: relative; z-index: 1; width: min(480px, calc(100vw - 32px)); padding: 56px 55px 48px; border: 1px solid #6a5030; background: radial-gradient(circle at top, #272017, #0f0d0a 65%); box-shadow: 0 30px 100px #000; text-align: center; clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px); transform: translateY(18px); transition: transform .3s ease; }
.modal.open .modal-panel { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 18px; border: 0; color: #817563; background: transparent; font-size: 27px; cursor: pointer; }
.modal-rune { display: grid; width: 60px; height: 60px; margin: 0 auto 24px; place-items: center; color: #e7c679; border: 1px solid #8a682d; font-family: KaiTi, serif; font-size: 27px; transform: rotate(45deg); }
.modal-rune { color: transparent; }
.modal-rune::after { content: "杉"; color: #e7c679; transform: rotate(-45deg); }
.modal-panel > small { color: #826535; font: 8px Arial, sans-serif; letter-spacing: 3px; }
.modal-panel h2 { margin: 12px 0 15px; color: #ead9b6; font-family: KaiTi, serif; font-size: 30px; font-weight: 500; letter-spacing: 2px; }
.modal-panel > p { color: #837b6e; font-size: 12px; line-height: 1.9; }
.modal-path { display: flex; margin: 25px 0; padding: 14px 16px; align-items: center; justify-content: space-between; border: 1px solid #342c21; background: #0a0907; }
.modal-path span { color: #625b51; font-size: 10px; }
.modal-path strong { color: #bf9955; font-size: 11px; font-weight: 400; }
.modal-confirm { width: 100%; min-width: 0; }
.service-qr-panel { width: min(390px, calc(100vw - 34px)); padding: 46px 42px 34px; }
.service-qr-panel img { width: min(250px, 70vw); margin: 22px auto 15px; padding: 8px; background: #fff; }
.service-qr-panel > p { margin-bottom: 0; }
.lightbox { padding: 70px; }
.lightbox img { position: relative; z-index: 1; max-width: min(1200px, 92vw); max-height: 84vh; border: 1px solid #72572f; box-shadow: 0 30px 100px #000; object-fit: contain; transform: scale(.96); transition: transform .3s ease; }
.lightbox.open img { transform: scale(1); }
.lightbox-close { position: fixed; z-index: 2; top: 25px; right: 35px; border: 0; color: #d5bb87; background: transparent; font-size: 34px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 48px, 960px); }
  .nav-shell { gap: 20px; }
  .nav-links a { min-width: 86px; font-size: 12px; }
  .brand { min-width: auto; }
  .brand-copy strong { font-size: 21px; }
  .brand-copy small { display: none; }
  .platform-item { padding: 0 16px; }
  .world-grid { gap: 40px; }
  .feature-stage { grid-template-columns: 1.15fr .85fr; }
  .feature-copy { padding: 45px 34px; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100vw - 36px); }
  .nav-shell { height: 68px; }
  .site-header { background: rgba(8,7,6,.96); }
  .menu-toggle { display: block; }
  .nav-actions .nav-download { display: none; }
  .nav-links { position: fixed; top: 68px; right: 0; left: 0; display: flex; height: 0; padding: 0 18px; flex-direction: column; align-items: stretch; overflow: hidden; background: rgba(8,7,6,.98); transition: height .32s ease, padding .32s ease; }
  .nav-links.open { height: 375px; padding-top: 15px; padding-bottom: 15px; border-bottom: 1px solid #3d3020; }
  .nav-links a { min-height: 66px; flex-direction: row; justify-content: space-between; border-bottom: 1px solid #211c15; }
  .nav-links a::after { display: none; }
  .floating-qr-dock { right: 9px; width: 104px; gap: 7px; }
  .floating-qr-card { padding: 6px 6px 8px; }
  .floating-qr-card img { width: 78px; height: 78px; padding: 3px; }
  .floating-qr-card strong { margin-top: 5px; font-size: 10px; letter-spacing: 0; }
  .floating-qr-card > span { font-size: 5px; letter-spacing: .7px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { height: 780px; min-height: 0; }
  .hero-bg { background-position: 61% center; }
  .hero-vignette { background: linear-gradient(90deg, rgba(4,4,3,.74), rgba(4,4,3,.18)), linear-gradient(0deg, #090807, transparent 45%); }
  .hero-content { padding-top: 230px; text-align: center; }
  .eyebrow, .hero-actions { justify-content: center; }
  .hero-title-wrap { margin-right: auto; margin-left: auto; }
  .hero-title-wrap h1 { font-size: clamp(65px, 17vw, 105px); letter-spacing: 4px; }
  .hero-subtitle { font-size: 21px; letter-spacing: 4px; }
  .hero-desc { font-size: 11px; letter-spacing: 2px; }
  .hero-actions { margin-top: 32px; }
  .hero-index { display: none; }
  .platform-shell { grid-template-columns: repeat(2, 1fr); }
  .platform-item:nth-child(3) { border-left: 1px solid rgba(199,152,66,.15); }
  .platform-item:nth-child(-n+2) { border-bottom: 1px solid rgba(199,152,66,.15); }
  .section { padding: 90px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .world-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "visual" "stats"; }
  .world-copy { max-width: 630px; }
  .feature-stage { grid-template-columns: 1fr; }
  .feature-image-wrap { min-height: 430px; }
  .feature-image-wrap::before { background: linear-gradient(0deg, rgba(7,6,5,.8), transparent 35%); }
  .feature-copy { border-top: 1px solid rgba(200,156,75,.2); border-left: 0; }
  .feature-tabs { grid-template-columns: repeat(2, 1fr); }
  .feature-tab:nth-child(3) { border-left: 1px solid rgba(200,156,75,.15); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 250px; }
  .gallery-wide { grid-column: 1 / 3; grid-row: auto; }
  .download-options { grid-template-columns: 1fr; }
  .download-card { min-height: 130px; }
  .footer-shell { padding: 45px 0; grid-template-columns: 1fr auto; }
  .footer-copy { grid-column: 1 / 3; grid-row: 2; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 28px); }
  body { padding-bottom: 70px; }
  .site-header { height: 70px; }
  .nav-shell { width: calc(100vw - 18px); height: 70px; gap: 8px; }
  .brand { min-width: 0; gap: 7px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark::before { inset: 5px; }
  .brand-mark i { font-size: 15px; }
  .brand-copy strong { font-size: 17px; letter-spacing: 1px; white-space: nowrap; }
  .brand-copy small { display: none; }
  .menu-toggle, .nav-links, .nav-actions, .floating-qr-dock { display: none !important; }
  .mobile-quick-downloads { display: flex; margin-left: auto; gap: 6px; }
  .mobile-quick-downloads a { display: grid; min-width: 74px; height: 38px; padding: 0 9px; place-items: center; border: 1px solid #7b3517; border-radius: 10px; color: #fff0d3; background: linear-gradient(180deg, #a33c12, #6f220b); box-shadow: inset 0 1px rgba(255,255,255,.12); font-size: 12px; white-space: nowrap; }
  .mobile-notice { position: fixed; z-index: 98; top: 70px; right: 0; left: 0; display: flex; height: 38px; padding: 0 13px; align-items: center; gap: 9px; overflow: hidden; border-bottom: 1px solid rgba(193,142,59,.35); color: #bd9c64; background: rgba(6,5,4,.96); }
  .mobile-notice > span { color: #dfb45f; font-size: 22px; transform: rotate(180deg); }
  .mobile-notice div { min-width: 0; overflow: hidden; }
  .mobile-notice i { display: block; width: max-content; font-style: normal; font-size: 10px; letter-spacing: 1px; animation: mobileNotice 13s linear infinite; }
  @keyframes mobileNotice { from { transform: translateX(20%); } to { transform: translateX(-100%); } }
  .mobile-bottom-nav { position: fixed; z-index: 180; right: 0; bottom: 0; left: 0; display: grid; height: 70px; padding-bottom: env(safe-area-inset-bottom); grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(212,169,82,.35); background: rgba(7,6,5,.97); box-shadow: 0 -12px 32px rgba(0,0,0,.42); }
  .mobile-bottom-nav a, .mobile-bottom-nav button { display: flex; min-width: 0; padding: 7px 0 5px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; color: #d2c3aa; background: transparent; cursor: pointer; }
  .mobile-bottom-nav svg { width: 27px; height: 27px; fill: #c0a271; }
  .mobile-bottom-nav strong { font-size: 12px; font-weight: 400; letter-spacing: 1px; }
  .mobile-bottom-nav a:active, .mobile-bottom-nav button:active { color: #f1cc80; background: rgba(178,110,30,.14); }
  .hero { height: 760px; }
  .hero-content { padding-top: 238px; }
  .hero-title-wrap h1 { font-size: 64px; }
  .hero-seal { right: -38px; width: 30px; height: 50px; }
  .eyebrow { gap: 7px; font-size: 12px; letter-spacing: 2px; }
  .eyebrow span { width: 20px; }
  .hero-subtitle { font-size: 18px; letter-spacing: 3px; }
  .hero-desc { padding: 0 18px; line-height: 1.8; }
  .hero-actions { align-items: center; flex-direction: column; }
  .button { width: 220px; }
  .scroll-cue { display: none; }
  .platform-item { height: 88px; padding: 0 11px; gap: 10px; }
  .platform-icon { width: 34px; height: 34px; font-size: 16px; }
  .platform-item strong { font-size: 12px; }
  .platform-item small, .platform-item b { display: none; }
  .section h2 { font-size: 38px; }
  .world-visual { padding: 8px 0 60px; }
  .world-note { right: -3px; width: 220px; }
  .world-stats strong { font-size: 20px; }
  .world-stats span { font-size: 8px; }
  .feature-image-wrap { min-height: 300px; }
  .feature-copy { padding: 38px 25px; }
  .feature-copy h3 { font-size: 33px; }
  .feature-tabs { grid-template-columns: 1fr; }
  .feature-tab { min-height: 82px; }
  .feature-tab:nth-child(n) { border-left: 1px solid rgba(200,156,75,.15); }
  .gallery-grid { display: flex; flex-direction: column; }
  .gallery-card { height: 245px; }
  .gallery-wide { height: 310px; }
  .news-list article { padding: 24px 12px; grid-template-columns: 1fr 25px; }
  .news-list time { grid-column: 1 / 3; margin-bottom: 13px; }
  .news-list p { line-height: 1.7; }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-copy { grid-column: auto; grid-row: auto; }
  .back-top { display: none; }
  .modal-panel { padding: 50px 30px 38px; }
  .service-qr-panel { padding: 42px 24px 28px; }
  .lightbox { padding: 45px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
