/* ==========================================================
   原味决战 官网样式 —— 机甲指挥台风格（枪灰金属 + 警示黄 + 数据青）
   官网静态页与 zc 注册/改密/排行系统共用这一份样式
   ========================================================== */

:root {
    --bg: #161b23;
    --metal-1: #2b323d;
    --metal-2: #212731;
    --metal-3: #1a1f27;
    --line: #36404c;
    --line-hi: #4a5563;
    --amber: #f5a524;
    --amber-2: #ff7a18;
    --amber-soft: rgba(245, 165, 36, .12);
    --cyan: #34d6e8;
    --red: #ec4a35;
    --green: #47d16c;
    --text: #c9d0d8;
    --text-bright: #ffffff;
    --text-muted: #7d8896;
    --font: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
    --font-tech: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Segoe UI", sans-serif;
    /* 兼容 zc 页面旧变量名 */
    --primary: var(--amber);
    --danger: var(--red);
    --success: var(--green);
    --border: var(--line);
    --bg-panel: var(--metal-2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font); font-size: 14px; line-height: 1.7; color: var(--text);
    min-height: 100vh;
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(52, 214, 232, .05), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-attachment: fixed;
    background-size: 100% 100%, 32px 32px, 32px 32px;
}
/* 禁止选中文字（输入框除外） */
body { -webkit-user-select: none; user-select: none; }
input, textarea, select { -webkit-user-select: text; user-select: text; }
a { color: var(--amber); text-decoration: none; transition: color .15s; }
a:hover { color: var(--text-bright); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
::selection { background: var(--amber); color: #000; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ========== 顶部状态条 ========== */
.topbar { background: #0f1218; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text-muted); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; }
.topbar b { color: var(--text); font-weight: 400; font-family: var(--font-tech); letter-spacing: 1px; }
.topbar .sep { margin: 0 10px; color: var(--line-hi); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ========== 头部横幅（纯 CSS 绘制：星空 + 行星 + 透视网格地面） ========== */
.masthead { position: relative; height: 430px; overflow: hidden; background: #05070b; border-bottom: 3px solid var(--amber); }
.masthead.small { height: 200px; }
.scene {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 72% 100%, rgba(245, 165, 36, .28), transparent 70%),
        radial-gradient(ellipse 50% 60% at 15% 0%, rgba(52, 214, 232, .14), transparent 70%),
        linear-gradient(180deg, #04060a 0%, #0a0f17 55%, #15110d 100%);
}
.scene .stars {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(1px 1px at 20px 30px, #fff, transparent),
        radial-gradient(1px 1px at 120px 80px, rgba(255, 255, 255, .7), transparent),
        radial-gradient(1.5px 1.5px at 200px 150px, #9fefff, transparent),
        radial-gradient(1px 1px at 60px 190px, rgba(255, 255, 255, .5), transparent),
        radial-gradient(1px 1px at 260px 40px, rgba(255, 255, 255, .6), transparent);
    background-size: 300px 220px;
    animation: drift 120s linear infinite;
    opacity: .8;
}
@keyframes drift { to { background-position: -300px 0; } }
.scene .planet {
    position: absolute; right: 9%; top: 34px; width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #4b5a6c 0%, #1c2430 45%, #090c11 72%);
    box-shadow: inset -36px -26px 60px rgba(0, 0, 0, .85), 0 0 70px rgba(52, 214, 232, .22);
}
.scene .planet::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 470px; height: 96px;
    border: 2px solid rgba(245, 165, 36, .55); border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-16deg);
    box-shadow: 0 0 18px rgba(245, 165, 36, .25);
}
.scene .planet::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 400px; height: 70px;
    border: 1px dashed rgba(52, 214, 232, .35); border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-16deg);
}
.scene .floor {
    position: absolute; left: -50%; right: -50%; bottom: -10px; height: 58%;
    background-image:
        linear-gradient(rgba(245, 165, 36, .32) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 165, 36, .32) 1px, transparent 1px);
    background-size: 60px 40px;
    transform: perspective(380px) rotateX(62deg); transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 90%);
    mask-image: linear-gradient(0deg, #000 10%, transparent 90%);
    animation: run 3s linear infinite;
}
@keyframes run { to { background-position: 0 40px; } }
.masthead::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(90deg, rgba(4, 5, 8, .75) 0%, rgba(4, 5, 8, .2) 50%, transparent 100%),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px);
}
/* 首页横幅细节：远星层 / 极光 / 锁定框 / 卫星 / 流星 / 探照灯 / 飞船 / 城市剪影 / HUD */
.scene .stars.far { background-size: 180px 140px; opacity: .45; animation-duration: 200s; filter: blur(.3px); }
.scene .aurora {
    position: absolute; left: 20%; right: -10%; top: -30%; height: 90%;
    background:
        radial-gradient(ellipse 40% 30% at 40% 60%, rgba(52, 214, 232, .16), transparent 70%),
        radial-gradient(ellipse 30% 25% at 70% 40%, rgba(150, 90, 255, .12), transparent 70%);
    filter: blur(10px); animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translateX(-8%) scaleY(1.15); opacity: .6; } }
.scene .lock {
    position: absolute; right: calc(9% - 30px); top: 4px; width: 340px; height: 340px;
    border: 1px dashed rgba(52, 214, 232, .3); border-radius: 50%;
    animation: spin 40s linear infinite;
}
.scene .lock::before, .scene .lock::after {
    content: ""; position: absolute; left: 50%; top: -6px; width: 2px; height: 14px; margin-left: -1px; background: var(--cyan); box-shadow: 0 0 6px var(--cyan);
}
.scene .lock::after { top: auto; bottom: -6px; }
.scene .moon {
    position: absolute; right: 34%; top: 48px; width: 34px; height: 34px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #c9b48a, #6b5a3c 55%, #1d1810 80%);
    box-shadow: 0 0 20px rgba(245, 165, 36, .3);
    animation: orbit 30s ease-in-out infinite alternate;
}
@keyframes orbit { to { transform: translate(-60px, 26px) scale(.8); } }
.scene .meteor {
    position: absolute; top: 0; width: 160px; height: 1px; opacity: 0;
    background: linear-gradient(90deg, #fff, rgba(159, 239, 255, .6) 20%, transparent);
    transform: rotate(-28deg); transform-origin: 0 0;
    animation: meteor 7s linear infinite;
}
.scene .meteor.m1 { left: 62%; top: 30px; }
.scene .meteor.m2 { left: 82%; top: 10px; animation-delay: 2.6s; animation-duration: 9s; }
.scene .meteor.m3 { left: 46%; top: 60px; animation-delay: 5.1s; width: 110px; }
@keyframes meteor {
    0% { opacity: 0; translate: 0 0; }
    3% { opacity: 1; }
    12% { opacity: 0; translate: -260px 140px; }
    100% { opacity: 0; translate: -260px 140px; }
}
.scene .beam {
    position: absolute; bottom: 70px; width: 70px; height: 360px; transform-origin: 50% 100%;
    background: linear-gradient(0deg, rgba(245, 165, 36, .22), transparent 85%);
    clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0);
    animation: sweep 9s ease-in-out infinite alternate;
}
.scene .beam.b1 { left: 40%; }
.scene .beam.b2 { left: 66%; animation-delay: -3s; background: linear-gradient(0deg, rgba(52, 214, 232, .2), transparent 85%); }
.scene .beam.b3 { left: 88%; animation-delay: -6s; animation-duration: 12s; }
@keyframes sweep { from { transform: rotate(-24deg); } to { transform: rotate(20deg); } }
.scene .ship {
    position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff;
    box-shadow: 0 0 8px 2px var(--amber);
    animation: fly 16s linear infinite;
}
.scene .ship::after { content: ""; position: absolute; right: 3px; top: 1px; width: 90px; height: 2px; background: linear-gradient(270deg, rgba(245, 165, 36, .8), transparent); }
.scene .ship.s1 { top: 150px; }
.scene .ship.s2 { top: 210px; animation-duration: 22s; animation-delay: -9s; box-shadow: 0 0 8px 2px var(--cyan); }
.scene .ship.s2::after { width: 60px; background: linear-gradient(270deg, rgba(52, 214, 232, .8), transparent); }
@keyframes fly { from { left: -120px; } to { left: 110%; } }
.scene .city { position: absolute; left: 0; width: 100%; display: block; }
.scene .city.far { bottom: 92px; height: 120px; fill: #1a2330; opacity: .95; filter: drop-shadow(0 -1px 0 rgba(52, 214, 232, .25)); }
.scene .city.near { bottom: 70px; height: 96px; fill: #07090d; filter: drop-shadow(0 -1px 0 rgba(245, 165, 36, .35)); }
.scene .city .win rect { fill: var(--amber); opacity: .75; animation: blink 4s infinite; }
.scene .city .win rect:nth-child(3n) { fill: var(--cyan); animation-delay: -1.3s; }
.scene .city .win rect:nth-child(4n) { animation-delay: -2.7s; }
.scene .city .tip circle { fill: var(--red); animation: blink 1.4s infinite; }
.masthead:not(.small) .scene .floor { height: 30%; }
.scene .hud {
    position: absolute; right: 24px; bottom: 96px; z-index: 1; display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border: 1px solid rgba(52, 214, 232, .35); background: rgba(4, 10, 16, .6);
    font-family: var(--font-tech); font-size: 11px; letter-spacing: 1px; color: #9fdfe8;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.scene .hud li { display: flex; gap: 10px; line-height: 1.8; }
.scene .hud li span { width: 54px; color: var(--text-muted); }
.scene .hud b { font-weight: 400; color: var(--green); }
.scene .radar {
    position: relative; width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
    border: 1px solid rgba(52, 214, 232, .5);
    background:
        radial-gradient(circle, transparent 30%, rgba(52, 214, 232, .25) 31%, transparent 33%, transparent 62%, rgba(52, 214, 232, .25) 63%, transparent 65%),
        linear-gradient(rgba(52, 214, 232, .25), rgba(52, 214, 232, .25)) center / 1px 100% no-repeat,
        linear-gradient(rgba(52, 214, 232, .25), rgba(52, 214, 232, .25)) center / 100% 1px no-repeat;
}
.scene .radar::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(52, 214, 232, .55), transparent 25%); animation: spin 3s linear infinite; border-radius: 50%; }
.scene .radar i { position: absolute; left: 62%; top: 30%; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 6px var(--amber); animation: blink 1.5s infinite; }
.scene .sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.scene .sig i { width: 3px; background: var(--cyan); animation: blink 2s infinite; }
.scene .sig i:nth-child(1) { height: 4px; } .scene .sig i:nth-child(2) { height: 6px; animation-delay: .2s; }
.scene .sig i:nth-child(3) { height: 8px; animation-delay: .4s; } .scene .sig i:nth-child(4) { height: 10px; animation-delay: .6s; }
.scene .sig i:nth-child(5) { height: 12px; animation-delay: .8s; }
.mast-cta { display: flex; gap: 14px; margin-top: 24px; }
.masthead.small .planet { width: 150px; height: 150px; top: 18px; right: 6%; }
.masthead.small .planet::before { width: 250px; height: 52px; }
.masthead.small .planet::after { width: 210px; height: 38px; }
.mast-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.brand { display: inline-flex; align-items: center; gap: 16px; }
.brand-mark {
    width: 74px; height: 74px; display: grid; place-items: center; flex-shrink: 0;
    font-size: 38px; font-weight: 900; color: #111;
    background: linear-gradient(160deg, #ffd166, var(--amber) 45%, var(--amber-2));
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.brand-name { font-size: 54px; font-weight: 900; line-height: 1; color: var(--text-bright); letter-spacing: 4px; font-style: italic; text-shadow: 3px 3px 0 rgba(0, 0, 0, .6); }
.brand-name em { font-style: italic; color: var(--amber); }
.brand-sub { margin-top: 8px; font-family: var(--font-tech); font-size: 13px; letter-spacing: 6px; color: var(--cyan); }
.mast-slogan { margin-top: 22px; max-width: 540px; font-size: 16px; color: #e6e9ee; text-shadow: 0 1px 3px #000; }
.masthead.small .brand-name { font-size: 34px; }
.masthead.small .brand-mark { width: 50px; height: 50px; font-size: 26px; }
.page-head { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 22px; gap: 16px; }
.page-head h1 { font-size: 32px; color: var(--text-bright); letter-spacing: 4px; font-style: italic; }
.page-head h1 small { display: block; font-family: var(--font-tech); font-size: 12px; font-style: normal; letter-spacing: 6px; color: var(--amber); }
.crumb { font-size: 12px; color: var(--text-muted); }
.crumb a { color: var(--text); }
.crumb a:hover { color: var(--amber); }

/* ========== 主导航（金属条 + 斜切按钮） ========== */
.mainnav {
    position: sticky; top: 0; z-index: 100;
    background: linear-gradient(180deg, #343c48 0%, #242a33 48%, #1d2229 52%, #232933 100%);
    border-bottom: 1px solid #000; box-shadow: 0 4px 16px rgba(0, 0, 0, .6);
}
.mainnav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .12); }
.mainnav .wrap { display: flex; align-items: center; height: 58px; }
.nav-logo { display: none; align-items: center; gap: 8px; font-size: 17px; font-weight: 900; font-style: italic; color: #fff; letter-spacing: 2px; }
.nav-logo em { color: var(--amber); }
.nav-logo i { width: 26px; height: 26px; display: grid; place-items: center; font-style: normal; font-size: 14px; color: #111; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.nav-menu { display: flex; width: 100%; }
.nav-menu li { flex: 1; }
.nav-menu a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 58px; color: var(--text); font-size: 15px; font-weight: 700; letter-spacing: 2px; line-height: 1.3;
    border-left: 1px solid rgba(0, 0, 0, .55); box-shadow: inset 1px 0 0 rgba(255, 255, 255, .05);
}
.nav-menu li:last-child a { border-right: 1px solid rgba(0, 0, 0, .55); }
.nav-menu a span { font-family: var(--font-tech); font-size: 10px; font-weight: 400; letter-spacing: 2px; color: var(--text-muted); }
.nav-menu a:hover { color: var(--amber); background: rgba(255, 255, 255, .04); }
.nav-menu a.active { color: #111; background: linear-gradient(180deg, #ffc14d, var(--amber) 50%, #e08a12); }
.nav-menu a.active span { color: rgba(0, 0, 0, .6); }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 0 9px; border: 1px solid var(--line-hi); }
.nav-toggle span { height: 2px; background: var(--amber); }

/* ========== 通用面板（金属铭牌） ========== */
.box { background: linear-gradient(180deg, var(--metal-2), var(--metal-3)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 6px 18px rgba(0, 0, 0, .35); }
.box + .box { margin-top: 16px; }
.box-hd {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    height: 42px; padding: 0 14px 0 18px;
    background: linear-gradient(180deg, #2f3641, #242a33);
    border-bottom: 1px solid #000;
}
.box-hd::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); }
.box-hd h3 { font-size: 15px; color: var(--text-bright); letter-spacing: 2px; font-style: italic; }
.box-hd h3 small { margin-left: 8px; font-family: var(--font-tech); font-size: 11px; font-style: normal; font-weight: 400; color: var(--text-muted); letter-spacing: 2px; }
.box-hd .more { font-size: 12px; color: var(--text-muted); }
.box-hd .more:hover { color: var(--amber); }
.hazard { width: 46px; height: 10px; background: repeating-linear-gradient(-45deg, var(--amber) 0 6px, #111 6px 12px); opacity: .85; }
.box-bd { padding: 16px; }

/* ========== 按钮 ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 28px; border: 0; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 2px;
    transform: skewX(-10deg); transition: filter .15s, background .15s, color .15s;
}
.btn-primary { color: #111; background: linear-gradient(180deg, #ffc14d, var(--amber) 50%, #e08a12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 0 #8a5208; }
.btn-primary:hover { color: #111; filter: brightness(1.12); }
.btn-secondary { color: var(--text-bright); background: linear-gradient(180deg, #3a4350, #262c35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 3px 0 #0a0c0f; }
.btn-secondary:hover { color: var(--amber); }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ========== 首页三栏 ========== */
.home { padding: 20px 0 10px; }
.home-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 290px; gap: 16px; align-items: start; }
.home-grid > *, .home-left > *, .home-right > * { min-width: 0; }
/* 三栏等高：左右栏内容撑满，中栏公告固定在栏高内滚动 */
.home-grid { align-items: stretch; }
.home-left, .home-mid, .home-right { display: flex; flex-direction: column; }
.home-left .quick { flex: 1; grid-auto-rows: 1fr; }
.home-left .quick a { height: auto; min-height: 66px; }
.home-right .box:last-child { flex: 1; }
.home-mid .box { flex: 1; display: flex; flex-direction: column; }
.home-mid .box-bd { position: relative; flex: 1; min-height: 260px; padding: 0; }
.home-mid .tab-pane { position: absolute; inset: 0; padding: 8px 16px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--amber) #0c0e11; }
.home-mid .tab-pane::-webkit-scrollbar { width: 6px; }
.home-mid .tab-pane::-webkit-scrollbar-track { background: #0c0e11; }
.home-mid .tab-pane::-webkit-scrollbar-thumb { background: var(--amber); }

/* 左栏：下载大按钮 + 快捷入口 */
.dl-big {
    position: relative; display: block; padding: 18px 18px 16px 20px; overflow: hidden;
    color: #111; background: linear-gradient(160deg, #ffcb5c, var(--amber) 45%, var(--amber-2));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.dl-big::after { content: "↓"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 44px; font-weight: 900; line-height: 1; color: rgba(0, 0, 0, .25); }
.dl-big strong { display: block; font-size: 22px; font-style: italic; letter-spacing: 2px; }
.dl-big span { font-size: 12px; }
.dl-big:hover { color: #111; filter: brightness(1.08); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 16px; background: #000; border: 1px solid var(--line); }
.quick a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    height: 74px; color: var(--text-bright); font-weight: 700; letter-spacing: 1px;
    background: linear-gradient(180deg, #2a313b, #20262e);
}
.quick a i { font-style: normal; font-family: var(--font-tech); font-size: 10px; letter-spacing: 2px; color: var(--text-muted); }
.quick a:hover { background: linear-gradient(180deg, #353d48, #272d36); color: var(--amber); }
.contact li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.contact li:last-child { border-bottom: 0; }
.contact li span { color: var(--text-muted); }
.contact li b { font-family: var(--font-tech); font-weight: 400; color: var(--cyan); letter-spacing: 1px; }

/* 中栏：公告标签页 */
.tabs-hd { display: flex; align-items: stretch; height: 42px; background: linear-gradient(180deg, #2f3641, #242a33); border-bottom: 2px solid var(--amber); }
.tabs-hd button {
    padding: 0 22px; border: 0; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 2px;
    color: var(--text-muted); background: transparent; border-right: 1px solid #000;
}
.tabs-hd button:hover { color: var(--text-bright); }
.tabs-hd button.on { color: #111; background: var(--amber); }
.tab-pane { display: none; }
.tab-pane.on { display: block; }
.news li { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px dashed var(--line); }
.news li:last-child { border-bottom: 0; }
.news .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.news a.t:hover { color: var(--amber); }
.news .d { font-family: var(--font-tech); font-size: 12px; color: var(--text-muted); }
.lbl { flex-shrink: 0; padding: 0 6px; font-size: 12px; line-height: 18px; color: #111; background: var(--text-muted); }
.lbl.hot { background: var(--red); color: #fff; }
.lbl.new { background: var(--amber); }
.lbl.info { background: var(--cyan); }


/* 右栏：服务器 + 客服 */
.server { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); background: rgba(71, 209, 108, .05); }
.server-light { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(71, 209, 108, .5), transparent 70%); }
.server-light::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.server b { display: block; font-size: 16px; color: var(--text-bright); }
.server span { font-size: 12px; color: var(--text-muted); }
.server em { font-style: normal; color: var(--green); }
.server + .server { margin-top: 10px; }
.server.wait { background: rgba(245, 165, 36, .05); }
.server.wait .server-light { background: radial-gradient(circle, rgba(245, 165, 36, .35), transparent 70%); }
.server.wait .server-light::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: blink 1.6s infinite; }
.server.wait em { color: var(--amber); }

/* ========== 职业展示（切换式） ========== */
.jobs { padding: 10px 0 30px; }
.job-stage { display: grid; grid-template-columns: 220px minmax(0, 1fr); border: 1px solid var(--line); background: var(--metal-3); }
.job-tabs { display: flex; flex-direction: column; background: #14181e; border-right: 1px solid #000; }
.job-tabs button {
    flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 0 22px; border: 0; border-bottom: 1px solid #000; cursor: pointer; text-align: left;
    font-family: inherit; font-size: 18px; font-weight: 700; letter-spacing: 3px; color: var(--text-muted);
    background: linear-gradient(90deg, #222830, #1a1f26);
}
.job-tabs button span { font-family: var(--font-tech); font-size: 11px; font-weight: 400; letter-spacing: 3px; }
.job-tabs button:hover { color: var(--text-bright); }
.job-tabs button.on { color: #111; background: linear-gradient(90deg, var(--amber), #ffc14d); }
.job-view {
    position: relative; min-height: 400px;
    background:
        radial-gradient(circle at 24% 50%, rgba(245, 165, 36, .13), transparent 50%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 40px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 40px);
}
.jv { display: none; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; align-items: center; min-height: 400px; padding: 30px 40px; }
.jv.on { display: grid; animation: jvIn .4s ease; }
@keyframes jvIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.jv-emblem { position: relative; width: 250px; height: 250px; margin: 0 auto; color: var(--amber); }
.jv-emblem svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px rgba(245, 165, 36, .55)); }
.jv-emblem::before { content: ""; position: absolute; inset: -16px; border: 1px dashed rgba(52, 214, 232, .5); border-radius: 50%; animation: spin 40s linear infinite; }
.jv-emblem::after { content: ""; position: absolute; inset: -30px; border: 1px solid rgba(245, 165, 36, .12); border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.jv-text .no { font-family: var(--font-tech); font-size: 15px; letter-spacing: 3px; color: var(--cyan); }
.jv-text h3 { font-size: 40px; line-height: 1.2; font-style: italic; letter-spacing: 6px; color: var(--text-bright); }
.jv-text .en { font-family: var(--font-tech); font-size: 13px; letter-spacing: 6px; color: var(--amber); }
.jv-text p { margin-top: 12px; max-width: 560px; color: var(--text); }
.spec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.spec li { padding: 3px 10px; font-size: 12px; border: 1px solid var(--line-hi); background: rgba(0, 0, 0, .3); }
.spec li em { font-style: normal; color: var(--text-muted); margin-right: 6px; }
.bars { margin-top: 16px; max-width: 420px; display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }
.bar i { position: relative; height: 10px; border: 1px solid var(--line); background: #08090b; }
.bar i b { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(90deg, var(--amber) 0 9px, transparent 9px 11px); }

.sec-title { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sec-title h2 { font-size: 22px; font-style: italic; letter-spacing: 3px; color: var(--text-bright); }
.sec-title h2 small { margin-left: 10px; font-family: var(--font-tech); font-size: 12px; font-style: normal; font-weight: 400; color: var(--amber); letter-spacing: 4px; }
.sec-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-hi), transparent); }

/* ========== 内页：通栏内容 ========== */
.inner { padding: 20px 0 40px; }
.content .box-bd { padding: 22px; }

/* iframe 承载 zc 页面 */
.frame-box iframe { display: block; width: 100%; min-height: 760px; border: 0; background: transparent; overflow: hidden; }

/* 游戏介绍 */
.quote { margin-bottom: 16px; padding: 14px 20px; font-size: 16px; font-style: italic; font-weight: 700; color: #111; background: linear-gradient(90deg, var(--amber), #ffc14d); clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
.feature-list { counter-reset: f; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.feature-list li { counter-increment: f; position: relative; padding: 9px 10px 9px 46px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.feature-list li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 0; bottom: 0; width: 36px; display: grid; place-items: center; font-family: var(--font-tech); font-weight: 700; color: #111; background: var(--amber); }
.hl { color: var(--amber); font-weight: 700; }
.kv li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.kv li:last-child { border-bottom: 0; }
.kv li b { flex-shrink: 0; width: 110px; color: var(--cyan); font-weight: 600; }
/* 游戏介绍一整块连续排版，小节用标题分隔 */
.guide-flow .box-bd { padding: 26px 30px 30px; }
.flow-hd {
    display: flex; align-items: center; gap: 10px; margin: 34px 0 14px; padding: 0 0 10px 14px;
    font-size: 18px; font-style: italic; letter-spacing: 2px; color: var(--text-bright);
    border-left: 4px solid var(--amber); border-bottom: 1px solid var(--line);
}
.flow-hd::after { content: ""; flex: 1; height: 1px; }
.flow-hd small { font-family: var(--font-tech); font-size: 11px; font-style: normal; font-weight: 400; letter-spacing: 3px; color: var(--amber); }
.quote + .flow-hd { margin-top: 22px; }
.flow-hd:first-child { margin-top: 0; }
.feature-list.one-col { grid-template-columns: 1fr; }

/* ========== 表格 ========== */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { padding: 10px 12px; text-align: left; white-space: nowrap; color: #111; font-weight: 700; background: var(--amber); }
.data-table td { padding: 9px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.data-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
.data-table tbody tr:hover td { background: rgba(245, 165, 36, .07); }
.data-table td.name { color: var(--text-bright); font-weight: 600; }
.data-table td.rank { font-family: var(--font-tech); font-weight: 700; color: var(--text-muted); }
.data-table td.rank-1, .data-table td.rank-2, .data-table td.rank-3 { font-size: 17px; }
.data-table td.rank-1 { color: #ffcf4a; }
.data-table td.rank-2 { color: #e2e8ee; }
.data-table td.rank-3 { color: #e0874a; }
.data-table td.empty { padding: 28px 15px; text-align: center; color: var(--text-muted); white-space: normal; }

/* ========== 下载 / 充值 ========== */
.dl-row { display: flex; align-items: center; gap: 18px; padding: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.dl-row + .dl-row { margin-top: 12px; }
.dl-ico { width: 64px; height: 64px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-tech); font-weight: 700; color: #111; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.dl-ico.alt { background: var(--cyan); }
.dl-info { flex: 1; min-width: 0; }
.dl-info h3 { font-size: 17px; color: var(--text-bright); }
.dl-info p { font-size: 13px; color: var(--text-muted); }
.dl-info .size { color: var(--cyan); font-family: var(--font-tech); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 10px 0 10px 46px; border-bottom: 1px dashed var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; display: grid; place-items: center; font-family: var(--font-tech); font-weight: 700; color: var(--amber); border: 1px solid var(--amber); transform: rotate(45deg); }
.steps b { color: var(--text-bright); }
.pay-card { display: flex; align-items: center; gap: 24px; padding: 26px; border: 1px solid rgba(245, 165, 36, .4); background: linear-gradient(90deg, rgba(245, 165, 36, .1), transparent); }
.pay-num { font-family: var(--font-tech); font-size: 46px; font-weight: 700; line-height: 1; color: var(--amber); }
.pay-num small { font-size: 16px; color: var(--text); }
.pay-card .btn { margin-left: auto; }
.note { margin-top: 14px; padding: 12px 14px; font-size: 13px; color: var(--text-muted); border-left: 3px solid var(--cyan); background: rgba(52, 214, 232, .05); }

/* ========== 表单（zc 注册 / 改密） ========== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--text); }
.required { color: var(--red); }
.form-control {
    width: 100%; height: 42px; padding: 0 12px;
    font-family: inherit; font-size: 14px; color: var(--text-bright);
    background: #10141a; border: 1px solid var(--line-hi); border-radius: 0; outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .5); transition: border-color .15s;
}
.form-control::placeholder { color: #4f5966; }
.form-control:focus { border-color: var(--amber); }
select.form-control {
    appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%), linear-gradient(-45deg, transparent 50%, var(--amber) 50%);
    background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px; background-repeat: no-repeat;
}
select.form-control option { background: #13171c; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-tip { margin-top: 5px; font-size: 12px; color: var(--text-muted); }
.reg-alert { display: none; margin-bottom: 16px; padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--red); background: rgba(236, 74, 53, .1); border: 1px solid rgba(236, 74, 53, .5); border-left-width: 4px; }
.reg-alert.show { display: block; }
.reg-alert.ok { color: var(--green); background: rgba(71, 209, 108, .1); border-color: rgba(71, 209, 108, .5); }

/* zc 页面：嵌入 iframe 时透明无框，由官网内容面板提供外框；独立打开时是一块金属面板 */
.card { max-width: 760px; margin: 0 auto; padding: 22px; background: linear-gradient(180deg, var(--metal-2), var(--metal-3)); border: 1px solid var(--line); border-top: 3px solid var(--amber); }
.card + .card { margin-top: 16px; }
body:not(.zc-embed):not(.zc-result) .card:first-child { margin-top: 24px; }
body.zc-embed { min-height: 0; background: transparent; padding: 4px 2px 8px; }
body.zc-embed .card { max-width: none; padding: 0; background: none; border: 0; }
body.zc-embed .card + .card { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.zc-head { margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--amber); }
.zc-head h3 { font-size: 18px; font-style: italic; letter-spacing: 2px; color: var(--text-bright); }
.zc-head p { font-size: 13px; color: var(--text-muted); }
.rank-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.rank-toolbar label { font-size: 13px; color: var(--text-muted); }
.rank-toolbar select { max-width: 200px; }
.rank-tabs { display: flex; gap: 0; margin-bottom: 14px; flex-wrap: wrap; border: 1px solid var(--line); width: fit-content; }
.rank-tabs a { padding: 7px 18px; font-size: 13px; font-weight: 700; color: var(--text-muted); border-right: 1px solid var(--line); background: #1a1f26; }
.rank-tabs a:last-child { border-right: 0; }
.rank-tabs a:hover { color: var(--amber); }
.rank-tabs a.active { color: #111; background: var(--amber); }

/* zc 独立结果页（注册成功 / 失败） */
body.zc-result { display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.result-panel { width: 100%; max-width: 440px; padding: 34px 28px; text-align: center; background: linear-gradient(180deg, var(--metal-2), var(--metal-3)); border: 1px solid var(--line); border-top: 3px solid var(--amber); }
.result-panel h1 { margin-bottom: 10px; font-size: 24px; font-style: italic; letter-spacing: 2px; }
.result-panel h1.ok { color: var(--green); }
.result-panel h1.fail { color: var(--red); }
.result-panel p { color: var(--text-muted); font-size: 15px; }
.result-panel .user { color: var(--amber); font-size: 18px; font-weight: 700; }
.result-panel .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* ========== 页脚 ========== */
.footer { margin-top: 20px; background: #0f1218; border-top: 3px solid var(--amber); }
.footer .wrap { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 13px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--amber); }
.footer-bottom { padding: 12px 16px; text-align: center; font-size: 12px; color: #586270; border-top: 1px solid #15181c; }

.back-to-top { position: fixed; right: 18px; bottom: 22px; z-index: 90; width: 42px; height: 42px; border: 0; cursor: pointer; font-size: 18px; font-weight: 700; color: #111; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: 0; visibility: hidden; transition: opacity .2s; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
    .home-grid { grid-template-columns: 230px minmax(0, 1fr); }
    .home-right { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .home-right .box + .box { margin-top: 0; }
}
@media (max-width: 900px) {
    .nav-logo { display: flex; }
    .nav-toggle { display: flex; }
    .nav-menu { position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; display: none; background: #1b2028; border-bottom: 3px solid var(--amber); }
    .nav-menu.show { display: flex; }
    .nav-menu a { flex-direction: row; justify-content: space-between; height: 48px; padding: 0 18px; border-left: 0; border-bottom: 1px solid #000; }
    .home-grid { grid-template-columns: 1fr; }
    .home-right { grid-template-columns: 1fr; }
    .home-left { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
    .home-left .quick { margin-top: 0; }
    .home-left .box { grid-column: 1 / -1; margin-top: 0; }
    .job-stage { grid-template-columns: 1fr; }
    .job-tabs { flex-direction: row; border-right: 0; border-bottom: 1px solid #000; }
    .job-tabs button { height: 54px; align-items: center; padding: 0 4px; font-size: 15px; letter-spacing: 1px; border-right: 1px solid #000; border-bottom: 0; }
    .masthead { height: 340px; }
    .scene .hud { display: none; }
    .scene .city.far { bottom: 70px; }
    .scene .city.near { bottom: 50px; height: 70px; }
}
@media (max-width: 600px) {
    .topbar .hide-m { display: none; }
    .masthead { height: 300px; }
    .masthead.small { height: 150px; }
    .scene .lock, .scene .beam.b1 { display: none; }
    .scene .city.far { height: 80px; }
    .mast-cta { margin-top: 16px; }
    .brand-mark { width: 52px; height: 52px; font-size: 26px; }
    .brand-name { font-size: 36px; letter-spacing: 2px; }
    .brand-sub { letter-spacing: 3px; font-size: 11px; }
    .mast-slogan { font-size: 14px; }
    .page-head h1 { font-size: 24px; }
    .masthead.small .brand { display: none; }
    .home-left { grid-template-columns: 1fr; }
    .tabs-hd button { padding: 0 14px; }
    .jv { grid-template-columns: 1fr; gap: 16px; padding: 22px 16px; }
    .jv-emblem { width: 150px; height: 150px; }
    .jv-text h3 { font-size: 30px; }
    .job-tabs button span { display: none; }
    .feature-list, .form-row { grid-template-columns: 1fr; }
    .form-row { gap: 0; }
    .kv li { flex-direction: column; gap: 0; }
    .dl-row, .pay-card { flex-direction: column; text-align: center; }
    .pay-card .btn { margin-left: 0; }
    .content .box-bd, .guide-flow .box-bd { padding: 16px 12px; }
}

/* 锚点跳转避开吸顶导航 */
[id] { scroll-margin-top: 72px; }
