/* ============ 子页共用外壳样式（与首页《重返未来：1999》视觉体系统一） ============ */

/* ---- 本地自包含字体（离线可用） ---- */
@font-face {
  font-family: 'Siyin Song';
  src: url('../assets/fonts/SiyinSong-Regular.ttf') format('truetype'),
       url('../assets/fonts/SiyinSong-Regular.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Huiwen Mingchao';
  src: url('../assets/fonts/HuiwenMingchao.ttf') format('truetype'),
       url('../assets/fonts/HuiwenMingchao.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Shanghai Modeng';
  src: url('../assets/fonts/ShanghaiModeng.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal; font-weight: 500;
  src: url('../assets/fonts/fonts.gstatic.com_s_cinzel_v26_8vIJ7ww63mVu7gt7-GT7LEc.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal; font-weight: 500;
  src: url('../assets/fonts/fonts.gstatic.com_s_cinzel_v26_8vIJ7ww63mVu7gt79mT7.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal; font-weight: 700;
  src: url('../assets/fonts/fonts.gstatic.com_s_cinzel_v26_8vIJ7ww63mVu7gt7-GT7LEc.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal; font-weight: 700;
  src: url('../assets/fonts/fonts.gstatic.com_s_cinzel_v26_8vIJ7ww63mVu7gt79mT7.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Siyin Song", "Noto Serif SC", serif;
  color: #e8e0d5; background: #141210; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(201, 169, 106, .35); color: #fff; }

/* ---- 背景层：静态海报 + 暗调（与首页视频铺底同氛围） ---- */
.bg-wrap { position: fixed; inset: 0; z-index: -2; background: #141210; }
.bg-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); }
.bg-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,10,8,.68) 0%, rgba(12,10,8,.30) 42%, rgba(12,10,8,.82) 100%),
    linear-gradient(90deg, rgba(12,10,8,.5) 0%, rgba(12,10,8,0) 55%, rgba(12,10,8,.4) 100%);
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.bg-vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  box-shadow: inset 0 0 220px rgba(0, 0, 0, .55);
}

/* ---- 入场动画 / 滚动显现 ---- */
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.anim-up { opacity: 0; animation: fade-up .85s cubic-bezier(.16,1,.3,1) forwards; }
.anim-down { opacity: 0; animation: fade-down .75s cubic-bezier(.16,1,.3,1) forwards; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---- 导航 ---- */
main { position: relative; z-index: 1; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(12,10,8,.72) 0%, rgba(12,10,8,.40) 48%, rgba(12,10,8,0) 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled {
  background: linear-gradient(180deg, rgba(12,10,8,.88) 0%, rgba(12,10,8,.62) 60%, rgba(12,10,8,.22) 100%);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201,169,106,.18);
  padding-top: 10px; padding-bottom: 10px;
}
.logo { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; }
.logo b { font-family: 'Shanghai Modeng', 'Microsoft YaHei', sans-serif; color: #e5c98c;
  font-size: 26px; letter-spacing: .14em; font-weight: 400; line-height: 1.12; }
.logo small { font-family: 'Cinzel', Georgia, 'Times New Roman', serif; color: #b8ac9c;
  font-size: 10px; letter-spacing: .26em; font-weight: 600; }
.nav-center { display: flex; align-items: center; gap: 2px; height: 48px; }
.nav-center a {
  font-family: "Siyin Song", "Noto Serif SC", serif;
  color: #cfc4b2; text-decoration: none; font-size: 14px; letter-spacing: 1.5px;
  padding: 7px 12px; border-radius: 8px; transition: color .25s, background .25s;
  white-space: nowrap;
}
.nav-center a:hover { color: #f0e6d2; background: rgba(201,169,106,.14); }
.nav-actions { display: flex; gap: 8px; height: 48px; padding: 3px; border-radius: 12px;
  background: rgba(14,12,10,.35); border: 1px solid rgba(201,169,106,.25);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-nav {
  display: flex; align-items: center; padding: 0 20px; border-radius: 9px;
  font-family: "Siyin Song", "Noto Serif SC", serif;
  font-size: 14px; letter-spacing: 2px; text-decoration: none; cursor: pointer;
  color: #e8e0d5; transition: background .25s, color .25s;
}
.btn-nav:hover { background: rgba(201,169,106,.14); color: #fff; }
.btn-nav.gold { background: linear-gradient(135deg, #caa96a, #a8874e); color: #171310; font-weight: 600; }
.btn-nav.gold:hover { filter: brightness(1.1); color: #171310; }

/* 导航下拉 */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: flex; align-items: center; gap: 4px;
  font-family: "Siyin Song", "Noto Serif SC", serif;
  color: #cfc4b2; text-decoration: none;
  font-size: 14px; letter-spacing: 1.5px; padding: 7px 12px; border-radius: 8px;
  transition: color .25s, background .25s; cursor: pointer; white-space: nowrap;
}
.nav-drop-btn:hover { color: #f0e6d2; background: rgba(201,169,106,.12); }
.nav-drop-btn .drop-arr { font-size: 9px; opacity: .7; transition: transform .25s; }
.nav-drop:hover .drop-arr { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%,6px);
  min-width: 184px; padding: 8px; border-radius: 12px; opacity: 0; visibility: hidden;
  background: rgba(16,13,11,.92); border: 1px solid rgba(201,169,106,.28);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0,0,0,.5);
  transition: opacity .3s, transform .3s, visibility .3s; z-index: 120;
}
.nav-drop-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.nav-drop-menu a {
  display: flex; align-items: center; gap: 9px;
  font-family: "Siyin Song", "Noto Serif SC", serif;
  color: #cfc4b2; text-decoration: none;
  font-size: 13.5px; letter-spacing: 2px; padding: 10px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-drop-menu a::before { content: "◆"; font-size: 7px; color: #c9a96a; opacity: .6; }
.nav-drop-menu a:hover { color: #fff; background: rgba(201,169,106,.14); }

/* 移动端 */
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid rgba(201,169,106,.35);
  background: rgba(14,12,10,.4); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; stroke: #e5c98c; }
.mobile-menu { position: fixed; inset: 0; z-index: 99; visibility: hidden; }
.mobile-menu.open { visibility: visible; }
.mobile-menu .mask {
  position: absolute; inset: 0; background: rgba(10,8,7,.88); opacity: 0; transition: opacity .4s;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mobile-menu.open .mask { opacity: 1; }
.mobile-menu .panel {
  position: absolute; top: 80px; left: 16px; right: 16px; border-radius: 18px;
  border: 1px solid rgba(201,169,106,.28); background: rgba(20,17,14,.92); padding: 18px;
  transform: translateY(-12px); opacity: 0; transition: all .4s cubic-bezier(.32,.72,0,1);
}
.mobile-menu.open .panel { transform: none; opacity: 1; }
.mobile-menu .panel a {
  display: block; padding: 14px 16px; color: #e8e0d5; text-decoration: none;
  font-family: "Siyin Song", "Noto Serif SC", serif;
  font-size: 17px; letter-spacing: 2px; border-radius: 10px;
}
.mobile-menu .panel a:hover { background: rgba(201,169,106,.12); }

/* ---- 页头 ---- */
.page-hero {
  min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  padding: 150px clamp(24px, 7vw, 110px) 70px; position: relative;
}
.page-hero .eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.page-hero .eyebrow span { font-size: 13px; letter-spacing: 7px; color: #c9a96a; white-space: nowrap; }
.page-hero .eyebrow::before, .page-hero .eyebrow::after {
  content: ""; height: 1px; width: 56px;
  background: linear-gradient(90deg, rgba(201,169,106,0), rgba(201,169,106,.7));
}
.page-hero .eyebrow::after { background: linear-gradient(90deg, rgba(201,169,106,.7), rgba(201,169,106,0)); }
.page-hero h1 {
  font-family: "Huiwen Mingchao", "Siyin Song", "Noto Serif SC", serif;
  font-size: clamp(38px, 6vw, 68px); font-weight: 700; line-height: 1.18;
  letter-spacing: .06em; text-shadow: 0 4px 34px rgba(0,0,0,.6);
}
.page-hero .sub {
  margin-top: 20px; max-width: 620px;
  font-family: "Huiwen Mingchao", "Siyin Song", "Noto Serif SC", serif;
  font-size: clamp(14px, 1.4vw, 17px); line-height: 2.1; color: #b8ac9c; letter-spacing: .04em;
}

/* ---- 分区标题 ---- */
.section { padding: 20px clamp(24px, 7vw, 110px) 80px; max-width: 1440px; margin: 0 auto; }
.sec-head { margin-bottom: 44px; }
.sec-head .no { font-size: 12px; letter-spacing: 5px; color: #c9a96a; }
.sec-head h2 { margin-top: 14px; font-size: clamp(24px, 3vw, 34px); letter-spacing: .12em; font-weight: 600; }
.sec-head .rule { margin-top: 22px; height: 1px; max-width: 520px;
  background: linear-gradient(90deg, rgba(201,169,106,.65), rgba(201,169,106,0)); position: relative; }
.sec-head .rule::before { content: "◆"; position: absolute; left: 0; top: -9px; font-size: 10px; color: #c9a96a; }

/* ---- 卡片 ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  position: relative; padding: 30px 28px 26px;
  background: rgba(18,15,13,.6);
  border: 1px solid rgba(232,224,213,.13);
  border-radius: 4px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201,169,106,.55); box-shadow: 0 18px 46px rgba(0,0,0,.4); }
.card .tag { font-size: 11px; letter-spacing: 4px; color: #c9a96a; }
.card h3 { margin: 16px 0 12px; font-size: 19px; letter-spacing: 1px; line-height: 1.5; }
.card p { font-size: 13.5px; color: #b8ac9c; line-height: 2; letter-spacing: .03em; }
.card .more {
  display: inline-block; margin-top: 18px; font-size: 12px; letter-spacing: 3px;
  color: #e5c98c; text-decoration: none; border-bottom: 1px solid rgba(201,169,106,.4); padding-bottom: 3px;
}
.card .more:hover { color: #fff; border-color: rgba(255,255,255,.6); }

/* ---- 主按钮 ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 28px; text-decoration: none; cursor: pointer;
  font-family: "Siyin Song", "Noto Serif SC", serif;
  font-size: 14px; letter-spacing: 3px; border-radius: 12px; transition: all .3s;
}
.btn-solid { color: #171310; background: linear-gradient(135deg, #d8b87a, #b08d51); box-shadow: 0 6px 24px rgba(178,140,80,.25); }
.btn-solid:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-line { color: #e5c98c; border: 1px solid rgba(201,169,106,.55); background: transparent; }
.btn-line:hover { background: rgba(201,169,106,.15); color: #fff; }

/* ---- 导航用户胶囊（登录态） ---- */
.nav-user { position: relative; height: 48px; display: flex; align-items: center; }
.nav-user-btn {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 9px;
  background: rgba(14,12,10,.35); border: 1px solid rgba(201,169,106,.35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #e5c98c; text-decoration: none; font-family: "Siyin Song","Noto Serif SC",serif;
  font-size: 14px; letter-spacing: 1.5px; cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s;
}
.nav-user-btn:hover { background: rgba(201,169,106,.16); color: #fff; }
.nav-user-btn .u-arr { font-size: 9px; opacity: .7; transition: transform .25s; }
.nav-user:hover .u-arr { transform: rotate(180deg); }
.nav-user-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 176px; padding: 8px; border-radius: 12px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  background: rgba(16,13,11,.92); border: 1px solid rgba(201,169,106,.28);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0,0,0,.5);
  transition: opacity .3s, transform .3s, visibility .3s; z-index: 120;
}
.nav-user-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-user:hover .nav-user-menu, .nav-user:focus-within .nav-user-menu { opacity: 1; visibility: visible; transform: none; }
.nav-user-menu .u-name {
  padding: 8px 14px; font-size: 12px; color: #8d8272; letter-spacing: 2px;
  border-bottom: 1px dashed rgba(201,169,106,.2); margin-bottom: 4px; white-space: nowrap;
}
.nav-user-menu a {
  display: flex; align-items: center; gap: 9px;
  font-family: "Siyin Song","Noto Serif SC",serif;
  font-size: 13.5px; letter-spacing: 2px; color: #cfc4b2; text-decoration: none;
  padding: 9px 14px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-user-menu a::before { content: "◆"; font-size: 7px; color: #c9a96a; opacity: .6; }
.nav-user-menu a:hover { color: #fff; background: rgba(201,169,106,.14); }

/* ---- 页脚 ---- */
footer {
  border-top: 1px solid rgba(201,169,106,.16);
  padding: 10px clamp(24px, 5vw, 64px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; text-align: center;
  background: rgba(12,10,8,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
footer span { font-size: 12px; color: #8d8272; letter-spacing: 1.5px; line-height: 1.5; }
footer a { color: #b8ac9c; text-decoration: none; }
footer a:hover { color: #e5c98c; }
footer .footer-notice { font-size: 11px; color: #6f6657; letter-spacing: 2px; }

/* ---- 响应式 ---- */
@media (max-width: 960px) {
  .nav-center { display: none; }
  .menu-toggle { display: flex; }
  .page-hero { min-height: 56vh; padding-top: 130px; }
}
@media (max-width: 640px) {
  .nav-actions .btn-nav:not(.gold) { display: none; }
  .page-hero { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}