/* =========================================================
   紫金大魔神 · 首页样式（暗黑魔幻史诗版式）
   ========================================================= */

/* ---------- 1. 首屏电影感主视觉 ---------- */
.hero {
  position: relative; height: 100vh; min-height: 660px; max-height: 920px;
  overflow: hidden; background: #06040a;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 4;
  background: linear-gradient(90deg, transparent, rgba(217, 164, 65, .72), transparent);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.05s ease; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 5, 13, .92) 0%, rgba(8, 5, 13, .66) 38%, rgba(8, 5, 13, .16) 68%, rgba(8, 5, 13, .42) 100%),
    radial-gradient(600px 420px at 18% 52%, rgba(91, 43, 196, .22), transparent 72%);
}
.hero-bg .media-img { object-position: center 35%; }
.hero-slide.active .hero-bg { animation: heroZoom 13s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-slide .ph > span { position: absolute; right: 24px; bottom: 110px; font-size: 12px; }

.hero-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 5, 13, .72) 0%, transparent 24%, transparent 66%, rgba(8, 6, 13, .82) 92%, var(--bg) 100%);
}

/* 左侧史诗标题区 */
.hero-content {
  position: absolute; z-index: 3; left: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); top: 53%;
  transform: translateY(-50%); width: min(620px, 56%); text-align: left;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px; border-radius: 999px;
  color: var(--gold2); font-size: 12px; font-weight: 600; letter-spacing: .2em;
  background: linear-gradient(90deg, rgba(91, 43, 196, .38), rgba(217, 164, 65, .18));
  border: 1px solid rgba(247, 219, 143, .42);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
.hero-tag i {
  width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--gold2); box-shadow: 0 0 10px var(--gold); flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-title); font-size: clamp(40px, 4.8vw, 72px); font-weight: 900;
  letter-spacing: .04em; line-height: 1.14; margin: 18px 0 0; text-wrap: balance;
  filter: drop-shadow(0 4px 0 rgba(22, 10, 6, .95)) drop-shadow(0 0 36px rgba(217, 164, 65, .42));
}
.hero-sub {
  font-size: clamp(14px, 1.2vw, 17px); color: #ded6e6; letter-spacing: .06em;
  margin: 18px 0 34px; line-height: 1.85; max-width: 30em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .85);
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-content > * { animation: heroIn .85s cubic-bezier(.2, .8, .2, 1) both; }
.hero-slide.active .hero-content > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.active .hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.active .hero-content > *:nth-child(4) { animation-delay: .24s; }
@keyframes heroIn { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }

/* 底部轮播切换与左右箭头（居中齐平，避免遮挡标题与右侧悬浮栏） */
.hero-dots {
  position: absolute; z-index: 5; bottom: 44px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; align-items: center;
}
.hero-dots button {
  width: 28px; height: 4px; background: rgba(243, 237, 226, .28);
  border-radius: 99px; transition: all .35s ease;
}
.hero-dots button:hover { background: rgba(247, 219, 143, .65); }
.hero-dots button.active {
  width: 52px; background: linear-gradient(90deg, var(--gold), var(--gold2));
  box-shadow: 0 0 14px rgba(217, 164, 65, .75);
}
.hero-arrow {
  position: absolute; z-index: 5; bottom: 29px;
  width: 34px; height: 34px; border-radius: 50%; color: transparent; font-size: 0;
  border: 1px solid rgba(247, 219, 143, .38);
  background: rgba(10, 7, 17, .64); backdrop-filter: blur(8px); transition: all .25s;
}
.hero-arrow::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  border: solid var(--gold2); border-width: 0 0 1.8px 1.8px;
  transform: translate(-30%, -50%) rotate(45deg);
}
.hero-arrow.next::after { border-width: 1.8px 1.8px 0 0; transform: translate(-70%, -50%) rotate(45deg); }
.hero-arrow:hover {
  border-color: var(--gold2); background: rgba(217, 164, 65, .24);
  box-shadow: 0 0 20px rgba(217, 164, 65, .4);
}
.hero-arrow.prev { left: calc(50% - 116px); }
.hero-arrow.next { right: calc(50% - 116px); }
.hero-scroll {
  position: absolute; z-index: 5; right: 28px; bottom: 38px;
  color: rgba(247, 219, 143, .55); font-size: 10px; letter-spacing: .32em;
  writing-mode: vertical-rl; font-family: var(--font-mono); animation: bob 2.4s infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- 2. 三大职业 + 战绩数据条 ---------- */
.class-show {
  --accent: #d9a441;
  position: relative; padding: 92px 0 0; overflow: hidden;
  background:
    radial-gradient(840px 460px at 78% 26%, rgba(91, 43, 196, .16), transparent 68%),
    var(--bg);
}
.class-stage {
  display: grid; grid-template-columns: 1.08fr .96fr; gap: 48px; align-items: center;
  min-height: 520px; position: relative;
}
.class-stage::before {
  content: ""; position: absolute; right: 2%; top: 50%; width: 54%; aspect-ratio: 1;
  transform: translateY(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%);
  transition: background .6s; z-index: 0;
}

/* 职业展示窗：适配游戏原图比例 + 鎏金角饰 */
.class-figure {
  position: relative; z-index: 1; aspect-ratio: 6 / 5; min-height: 440px; max-height: 540px; width: 100%;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, rgba(217, 164, 65, .4));
  border-radius: var(--radius); overflow: hidden; order: 2;
  background: #0d0916;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .65), 0 0 55px color-mix(in srgb, var(--accent) 18%, transparent);
}
.class-figure-img { position: absolute; inset: 0; animation: figIn .75s cubic-bezier(.2, .8, .2, 1) both; }
.class-figure-img .media-img { object-fit: cover; object-position: center 22%; transition: transform 6s ease-out; }
.class-figure:hover .class-figure-img .media-img { transform: scale(1.05); }
@keyframes figIn { from { opacity: 0; transform: scale(1.04); filter: brightness(1.4); } }
.class-figure .ph > span { position: absolute; top: 16px; left: 16px; font-size: 12px; }
.class-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(8, 6, 13, .88) 0%, transparent 46%),
    linear-gradient(180deg, rgba(8, 6, 13, .28) 0%, transparent 22%);
}
.class-figure-name {
  position: absolute; z-index: 2; right: 22px; bottom: 20px; writing-mode: vertical-rl; letter-spacing: .16em;
  font-family: var(--font-title); font-size: 52px; font-weight: 900; line-height: 1; pointer-events: none;
  color: rgba(247, 219, 143, .22);
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 65%, #f7db8f);
  text-shadow: 0 0 28px color-mix(in srgb, var(--accent) 55%, transparent);
}
.class-play {
  position: absolute; z-index: 3; left: 24px; bottom: 24px; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12, 8, 22, .72); border: 1.5px solid var(--gold2); color: var(--gold2);
  transition: .3s; backdrop-filter: blur(6px);
  box-shadow: 0 0 24px rgba(217, 164, 65, .32);
}
.class-play::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(247, 219, 143, .45); animation: ring 2.4s infinite;
}
@keyframes ring { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.38); opacity: 0; } }
.class-play:hover { background: linear-gradient(180deg, #fae09b, #c98d2a); color: #1f1203; transform: scale(1.08); }
.class-play svg { width: 20px; height: 20px; margin-left: 3px; }
.class-play-tip {
  position: absolute; z-index: 3; left: 90px; bottom: 41px; color: #f3ede2;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-shadow: 0 2px 10px #000; pointer-events: none;
}

.class-info { position: relative; z-index: 1; order: 1; }
.class-info > * { animation: up .55s cubic-bezier(.2, .8, .2, 1) both; }
.class-info .en {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .34em;
  color: var(--accent); text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px;
}
.class-crest {
  width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 5px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, rgba(16, 11, 26, .8));
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 30%, transparent);
}
.class-crest svg { width: 15px; height: 15px; }
.class-info h3 {
  font-family: var(--font-title); font-size: clamp(46px, 4.8vw, 68px); font-weight: 900;
  line-height: 1.08; letter-spacing: .06em; margin: 6px 0 10px;
  filter: drop-shadow(0 3px 0 rgba(20, 10, 32, .9)) drop-shadow(0 0 24px rgba(217, 164, 65, .3));
}
.class-info .motto {
  color: var(--gold2); font-size: 15.5px; font-weight: 500; letter-spacing: .08em;
  margin-bottom: 16px; padding-left: 14px; border-left: 3px solid var(--accent);
}
.class-info .desc { color: #bfb4cb; line-height: 1.9; margin-bottom: 24px; max-width: 34em; font-size: 14.5px; }

.class-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-bottom: 24px; }
.class-stat { font-size: 12.5px; color: #d6c8b2; letter-spacing: .1em; display: flex; align-items: center; gap: 12px; }
.class-stat .bar { flex: 1; height: 5px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; border-radius: 99px; }
.class-stat .bar i {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold3), var(--gold), var(--gold2));
  box-shadow: 0 0 10px rgba(247, 219, 143, .55); transition: width .95s cubic-bezier(.2, .8, .2, 1);
}

.class-schools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.class-schools span {
  padding: 6px 14px; border: 1px solid rgba(217, 164, 65, .32); color: var(--gold2);
  font-size: 12.5px; background: rgba(217, 164, 65, .08); border-radius: var(--radius-sm);
}

/* 职业切换头像：独立于职业内容区，居中置于板块顶部（标签式切换器）
   （修复旧版 1.9x 放大裁切问题，自然展示角色） */
.class-switch {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center; gap: 16px;
  margin-bottom: 34px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(217, 164, 65, .16);
}
.class-switch::before {
  content: "职业 · CLASS"; position: absolute; left: 0; top: 26px;
  font-size: 11px; letter-spacing: .2em; font-family: var(--font-mono);
  color: rgba(247, 219, 143, .5);
}
.class-switch::after {
  content: "点击头像切换"; position: absolute; right: 0; top: 26px; text-align: right;
  font-size: 11px; letter-spacing: .2em; font-family: var(--font-mono);
  color: rgba(247, 219, 143, .3);
}
.class-switch button {
  width: 84px; height: 74px; border-radius: var(--radius-sm); overflow: hidden;
  border: 1.5px solid var(--gold-line); position: relative; transition: all .28s;
  filter: grayscale(.7) brightness(.65); animation: none !important;
  background: #140e21;
}
.class-switch button .media-img { object-fit: cover; object-position: center 22%; transform: none; }
.class-switch button em {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 0 4px; font-style: normal;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #fff;
  font-family: var(--font-title); background: linear-gradient(transparent, rgba(8, 5, 13, .92));
}
.class-switch button .ph > span { border: none; background: none; padding: 0; font-size: 18px; font-family: var(--font-title); color: var(--gold2); }
.class-switch button:hover { filter: grayscale(.15) brightness(.95); border-color: var(--gold); transform: translateY(-2px); }
.class-switch button.active {
  border-color: var(--gold2); filter: none; transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--gold2), 0 8px 24px rgba(217, 164, 65, .36);
}
.class-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 战绩统计横幅 */
.stats-bar {
  margin-top: 72px; border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
  position: relative;
  background: linear-gradient(90deg, rgba(91, 43, 196, .14), rgba(217, 164, 65, .08) 50%, rgba(91, 43, 196, .14));
}
.stats-bar .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { padding: 34px 20px; text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-line2), transparent);
}
.stat-num { font-family: var(--font-mono); font-size: 44px; letter-spacing: -.01em; line-height: 1.1; font-weight: 800; }
.stat-label { color: #b9adc6; letter-spacing: .26em; margin-top: 8px; font-size: 12px; }
.stat-label::before { content: "◆ "; color: var(--gold); font-size: 9px; }

/* ---------- 3. 六大特色（重构为大气图文卡片，不再压扁配图） ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  display: flex; flex-direction: column;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .6), 0 0 32px rgba(217, 164, 65, .16);
}
.feature-img { width: 100%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; flex-shrink: 0; }
.feature-img > :first-child { height: 100%; transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .4s; filter: brightness(.92); }
.feature-card:hover .feature-img > :first-child { transform: scale(1.07); filter: brightness(1.04); }
.feature-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(20, 15, 33, .96) 100%);
}
.feature-num {
  position: absolute; z-index: 2; left: 14px; top: 12px;
  padding: 2px 10px; border-radius: 3px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: var(--gold2); background: rgba(10, 7, 17, .76); border: 1px solid var(--gold-line2);
  backdrop-filter: blur(4px);
}
.feature-body { padding: 18px 22px 24px; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 2; }
.feature-body h3 {
  font-family: var(--font-title); font-size: 20px; font-weight: 800; color: #fff8eb;
  letter-spacing: .04em; margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.feature-body h3::before {
  content: ""; width: 4px; height: 16px; border-radius: 2px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--gold2), var(--gold3));
}
.feature-body p { color: #aea2bc; font-size: 13.5px; line-height: 1.82; }

/* ---------- 4. 新区开服 ---------- */
.server-wrap { display: grid; grid-template-columns: 400px 1fr; gap: 26px; }
.countdown-box { padding: 32px 28px; text-align: left; display: flex; flex-direction: column; }
.countdown-box h3 { font-family: var(--font-title); font-size: 24px; font-weight: 800; letter-spacing: .08em; }
.countdown-box .next-name { font-size: 18px; font-weight: 700; color: var(--gold2); margin: 14px 0 4px; }
.countdown-box .next-time { color: var(--muted); font-size: 12.5px; font-family: var(--font-mono); }
.countdown { display: flex; gap: 10px; margin: 24px 0; }
.cd-cell {
  flex: 1; padding: 14px 0 9px; position: relative; border-radius: var(--radius-sm); text-align: center;
  background: rgba(8, 5, 13, .62); border: 1px solid var(--gold-line);
  box-shadow: inset 0 1px 0 rgba(247, 219, 143, .12);
}
.cd-cell b { display: block; font-family: var(--font-mono); font-size: 30px; line-height: 1.1; color: #fff8eb; }
.cd-cell:last-child b { color: var(--gold2); animation: secPulse 1.2s infinite; }
@keyframes secPulse { 0%, 100% { text-shadow: 0 0 6px rgba(217, 164, 65, .3); } 50% { text-shadow: 0 0 20px rgba(247, 219, 143, .9); } }
.cd-cell small { font-size: 11px; color: var(--dim); letter-spacing: .16em; }
.reserve-form { display: flex; gap: 10px; margin-top: auto; }
.reserve-form .input { flex: 1; }

.server-list { padding: 26px 28px; }
.server-list h3 {
  font-family: var(--font-title); font-size: 21px; font-weight: 800; letter-spacing: .05em;
  margin-bottom: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.server-list h3 small { font-family: inherit; font-size: 12px; color: var(--dim); font-weight: 400; }
.server-table { width: 100%; border-collapse: collapse; }
.server-table th {
  text-align: left; font-weight: 600; color: rgba(217, 164, 65, .75); font-size: 12px;
  letter-spacing: .12em; padding: 10px 12px; border-bottom: 1px solid var(--gold-line2);
}
.server-table td { padding: 13px 12px; border-bottom: 1px solid rgba(217, 164, 65, .1); transition: background .2s; }
.server-table tr:hover td { background: rgba(217, 164, 65, .06); }
.server-table td:first-child { color: #fff8eb; font-weight: 500; }
.server-table .t { font-family: var(--font-mono); color: #b5a9c2; font-size: 13px; }

/* ---------- 5. 最新资讯（均衡 3×2 卡片网格，彻底消除留白缺口） ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-5px); }
.news-card .cover { aspect-ratio: 16 / 9; position: relative; overflow: hidden; flex-shrink: 0; }
.news-card .cover > * { transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.news-card:hover .cover > * { transform: scale(1.06); }
.news-card .cat { position: absolute; z-index: 2; left: 12px; top: 12px; }
.news-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-card h4 {
  font-family: var(--font-title); font-size: 17px; font-weight: 700; color: #fff8eb;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; transition: color .2s;
}
.news-card:hover h4 { color: var(--gold2); }
.news-card p {
  font-size: 13px; color: #aba0b9; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; line-height: 1.7; min-height: 3.4em;
}
.news-card .meta {
  display: flex; justify-content: space-between; font-size: 11.5px; color: var(--dim);
  margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(217, 164, 65, .1);
  font-family: var(--font-mono);
}
.news-more { text-align: center; margin-top: 36px; }

/* ---------- 6. 游戏画面 ---------- */
.gallery-stage { position: relative; }
.gallery-track-wrap {
  overflow: hidden; border-radius: var(--radius); border: 1px solid var(--gold-line2);
  box-shadow: 0 26px 64px rgba(0, 0, 0, .65);
}
.gallery-track { display: flex; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.gallery-slide { flex: 0 0 100%; aspect-ratio: 16 / 7; position: relative; cursor: zoom-in; }
.gallery-cap {
  position: absolute; z-index: 2; left: 24px; bottom: 24px; padding: 16px 24px;
  background: rgba(10, 7, 17, .78); backdrop-filter: blur(8px);
  border: 1px solid var(--gold-line); border-left: 3px solid var(--gold2); border-radius: var(--radius-sm);
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.gallery-cap h4 { font-family: var(--font-title); font-size: 22px; color: #fff8eb; letter-spacing: .06em; }
.gallery-cap span { font-size: 12px; color: var(--gold2); letter-spacing: .1em; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery-thumbs button {
  aspect-ratio: 16 / 9; border: 1.5px solid var(--gold-line); overflow: hidden;
  opacity: .5; transition: .25s; border-radius: var(--radius-sm); filter: grayscale(.45); position: relative;
}
.gallery-thumbs button .ph > span { font-size: 11px; padding: 2px 8px; }
.gallery-thumbs button:hover { opacity: .88; filter: none; }
.gallery-thumbs button.active {
  opacity: 1; filter: none; border-color: var(--gold2);
  box-shadow: 0 0 20px rgba(217, 164, 65, .38);
}
.gallery-more { text-align: center; margin-top: 34px; }

/* ---------- 7. 排行榜单 ---------- */
.online-banner {
  display: flex; align-items: center; gap: 28px; padding: 26px 32px; margin-bottom: 26px; text-align: left;
  background:
    linear-gradient(90deg, rgba(16, 11, 28, .96), rgba(16, 11, 28, .72)),
    url(/img/hero-2.jpg) center 45% / cover;
}
.online-banner .label { color: #d6c8b2; letter-spacing: .2em; font-size: 12px; display: flex; align-items: center; gap: 10px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 0 rgba(62, 214, 181, .7); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(62, 214, 181, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 214, 181, 0); } }
.online-num { font-family: var(--font-mono); font-size: 52px; letter-spacing: -.01em; line-height: 1; font-weight: 800; order: -1; }
.online-tip { color: var(--dim); font-size: 12px; margin-left: auto; }
.rank-wrap { max-width: 100%; margin: 0 auto; }
.rank-table-box { padding: 24px 28px; }
.rank-table-box h3 {
  font-family: var(--font-title); font-size: 21px; font-weight: 800; letter-spacing: .05em;
  margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.rank-sub { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--gold); }
.rank-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rank-table th {
  color: rgba(217, 164, 65, .78); font-weight: 600; font-size: 12px; letter-spacing: .12em;
  padding: 11px 12px; border-bottom: 1px solid var(--gold-line2); text-align: left;
}
.rank-table td { padding: 12px 12px; border-bottom: 1px solid rgba(217, 164, 65, .09); white-space: nowrap; }
.rank-table tr:hover td { background: rgba(217, 164, 65, .06); }
.rank-no { display: inline-grid; place-items: center; width: 24px; height: 24px; font-family: var(--font-mono); font-size: 13px; color: var(--dim); border-radius: 3px; }
.rank-no.r1, .rank-no.r2, .rank-no.r3 { color: #1a1004; font-weight: 800; }
.rank-no.r1 { background: linear-gradient(140deg, #fff2b2, #d89b2d); box-shadow: 0 0 12px rgba(217, 164, 65, .5); }
.rank-no.r2 { background: linear-gradient(140deg, #f3f6ff, #9fa8be); }
.rank-no.r3 { background: linear-gradient(140deg, #ffd1a6, #b86f34); }
.rank-table .nick { color: var(--gold2); font-weight: 500; }
.rank-table-scroll { max-height: 520px; overflow: auto; }
.rank-server { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.rank-server select {
  min-width: 240px; max-width: 100%; padding: 9px 36px 9px 14px; font-size: 13.5px; color: #fff8eb; cursor: pointer;
  background: #140f21 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f7db8f' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center;
  border: 1px solid var(--gold-line2); border-radius: var(--radius-sm); appearance: none; -webkit-appearance: none;
}
.rank-server select:hover, .rank-server select:focus { outline: none; border-color: var(--gold2); }
.rank-server select:disabled { opacity: .55; cursor: default; }
.rank-server option { background: var(--bg2); color: var(--text); }

/* ---------- 8. 专属礼包 ---------- */
.gifts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gift-card {
  padding: 24px 24px 22px; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.gift-card:hover { transform: translateY(-5px); }
.gift-top { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.gift-icon {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden;
  border: 1.5px solid var(--gold-line2); box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.gift-icon .ph > span { border: none; background: none; padding: 0; font-family: var(--font-title); font-size: 24px; color: var(--gold2); }
.gift-top h3 { font-family: var(--font-title); font-size: 20px; font-weight: 800; color: #fff8eb; letter-spacing: .04em; margin-bottom: 3px; }
.gift-top p { font-size: 12.5px; color: var(--muted); }
.gift-contents {
  font-size: 13px; color: #cfc4da; background: rgba(7, 5, 12, .45);
  border: 1px solid rgba(217, 164, 65, .12); border-left: 3px solid var(--gold);
  padding: 11px 14px; border-radius: var(--radius-sm); margin-bottom: 12px; flex: 1; line-height: 1.75;
}
.gift-contents b { color: var(--gold2); font-weight: 600; }
.gift-cond { font-size: 12px; color: var(--dim); margin-bottom: 14px; }
.gift-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.gift-remain { font-size: 12px; color: var(--muted); flex: 1; font-family: var(--font-mono); }
.gift-remain .bar { height: 4px; background: rgba(255, 255, 255, .08); border-radius: 99px; margin-top: 6px; overflow: hidden; }
.gift-remain .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold3), var(--gold2)); }
.cdk-box { text-align: center; }
.cdk-code {
  font-family: var(--font-mono); font-size: 24px; letter-spacing: .14em; color: var(--gold2);
  padding: 16px; border: 1px dashed var(--gold-line2); background: rgba(0, 0, 0, .45); margin: 14px 0; word-break: break-all;
}

/* ---------- 9. 下载中心（紫金神殿风三端卡片） ---------- */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.dl-card {
  padding: 36px 28px 28px; text-align: center; display: flex; flex-direction: column; position: relative;
  background:
    radial-gradient(280px 180px at 50% 0%, rgba(124, 58, 237, .22), transparent 72%),
    linear-gradient(175deg, rgba(31, 21, 52, .96) 0%, rgba(16, 11, 28, .98) 56%, rgba(10, 7, 18, .99) 100%);
  border: 1px solid rgba(217, 164, 65, .26);
  border-radius: 10px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .3s;
}
.dl-card.dl-featured {
  background:
    radial-gradient(300px 200px at 50% 0%, rgba(217, 56, 41, .22), transparent 72%),
    radial-gradient(240px 180px at 50% 100%, rgba(217, 164, 65, .14), transparent 75%),
    linear-gradient(175deg, rgba(36, 20, 44, .98) 0%, rgba(18, 11, 26, .98) 58%, rgba(11, 7, 16, .99) 100%);
  border-color: rgba(247, 219, 143, .45);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .55), 0 0 34px rgba(217, 164, 65, .12), inset 0 1px 0 rgba(255, 240, 190, .2);
}
.dl-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold2);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .65), 0 0 40px rgba(217, 164, 65, .2);
}
.dl-tag {
  position: absolute; top: 16px; right: 16px; padding: 3px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--gold2); background: rgba(217, 164, 65, .12); border: 1px solid rgba(247, 219, 143, .36);
}
.dl-featured .dl-tag {
  color: #fff6e8;
  background: linear-gradient(90deg, #ef573c, #b81d18);
  border-color: rgba(255, 180, 150, .5);
  box-shadow: 0 4px 14px rgba(200, 40, 32, .45);
}
.dl-head { display: flex; flex-direction: column; align-items: center; }
.dl-icon {
  width: 102px; height: 102px; margin: 0 auto 14px; display: grid; place-items: center;
  position: relative; transition: transform .35s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .68)) drop-shadow(0 0 18px rgba(217, 164, 65, .28));
}
.dl-featured .dl-icon {
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .72)) drop-shadow(0 0 24px rgba(239, 87, 60, .34));
}
.dl-card:hover .dl-icon {
  transform: translateY(-4px) scale(1.07);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .75)) drop-shadow(0 0 28px rgba(247, 219, 143, .55));
}
.dl-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }

.dl-card h3 { font-family: var(--font-title); font-size: 23px; font-weight: 900; letter-spacing: .06em; color: #fff8eb; }
.dl-desc { font-size: 12.5px; color: var(--muted); margin-top: 6px; letter-spacing: .04em; }
.dl-card .ver {
  display: inline-block; margin: 12px auto 0; padding: 3px 14px; border-radius: 99px;
  background: rgba(8, 5, 13, .55); border: 1px solid rgba(217, 164, 65, .28);
  color: var(--gold2); font-size: 11.5px; font-family: var(--font-mono); letter-spacing: .04em;
}

/* 中部展示台（三卡等高对齐） */
.dl-stage {
  margin: 22px 0 24px; min-height: 204px; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px 16px; border-radius: 8px;
  background: rgba(7, 5, 12, .52);
  border: 1px solid rgba(217, 164, 65, .14);
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, .45);
}

/* 手机扫码底座：带四角金色取景框 */
.dl-qr-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dl-qr-frame {
  position: relative; padding: 10px; border-radius: 10px;
  background: linear-gradient(145deg, rgba(247, 219, 143, .22), rgba(124, 58, 237, .16));
  border: 1px solid rgba(247, 219, 143, .45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .5), 0 0 22px rgba(217, 164, 65, .14);
}
.dl-qr-frame::before, .dl-qr-frame::after {
  content: ""; position: absolute; inset: -4px; pointer-events: none; border-radius: 12px;
  background:
    linear-gradient(var(--gold2), var(--gold2)) top left / 14px 2px no-repeat,
    linear-gradient(var(--gold2), var(--gold2)) top left / 2px 14px no-repeat,
    linear-gradient(var(--gold2), var(--gold2)) top right / 14px 2px no-repeat,
    linear-gradient(var(--gold2), var(--gold2)) top right / 2px 14px no-repeat,
    linear-gradient(var(--gold2), var(--gold2)) bottom left / 14px 2px no-repeat,
    linear-gradient(var(--gold2), var(--gold2)) bottom left / 2px 14px no-repeat,
    linear-gradient(var(--gold2), var(--gold2)) bottom right / 14px 2px no-repeat,
    linear-gradient(var(--gold2), var(--gold2)) bottom right / 2px 14px no-repeat;
}
.dl-qr-inner {
  width: 136px; height: 136px; padding: 7px; border-radius: 6px; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.dl-qr-inner img, .dl-qr-inner canvas { width: 122px !important; height: 122px !important; display: block; }
.dl-stage-note {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #b9adc6; letter-spacing: .04em;
}
.dl-stage-note .btn-ico { width: 14px; height: 14px; color: var(--gold2); }

/* 未开放平台（iOS 筹备中）典雅暗金封印态 */
.dl-soon-stage { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px; }
.dl-soon-ico {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px;
  color: var(--gold2);
  background: radial-gradient(circle, rgba(217, 164, 65, .18), rgba(20, 14, 34, .6));
  border: 1px dashed rgba(247, 219, 143, .45);
}
.dl-soon-ico svg { width: 28px; height: 28px; }
.dl-soon-stage b { font-family: var(--font-title); font-size: 16px; color: var(--gold2); letter-spacing: .06em; }
.dl-soon-stage span { font-size: 12px; color: var(--dim); line-height: 1.6; }

/* PC 桌面端特性展示台 */
.dl-pc-stage { width: 100%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.dl-pc-list { width: 100%; display: flex; flex-direction: column; gap: 9px; text-align: left; }
.dl-pc-list span {
  display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 5px;
  background: rgba(217, 164, 65, .06); border: 1px solid rgba(217, 164, 65, .16);
  font-size: 12.5px; color: #dfd4e8;
}
.dl-pc-list svg { width: 15px; height: 15px; color: var(--gold2); flex-shrink: 0; }

.dl-card .btn { width: 100%; padding: 12px 20px; font-size: 14.5px; }
.dl-btn-soon { opacity: .78; }

/* ---------- 10. 客服支持 ---------- */
.service-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 26px; }
.service-left { padding: 28px 26px; }
.service-hero { padding-bottom: 20px; border-bottom: 1px solid var(--gold-line); margin-bottom: 18px; }
.service-hero b { font-family: var(--font-mono); font-size: 36px; font-weight: 800; display: block; line-height: 1.2; }
.service-hero p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.cs-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 14px;
  border: 1px solid var(--gold-line); margin-bottom: 12px; border-radius: var(--radius-sm);
  background: rgba(7, 5, 12, .45); transition: .24s;
}
.cs-item:hover { border-color: var(--gold-line2); background: rgba(217, 164, 65, .07); transform: translateX(2px); }
.cs-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  flex-shrink: 0; color: #fff; font-weight: 700; font-size: 16px;
  border: 1.5px solid rgba(247, 219, 143, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 6px 16px rgba(0, 0, 0, .48);
}
.cs-ico svg { width: 22px; height: 22px; fill: currentColor; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35)); }
.cs-ico.wx { background: linear-gradient(145deg, #32de7c, #07a853); }
.cs-ico.wecom { background: linear-gradient(145deg, #ffffff, #e6eefc); }
.cs-ico img { width: 26px; height: 26px; object-fit: contain; }
.cs-ico.qq { background: linear-gradient(145deg, #4fd0ff, #1582e6); }
.cs-ico.mp { background: linear-gradient(145deg, #32de7c, #07a853); }
.cs-item .info { flex: 1; min-width: 0; }
.cs-item .info b { display: block; color: #fff8eb; font-weight: 600; font-size: 14px; }
.cs-item .info span { font-size: 12px; color: var(--dim); }

.faq-box { padding: 28px 30px; }
.faq-box h3 { font-family: var(--font-title); font-size: 22px; font-weight: 800; letter-spacing: .05em; margin-bottom: 6px; }
.faq-box .sub { color: var(--dim); font-size: 12.5px; margin-bottom: 18px; }
.faq-item { border-bottom: 1px solid rgba(217, 164, 65, .14); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 16px 4px; display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; color: #e2d9eb; transition: color .2s; }
.faq-q:hover { color: var(--gold2); }
.faq-q .qn {
  flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 4px;
  font-family: var(--font-mono); color: var(--gold2); background: rgba(217, 164, 65, .12);
  border: 1px solid rgba(217, 164, 65, .28); font-size: 12px; font-weight: 700;
}
.faq-q .arr { margin-left: auto; transition: transform .3s; color: var(--gold); font-size: 11px; }
.faq-item.open .faq-q { color: var(--gold2); }
.faq-item.open .faq-q .arr { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a > div { padding: 2px 6px 18px 44px; color: #b5a9c2; font-size: 13.5px; line-height: 1.92; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero-content { width: min(560px, 72%); }
  .class-stage { grid-template-columns: 1fr; gap: 28px; }
  .class-figure { order: 1; max-height: 460px; min-height: 320px; }
  .class-info { order: 2; }
  .class-stage::before { right: 50%; top: 24%; transform: translate(50%, -50%); width: 90%; }
  .server-wrap, .service-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { height: auto; aspect-ratio: 3 / 4; min-height: 520px; max-height: 80vh; }
  .hero-bg .media-img { object-position: center 26%; }
  .hero-content { left: 18px; right: 18px; width: auto; top: auto; bottom: 78px; transform: none; }
  .hero-tag { font-size: 10.5px; letter-spacing: .12em; padding: 5px 12px; }
  .hero-title { font-size: min(9vw, 38px); margin-top: 12px; }
  .hero-sub { font-size: 13px; margin: 12px 0 22px; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn { padding: 10px 18px; font-size: 13px; letter-spacing: .08em; }
  .hero-dots { bottom: 26px; }
  .hero-arrow, .hero-scroll { display: none; }
  .hero-slide .ph > span { bottom: 60px; right: 12px; font-size: 11px; }
  .class-info h3 { font-size: 42px; }
  .class-figure { min-height: 260px; max-height: 360px; }
  .class-figure-name { font-size: 36px; right: 14px; bottom: 14px; }
  .class-play { width: 46px; height: 46px; left: 16px; bottom: 16px; }
  .class-play-tip { left: 72px; bottom: 30px; font-size: 12px; }
  .class-switch button { width: 70px; height: 62px; }
  .class-switch { gap: 10px; margin-bottom: 22px; padding-bottom: 16px; }
  .class-switch::before, .class-switch::after { display: none; }
  .class-stats { gap: 10px 16px; }
  .stats-bar { margin-top: 48px; }
  .stat-item { padding: 20px 8px; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 10.5px; letter-spacing: .1em; }
  .cd-cell b { font-size: 24px; }
  .server-list { padding: 20px 16px; }
  .server-list h3 { flex-direction: column; align-items: flex-start; gap: 2px; }
  .server-table th:nth-child(2), .server-table td:nth-child(2) { font-size: 11.5px; }
  .features-grid, .news-grid, .gifts-grid, .download-grid { grid-template-columns: 1fr; }
  .gallery-slide { aspect-ratio: 16 / 9; }
  .gallery-cap { left: 12px; bottom: 12px; padding: 10px 14px; }
  .gallery-cap h4 { font-size: 16px; }
  .gallery-cap span { font-size: 11px; }
  .gallery-thumbs { gap: 6px; }
  .online-banner { flex-wrap: wrap; gap: 10px 18px; padding: 20px 16px; }
  .online-num { font-size: 40px; }
  .online-tip { margin-left: 0; width: 100%; }
  .rank-table-box { padding: 18px 14px; }
  .rank-table { font-size: 12.5px; }
  .rank-table th, .rank-table td { padding: 9px 6px; }
  .rank-table th:nth-child(5), .rank-table td:nth-child(5) { display: none; }
  .faq-box, .service-left { padding: 22px 16px; }
  .faq-a > div { padding-left: 38px; }
}
