/* ==================== 基础变量 ==================== */
: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);
}
.notice-track { flex: 1; overflow: hidden; position: relative; }
.notice-track ul {
  position: absolute; white-space: nowrap; animation: marquee 30s linear infinite;
}
.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: 232px 1fr; gap: 26px; }
.news-side {
  background: var(--bg-panel); border: 1px solid rgba(212,175,55,.14);
  padding: 8px 0;
}
.news-side .tab {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; cursor: pointer; color: var(--text-muted);
  font-size: 15px; letter-spacing: 3px; position: relative; transition: all .2s;
}
.news-side .tab::before {
  content: ""; position: absolute; left: 0; top: 20%; height: 60%; width: 3px;
  background: var(--gold); transform: scaleY(0); transition: transform .25s;
}
.news-side .tab:hover { color: var(--text); background: rgba(212,175,55,.05); }
.news-side .tab.active { color: var(--gold-light); background: rgba(212,175,55,.08); }
.news-side .tab.active::before { transform: scaleY(1); }
.news-side .tab .en { font-size: 10px; letter-spacing: 1px; color: var(--text-dim); }

.news-main { background: var(--bg-panel); border: 1px solid rgba(212,175,55,.14); }
.news-featured {
  position: relative; height: 320px; overflow: hidden; cursor: pointer;
  border-bottom: 1px solid rgba(212,175,55,.14);
}
.news-featured img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-featured:hover img { transform: scale(1.05); }
.news-featured .mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8,9,13,.92) 100%);
}
.news-featured .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px; }
.news-featured .tag {
  display: inline-block; padding: 2px 10px; font-size: 12px; margin-bottom: 10px;
  background: var(--red); color: #fff; letter-spacing: 2px;
}
.news-featured .tag.activity { background: #2b5d8a; }
.news-featured .tag.news-tag { background: #3f6d3a; }
.news-featured h3 { font-size: 21px; letter-spacing: 1px; font-weight: 700; }
.news-featured p { color: var(--text-muted); margin-top: 8px; font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list { padding: 8px 28px 20px; }
.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 .t b.tag-b { color: #5b93c4; }
.news-list .t b.tag-c { color: #7aa86f; }
.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;
}
.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; }

/* ==================== 视频中心 ==================== */
#videos { background: linear-gradient(180deg, var(--bg-dark) 0%, #0e1018 50%, var(--bg-dark) 100%); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card {
  position: relative; border: 1px solid rgba(212,175,55,.16); overflow: hidden;
  cursor: pointer; background: var(--bg-panel);
}
.video-thumb { position: relative; height: 190px; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.video-card:hover .video-thumb img { transform: scale(1.07); }
.video-thumb .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(8,9,13,.35); transition: background .3s;
}
.video-card:hover .play { background: rgba(8,9,13,.15); }
.play .circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold); background: rgba(11,13,18,.6);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s; backdrop-filter: blur(2px);
}
.play .circle::before {
  content: ""; border-left: 14px solid var(--gold-light);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.video-card:hover .circle { transform: scale(1.12); box-shadow: 0 0 24px rgba(212,175,55,.5); }
.video-info { padding: 16px 18px; }
.video-info h3 { font-size: 15px; letter-spacing: 1px; }
.video-info p { color: var(--text-dim); font-size: 12px; margin-top: 6px; }

/* ==================== 下载 ==================== */
.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; }
.qr-box {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  background: rgba(11,13,18,.7); border: 1px solid rgba(212,175,55,.25);
  padding: 18px 22px; text-align: center; backdrop-filter: blur(4px);
}
.qr {
  width: 120px; height: 120px; margin: 0 auto 10px; padding: 8px;
  background:
    conic-gradient(#e8e2d0 25%, transparent 0 50%, #e8e2d0 0 75%, transparent 0) 0 0/24px 24px,
    conic-gradient(transparent 25%, #e8e2d0 0 50%, transparent 0 75%, #e8e2d0 0) 12px 12px/24px 24px,
    #0b0d12;
  border: 1px solid rgba(232,226,208,.25);
}
.qr-box p { font-size: 12px; color: var(--text-muted); letter-spacing: 2px; }

/* ==================== 页脚 ==================== */
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; }
.video-modal .modal { width: 720px; }
.video-modal .v-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid rgba(212,175,55,.18); }
.video-modal .v-head h3 { font-size: 16px; letter-spacing: 2px; }
.video-player {
  position: relative; aspect-ratio: 16/9; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.video-player .vp-play {
  width: 70px; height: 70px; border-radius: 50%; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .3s;
}
.video-player .vp-play::before {
  content: ""; border-left: 20px solid var(--gold-light);
  border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px;
}
.video-player .vp-play:hover { box-shadow: 0 0 30px rgba(212,175,55,.5); transform: scale(1.08); }
.video-player p { color: var(--text-dim); font-size: 13px; letter-spacing: 2px; }

/* 提示 */
.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; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-box { display: none; }
  .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; }
  .news-wrap, .guide-wrap { grid-template-columns: 1fr; }
  .news-side { display: flex; overflow-x: auto; padding: 0; }
  .news-side .tab { flex: none; padding: 12px 20px; }
  .news-side .tab::before { left: 20%; right: 20%; top: auto; bottom: 0; width: 60%; height: 3px; transform: scaleX(0); }
  .news-side .tab.active::before { transform: scaleX(1); }
  .news-featured { height: 220px; }
  .video-grid { 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); }

/* 下载区二维码：本地充值码图 */
.qr-box .qr {
  background: url(/assets/img/recharge-sao.jpg) center/contain no-repeat;
}

/* 视频模态框真实播放器 */
.video-player video.vp-video { width: 100%; height: 100%; object-fit: contain; background: #000; }

/* 移动端：grid 单列 1fr 会被 news-side 横向 tab 条内容撑破（min-content），
   允许列收缩让 tab 条在内部滚动（news-side 自带 overflow-x:auto） */
@media (max-width: 768px) {
  .news-wrap, .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 { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(180deg, #13151b 0%, #0b0c10 100%); border-bottom: 1px solid var(--line); }
.prep-hero-glow { position: absolute; inset: 0; opacity: .2; background: radial-gradient(ellipse at center, #d97706 0%, transparent 50%); pointer-events: none; }
.prep-hero-inner { position: relative; z-index: 1; max-width: 56rem; margin: 0 auto; padding: 0 1rem; text-align: center; }
.prep-hero-badge { display: inline-block; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: #fbbf24; border-radius: 999px; padding: 6px 18px; font-size: 12px; letter-spacing: 2px; margin-bottom: 24px; }
.prep-hero-title { font-family: "STKaiti","KaiTi",serif; font-size: clamp(36px, 6vw, 60px); font-weight: 900; letter-spacing: 6px; margin-bottom: 24px; }
.prep-hero-desc { color: var(--text-muted); max-width: 42rem; margin: 0 auto 32px; font-size: 14px; line-height: 1.9; }
.prep-hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.prep-hero-btns .gold-btn-gradient { padding: 14px 32px; border-radius: 4px; font-size: 14px; letter-spacing: 2px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.3); }

/* --- 区块骨架 --- */
.prep-section { position: relative; overflow: hidden; }
.prep-blob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 800px; height: 400px; background: rgba(245,158,11,.05); filter: blur(120px); pointer-events: none; }
.prep-head { position: relative; text-align: center; margin-bottom: 64px; }
.prep-head-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: #fbbf24; border-radius: 999px; padding: 6px 16px; font-size: 11px; letter-spacing: 3px; margin-bottom: 16px; }
.prep-head-dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; animation: prepPulse 1.5s ease-in-out infinite; }
.prep-head-title { font-family: "STKaiti","KaiTi",serif; font-size: clamp(30px, 4vw, 48px); font-weight: 900; letter-spacing: 4px; margin-bottom: 12px; }
.prep-head-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.prep-head-line { width: 96px; height: 4px; margin: 0 auto; border-radius: 2px; background: linear-gradient(90deg, transparent, #f59e0b, transparent); }

/* --- 客服交流群卡 --- */
.prep-qcard { max-width: 420px; margin: 0 auto; background: linear-gradient(to bottom right, rgba(69,26,3,.2), var(--bg-panel) 45%, var(--bg-panel)); border: 1px solid rgba(245,158,11,.3); border-radius: 16px; padding: 24px; text-align: center; }
.prep-qicon { width: 48px; height: 48px; border-radius: 50%; background: rgba(245,158,11,.2); color: #fbbf24; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 18px; font-weight: 700; }
.prep-qcard h4 { color: #fff; font-size: 15px; margin-bottom: 6px; font-family: "STKaiti","KaiTi",serif; letter-spacing: 1px; }
.prep-qcard p { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.prep-qbtns { display: grid; grid-template-columns: 1fr; gap: 12px; }
.prep-btn-amber { display: inline-flex; align-items: center; justify-content: center; background: #1f2330; border: 1px solid rgba(245,158,11,.3); color: #fbbf24; border-radius: 8px; padding: 12px 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; transition: all .3s; }
.prep-btn-amber:hover { background: #f59e0b; color: #1a1408; }

/* 导航红点 */
.dot-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); margin-left: 5px; vertical-align: 2px; animation: prepPulse 1.2s ease-in-out infinite; }
@keyframes prepPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* 宣发状态响应式 */
@media (max-width: 768px) {
  .prep-hero { min-height: 360px; }
  .prep-head { margin-bottom: 40px; }
}
