/* ==========================================================
   心弦 · 全站共用样式
   字体三种混搭：
     标题  → 鸿雷行书
     副题 / 名号 / 小字 → 黄楷
     题词（诗句）→ 千图笔锋
     正文  → 系统宋体
   ========================================================== */

@font-face{
  font-family:"HongLei";
  src:url("../font/HongLeiXingShuJianTi/HongLeiXingShuJianTi-2.otf") format("opentype");
  font-display:swap;
}
@font-face{
  font-family:"HuangKai";
  src:url("../font/HuangKaiLvShiShouXieTi/huangkaihuaLawyerfont-2.ttf") format("truetype");
  font-display:swap;
}
@font-face{
  font-family:"QianTu";
  src:url("../font/QianTuBiFengShouXieTi/QianTuBiFengShouXieTi-2.ttf") format("truetype");
  font-display:swap;
}

:root{
  --night:#0B1220;
  --ink:#E6E1D8;
  --lamp:#E8B86D;
  --dim:rgba(230,225,216,.42);
  --s:1;

  --f-title:"HongLei","华文行楷","STXingkai",serif;
  --f-sub:"HuangKai","华文楷体","STKaiti","KaiTi",serif;
  --f-poem:"QianTu","华文行楷","STXingkai",serif;
  --f-song:"Source Han Serif SC","Noto Serif SC","华文中宋","STZhongsong","Songti SC","SimSun",serif;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html,body{
  width:100%; height:100%;
  background:var(--night); color:var(--ink);
  font-family:var(--f-song);
  overflow:hidden;
  -webkit-font-smoothing:antialiased;
}
a{ color:inherit; text-decoration:none; }

#stage{
  position:absolute; top:0; left:0;
  width:2560px; height:1440px;
  transform-origin:top left;
  background:var(--night);
  overflow:hidden;
}
#bg{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover;
}
/* 压暗：门厅不需要太暗，0.42 就够（原来是 0.62） */
#veil{
  position:absolute; inset:0;
  background:rgba(5,8,15,.42);
}

/* ---------------------------------------------------------
   顶部导航栏
   --------------------------------------------------------- */
#top{
  position:absolute; left:120px; right:120px; top:72px;
  display:flex; align-items:baseline; justify-content:space-between;
  z-index:10;
  padding-bottom:26px;
}
#top .brand{
  font-family:var(--f-title);
  font-size:50px; letter-spacing:18px;
  color:var(--ink);
  opacity:.9;
  transition:opacity .35s ease;
}
#top .brand:hover{ opacity:1; }

#top nav{ display:flex; gap:54px; }
#top nav a{
  position:relative;
  font-size:27px; letter-spacing:9px;
  color:rgba(230,225,216,.4);
  padding-bottom:12px;
  transition:color .35s ease;
}
#top nav a:hover{ color:rgba(230,225,216,.82); }
#top nav a::after{
  content:""; position:absolute; left:0; right:9px; bottom:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--lamp), transparent);
  opacity:0; transform:scaleX(.4);
  transition:opacity .35s ease, transform .35s ease;
}
/* 选中的那一项：字亮起来 + 底下一条金色细线展开 */
#top nav a.on{ color:var(--ink); }
#top nav a.on::after{ opacity:1; transform:scaleX(1); }

/* 顶栏底下那条「明暗交界线」：
   一条从两端透明到中间可见的细线，加一层往下渐隐的暗，
   把亮的天/底图和暗的内容区分开 */
#top::after{
  content:""; position:absolute; left:0; right:0; bottom:0;
  height:1px;
  background:linear-gradient(90deg,
      transparent 0%,
      rgba(230,225,216,.10) 8%,
      rgba(230,225,216,.30) 30%,
      rgba(230,225,216,.30) 70%,
      rgba(230,225,216,.10) 92%,
      transparent 100%);
  pointer-events:none;
}
#top::before{
  content:""; position:absolute; left:-120px; right:-120px; bottom:-64px;
  height:64px;
  background:linear-gradient(to bottom, rgba(5,8,15,.42), transparent);
  pointer-events:none;
}

/* ---------------------------------------------------------
   门厅
   --------------------------------------------------------- */
#cover{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
}
#cover::before{
  content:""; position:absolute;
  width:1400px; height:900px;
  background:radial-gradient(closest-side, rgba(232,184,109,.06), transparent 72%);
  pointer-events:none;
}
#cover .hero{
  font-family:var(--f-title);
  font-size:132px; letter-spacing:20px; text-indent:20px;
  line-height:1.2;
  position:relative;
  color:rgba(230,225,216,.72);          /* 整句一个亮度；嫌亮就调这个 0.72 */
  text-shadow:0 0 60px rgba(5,8,15,.9);
  white-space:nowrap;
}
#cover .hero .hard{ margin-left:34px; }

/* 题句下面那条线：两端化开，中间亮一点，再拖一层虚光 */
#cover .hr{
  position:relative;
  margin-top:58px;
  width:1120px; height:1px;
  background:linear-gradient(90deg,
      transparent 0%,
      rgba(230,225,216,.10) 8%,
      rgba(230,225,216,.58) 34%,
      rgba(230,225,216,.82) 50%,
      rgba(230,225,216,.58) 66%,
      rgba(230,225,216,.10) 92%,
      transparent 100%);
}
#cover .hr::after{
  content:"";
  position:absolute; left:0; right:0; top:0; height:1px;
  background:linear-gradient(90deg,
      transparent 0%,
      rgba(230,225,216,.30) 40%,
      rgba(230,225,216,.30) 60%,
      transparent 100%);
  filter:blur(7px);
  opacity:.85;
}

#foot{
  position:absolute; left:0; right:0; bottom:56px;
  text-align:center;
  font-family:var(--f-sub);
  font-size:24px; letter-spacing:14px;
  color:rgba(230,225,216,.22);
}

/* ---------------------------------------------------------
   内页
   --------------------------------------------------------- */
#main{
  position:absolute; left:120px; right:120px; top:280px; bottom:120px;
}
#main h1{
  font-family:var(--f-title);
  font-size:104px; letter-spacing:22px; text-indent:22px;
  font-weight:normal;
}
#main .rule{
  margin-top:30px;
  width:720px; height:1px;
  background:linear-gradient(to right,
      rgba(230,225,216,.62) 0%,
      rgba(230,225,216,.30) 34%,
      rgba(230,225,216,.10) 68%,
      transparent 100%);
}

/* 标题右边那枚小册子 —— 点它翻开册子（网站\index_册子.html） */
#main .head{
  display:flex; align-items:center; gap:34px;
}
#main .seal-link{ display:inline-block; line-height:0; }
#main .head .seal{
  height:96px; width:auto;
  opacity:.5;
  position:relative; top:6px;
  cursor:pointer;
  transition:opacity .35s ease, filter .35s ease;
}
#main .seal-link:hover .seal{
  opacity:.95;
  filter:drop-shadow(0 0 16px rgba(230,225,216,.35));
}
#main .note{
  margin-top:40px;
  font-size:28px; line-height:2.0; letter-spacing:2px;
  color:var(--dim);
  max-width:1100px;
}

/* 成员九宫格 */
#grid{
  margin-top:52px;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:26px;
}
#grid .card{
  position:relative;
  height:248px;
  overflow:hidden;
  background:#111a2a;
  filter:grayscale(.3) brightness(.72);
  transition:filter .45s ease, transform .45s ease;
  cursor:default;
}
#grid .card:hover{ filter:grayscale(0) brightness(1); transform:translateY(-6px); }
#grid .card img{ width:100%; height:100%; object-fit:cover; display:block; }
#grid .card .nm{
  position:absolute; left:0; right:0; bottom:16px;
  text-align:center;
  font-family:var(--f-sub);
  font-size:36px; letter-spacing:10px; text-indent:10px;
  color:var(--ink);
  text-shadow:0 2px 14px rgba(0,0,0,.95);
}

/* 故事：时间线 */
#timeline{ margin-top:60px; }
#timeline .node{
  position:relative;
  padding-left:64px; padding-bottom:50px;
  border-left:1px solid rgba(230,225,216,.14);
}
#timeline .node::before{
  content:""; position:absolute; left:-4px; top:12px;
  width:7px; height:7px; border-radius:50%;
  background:var(--lamp);
}
#timeline .node .t{
  font-family:var(--f-sub);
  font-size:26px; letter-spacing:6px; color:var(--lamp); opacity:.8;
}
#timeline .node .h{
  margin-top:12px;
  font-family:var(--f-title);
  font-size:48px; letter-spacing:10px; text-indent:10px;
}
#timeline .node .d{
  margin-top:12px;
  font-size:26px; line-height:1.95; letter-spacing:1.5px;
  color:var(--dim);
  max-width:980px;
}

/* 版本页 */
#log{ margin-top:56px; }
#log .rec{
  display:flex; gap:56px;
  padding:26px 0;
  border-bottom:1px solid rgba(230,225,216,.08);
}
#log .rec .d{
  font-family:var(--f-sub);
  font-size:24px; letter-spacing:3px;
  color:var(--lamp); opacity:.8;
  width:170px; flex:none; padding-top:8px;
}
#log .rec .c{ flex:1; }
#log .rec .c .v{
  font-family:var(--f-title);
  font-size:40px; letter-spacing:8px; text-indent:8px;
}
#log .rec .c ul{
  margin-top:12px; padding-left:0; list-style:none;
}
#log .rec .c li{
  font-size:25px; line-height:1.9; letter-spacing:1.5px;
  color:var(--dim);
}
#log .rec .c li::before{
  content:"·"; margin-right:12px; color:rgba(232,184,109,.6);
}

/* 占位块 */
.empty{
  margin-top:52px;
  border:1px dashed rgba(230,225,216,.16);
  height:300px;
  display:grid; place-items:center;
  font-size:24px; letter-spacing:8px;
  color:rgba(230,225,216,.22);
}

/* 按钮 */
.btn{
  display:inline-block;
  font-family:var(--f-title);
  font-size:54px; letter-spacing:18px; text-indent:18px;
  color:var(--ink);
  padding:24px 40px;
  border:1px solid rgba(232,184,109,.35);
  transition:border-color .4s ease, box-shadow .4s ease;
}
.btn:hover{
  border-color:rgba(232,184,109,.8);
  box-shadow:0 0 40px rgba(232,184,109,.12);
}
