/* ============ 预见之网 · 东方典藏 3D 数字展馆 ============ */
:root {
  --bg: #0c0e16;
  --bg-2: #11131e;
  --bg-3: #171a27;
  --panel: rgba(255,255,255,.035);
  --panel-2: rgba(255,255,255,.055);
  --line: rgba(201,169,97,.20);
  --line-soft: rgba(255,255,255,.08);
  --gold: #c9a961;
  --gold-light: #e8d09a;
  --gold-dark: #8f7538;
  --text: #f3efe5;
  --muted: #9ba0af;
  --muted-2: #6f7587;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --shadow: 0 24px 70px rgba(0,0,0,.45);
  --ease: cubic-bezier(.22,.8,.28,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 80% -10%, rgba(201,169,97,.10), transparent 45%),
              radial-gradient(ellipse at 0% 100%, rgba(70,90,150,.08), transparent 50%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--gold); color: #14131a; }

.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 1; }
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.text-center { text-align: center; }

/* ---------- 通用标题 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-size: 12px; letter-spacing: .32em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.section-title {
  font-family: var(--serif); font-weight: 500; letter-spacing: .06em;
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.35; margin: 0 0 18px;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-sub { color: var(--muted); max-width: 640px; font-size: 15px; margin: 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }
.section-head.center .eyebrow::after { content: ""; width: 30px; height: 1px; background: var(--gold); }
.gold-rule { width: 68px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin: 26px 0; }
.center .gold-rule { margin: 26px auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 28px; border: 1px solid var(--gold);
  color: var(--gold-light); background: transparent; cursor: pointer;
  font-size: 13px; letter-spacing: .14em; transition: all .35s var(--ease);
  position: relative; overflow: hidden; border-radius: 2px;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(101%); transition: transform .4s var(--ease); z-index: -1; }
.btn:hover { color: #15131a; }
.btn:hover::before { transform: translateY(0); }
.btn-solid { background: linear-gradient(120deg, var(--gold-dark), var(--gold)); color: #17141b; font-weight: 700; }
.btn-solid::before { background: var(--gold-light); }
.btn-ghost { border-color: var(--line-soft); color: var(--text); }
.btn-ghost::before { background: rgba(255,255,255,.09); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 12px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.more-link {
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold);
  font-size: 13px; letter-spacing: .18em; border-bottom: 1px solid var(--gold);
  padding-bottom: 6px; transition: gap .3s var(--ease), color .3s;
}
.more-link:hover { gap: 18px; color: var(--gold-light); }

/* ---------- 导航 ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; height: 88px; z-index: 100;
  display: flex; align-items: center; transition: all .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  height: 70px; background: rgba(10,12,19,.9); backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner { width: min(1240px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 42px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); transition: height .4s var(--ease); }
.site-nav.scrolled .brand img { height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-family: var(--serif); font-size: 17px; letter-spacing: .22em; color: var(--gold-light); font-weight: 600; }
.brand-text span { font-size: 9px; letter-spacing: .28em; color: var(--muted-2); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 13px; letter-spacing: .1em; color: rgba(243,239,229,.78);
  position: relative; padding: 8px 0; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-action { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 5px 0; transition: .3s; }

/* ---------- 首页沉浸式 3D 展厅 Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  background: radial-gradient(ellipse at 72% 44%, #1a1d2e 0%, #10121d 46%, #0b0d15 100%);
  padding: 130px 0 76px; overflow: hidden;
}
/* 透视网格地面 */
.hero-grid-bg {
  position: absolute; left: 0; right: 0; bottom: -10%; height: 62%; z-index: 0;
  background-image:
    linear-gradient(rgba(201,169,97,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,97,.10) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 82%);
  mask-image: linear-gradient(to top, #000 0%, transparent 82%);
  opacity: .5;
}
/* 极光光晕 */
.hero-aurora {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 74% 42%, rgba(201,169,97,.16), transparent 34%),
    radial-gradient(circle at 88% 72%, rgba(86,110,196,.12), transparent 30%);
}
.hero-inner {
  position: relative; z-index: 2; width: calc(100% - 64px); max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px; align-items: center;
}
/* ---- 左侧文案 ---- */
.hero-copy { max-width: 540px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .22em;
  color: var(--gold-light); text-transform: uppercase; margin-bottom: 26px;
}
.hero-eyebrow .eyebrow-line { width: 34px; height: 1px; background: var(--gold); }
.hero-eyebrow em { font-style: normal; color: var(--gold-dark); }
.hero h1 {
  font-family: var(--serif); font-weight: 500; letter-spacing: .03em;
  font-size: clamp(40px, 4.6vw, 66px); line-height: 1.24; margin: 0 0 26px;
  text-shadow: 0 4px 30px rgba(0,0,0,.55);
}
.hero h1 span {
  color: var(--gold-light);
  background: linear-gradient(100deg, #e8d09a, #c9a961 55%, #f3e3b8);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-copy > p { color: #b2b7c5; font-size: 14.5px; max-width: 500px; margin: 0 0 34px; line-height: 2.05; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-metrics {
  display: flex; gap: 40px; margin-top: 58px; padding-top: 26px;
  border-top: 1px solid var(--line); position: relative;
}
.hero-metrics::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 76px; height: 1px; background: var(--gold);
}
.hero-metrics div { display: flex; flex-direction: column; }
.hero-metrics strong {
  font-family: var(--serif); font-size: 32px; color: var(--gold-light);
  font-weight: 500; line-height: 1; letter-spacing: .02em;
}
.hero-metrics span { font-size: 10.5px; color: var(--muted-2); letter-spacing: .16em; margin-top: 9px; }

/* ---- 右侧 3D 舞台 ---- */
.hero-stage {
  position: relative; height: min(72vh, 660px); min-height: 500px;
  display: flex; align-items: center; justify-content: center;
}
.stage-halo {
  position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,.14) 0%, rgba(201,169,97,.03) 45%, transparent 70%);
  filter: blur(12px); pointer-events: none;
}
.stage-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(201,169,97,.18);
  pointer-events: none;
}
.stage-ring-a {
  width: 62%; aspect-ratio: 1; border-style: dashed; opacity: .6;
  animation: ringSpin 46s linear infinite;
}
.stage-ring-b {
  width: 46%; aspect-ratio: 1; border-color: rgba(201,169,97,.10);
  box-shadow: inset 0 0 40px rgba(201,169,97,.05);
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.stage-floor {
  position: absolute; bottom: 16%; width: 78%; height: 22%;
  background: radial-gradient(ellipse at center, rgba(201,169,97,.16), transparent 68%);
  transform: perspective(300px) rotateX(72deg); pointer-events: none;
}
.stage-frame {
  position: relative; width: 100%; height: 100%; z-index: 2;
  border: 1px solid rgba(201,169,97,.14);
  background: linear-gradient(150deg, rgba(255,255,255,.025), transparent 55%);
  backdrop-filter: blur(2px);
}
/* 四角取景框 */
.frame-corner { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 6; }
.frame-corner.tl { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.frame-corner.tr { top: -1px; right: -1px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.frame-corner.bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.frame-corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
/* HUD 顶栏 */
.stage-hud { position: absolute; left: 0; right: 0; z-index: 6; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; pointer-events: none; }
.stage-hud-top { top: 0; }
.hud-live { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .2em; color: var(--gold-light); }
.hud-live i { width: 6px; height: 6px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 10px #6ee7a8; animation: hudPulse 1.8s infinite; }
@keyframes hudPulse { 50% { opacity: .3; } }
.hud-tech { font-size: 9px; letter-spacing: .22em; color: var(--muted-2); }
/* 3D 画布容器 */
.banner-viewer { position: absolute; inset: 0; z-index: 3; }
.banner-viewer canvas { cursor: grab; }
.banner-viewer canvas:active { cursor: grabbing; }
/* 扫描线 */
.stage-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232,208,154,.7), transparent);
  opacity: .5; animation: scanMove 6s ease-in-out infinite;
}
@keyframes scanMove { 0% { top: 8%; opacity: 0; } 12% { opacity: .6; } 88% { opacity: .6; } 100% { top: 90%; opacity: 0; } }
/* HUD 底栏：藏品信息 */
.stage-hud-bottom {
  bottom: 0; align-items: flex-end; padding-bottom: 34px;
  background: linear-gradient(to top, rgba(10,12,20,.9), transparent);
}
.stage-era { font-size: 10px; letter-spacing: .18em; color: var(--gold); }
.stage-info h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin: 4px 0 0; letter-spacing: .04em; }
.stage-axis { display: flex; gap: 14px; font-size: 9px; letter-spacing: .1em; color: var(--muted-2); }
.stage-axis b { color: var(--gold-light); font-weight: 500; }
/* 底部藏品切换缩略图 */
.stage-thumbs {
  position: absolute; z-index: 7; right: 0; bottom: -30px; display: flex; gap: 8px;
}
.stage-thumbs button {
  width: 46px; height: 46px; padding: 4px; cursor: pointer;
  background: rgba(14,16,24,.9); border: 1px solid var(--line-soft);
  transition: .3s var(--ease);
}
.stage-thumbs button:hover { border-color: var(--gold); transform: translateY(-3px); }
.stage-thumbs button.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(201,169,97,.25); }
.stage-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.stage-tip {
  position: absolute; left: 0; bottom: -22px; z-index: 6; display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .1em; color: var(--muted-2);
}
.stage-tip i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
/* 侧边文字 */
.hero-side-label {
  position: absolute; right: 16px; top: 50%; z-index: 2;
  writing-mode: vertical-rl; font-size: 9px; letter-spacing: .34em; color: var(--muted-2);
  transform: translateY(-50%); text-transform: uppercase;
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  color: var(--muted-2); font-size: 10px; letter-spacing: .3em; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 跑马灯 ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: rgba(255,255,255,.02); }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee span { color: var(--muted); font-family: var(--serif); font-size: 14px; letter-spacing: .3em; }
.marquee span::before { content: "✦"; color: var(--gold); margin-right: 56px; font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 藏品卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.artifact-card {
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden;
  position: relative; transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  cursor: pointer; display: block;
}
.artifact-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow), 0 0 30px rgba(201,169,97,.12); }
.card-media {
  aspect-ratio: 1 / 1; position: relative; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 42%, #3a3d45 0%, #22252d 55%, #1a1c24 100%);
}
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12,14,22,.55), transparent 45%); pointer-events: none;
}
.card-media img {
  width: 78%; height: 78%; object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.5));
  transition: transform .7s var(--ease);
}
.artifact-card:hover .card-media img { transform: scale(1.09) rotate(-2deg); }
.card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 10px; letter-spacing: .16em; color: var(--gold-light);
  border: 1px solid var(--line); background: rgba(10,12,19,.65); padding: 4px 10px;
}
.card-vr {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 38px; height: 38px; border: 1px solid var(--line); background: rgba(10,12,19,.75);
  display: grid; place-items: center; color: var(--gold); font-size: 10px; letter-spacing: .05em;
  transition: background .3s;
}
.artifact-card:hover .card-vr { background: var(--gold); color: #15131a; }
.card-body { padding: 18px 18px 20px; }
.card-body h4 { font-family: var(--serif); font-size: 15px; font-weight: 500; margin: 0 0 6px; line-height: 1.5; color: var(--text); }
.card-body p { margin: 0; font-size: 11px; color: var(--muted-2); letter-spacing: .12em; }

/* ---------- 3D 臻品展台 ---------- */
.showcase-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.viewer-stage {
  position: relative; height: 580px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 40%, #232634 0%, #13151f 60%, #0d0f18 100%);
  overflow: hidden; border-radius: 3px;
}
.viewer-stage::before, .viewer-stage::after {
  content: ""; position: absolute; width: 26px; height: 26px; border-color: var(--gold); opacity: .65; pointer-events: none; z-index: 3;
}
.viewer-stage::before { top: 12px; left: 12px; border-top: 1px solid; border-left: 1px solid; }
.viewer-stage::after { bottom: 12px; right: 12px; border-bottom: 1px solid; border-right: 1px solid; }
#heroViewer, #detailViewer { position: absolute; inset: 0; }
.viewer-hint {
  position: absolute; left: 20px; bottom: 20px; z-index: 4; font-size: 10px;
  letter-spacing: .16em; color: var(--muted); display: flex; align-items: center; gap: 8px;
}
.viewer-hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(1.6); } }
.viewer-badge {
  position: absolute; top: 20px; left: 20px; z-index: 4;
  font-size: 10px; letter-spacing: .24em; color: var(--gold); border: 1px solid var(--line);
  padding: 6px 12px; background: rgba(10,12,19,.5);
}
.showcase-info { padding-left: 10px; }
.showcase-info .era { color: var(--gold); font-size: 12px; letter-spacing: .24em; margin-bottom: 14px; }
.showcase-info h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 500; line-height: 1.4; margin: 0 0 20px; }
.showcase-info p { color: var(--muted); font-size: 14px; line-height: 2; margin: 0 0 28px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-bottom: 30px; }
.spec-list div { background: var(--bg-2); padding: 14px 16px; }
.spec-list span { display: block; font-size: 10px; color: var(--muted-2); letter-spacing: .14em; }
.spec-list b { font-family: var(--serif); font-size: 15px; color: var(--gold-light); font-weight: 500; }
.viewer-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.icon-btn {
  width: 44px; height: 44px; border: 1px solid var(--line); background: var(--panel);
  color: var(--muted); cursor: pointer; display: grid; place-items: center; border-radius: 2px;
  transition: all .3s; font-size: 15px;
}
.icon-btn:hover, .icon-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(201,169,97,.1); }
.viewer-thumbs { display: flex; gap: 10px; margin-top: 22px; overflow-x: auto; padding-bottom: 6px; }
.viewer-thumbs button {
  width: 62px; height: 62px; flex: 0 0 62px; padding: 4px; border: 1px solid var(--line-soft);
  background: radial-gradient(circle, #343743, #1b1d26); cursor: pointer; transition: .3s;
}
.viewer-thumbs button.active, .viewer-thumbs button:hover { border-color: var(--gold); }
.viewer-thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- 关于区 ---------- */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; height: 540px; overflow: hidden; border: 1px solid var(--line); }
.about-visual img { width: 100%; height: 120%; object-fit: cover; transform: translateY(-8%); }
.about-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,12,19,.85)); }
.about-visual .caption {
  position: absolute; left: 26px; bottom: 24px; z-index: 2; border-left: 2px solid var(--gold); padding-left: 16px;
}
.about-visual .caption b { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.about-visual .caption span { display: block; font-size: 10px; letter-spacing: .22em; color: var(--gold); margin-top: 6px; }
.about-copy h3 { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px); font-weight: 500; line-height: 1.4; margin: 0 0 24px; }
.about-copy p { color: var(--muted); line-height: 2.1; font-size: 14px; margin-bottom: 18px; }
.about-copy .more-link { margin-top: 14px; }
.about-metrics { display: flex; gap: 40px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.about-metrics strong { display: block; font-family: var(--serif); font-size: 28px; color: var(--gold-light); font-weight: 500; }
.about-metrics span { font-size: 11px; color: var(--muted-2); letter-spacing: .14em; }

/* ---------- 筛选与画廊 ---------- */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  border: 1px solid var(--line-soft); background: transparent; color: var(--muted);
  padding: 9px 20px; font-size: 12px; letter-spacing: .12em; cursor: pointer; border-radius: 2px; transition: .3s;
}
.filter-btn:hover { color: var(--text); border-color: var(--line); }
.filter-btn.active { color: #17141b; background: var(--gold); border-color: var(--gold); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gallery-grid .artifact-card.show { animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 工艺流程 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-card { padding: 36px 28px; border: 1px solid var(--line-soft); background: var(--panel); position: relative; transition: .4s var(--ease); }
.process-card:hover { border-color: var(--line); transform: translateY(-6px); background: var(--panel-2); }
.process-card .num { font-family: var(--serif); font-size: 46px; color: rgba(201,169,97,.22); line-height: 1; margin-bottom: 22px; }
.process-card h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; margin: 0 0 12px; }
.process-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.9; }

/* ---------- CTA / 页脚 ---------- */
.cta-panel {
  border: 1px solid var(--line); padding: 72px 40px; text-align: center; position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,169,97,.1), transparent 65%);
}
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; width: 40px; height: 40px; border: 1px solid var(--gold); opacity: .5; }
.cta-panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.cta-panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.cta-panel h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 500; margin: 0 0 16px; }
.cta-panel p { color: var(--muted); margin: 0 auto 30px; max-width: 560px; font-size: 14px; }

.footer { border-top: 1px solid var(--line); background: #090b12; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; }
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted-2); font-size: 13px; line-height: 1.9; max-width: 260px; }
.footer h5 { font-family: var(--serif); color: var(--gold-light); font-size: 15px; font-weight: 500; letter-spacing: .1em; margin: 0 0 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer li a, .footer li span { color: var(--muted); font-size: 13px; transition: color .3s; }
.footer li a:hover { color: var(--gold); }
.footer-contact p { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.footer-contact b { color: var(--gold-light); font-weight: 500; }
.footer-bottom { border-top: 1px solid var(--line-soft); margin-top: 54px; padding-top: 22px; display: flex; justify-content: space-between; color: var(--muted-2); font-size: 11px; letter-spacing: .08em; }

/* ---------- 内页通用页头 ---------- */
.page-header {
  min-height: 460px; display: flex; align-items: flex-end; padding: 150px 0 70px;
  background-image: url('../img/hero.jpg'); background-size: cover; background-position: center right;
  position: relative; border-bottom: 1px solid var(--line);
}
.page-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,20,.96), rgba(10,12,20,.72) 60%, rgba(10,12,20,.4)), linear-gradient(0deg, var(--bg), transparent 50%); }
.page-header .container { z-index: 2; }
.page-header h1 { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 56px); font-weight: 500; margin: 0 0 16px; letter-spacing: .04em; }
.page-header p { color: var(--muted); max-width: 620px; margin: 0; font-size: 14px; line-height: 2; }
.crumb { font-size: 11px; letter-spacing: .16em; color: var(--muted-2); margin-bottom: 22px; }
.crumb a { color: var(--gold); }

/* ---------- 藏品库 ---------- */
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.search-box { display: flex; align-items: center; border: 1px solid var(--line-soft); background: var(--panel); padding: 0 16px; height: 46px; min-width: 290px; }
.search-box input { background: transparent; border: 0; outline: 0; color: var(--text); flex: 1; font-size: 13px; }
.search-box input::placeholder { color: var(--muted-2); }
.search-box span { color: var(--gold); font-size: 15px; }
.result-count { color: var(--muted-2); font-size: 12px; letter-spacing: .1em; }
.empty-state { text-align: center; padding: 80px 0; color: var(--muted); font-family: var(--serif); font-size: 18px; }

/* ---------- 3D 详情页 ---------- */
.detail-wrap { min-height: 100vh; padding-top: 88px; display: grid; grid-template-columns: 1fr 400px; background: #0d0f17; }
.detail-stage { position: relative; min-height: calc(100vh - 88px); background: radial-gradient(ellipse at 50% 42%, #262a38, #11131d 65%, #0b0d14); }
#detailViewer { position: absolute; inset: 0; }
.detail-topbar { position: absolute; top: 24px; left: 28px; right: 28px; z-index: 10; display: flex; justify-content: space-between; align-items: center; }
.back-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; letter-spacing: .14em; border: 1px solid var(--line); padding: 10px 16px; background: rgba(10,12,19,.6); transition: .3s; }
.back-link:hover { color: var(--gold); border-color: var(--gold); }
.detail-tools { display: flex; gap: 8px; }
.detail-tools .icon-btn { background: rgba(10,12,19,.6); }
.detail-stage-foot { position: absolute; left: 28px; bottom: 24px; z-index: 10; color: var(--muted-2); font-size: 11px; letter-spacing: .14em; }
.detail-stage-foot b { color: var(--gold); font-weight: 500; }
.detail-panel { border-left: 1px solid var(--line); padding: 42px 34px; overflow-y: auto; max-height: calc(100vh - 88px); }
.detail-panel .era { color: var(--gold); font-size: 11px; letter-spacing: .24em; }
.detail-panel h1 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.45; margin: 14px 0 24px; }
.detail-panel .desc { color: var(--muted); font-size: 13px; line-height: 2; margin-bottom: 30px; }
.detail-section-title { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 15px; color: var(--gold-light); margin: 30px 0 16px; }
.detail-section-title::before { content: ""; width: 16px; height: 1px; background: var(--gold); }
.detail-specs { border-top: 1px solid var(--line-soft); }
.detail-specs div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; }
.detail-specs span { color: var(--muted-2); letter-spacing: .1em; }
.detail-specs b { color: var(--text); font-family: var(--serif); font-weight: 500; }
.detail-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.detail-related button, .detail-related a { display: block; padding: 0; border: 1px solid var(--line-soft); background: radial-gradient(circle, #343743, #1b1d26); cursor: pointer; transition: .3s; aspect-ratio: 1; }
.detail-related button:hover, .detail-related button.active, .detail-related a:hover, .detail-related a.active { border-color: var(--gold); }
.detail-related img { width: 100%; height: 100%; object-fit: contain; }
.detail-actions { display: flex; gap: 10px; margin-top: 34px; }
.detail-actions .btn { flex: 1; padding: 0 12px; }
.viewer-fallback { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 13px; }
.viewer-status {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: rgba(12,14,22,.84);
  backdrop-filter: blur(4px); transition: opacity .4s var(--ease);
}
.viewer-status.hidden { opacity: 0; pointer-events: none; }
.viewer-status-spin {
  width: 40px; height: 40px; border: 2px solid rgba(201,169,97,.22);
  border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.viewer-status-text { font-size: 12px; letter-spacing: .2em; color: var(--gold-light); }
.viewer-status-track { width: 180px; height: 2px; background: rgba(255,255,255,.12); margin-top: 16px; }
.viewer-status-bar { height: 100%; width: 0; background: var(--gold); transition: width .25s var(--ease); }
.viewer-status-pct { font-size: 11px; color: var(--muted); margin-top: 9px; letter-spacing: .1em; }
.viewer-status.error { background: rgba(12,14,22,.95); }
.viewer-status-fallback { text-align: center; color: var(--muted); font-size: 12px; padding: 20px; }
.viewer-status-fallback img { width: 170px; height: 170px; object-fit: contain; margin: 0 auto 16px; }

/* ---------- 关于页 ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.story-visual img { width: 100%; height: 260px; object-fit: cover; border: 1px solid var(--line); }
.story-visual img:first-child { grid-row: span 2; height: 534px; }
.story-copy p { color: var(--muted); line-height: 2.1; font-size: 14px; }
.timeline { border-left: 1px solid var(--line); margin-left: 10px; padding-left: 40px; }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item::before { content: ""; position: absolute; left: -47px; top: 8px; width: 11px; height: 11px; border: 1px solid var(--gold); background: var(--bg); transform: rotate(45deg); }
.timeline-item b { color: var(--gold); font-family: var(--serif); font-size: 19px; font-weight: 500; }
.timeline-item h4 { font-family: var(--serif); font-size: 17px; font-weight: 500; margin: 8px 0 10px; }
.timeline-item p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.9; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { border: 1px solid var(--line-soft); padding: 36px 30px; background: var(--panel); }
.value-card .ico { font-family: var(--serif); font-size: 28px; color: var(--gold); margin-bottom: 18px; }
.value-card h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; margin: 0 0 12px; }
.value-card p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.9; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.contact-info h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0 0 24px; }
.contact-info > p { color: var(--muted); line-height: 2; font-size: 14px; margin-bottom: 30px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 34px; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list .ico { width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); font-size: 16px; }
.contact-list b { display: block; font-size: 11px; color: var(--muted-2); letter-spacing: .14em; font-weight: 400; }
.contact-list span { color: var(--text); font-size: 14px; }
.qr-box { border: 1px solid var(--line); padding: 18px; display: inline-flex; gap: 18px; align-items: center; background: var(--panel); }
.qr-box img { width: 110px; height: 110px; object-fit: contain; background: #fff; padding: 6px; }
.qr-box p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.contact-form { border: 1px solid var(--line); padding: 40px; background: var(--panel); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; letter-spacing: .16em; color: var(--muted); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--line-soft);
  color: var(--text); padding: 13px 14px; outline: none; transition: border .3s; font-size: 13px;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-msg { color: var(--gold); font-size: 12px; margin-top: 10px; min-height: 18px; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .card-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .showcase-layout { grid-template-columns: 1fr; gap: 36px; }
  .viewer-stage { height: 520px; }
  .about-layout, .story-grid, .contact-grid { gap: 44px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .detail-wrap { grid-template-columns: 1fr 340px; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0 0 auto; top: 70px; background: rgba(10,12,19,.98); flex-direction: column; padding: 30px; gap: 22px; transform: translateY(-130%); transition: transform .4s var(--ease); border-bottom: 1px solid var(--line); }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: block; }
  .nav-action .btn { display: none; }
  .hero-side-label { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 620px; }
  .hero-stage { height: 520px; }
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-stage { min-height: 62vh; }
  .detail-panel { max-height: none; border-left: 0; border-top: 1px solid var(--line); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { height: 420px; }
  .story-visual img:first-child { height: 400px; }
  .story-visual img { height: 193px; }
}
@media (max-width: 640px) {
  .container, .nav-inner { width: calc(100% - 32px); }
  .nav-inner { gap: 12px; }
  .brand-text { display: none; }
  .brand img { height: 34px; }
  .menu-toggle { margin-left: auto; border: 1px solid var(--line); }
  .section { padding: 80px 0; }
  .card-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-body { padding: 14px; }
  .card-body h4 { font-size: 13px; }
  .hero { padding-top: 100px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero-metrics { gap: 26px; margin-top: 42px; }
  .hero-metrics strong { font-size: 25px; }
  .hero-stage { height: 400px; min-height: 0; }
  .stage-info h3 { font-size: 16px; }
  .stage-axis { display: none; }
  .stage-thumbs button { width: 40px; height: 40px; }
  .stage-tip { display: none; }
  .viewer-stage { height: 400px; }
  .spec-list { grid-template-columns: 1fr 1fr; }
  .process-grid, .value-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cta-panel { padding: 50px 22px; }
  .detail-topbar { left: 14px; right: 14px; top: 14px; }
  .detail-panel { padding: 32px 22px; }
}
