/* =========================================================
   首页样式
   ========================================================= */

/* ---------- 1. 轮播 ---------- */
.hero { position: relative; height: 100vh; min-height: 600px; max-height: 960px; overflow: hidden; background: #000; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 4;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 14px rgba(232,183,90,.7);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide .ph > span { position: absolute; right: 24px; bottom: 120px; }
.hero-slide.active .hero-bg { animation: kenburns 10s ease-out forwards; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 52%, rgba(0,0,0,.5), transparent 100%); }
.hero-bg .media-img { object-position: center 35%; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
/* 上层只做上下渐隐 + 四角暗角，中间留空，避免盖暗文字 */
.hero-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,7,5,.55) 0%, transparent 22%, transparent 72%, rgba(10,7,5,.75) 90%, var(--bg) 100%),
              radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%); }
.hero-content {
  position: absolute; z-index: 3; left: 0; right: 0; top: 50%; transform: translateY(-38%); text-align: center; padding: 0 20px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 14px; color: var(--gold2); font-size: 15px; letter-spacing: 8px;
  padding: 6px 4px; text-shadow: 0 2px 8px #000;
}
.hero-tag i { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-tag i:last-child { transform: scaleX(-1); }
.hero-title {
  font-family: var(--font-title); font-size: clamp(44px, 6.2vw, 96px); font-weight: 900; letter-spacing: .14em; line-height: 1.2;
  margin-top: 6px; padding-left: .14em;
  filter: drop-shadow(0 4px 0 #3a1a05) drop-shadow(0 0 2px rgba(0,0,0,.9)) drop-shadow(0 0 36px rgba(255,110,30,.55));
}
.hero-sub { font-size: clamp(15px, 2vw, 22px); color: #f3e3c3; letter-spacing: 6px; margin: 14px 0 38px; text-shadow: 0 2px 8px #000, 0 0 20px rgba(0,0,0,.8); }
.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-content > * { opacity: 0; transform: translateY(20px); }
.hero-slide.active .hero-content > * { animation: up .9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-slide.active .hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero-slide.active .hero-content > *:nth-child(3) { animation-delay: .26s; }
.hero-slide.active .hero-content > *:nth-child(4) { animation-delay: .4s; }
@keyframes up { to { opacity: 1; transform: none; } }
.hero-dots { position: absolute; z-index: 5; bottom: 64px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.hero-dots button { width: 44px; height: 3px; background: rgba(255,255,255,.25); transition: .3s; position: relative; overflow: hidden; }
.hero-dots button.active { width: 70px; background: rgba(232,183,90,.3); }
.hero-dots button.active::after { content: ""; position: absolute; inset: 0; background: var(--gold); box-shadow: 0 0 10px var(--gold); transform-origin: 0 50%; animation: dotFill 6s linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-arrow {
  position: absolute; z-index: 5; top: 50%; transform: translateY(-50%) rotate(45deg); width: 50px; height: 50px;
  border: 1px solid rgba(232,183,90,.55); background: rgba(0,0,0,.35); transition: .25s; backdrop-filter: blur(3px);
}
.hero-arrow::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(232,183,90,.2); }
.hero-arrow { color: transparent; font-size: 0; }
.hero-arrow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border: solid var(--gold2); border-width: 0 0 2px 2px; transform: translate(-30%, -70%); }
.hero-arrow.next::after { border-width: 2px 2px 0 0; transform: translate(-70%, -30%); }
.hero-arrow:hover { background: rgba(232,183,90,.25); border-color: var(--gold); box-shadow: 0 0 20px rgba(232,183,90,.4); }
.hero-arrow.prev { left: 36px; } .hero-arrow.next { right: 110px; }
.hero-scroll { position: absolute; z-index: 5; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 11px; letter-spacing: 4px; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- 2. 职业大图 + 3. 统计 ---------- */
.class-show { position: relative; padding: 90px 0 0; overflow: hidden;
  background: radial-gradient(ellipse at 30% 40%, rgba(200,40,28,.18), transparent 60%), var(--bg); }
.class-stage { --accent: #e8b75a; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; min-height: 560px; position: relative; }
.class-stage::before {
  content: ""; position: absolute; left: -10%; top: 50%; width: 70%; 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; height: 620px; border: 1px solid var(--line2); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 20px 60px rgba(0,0,0,.6), 0 0 50px color-mix(in srgb, var(--accent) 20%, transparent);
}
.class-figure-img { position: absolute; inset: 0; animation: figIn .8s cubic-bezier(.2,.8,.2,1) both; }
.class-figure-img .media-img { object-position: center 18%; 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.06); filter: brightness(1.8) blur(4px); } }
.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(90deg, transparent 65%, rgba(10,7,5,.85)), linear-gradient(180deg, transparent 60%, rgba(10,7,5,.9)); }
.class-figure-name {
  position: absolute; z-index: 2; right: 18px; top: 24px; writing-mode: vertical-rl; letter-spacing: 12px;
  font-family: var(--font-title); font-size: 64px; font-weight: 900; line-height: 1; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1px rgba(255,227,163,.55); text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 60%, transparent);
  animation: figIn 1s .15s both;
}
.class-play {
  position: absolute; z-index: 3; left: 34px; bottom: 34px;
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.5); border: 2px solid var(--gold); color: var(--gold2); transition: .3s; backdrop-filter: blur(3px);
}
.class-play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(232,183,90,.5); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.class-play:hover { background: rgba(232,183,90,.3); transform: scale(1.08); box-shadow: 0 0 24px rgba(232,183,90,.5); }
.class-play svg { width: 26px; height: 26px; margin-left: 4px; }
.class-play-tip { position: absolute; z-index: 3; left: 118px; bottom: 56px; color: var(--gold2); font-size: 15px; letter-spacing: 4px; text-shadow: 0 2px 6px #000; pointer-events: none; }
.class-info { position: relative; z-index: 1; }
.class-info > * { animation: up .6s cubic-bezier(.2,.8,.2,1) both; }
.class-info > *:nth-child(2) { animation-delay: .05s; } .class-info > *:nth-child(3) { animation-delay: .1s; }
.class-info > *:nth-child(4) { animation-delay: .15s; } .class-info > *:nth-child(5) { animation-delay: .2s; }
.class-info > *:nth-child(6) { animation-delay: .25s; } .class-info > *:nth-child(7) { animation-delay: .3s; }
.class-info > *:nth-child(8) { animation-delay: .35s; }
.class-info .en { font-size: 14px; letter-spacing: 12px; color: var(--accent); opacity: .85; }
.class-info h3 { font-family: var(--font-title); font-size: 80px; line-height: 1.1; letter-spacing: 12px; margin: 4px 0 6px;
  filter: drop-shadow(0 3px 0 #2a1205) drop-shadow(0 0 24px rgba(255,120,40,.35)); }
.class-info .motto { color: var(--gold); font-size: 18px; letter-spacing: 4px; margin-bottom: 18px; padding-left: 14px; border-left: 3px solid var(--accent); }
.class-info .desc { color: #cdbd9f; line-height: 1.9; margin-bottom: 24px; }
.class-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; margin-bottom: 26px; }
.class-stat { font-size: 13px; color: var(--muted); }
.class-stat .bar { height: 6px; background: rgba(255,255,255,.06); margin-top: 6px; position: relative; overflow: hidden; border-radius: 3px; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.class-stat .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, var(--gold3), var(--gold2)); box-shadow: 0 0 10px rgba(232,183,90,.6); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.class-schools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.class-schools span { padding: 5px 16px; border: 1px solid var(--line2); color: var(--gold2); font-size: 13px; background: linear-gradient(180deg, rgba(232,183,90,.12), rgba(232,183,90,.03));
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.class-switch { display: flex; gap: 16px; margin-bottom: 30px; }
.class-switch button {
  width: 80px; height: 80px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line2); position: relative; transition: .3s; filter: grayscale(.8) brightness(.7);
  animation: none !important;
}
.class-switch button .media-img { object-position: 50% 8%; transform: scale(1.9); transform-origin: 50% 12%; }
.class-switch button em {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 0 5px; font-style: normal; font-size: 13px; letter-spacing: 2px; color: #fff;
  font-family: var(--font-title); background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.class-switch button .ph > span { border: none; background: none; padding: 0; font-size: 18px; font-family: var(--font-title); color: #fff; letter-spacing: 0; }
.class-switch button:hover { filter: grayscale(.2) brightness(.95); border-color: var(--gold3); }
.class-switch button.active { border-color: var(--gold); filter: none; box-shadow: 0 0 0 3px rgba(0,0,0,.8), 0 0 0 4px var(--gold3), 0 0 22px rgba(232,183,90,.55); }
.class-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.stats-bar {
  margin-top: 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative;
  background: linear-gradient(90deg, transparent, rgba(232,183,90,.08), transparent);
}
.stats-bar::before { content: ""; position: absolute; top: -1px; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.stats-bar .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { text-align: center; padding: 36px 10px; position: relative; }
.stat-item + .stat-item::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: linear-gradient(transparent, var(--line2), transparent); }
.stat-num { font-family: Impact, "Arial Black", sans-serif; font-size: 50px; letter-spacing: 2px; line-height: 1.1; filter: drop-shadow(0 0 16px rgba(232,183,90,.35)); }
.stat-label { color: var(--muted); letter-spacing: 6px; margin-top: 6px; font-size: 14px; }

/* ---------- 4. 新区开服 ---------- */
.server-wrap { display: grid; grid-template-columns: 420px 1fr; gap: 30px; }
.countdown-box { padding: 34px 30px; text-align: center; display: flex; flex-direction: column; }
.countdown-box h3 { font-family: var(--font-title); font-size: 26px; letter-spacing: 4px; }
.countdown-box .next-name { font-size: 20px; color: var(--gold2); margin: 14px 0 4px; }
.countdown-box .next-time { color: var(--muted); font-size: 14px; }
.countdown { display: flex; justify-content: center; gap: 10px; margin: 26px 0; }
.cd-cell {
  width: 78px; padding: 14px 0 8px; position: relative; border-radius: 4px;
  background: linear-gradient(180deg, #33200f 0%, #1a1009 50%, #120b06 51%, #0d0805 100%);
  border: 1px solid var(--line2); box-shadow: inset 0 1px 0 rgba(255,220,160,.15), 0 6px 16px rgba(0,0,0,.5);
}
.cd-cell::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.cd-cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.7); }
.cd-cell b { display: block; font-family: Impact, "Arial Black", sans-serif; font-size: 40px; line-height: 1; color: var(--gold2); text-shadow: 0 0 14px rgba(232,183,90,.6); }
.cd-cell:last-child b { color: #ffd0a0; animation: secPulse 1s infinite; }
@keyframes secPulse { 0% { text-shadow: 0 0 22px rgba(255,120,40,.9); } 100% { text-shadow: 0 0 10px rgba(232,183,90,.4); } }
.cd-cell small { font-size: 12px; color: var(--muted); }
.reserve-form { display: flex; gap: 8px; margin-top: auto; }
.reserve-form .input { flex: 1; }
.server-list { padding: 24px 26px; }
.server-list h3 { font-family: var(--font-title); font-size: 22px; letter-spacing: 3px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.server-list h3 small { font-family: inherit; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.server-table { width: 100%; border-collapse: collapse; }
.server-table th { text-align: left; font-weight: normal; color: var(--muted); font-size: 13px; padding: 10px 14px; border-bottom: 1px solid var(--line2); }
.server-table td { padding: 14px; border-bottom: 1px dashed var(--line); transition: background .2s; }
.server-table tr:hover td { background: linear-gradient(90deg, rgba(232,183,90,.1), rgba(232,183,90,.02)); }
.server-table td:first-child { color: var(--gold2); }
.server-table .t { font-family: Consolas, monospace; color: #cdbd9f; }

/* ---------- 5. 六大特色 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { padding: 0; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .3s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 18px 44px rgba(0,0,0,.6), 0 0 30px rgba(232,183,90,.18), inset 0 0 40px rgba(0,0,0,.5); }
.feature-img { height: 200px; position: relative; overflow: hidden; }
.feature-img > :first-child { transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; filter: saturate(.9) brightness(.85); }
.feature-card:hover .feature-img > :first-child { transform: scale(1.08); filter: saturate(1.1) brightness(1); }
.feature-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(24,16,10,.95)); pointer-events: none; }
.feature-num {
  position: absolute; z-index: 2; right: 16px; top: 8px; font-family: Impact, sans-serif; font-size: 54px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,227,163,.7); text-shadow: 0 0 20px rgba(0,0,0,.8);
}
.feature-body { padding: 0 24px 26px; display: flex; gap: 16px; position: relative; z-index: 2; }
.feature-icon { flex-shrink: 0; width: 58px; height: 58px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; color: var(--gold2);
  background: radial-gradient(circle at 35% 30%, #4a3018, #1a0f08 70%); border: 1px solid var(--gold); box-shadow: 0 0 0 4px rgba(10,7,5,.85), 0 0 18px rgba(232,183,90,.35);
  transition: transform .5s, box-shadow .3s; }
.feature-card:hover .feature-icon { transform: rotateY(360deg); box-shadow: 0 0 0 4px rgba(10,7,5,.85), 0 0 26px rgba(232,183,90,.6); }
.feature-icon svg { width: 28px; height: 28px; }
.feature-body > div:last-child { padding-top: 12px; }
.feature-body h3 { font-family: var(--font-title); font-size: 22px; color: var(--gold2); letter-spacing: 2px; margin-bottom: 6px; }
.feature-body p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* ---------- 7. 游戏画面 ---------- */
.gallery-stage { position: relative; }
.gallery-track-wrap { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line2); box-shadow: 0 0 0 4px rgba(0,0,0,.5), 0 0 0 5px rgba(232,183,90,.25), 0 24px 60px rgba(0,0,0,.6); }
.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: 0; right: 0; bottom: 0; padding: 60px 30px 22px; background: linear-gradient(transparent, rgba(0,0,0,.88)); display: flex; justify-content: space-between; align-items: flex-end; }
.gallery-cap h4 { font-family: var(--font-title); font-size: 30px; color: var(--gold2); letter-spacing: 4px; text-shadow: 0 2px 8px #000; }
.gallery-cap span { font-size: 13px; color: var(--muted); transition: color .2s; }
.gallery-slide:hover .gallery-cap span { color: var(--gold2); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.gallery-thumbs button { aspect-ratio: 16 / 9; border: 2px solid transparent; overflow: hidden; opacity: .5; transition: .25s; border-radius: 3px; filter: grayscale(.4); }
.gallery-thumbs button .ph > span { font-size: 12px; padding: 2px 8px; }
.gallery-thumbs button:hover { opacity: .85; filter: none; }
.gallery-thumbs button.active { opacity: 1; filter: none; border-color: var(--gold); box-shadow: 0 0 16px rgba(232,183,90,.45); }
.gallery-more { text-align: center; margin-top: 36px; }

/* ---------- 8. 排行榜单 ---------- */
.online-banner {
  text-align: center; padding: 36px 20px; margin-bottom: 30px; overflow: hidden;
  background: linear-gradient(90deg, rgba(14,9,6,.95), rgba(14,9,6,.6) 50%, rgba(14,9,6,.95)), url(/img/hero-2.jpg) center 45% / cover;
}
.online-banner .label { color: #d9c8aa; letter-spacing: 6px; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.online-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(79,195,107,.7); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 12px rgba(79,195,107,0); } 100% { box-shadow: 0 0 0 0 rgba(79,195,107,0); } }
.online-num { font-family: Impact, "Arial Black", sans-serif; font-size: 80px; letter-spacing: 4px; line-height: 1.15; filter: drop-shadow(0 0 24px rgba(232,183,90,.45)); }
.online-tip { color: var(--muted); font-size: 13px; }
.rank-wrap { max-width: 920px; margin: 0 auto; }
.rank-table-box { padding: 22px 28px; }
.rank-table-box h3 { font-family: var(--font-title); font-size: 22px; letter-spacing: 3px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.rank-sub { font-family: sans-serif; font-size: 13px; letter-spacing: 1px; color: var(--muted); }
.rank-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rank-table th { color: var(--muted); font-weight: normal; font-size: 13px; padding: 10px 12px; border-bottom: 1px solid var(--line2); text-align: left; }
.rank-table td { padding: 11px 12px; border-bottom: 1px dashed var(--line); white-space: nowrap; }
.rank-table tr:hover td { background: rgba(232,183,90,.05); }
.rank-no { display: inline-grid; place-items: center; width: 26px; height: 26px; font-family: Impact, sans-serif; font-size: 15px; color: var(--muted); }
.rank-no.r1, .rank-no.r2, .rank-no.r3 { color: #2a1606; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.rank-no.r1 { background: linear-gradient(#ffe7a8, #d9a03a); }
.rank-no.r2 { background: linear-gradient(#f0f0f0, #9aa3ad); }
.rank-no.r3 { background: linear-gradient(#ffc28a, #b0652a); }

.rank-table .nick { color: var(--gold2); }
.rank-table-scroll { max-height: 530px; overflow: auto; }
.rank-server { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.rank-server select {
  min-width: 260px; max-width: 100%; padding: 9px 38px 9px 14px; font-size: 15px; color: var(--gold2); cursor: pointer;
  background: var(--bg3) 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='%23e8b75a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--line2); border-radius: var(--radius); appearance: none; -webkit-appearance: none;
}
.rank-server select:hover, .rank-server select:focus { outline: none; border-color: var(--gold); }
.rank-server select:disabled { opacity: .6; cursor: default; }
.rank-server option { background: var(--bg2); color: var(--text); }

/* ---------- 9. 最新资讯 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { overflow: hidden; display: block; transition: transform .3s; }
.news-card:hover { transform: translateY(-5px); }
.news-card .cover { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.news-card .cover > * { transition: transform .5s; }
.news-card:hover .cover > * { transform: scale(1.06); }
.news-card .cat { position: absolute; z-index: 2; left: 12px; top: 12px; }
.news-card .body { padding: 16px 18px 18px; }
.news-card h4 { font-size: 16px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; transition: color .2s; }
.news-card:hover h4 { color: var(--gold2); }
.news-card p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 3.2em; line-height: 1.6; }
.news-card .meta { display: flex; justify-content: space-between; font-size: 12px; color: #7d6d57; margin-top: 10px; }
.news-more { text-align: center; margin-top: 36px; }

/* ---------- 10. 专属礼包 ---------- */
.gifts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gift-card { padding: 26px 24px; display: flex; flex-direction: column; transition: transform .3s; }
.gift-card:hover { transform: translateY(-5px); }
.gift-top { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.gift-icon { width: 70px; height: 70px; flex-shrink: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--gold3); box-shadow: 0 0 16px rgba(232,183,90,.25); }
.gift-icon .ph > span { border: none; background: none; padding: 0; font-family: var(--font-title); font-size: 26px; color: #ffe7b0; }
.gift-top h3 { font-family: var(--font-title); font-size: 24px; color: var(--gold2); letter-spacing: 2px; }
.gift-top p { font-size: 13px; color: var(--muted); }
.gift-contents { font-size: 13px; color: #cdbd9f; background: rgba(0,0,0,.3); border: 1px dashed var(--line); padding: 10px 12px; border-radius: 3px; margin-bottom: 10px; flex: 1; }
.gift-contents b { color: var(--gold); font-weight: normal; }
.gift-cond { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.gift-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gift-remain { font-size: 12px; color: var(--muted); flex: 1; }
.gift-remain .bar { height: 4px; background: rgba(255,255,255,.08); margin-top: 5px; }
.gift-remain .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--red2)); }
.cdk-box { text-align: center; }
.cdk-code { font-family: Consolas, monospace; font-size: 26px; letter-spacing: 3px; color: var(--gold2); padding: 16px; border: 1px dashed var(--gold3); background: rgba(0,0,0,.4); margin: 14px 0; word-break: break-all; }

/* ---------- 11. 下载中心 ---------- */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dl-card { padding: 38px 26px 30px; text-align: center; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .3s; }
.dl-card:hover { transform: translateY(-8px); box-shadow: 0 18px 44px rgba(0,0,0,.6), 0 0 30px rgba(232,183,90,.18), inset 0 0 40px rgba(0,0,0,.5); }
.dl-icon { width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--gold2); position: relative;
  background: radial-gradient(circle at 35% 30%, #4a3018, #1a0f08 70%); border: 1px solid var(--gold3); box-shadow: 0 0 20px rgba(232,183,90,.2); transition: box-shadow .3s, color .3s; }
.dl-icon::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(232,183,90,.45); animation: spin 18s linear infinite; }
.dl-card:hover .dl-icon { color: #fff3c8; box-shadow: 0 0 34px rgba(232,183,90,.55); }
.dl-card:hover .dl-icon::before { animation-duration: 4s; border-color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.dl-icon svg { width: 42px; height: 42px; }
.dl-card h3 { font-family: var(--font-title); font-size: 26px; letter-spacing: 3px; color: var(--gold2); }
.dl-card .ver { color: var(--muted); font-size: 13px; margin: 4px 0 18px; }
.dl-qr { width: 130px; height: 130px; margin: 0 auto 20px; border: 1px solid var(--line2); padding: 6px; background: #fff1; }
.dl-qr .ph > span { font-size: 12px; letter-spacing: 0; padding: 2px 6px; }
.dl-card .btn { width: 100%; }

/* ---------- 12. 客服支持 ---------- */
.service-wrap { display: grid; grid-template-columns: 400px 1fr; gap: 30px; }
.service-left { padding: 28px 26px; }
.service-hero { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.service-hero b { font-family: var(--font-title); font-size: 40px; display: block; line-height: 1.2; }
.service-hero p { color: var(--muted); font-size: 13px; }
.cs-item { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border: 1px solid var(--line); margin-bottom: 12px; border-radius: 4px; background: rgba(0,0,0,.25); transition: .2s; }
.cs-item:hover { border-color: var(--gold3); background: rgba(232,183,90,.06); }
.cs-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #fff; font-weight: 700; font-size: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 8px rgba(0,0,0,.4); }
.cs-ico svg { width: 26px; height: 26px; fill: currentColor; }
.cs-ico.wx { background: linear-gradient(135deg, #2bd673, #07c160); }
.cs-ico.wecom { background: #fff; }
.cs-ico img { width: 30px; height: 30px; object-fit: contain; }
.cs-ico.qq { background: linear-gradient(135deg, #3fc8ff, #12b7f5); }
.cs-ico.qq svg { width: 24px; height: 24px; }
.cs-ico.mp { background: linear-gradient(135deg, #2bd673, #07c160); }
.cs-item .info { flex: 1; min-width: 0; }
.cs-item .info b { display: block; color: var(--gold2); font-weight: normal; }
.cs-item .info span { font-size: 13px; color: var(--muted); }
.faq-box { padding: 28px 30px; }
.faq-box h3 { font-family: var(--font-title); font-size: 24px; letter-spacing: 3px; margin-bottom: 6px; }
.faq-box .sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.faq-item { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 12px; background: rgba(0,0,0,.25); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 16px 18px; display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text); }
.faq-q .qn { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #2a1606; font-weight: 700; font-size: 13px; }
.faq-q .arr { margin-left: auto; transition: transform .3s; color: var(--gold); }
.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: 0 18px 18px 56px; color: #cdbd9f; font-size: 14px; line-height: 1.9; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .class-stage { grid-template-columns: 1fr; gap: 30px; }
  .class-figure { height: 520px; }
  .class-stage::before { left: 50%; top: 30%; transform: translate(-50%, -50%); width: 100%; }
  .server-wrap, .service-wrap { grid-template-columns: 1fr; }
  .features-grid, .news-grid, .gifts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* 轮播：高度随屏幕宽度变化（3:4），横图在竖屏上裁掉的部分更少 */
  .hero { height: auto; aspect-ratio: 3 / 4; min-height: 460px; max-height: 82vh; }
  .hero-bg .media-img { object-position: center 30%; }
  @keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
  .hero-content { transform: translateY(-42%); padding: 0 16px; }
  .hero-arrow { display: none; }
  .hero-tag { font-size: 12px; letter-spacing: 4px; gap: 8px; }
  .hero-tag i { width: 30px; }
  .hero-title { font-size: min(8vw, 40px); letter-spacing: .06em; padding-left: .06em; text-wrap: balance; }
  .hero-sub { font-size: 14px; letter-spacing: 2px; margin: 10px 0 24px; }
  .hero-btns { gap: 12px; }
  .hero-btns .btn { padding: 11px 24px; font-size: 15px; letter-spacing: 2px; }
  .hero-dots { bottom: 26px; gap: 8px; }
  .hero-dots button { width: 28px; }
  .hero-dots button.active { width: 46px; }
  .hero-scroll { display: none; }
  .hero-slide .ph > span { bottom: 60px; right: 12px; font-size: 12px; }
  .class-info h3 { font-size: 52px; }
  .class-figure { height: 440px; }
  .class-figure-name { font-size: 44px; right: 10px; top: 14px; }
  .class-play { width: 56px; height: 56px; left: 20px; bottom: 20px; }
  .class-play svg { width: 22px; height: 22px; }
  .class-play-tip { left: 90px; bottom: 37px; font-size: 13px; }
  .class-switch button { width: 68px; height: 68px; }
  .stats-bar .container { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { padding: 18px 10px; border-top: 1px solid var(--line); }
  .stat-num { font-size: 36px; }
  .cd-cell { width: 64px; }
  .cd-cell b { font-size: 30px; }
  .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: 12px; }
  .features-grid, .news-grid, .gifts-grid, .download-grid { grid-template-columns: 1fr; }
  .gallery-slide { aspect-ratio: 16 / 9; }
  .gallery-cap { padding: 34px 14px 10px; }
  .gallery-cap h4 { font-size: 20px; letter-spacing: 2px; }
  .gallery-cap span { font-size: 12px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .online-num { font-size: 52px; }
  .rank-table-box { padding: 18px 14px; }
  .rank-table { font-size: 13px; }
  .rank-table th, .rank-table td { padding: 9px 6px; }
  .faq-box, .service-left { padding: 22px 16px; }
  .faq-a > div { padding-left: 18px; }
}
