/* ==================== 基础变量 ==================== */
:root {
  --bg-dark: #0b0d12;
  --bg-panel: #12151d;
  --bg-panel-2: #181c27;
  --gold: #d4af37;
  --gold-light: #f0d68a;
  --gold-dark: #8a6d2f;
  --gold-dim: rgba(212, 175, 55, 0.15);
  --red: #a8322b;
  --red-bright: #c94033;
  --text: #e8e2d0;
  --text-muted: #9a937f;
  --text-dim: #6b6656;
  --line: rgba(212, 175, 55, 0.25);
  --nav-h: 64px;
  --topbar-h: 40px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; }
img { display: block; max-width: 100%; }
.container { width: 1200px; max-width: 92%; margin: 0 auto; }
.font-serif { font-family: "STKaiti", "KaiTi", "SimSun", serif; }

/* 金色渐变文字 */
.gold-text {
  background: linear-gradient(180deg, #f7e7b0 0%, #d4af37 55%, #9a7a25 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 区块标题 */
.section { padding: 70px 0 60px; }
.section-title {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin-bottom: 46px; position: relative;
}
.section-title::before, .section-title::after {
  content: ""; height: 1px; width: 120px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}
.section-title::after { background: linear-gradient(90deg, var(--gold-dark), transparent); }
.section-title h2 {
  font-size: 32px; letter-spacing: 8px; font-weight: 700;
  font-family: "STKaiti", "KaiTi", serif;
}
.section-title .en {
  font-size: 12px; letter-spacing: 3px; color: var(--text-dim);
  text-transform: uppercase; display: block; text-align: center; margin-top: 2px;
}
.section-title .title-inner { text-align: center; }

/* ==================== Hero ==================== */
.hero {
  position: relative; height: 92vh; min-height: 560px; max-height: 860px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.62) saturate(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center 42%, rgba(11,13,18,0) 0%, rgba(11,13,18,.55) 78%, var(--bg-dark) 100%),
    linear-gradient(180deg, rgba(11,13,18,.5) 0%, transparent 25%, transparent 70%, var(--bg-dark) 100%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 0 16px; }
.hero-badge {
  display: inline-block; padding: 5px 22px; margin-bottom: 26px;
  border: 1px solid var(--line); color: var(--gold-light);
  font-size: 13px; letter-spacing: 4px; background: rgba(11,13,18,.4);
}
.hero-title {
  font-size: clamp(64px, 11vw, 128px);
  font-family: "STKaiti", "KaiTi", serif; font-weight: 700;
  letter-spacing: 18px; line-height: 1.15;
  text-shadow: 0 0 40px rgba(212,175,55,.45), 0 6px 18px rgba(0,0,0,.8);
  animation: heroIn 1.1s ease both;
}
.hero-sub {
  margin-top: 18px; font-size: clamp(15px, 2vw, 20px);
  letter-spacing: 8px; color: var(--text); opacity: .92;
  animation: heroIn 1.1s .25s ease both;
}
.hero-desc {
  margin: 14px auto 0; max-width: 560px;
  color: var(--text-muted); font-size: 14px; letter-spacing: 1px;
  animation: heroIn 1.1s .4s ease both;
}
.hero-btns {
  margin-top: 42px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  animation: heroIn 1.1s .55s ease both;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 150px; padding: 13px 30px; font-size: 16px; letter-spacing: 3px;
  border: 1px solid transparent; cursor: pointer; transition: all .25s;
  font-family: inherit; border-radius: 2px;
}
.btn-gold {
  background: linear-gradient(180deg, #f0d68a 0%, #d4af37 45%, #a87e22 100%);
  color: #1a1408; font-weight: 700;
  box-shadow: 0 0 22px rgba(212,175,55,.4), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(212,175,55,.55); }
.btn-outline {
  background: rgba(11,13,18,.45); color: var(--gold-light);
  border-color: var(--gold-dark);
}
.btn-outline:hover { background: var(--gold-dim); border-color: var(--gold); }
.btn-red {
  background: linear-gradient(180deg, #d0503f 0%, #8e251d 100%);
  color: #fff; font-weight: 700;
  box-shadow: 0 0 18px rgba(168,50,43,.4);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 6px 26px rgba(168,50,43,.55); }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--text-muted); font-size: 12px; letter-spacing: 3px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: bob 2s ease-in-out infinite;
}
.hero-scroll .arrow { width: 18px; height: 18px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* 跑马灯公告条 */
.notice-bar {
  background: var(--bg-panel); border-top: 1px solid rgba(212,175,55,.15);
  border-bottom: 1px solid rgba(212,175,55,.15);
  height: 44px; display: flex; align-items: center; overflow: hidden;
}
.notice-bar .label {
  flex: none; padding: 0 18px; height: 100%; display: flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, rgba(168,50,43,.35), transparent);
  color: var(--gold-light); font-size: 13px; letter-spacing: 2px;
  border-right: 1px solid rgba(212,175,55,.15);
}
/* ⚠️ height:100% 不可省：ul 是 absolute（脱离文档流），而 .notice-bar 是
   align-items:center——若不给高度，track 会塌成 0px，配上 overflow:hidden
   就把整条跑马灯裁没了。这个 bug 在文案为空时看不出来（空 ul 本来就不可见），
   2026-09-12 首次配上真实文案才暴露。 */
.notice-track { flex: 1; height: 100%; overflow: hidden; position: relative; }
.notice-track ul {
  position: absolute; white-space: nowrap; animation: marquee 30s linear infinite;
  /* 行高与条高一致，使文字在 44px 内垂直居中；不能用 transform 居中——
     那会被 marquee 的 translateX 覆盖 */
  line-height: 44px;
}
/* 鼠标悬停整条跑马灯即暂停滚动，移开继续——便于看清文案。
   用 animation-play-state 而非取消 animation：后者会让元素跳回起点。 */
.notice-bar:hover .notice-track ul { animation-play-state: paused; }
.notice-track li { display: inline-block; padding-right: 80px; color: var(--text-muted); font-size: 13px; }
.notice-track li b { color: var(--gold-light); font-weight: normal; margin-right: 6px; }
.notice-track li:hover { color: var(--text); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==================== 新闻中心 ==================== */
.news-wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
.news-main { background: var(--bg-panel); border: 1px solid rgba(212,175,55,.14); }
.news-empty { padding: 48px 28px; text-align: center; color: var(--text-dim); }
.news-list { padding: 20px 28px; }
.news-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border-bottom: 1px dashed rgba(212,175,55,.12);
  cursor: pointer; transition: all .2s;
}
.news-list li:last-child { border-bottom: none; }
.news-list li:hover { padding-left: 8px; }
.news-list li:hover .t { color: var(--gold-light); }
.news-list .dot { width: 5px; height: 5px; background: var(--gold-dark); transform: rotate(45deg); flex: none; }
.news-list .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.news-list .t b { font-weight: normal; margin-right: 4px; }
.news-list .t b.tag-a { color: var(--red-bright); }
.news-list .d { color: var(--text-dim); font-size: 12px; flex: none; }
.news-more {
  display: flex; justify-content: center; padding: 14px;
  border-top: 1px solid rgba(212,175,55,.14);
  color: var(--text-muted); font-size: 13px; letter-spacing: 2px; cursor: pointer;
  transition: all .2s;
}
.news-more:hover { color: var(--gold-light); background: rgba(212,175,55,.05); }

/* ==================== 职业 ==================== */
#classes { background: linear-gradient(180deg, var(--bg-dark) 0%, #0e1018 50%, var(--bg-dark) 100%); }
.class-tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.class-tab {
  width: 108px; padding: 10px 0; text-align: center; cursor: pointer;
  border: 1px solid rgba(212,175,55,.2); background: var(--bg-panel);
  color: var(--text-muted); letter-spacing: 3px; font-size: 15px;
  position: relative; transition: all .25s; overflow: hidden;
}
.class-tab .en { display: block; font-size: 10px; letter-spacing: 1px; color: var(--text-dim); margin-top: 2px; }
.class-tab:hover { color: var(--text); border-color: var(--gold-dark); transform: translateY(-3px); }
.class-tab.active {
  color: var(--gold-light); border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,175,55,.18), rgba(212,175,55,.04));
  box-shadow: 0 0 18px rgba(212,175,55,.2);
}
.class-panel { display: none; }
.class-panel.active { display: grid; grid-template-columns: 400px 1fr; gap: 40px; align-items: stretch; }
.class-img {
  position: relative; border: 1px solid var(--line); overflow: hidden; min-height: 460px;
}
.class-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.class-img:hover img { transform: scale(1.04); }
.class-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,13,18,.85) 100%);
}
.class-img .name {
  position: absolute; bottom: 16px; left: 20px; z-index: 2;
  font-size: 26px; letter-spacing: 6px; font-family: "STKaiti", "KaiTi", serif;
}
.class-info {
  background: var(--bg-panel); border: 1px solid rgba(212,175,55,.14);
  padding: 34px 38px; display: flex; flex-direction: column; gap: 22px;
}
.class-block h4 {
  font-size: 16px; letter-spacing: 3px; color: var(--gold-light);
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.class-block h4::before { content: "◆"; font-size: 10px; color: var(--gold); }
.class-block p { color: var(--text-muted); font-size: 13.5px; }
.class-block .quote { color: var(--gold-light); font-family: "STKaiti","KaiTi",serif; font-size: 15px; }
.class-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.class-tags span {
  padding: 4px 14px; font-size: 12px; border: 1px solid rgba(212,175,55,.3);
  color: var(--text); background: rgba(212,175,55,.06); letter-spacing: 1px;
}

/* ==================== 游戏资料（背景/特色/常见问题） ==================== */
.info-tabs {
  display: flex; justify-content: center; gap: 0; margin-bottom: 44px;
  border: 1px solid rgba(212,175,55,.25); width: fit-content; margin-left: auto; margin-right: auto;
}
.info-tab {
  padding: 13px 46px; cursor: pointer; font-size: 16px; letter-spacing: 4px;
  color: var(--text-muted); background: var(--bg-panel); transition: all .25s;
}
.info-tab + .info-tab { border-left: 1px solid rgba(212,175,55,.25); }
.info-tab.active {
  color: #1a1408; font-weight: 700;
  background: linear-gradient(180deg, #f0d68a, #c79a2e);
}
.info-panel { display: none; }
.info-panel.active { display: block; animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.story-text h3 {
  font-size: 24px; letter-spacing: 4px; margin-bottom: 18px;
  font-family: "STKaiti","KaiTi",serif; color: var(--gold-light);
}
.story-text p { color: var(--text-muted); margin-bottom: 14px; text-align: justify; }
.story-img { border: 1px solid var(--line); position: relative; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img::after {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(212,175,55,.35);
  pointer-events: none;
}

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.feature-card {
  position: relative; overflow: hidden; border: 1px solid rgba(212,175,55,.16);
  height: 240px; cursor: pointer;
  /* 卡片本体是 <a>（点进资料详情）：去掉链接默认下划线/蓝色，并显式 block 化 */
  display: block; text-decoration: none; color: inherit;
}
.feature-card:hover, .feature-card:focus { text-decoration: none; color: inherit; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feature-card:hover img { transform: scale(1.06); }
.feature-card .mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,18,.1) 30%, rgba(8,9,13,.94) 100%);
}
.feature-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 24px; }
.feature-card h3 {
  font-size: 20px; letter-spacing: 3px; margin-bottom: 8px;
  font-family: "STKaiti","KaiTi",serif;
}
.feature-card p { color: var(--text-muted); font-size: 13px; }

/* 创建角色 */
.create-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.create-form { background: var(--bg-panel); border: 1px solid rgba(212,175,55,.16); padding: 34px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; color: var(--text-muted); font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; }
.form-row input, .form-row select {
  width: 100%; padding: 11px 14px; font-size: 14px;
  background: var(--bg-dark); border: 1px solid rgba(212,175,55,.25);
  color: var(--text); font-family: inherit; outline: none; transition: border .2s;
}
.form-row input:focus, .form-row select:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(212,175,55,.15); }
.server-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.server-pick {
  padding: 9px 0; text-align: center; cursor: pointer; font-size: 13px;
  border: 1px solid rgba(212,175,55,.25); color: var(--text-muted); transition: all .2s;
}
.server-pick:hover { color: var(--text); border-color: var(--gold-dark); }
.server-pick.active { color: var(--gold-light); border-color: var(--gold); background: var(--gold-dim); }
.server-pick small { display: block; font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.server-pick.active small { color: var(--gold); }
.create-tips {
  background: var(--bg-panel); border: 1px solid rgba(212,175,55,.16);
  padding: 30px 34px; height: 100%;
}
.create-tips h3 { color: var(--gold-light); letter-spacing: 3px; font-size: 18px; margin-bottom: 16px; }
.create-tips li {
  padding: 10px 0 10px 20px; border-bottom: 1px dashed rgba(212,175,55,.12);
  color: var(--text-muted); font-size: 13.5px; position: relative;
}
.create-tips li::before { content: "›"; position: absolute; left: 4px; color: var(--gold); }
.create-tips li:last-child { border-bottom: none; }

/* ==================== 日常玩法日程 ==================== */
.schedule {
  max-width: 860px; margin: 0 auto; background: var(--bg-panel);
  border: 1px solid rgba(212,175,55,.16); padding: 12px 0;
}
.schedule li {
  display: grid; grid-template-columns: 120px 1fr 180px; align-items: center;
  padding: 14px 34px; transition: background .2s; cursor: default;
}
.schedule li:hover { background: rgba(212,175,55,.05); }
.schedule li + li { border-top: 1px dashed rgba(212,175,55,.1); }
.schedule .time {
  color: var(--gold-light); font-size: 15px; letter-spacing: 1px;
  font-family: Consolas, monospace;
}
.schedule .name { font-size: 15px; letter-spacing: 2px; }
.schedule .name small { color: var(--text-dim); font-size: 12px; margin-left: 10px; letter-spacing: 0; }
.schedule .type {
  text-align: center; font-size: 12px; padding: 3px 0;
  border: 1px solid rgba(212,175,55,.3); color: var(--text-muted);
}
.schedule .type.hot { border-color: var(--red-bright); color: var(--red-bright); }

/* ==================== 新手指南 ==================== */
.guide-wrap { display: grid; grid-template-columns: 232px 1fr; gap: 26px; }
.guide-side { display: flex; flex-direction: column; gap: 14px; }
.guide-group { background: var(--bg-panel); border: 1px solid rgba(212,175,55,.14); padding: 6px 0; }
.guide-group .g-title {
  padding: 10px 24px; font-size: 15px; letter-spacing: 3px; color: var(--gold-light);
  border-bottom: 1px solid rgba(212,175,55,.14);
}
.guide-group a {
  display: block; padding: 9px 24px 9px 36px; color: var(--text-muted);
  font-size: 13px; cursor: pointer; transition: all .2s; position: relative;
}
.guide-group a:hover { color: var(--text); background: rgba(212,175,55,.05); }
.guide-group a.active { color: var(--gold-light); background: rgba(212,175,55,.08); }
.guide-group a.active::before {
  content: ""; position: absolute; left: 24px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 5px; height: 5px; background: var(--gold);
}
.guide-content {
  background: var(--bg-panel); border: 1px solid rgba(212,175,55,.14);
  padding: 34px 40px; min-height: 480px;
}
.guide-content h3 {
  font-size: 20px; letter-spacing: 3px; color: var(--gold-light); margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(212,175,55,.18);
}
.guide-panel { display: none; }
.guide-panel.active { display: block; animation: fadeUp .4s ease both; }
.kbd-table { width: 100%; border-collapse: collapse; }
.kbd-table th {
  text-align: left; padding: 12px 14px; font-size: 13px; color: var(--gold-light);
  background: rgba(212,175,55,.07); border: 1px solid rgba(212,175,55,.16);
  letter-spacing: 2px;
}
.kbd-table td {
  padding: 12px 14px; font-size: 13px; color: var(--text-muted);
  border: 1px solid rgba(212,175,55,.1);
}
.kbd-table td kbd {
  display: inline-block; padding: 2px 10px; margin-right: 6px;
  background: var(--bg-dark); border: 1px solid var(--gold-dark);
  border-bottom-width: 2px; color: var(--gold-light); font-family: Consolas, monospace;
  font-size: 12px; border-radius: 3px;
}
.guide-list li {
  padding: 11px 0 11px 22px; border-bottom: 1px dashed rgba(212,175,55,.1);
  color: var(--text-muted); font-size: 13.5px; position: relative;
}
.guide-list li::before { content: "◆"; position: absolute; left: 0; top: 12px; font-size: 9px; color: var(--gold); }
.guide-list li b { color: var(--text); font-weight: normal; margin-right: 8px; }

/* ==================== 下载 ==================== */
.download-sec {
  position: relative; padding: 90px 0; overflow: hidden;
}
.download-sec .bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.4);
}
.download-sec .bg-mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,13,18,.96) 0%, rgba(11,13,18,.75) 55%, rgba(11,13,18,.55) 100%);
}
.download-inner { position: relative; z-index: 2; }
.download-inner h2 {
  font-size: 40px; letter-spacing: 10px; font-family: "STKaiti","KaiTi",serif; margin-bottom: 12px;
}
.download-inner .sub { color: var(--text-muted); letter-spacing: 2px; margin-bottom: 36px; }
.dl-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.dl-note { color: var(--text-dim); font-size: 12px; letter-spacing: 1px; }
.dl-note b { color: var(--text-muted); font-weight: normal; }
/* ==================== 页脚 ==================== */
footer { background: #08090d; border-top: 1px solid rgba(212,175,55,.18); }
.foot-main { padding: 44px 0 30px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 380px; }
.foot-brand .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand img { width: 34px; height: 34px; }
.foot-brand b { font-size: 17px; letter-spacing: 3px; font-family: "STKaiti","KaiTi",serif; }
.foot-brand p { color: var(--text-dim); font-size: 12px; }
.foot-cols { display: flex; gap: 80px; }
.foot-col h4 { color: var(--gold-light); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.foot-col a { display: block; color: var(--text-dim); font-size: 12.5px; padding: 4px 0; transition: color .2s; }
.foot-col a:hover { color: var(--gold-light); }
.foot-bottom {
  border-top: 1px solid rgba(212,175,55,.1); padding: 22px 0 26px;
  text-align: center; color: var(--text-dim); font-size: 12px;
}
.foot-bottom p { margin-bottom: 6px; letter-spacing: 1px; }
.foot-bottom .warn { color: #7d7458; }

/* ==================== 模态框 ==================== */
.modal-mask {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,6,9,.78);
  backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center;
}
.modal-mask.open { display: flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 420px; max-width: 92vw; max-height: 88vh; overflow-y: auto;
  background: var(--bg-panel); border: 1px solid var(--gold-dark);
  box-shadow: 0 0 60px rgba(212,175,55,.2); position: relative;
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 10px; right: 12px; width: 30px; height: 30px;
  cursor: pointer; color: var(--text-dim); font-size: 20px; line-height: 30px;
  text-align: center; transition: color .2s; z-index: 2;
}
.modal-close:hover { color: var(--gold-light); }
.modal-head { padding: 26px 34px 0; text-align: center; }
.modal-head h3 {
  font-size: 24px; letter-spacing: 8px; font-family: "STKaiti","KaiTi",serif;
}
.modal-head p { color: var(--text-dim); font-size: 12px; margin-top: 6px; letter-spacing: 2px; }
.modal-tabs { display: flex; margin: 22px 34px 0; border-bottom: 1px solid rgba(212,175,55,.2); }
.modal-tabs .mtab {
  flex: 1; text-align: center; padding: 11px 0; cursor: pointer;
  color: var(--text-muted); letter-spacing: 3px; font-size: 15px; position: relative;
}
.modal-tabs .mtab::after {
  content: ""; position: absolute; left: 30%; right: 30%; bottom: -1px; height: 2px;
  background: var(--gold); transform: scaleY(0); transition: transform .25s;
}
.modal-tabs .mtab.active { color: var(--gold-light); }
.modal-tabs .mtab.active::after { transform: scaleY(1); }
.modal-body { padding: 24px 34px 34px; }
.modal-body .form-row { margin-bottom: 16px; }
.modal-body .btn { width: 100%; margin-top: 8px; }
.modal-switch { text-align: center; margin-top: 16px; font-size: 12px; color: var(--text-dim); }
.modal-switch a { color: var(--gold); cursor: pointer; margin-left: 6px; }
.auth-panel { display: none; }
.auth-panel.active { display: block; animation: fadeUp .3s ease both; }

/* 提示 */
.toast {
  position: fixed; top: 90px; left: 50%; transform: translate(-50%, -16px);
  z-index: 200; padding: 12px 30px; background: rgba(18,21,29,.95);
  border: 1px solid var(--gold); color: var(--gold-light);
  font-size: 14px; letter-spacing: 2px; opacity: 0; pointer-events: none;
  transition: all .35s; box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 返回顶部 */
.backtop {
  position: fixed; right: 26px; bottom: 40px; z-index: 90;
  width: 44px; height: 44px; cursor: pointer; display: none;
  align-items: center; justify-content: center;
  background: var(--bg-panel); border: 1px solid var(--gold-dark);
  color: var(--gold-light); font-size: 18px; transition: all .25s;
}
.backtop:hover { background: var(--gold-dim); box-shadow: 0 0 18px rgba(212,175,55,.3); }
.backtop.show { display: flex; }

/* 滚动浮现动画 */
.reveal { opacity: 0; transform: translateY(30px); transition: all .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .class-panel.active { grid-template-columns: 1fr; }
  .class-img { min-height: 380px; }
  .feature-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .create-wrap { grid-template-columns: 1fr; }
  .foot-cols { gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 50px 0 40px; }
  .section-title h2 { font-size: 24px; letter-spacing: 5px; }
  .section-title::before, .section-title::after { width: 50px; }
  .guide-wrap { grid-template-columns: 1fr; }
  .schedule li { grid-template-columns: 90px 1fr; }
  .schedule .type { display: none; }
  .class-tab { width: 92px; font-size: 14px; }
  .info-tab { padding: 11px 26px; font-size: 14px; letter-spacing: 2px; }
  .hero-title { letter-spacing: 10px; }
  .download-inner h2 { font-size: 30px; letter-spacing: 6px; }
  .foot-main { flex-direction: column; }
}

/* ==================== 本项目适配 ==================== */
/* hero 视频背景（本项目用 8221505.mp4 替代参考站 AI 大图） */
.hero video.hero-bg { object-fit: cover; }
.hero .hero-bg { filter: brightness(0.55); }

/* 移动端：grid 单列允许列收缩（长标题不得撑破容器） */
@media (max-width: 768px) {
  .guide-wrap { grid-template-columns: minmax(0, 1fr); }
}

/* ==================== 新服筹备宣发状态（参考页翻译） ==================== */
/* --- 参考页自带类（照搬） --- */
.gold-gradient-text {
    background: linear-gradient(135deg, #fff2b2 0%, #D4AF37 50%, #997A15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gold-btn-gradient {
    background: linear-gradient(135deg, #e6ca65 0%, #b8860b 100%);
    transition: all 0.3s ease;
    color: #1a1408;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gold-btn-gradient:hover {
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 100%);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}
.bg-pattern {
    background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ==================== 开服倒计时首屏 ====================
   旧「宣发 hero」(.prep-hero*) 已于 2026-09-23 随首屏改造一并删除：
   模板不再引用，留着就是永远不生效的死样式。 */
.launch-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  /* center 30%：把画面往上顶，避免底部倒计时窄带压住群像的脚部 */
  background: url("/assets/img/launch-kv.jpg") center 30% / cover no-repeat, var(--bg-dark);
  border-bottom: 1px solid var(--line);
}

/* 左上角压暗，保证 logo 与日期在任何画面亮部上都能读 */
.launch-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(6, 7, 10, .82) 0%, rgba(6, 7, 10, 0) 100%);
  pointer-events: none;
}

.launch-hero-inner {
  position: relative;
  z-index: 1;
  padding: calc(var(--topbar-h) + var(--nav-h) + 28px) 40px 0;
}

.launch-hero-brand { display: flex; align-items: center; gap: 12px; }
.launch-hero-brand img { width: 36px; height: 36px; }
/*
  首页站名 —— 2026-09-30 SEO 批由 <b> 改为 <h1>（首页此前**没有 h1**：唯一的
  <h1 class="hero-title"> 在「未配置开服时间」的经典 Hero 分支里，线上永不渲染）。
  ⚠️ 原来样式挂在**元素选择器** `b` 上，换标签即失配 ⇒ 选择器必须同步改成 h1。
  ⚠️ h1 还要补两条重置，否则 Bootstrap reboot 的 heading 规则会生效：
     margin（UA 0.67em）与 line-height（Bootstrap 给 h1 设 1.2，而 <b> 继承的是 1.7）。
     24px 字号下 1.2 vs 1.7 的差会让首屏品牌行矮 10px。
  改这里必须重跑几何比对（Chrome 量 .launch-hero-brand 及其子元素）。
*/
.launch-hero-brand h1 {
  margin: 0;
  line-height: 1.7;
  font-size: 22px;
  letter-spacing: 4px;
  font-weight: 900;
}
.launch-hero-date {
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--text);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
}

/* 底部倒计时窄带 */
.launch-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 允许换行：769~1000px 这种中等宽度下，倒计时 + 三个按钮放不下一行，
     不换行就会溢出到视口外（按钮被截断） */
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 12px 40px;
  background: rgba(8, 9, 12, .86);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(2px);
}

/* 桌面下给**两侧**悬浮卡让位。
   两张卡（float.css）都是 `position: fixed; bottom:96px; width:216px`，与窄带同锚在底部：
     .float-customer  left:16px  → 不左让位就盖住「距公测开启 06天…」
     .float-card      right:16px → 不右让位就盖住「注册账号 / 加群咨询」两个按钮
   248 = 16(卡边距) + 216(卡宽) + 16(间隔)。≤768px 时左卡隐藏、右卡变胶囊，无需让位。 */
@media (min-width: 769px) {
  .launch-bar { padding-left: 248px; padding-right: 248px; }
}

/* 中等宽度（≤1230px）：两侧各让 248 后窄带只剩一半可用宽度，
   收起「距公测开启」标签并整体缩小，尽量让倒计时与三个按钮仍排在一行；
   实在排不下就由 .launch-bar 的 flex-wrap 换行，不会溢出 */
@media (min-width: 769px) and (max-width: 1230px) {
  .launch-count .lc-label { display: none; }
  .launch-count .lc-num { min-width: 28px; font-size: 15px; }
  .launch-count .lc-unit { font-size: 11px; margin-right: 4px; }
  .launch-btn { padding: 9px 16px; font-size: 13px; }
}

.launch-count { display: flex; align-items: baseline; gap: 4px; }
.launch-count .lc-label { color: var(--text-muted); font-size: 13px; margin-right: 8px; }
.launch-count .lc-num {
  display: inline-block;
  min-width: 34px;
  padding: 3px 6px;
  background: #111318;
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 3px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}
.launch-count .lc-unit { color: var(--text-muted); font-size: 12px; margin-right: 6px; }

.launch-opened {
  color: var(--gold-light);
  font-size: 16px;
  letter-spacing: 2px;
}

.launch-actions { display: flex; align-items: center; gap: 12px; }
.launch-btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 3px;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.launch-btn-main {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  color: #2a1f06;
  font-weight: 700;
}
.launch-btn-main:hover { filter: brightness(1.08); }
.launch-btn-ghost { border: 1px solid var(--line); color: var(--gold-light); }
.launch-btn-ghost:hover { background: var(--gold-dim); }

/* 初始态由服务端渲染（is-open 类），launch-countdown.js 每秒接管后翻转它 */
.launch-bar .only-post { display: none; }
.launch-bar.is-open .only-pre { display: none; }
.launch-bar.is-open .only-post { display: flex; }
.launch-bar.is-open .launch-opened.only-post { display: block; }

@media (max-width: 768px) {
  .launch-hero { min-height: 420px; }
  .launch-hero-inner { padding: calc(var(--topbar-h) + var(--nav-h) + 16px) 16px 0; }
  /* 窄带改两行堆叠：上行倒计时、下行按钮 */
  .launch-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 16px; }
  .launch-count { flex-wrap: wrap; justify-content: center; }
  .launch-actions { justify-content: center; flex-wrap: wrap; gap: 8px; }
  .launch-btn { padding: 9px 18px; font-size: 13px; }
}
