/* ============================================================
   华夏免费版 · 官网样式
   配色：墨黑底 + 鎏金 + 青玉 + 朱砂
   ============================================================ */

/* ---------- 变量 ---------- */
:root {
    --ink-900: #06080c;
    --ink-800: #0a0d13;
    --ink-700: #0f131b;
    --ink-600: #151b25;
    --ink-500: #1c2430;
    --line:    #2a3441;
    --line-2:  #3a4756;

    --gold-1:  #f6e7b4;
    --gold-2:  #e0c069;
    --gold-3:  #c9a227;
    --gold-4:  #8c6d1a;

    --jade-1:  #7fe3b8;
    --jade-2:  #3fa37a;
    --jade-3:  #1f6b4d;

    --cinnabar-1: #ff7a5c;
    --cinnabar-2: #d94f36;
    --cinnabar-3: #8f2d1c;

    --text-1: #ece7dc;
    --text-2: #b3b9c4;
    --text-3: #79828f;

    --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", "STSong", serif;
    --sans:  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;

    --radius: 4px;
    --maxw: 1200px;
    --nav-h: 68px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
    background: var(--ink-800);
    color: var(--text-1);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 全局底纹：细网格 + 暗角 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
    background-size: 44px 44px;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 0%, transparent 40%, rgba(0,0,0,.55) 100%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold-3); color: var(--ink-900); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb { background: var(--ink-500); border: 2px solid var(--ink-900); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-4); }

/* ---------- 布局 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

section { position: relative; z-index: 1; }

.sec { padding: 92px 0; }
.sec--tight { padding: 60px 0; }

/* ---------- 标题 ---------- */
.sec-title { text-align: center; margin-bottom: 14px; }

.sec-title .eyebrow {
    display: inline-block;
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: .42em;
    color: var(--gold-2);
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-left: .42em;
}

.sec-title h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--text-1);
    line-height: 1.3;
    text-shadow: 0 2px 30px rgba(0,0,0,.9);
}

.sec-title h2 em {
    font-style: normal;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3) 60%, var(--gold-4));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sec-title p {
    color: var(--text-3);
    max-width: 620px;
    margin: 12px auto 0;
    font-size: 14px;
}

/* 分隔线：中式回纹感 */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 22px auto 46px;
    max-width: 300px;
}
.divider i {
    display: block;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--gold-4));
}
.divider i:last-child { background: linear-gradient(90deg, var(--gold-4), transparent); }
.divider b {
    width: 9px; height: 9px;
    flex: none;
    background: var(--gold-3);
    transform: rotate(45deg);
    box-shadow: 0 0 12px var(--gold-4);
}

/* ============================================================
   导航
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 100;
    background: rgba(8, 10, 15, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(201, 162, 39, .16);
    transition: background .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-scrolled {
    background: rgba(6, 8, 12, .94);
    border-bottom-color: rgba(201, 162, 39, .34);
}

.nav .wrap {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex: none; }

.logo .seal {
    width: 40px; height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--gold-3), var(--gold-4) 60%, #5e4711);
    color: var(--ink-900);
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(246, 231, 180, .3), 0 4px 16px rgba(0,0,0,.6);
}

.logo .txt { line-height: 1.15; }
.logo .txt b {
    display: block;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .2em;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo .txt span {
    display: block;
    font-size: 9px;
    letter-spacing: .3em;
    color: var(--text-3);
}

/* 菜单 */
.menu { display: flex; align-items: center; gap: 4px; }

.menu a {
    position: relative;
    padding: 8px 16px;
    font-size: 14px;
    letter-spacing: .1em;
    color: var(--text-2);
    transition: color .25s var(--ease);
}
.menu a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 2px;
    height: 1px;
    background: var(--gold-3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.menu a:hover { color: var(--gold-1); }
.menu a:hover::after { transform: scaleX(1); }

.menu a.active { color: var(--gold-2); }
.menu a.active::after { transform: scaleX(1); }

/* 导航右侧按钮 */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    font-size: 13px;
    letter-spacing: .12em;
    font-weight: 500;
    color: var(--ink-900);
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 45%, var(--gold-3));
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(246,231,180,.4), 0 6px 22px rgba(201,162,39,.28);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(246,231,180,.6), 0 10px 30px rgba(201,162,39,.45);
}

/* 汉堡（移动端） */
.burger {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    position: relative;
}
.burger span {
    position: absolute;
    left: 10px; right: 10px;
    height: 1.5px;
    background: var(--gold-2);
    transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 24px; }
.burger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ============================================================
   首屏 Hero
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 45%;
    transform: scale(1.06);
    animation: heroZoom 26s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.06) translateY(0); }
    to   { transform: scale(1.16) translateY(-12px); }
}

/* 多层渐变遮罩，保证文字可读 */
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6,8,12,.86) 0%, rgba(6,8,12,.28) 32%, rgba(6,8,12,.72) 74%, var(--ink-800) 100%),
        linear-gradient(90deg, rgba(6,8,12,.85) 0%, rgba(6,8,12,.15) 55%, rgba(6,8,12,.4) 100%);
}

#heroParticles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .6;
}

.hero .wrap { z-index: 2; }

.hero__inner { max-width: 720px; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 8px;
    margin-bottom: 26px;
    background: rgba(201, 162, 39, .1);
    border: 1px solid rgba(201, 162, 39, .32);
    border-radius: 100px;
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--gold-1);
}
.hero__badge b {
    padding: 2px 9px;
    background: var(--gold-3);
    color: var(--ink-900);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}
.hero__badge i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--jade-1);
    box-shadow: 0 0 8px var(--jade-1);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

.hero__title {
    font-family: var(--serif);
    font-size: clamp(44px, 8.5vw, 104px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.hero__title span {
    display: block;
    background: linear-gradient(180deg, #fff8e0 0%, var(--gold-1) 28%, var(--gold-3) 72%, var(--gold-4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 24px rgba(201, 162, 39, .4));
}

.hero__sub {
    font-family: var(--serif);
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: .5em;
    color: var(--gold-2);
    margin-bottom: 26px;
    padding-left: .5em;
}

.hero__desc {
    font-size: 15px;
    line-height: 2;
    color: var(--text-2);
    max-width: 560px;
    margin-bottom: 40px;
    border-left: 2px solid var(--gold-4);
    padding-left: 20px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .14em;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn--primary {
    color: var(--ink-900);
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 45%, var(--gold-3));
    box-shadow: 0 0 0 1px rgba(246,231,180,.4), 0 8px 28px rgba(201,162,39,.3);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(246,231,180,.7), 0 14px 38px rgba(201,162,39,.5);
}
.btn--ghost {
    color: var(--gold-1);
    border-color: rgba(201,162,39,.42);
    background: rgba(201,162,39,.05);
}
.btn--ghost:hover {
    border-color: var(--gold-2);
    background: rgba(201,162,39,.13);
    transform: translateY(-2px);
}
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* 首屏数据条 */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 660px;
}
.hero__stats div {
    background: rgba(10, 13, 19, .82);
    padding: 18px 14px;
    text-align: center;
}
.hero__stats b {
    display: block;
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 700;
    color: var(--gold-2);
    line-height: 1.2;
}
.hero__stats span {
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--text-3);
}

/* 向下滚动提示 */
.hero__scroll {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--text-3);
    text-align: center;
}
.hero__scroll i {
    display: block;
    width: 1px; height: 42px;
    margin: 10px auto 0;
    background: linear-gradient(180deg, var(--gold-3), transparent);
    animation: scrollLine 2.2s infinite;
}
@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
    40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   通用卡片
   ============================================================ */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative;
    background: linear-gradient(160deg, var(--ink-600), var(--ink-700));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
    opacity: 0;
    transition: opacity .35s var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, .45);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .55);
}
.card:hover::before { opacity: 1; }

.card__ico {
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-2);
    background: rgba(201, 162, 39, .1);
    border: 1px solid rgba(201, 162, 39, .3);
    border-radius: 3px;
}

.card h3 {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: 10px;
    color: var(--text-1);
}

.card p {
    font-size: 13.5px;
    line-height: 1.95;
    color: var(--text-3);
}

/* 卡片右上角序号 */
.card__no {
    position: absolute;
    top: 14px; right: 18px;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 900;
    color: rgba(255, 255, 255, .035);
    line-height: 1;
}

/* ============================================================
   职业展示
   ============================================================ */
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.cls {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink-700);
    transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.cls:hover { transform: translateY(-6px); border-color: rgba(201,162,39,.5); }

.cls__media { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.cls__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease), filter .4s var(--ease);
    filter: saturate(.9) brightness(.85);
}
.cls:hover .cls__media img { transform: scale(1.08); filter: saturate(1.05) brightness(1); }

.cls__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,8,12,.1) 0%, rgba(6,8,12,.55) 58%, rgba(10,13,19,.97) 100%);
}

.cls__tag {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    padding: 4px 12px;
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--gold-1);
    background: rgba(6,8,12,.72);
    border: 1px solid rgba(201,162,39,.4);
    border-radius: 2px;
}

.cls__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 24px;
}
.cls__body h3 {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: .18em;
    margin-bottom: 4px;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cls__body .en {
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--text-3);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.cls__body p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--text-2);
}

/* 三系标签 */
.cls__trees { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cls__trees span {
    padding: 3px 10px;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--jade-1);
    background: rgba(63, 163, 122, .12);
    border: 1px solid rgba(63, 163, 122, .3);
    border-radius: 2px;
}

/* ---------- 职业详情 ---------- */
.cls-detail { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }

.cls-detail__art { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cls-detail__art img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.cls-detail__art::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,13,19,.9) 100%);
}

/* 属性条 */
.attrs { margin-top: 22px; }
.attrs .row { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.attrs .row label {
    width: 40px; flex: none;
    font-family: var(--serif);
    font-size: 13px;
    color: var(--gold-2);
    letter-spacing: .1em;
}
.attrs .row .bar {
    flex: 1;
    height: 6px;
    background: var(--ink-500);
    border-radius: 3px;
    overflow: hidden;
}
.attrs .row .bar i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-4), var(--gold-2));
    border-radius: 3px;
    transition: width 1.1s var(--ease);
}
.attrs .row b {
    width: 26px; flex: none;
    text-align: right;
    font-size: 12px;
    color: var(--text-2);
}

/* 技能列表 */
.skill-block { margin-bottom: 34px; }
.skill-block h4 {
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: .16em;
    color: var(--gold-1);
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
}
.skill-block h4::before {
    content: "";
    width: 3px; height: 15px;
    background: var(--gold-3);
    border-radius: 2px;
}

.skills { display: flex; flex-wrap: wrap; gap: 8px; }
.skills li {
    padding: 6px 14px;
    font-size: 12.5px;
    letter-spacing: .06em;
    color: var(--text-2);
    background: rgba(255, 255, 255, .028);
    border: 1px solid var(--line);
    border-radius: 2px;
    transition: all .25s var(--ease);
    cursor: default;
}
.skills li:hover {
    color: var(--gold-1);
    border-color: rgba(201, 162, 39, .45);
    background: rgba(201, 162, 39, .08);
}

/* ============================================================
   玩法系统
   ============================================================ */
.sys-card {
    position: relative;
    background: linear-gradient(160deg, var(--ink-600), var(--ink-700));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.sys-card:hover { transform: translateY(-4px); border-color: rgba(201,162,39,.45); }

.sys-card .hd { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }

.sys-card .hd .ic {
    width: 42px; height: 42px;
    flex: none;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold-2);
    background: rgba(201,162,39,.09);
    border: 1px solid rgba(201,162,39,.28);
    border-radius: 3px;
}

.sys-card .hd h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .13em;
}
.sys-card .hd .tag {
    font-size: 10px;
    letter-spacing: .18em;
    color: var(--jade-1);
    display: block;
    margin-top: 1px;
}

.sys-card p { font-size: 13.5px; line-height: 1.95; color: var(--text-3); margin-bottom: 14px; }

/* 要点列表 */
.pts { display: grid; gap: 7px; }
.pts li {
    position: relative;
    padding-left: 18px;
    font-size: 12.8px;
    line-height: 1.85;
    color: var(--text-2);
}
.pts li::before {
    content: "";
    position: absolute;
    left: 2px; top: 10px;
    width: 5px; height: 5px;
    background: var(--gold-3);
    transform: rotate(45deg);
}

/* 数据表 */
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tbl-scroll { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
table.tbl th {
    padding: 14px 18px;
    text-align: left;
    font-family: var(--serif);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--gold-1);
    background: rgba(201,162,39,.07);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
table.tbl td {
    padding: 13px 18px;
    font-size: 13px;
    color: var(--text-2);
    border-bottom: 1px solid rgba(42, 52, 65, .5);
}
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr { transition: background .2s var(--ease); }
table.tbl tbody tr:hover { background: rgba(201,162,39,.045); }

/* 徽章 */
.bdg {
    display: inline-block;
    padding: 2px 9px;
    font-size: 11px;
    letter-spacing: .1em;
    border-radius: 2px;
    white-space: nowrap;
}
.bdg--low  { color: var(--jade-1);   background: rgba(63,163,122,.14);  border: 1px solid rgba(63,163,122,.32); }
.bdg--mid  { color: var(--gold-1);   background: rgba(201,162,39,.14);   border: 1px solid rgba(201,162,39,.34); }
.bdg--high { color: var(--cinnabar-1); background: rgba(217,79,54,.14);   border: 1px solid rgba(217,79,54,.36); }

/* ============================================================
   世界 / 地图
   ============================================================ */
.world-hero { position: relative; height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.world-hero img { width: 100%; height: 100%; object-fit: cover; }
.world-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6,8,12,.35), rgba(10,13,19,.9));
}
.world-hero__cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 34px;
    z-index: 2;
}
.world-hero__cap h3 {
    font-family: var(--serif);
    font-size: 30px;
    letter-spacing: .2em;
    margin-bottom: 6px;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.world-hero__cap p { font-size: 13px; color: var(--text-2); }

/* 地图卡片 */
.maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }

.map-item {
    padding: 18px 20px;
    background: linear-gradient(150deg, var(--ink-600), var(--ink-700));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all .3s var(--ease);
    cursor: default;
}
.map-item:hover {
    border-color: rgba(201,162,39,.5);
    background: linear-gradient(150deg, var(--ink-500), var(--ink-600));
    transform: translateY(-3px);
}
.map-item .code {
    font-size: 10px;
    letter-spacing: .16em;
    color: var(--gold-4);
    display: block;
    margin-bottom: 4px;
}
.map-item .nm {
    font-family: var(--serif);
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--text-1);
}

/* 城池 */
.cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.city {
    position: relative;
    padding: 26px 28px;
    background: linear-gradient(155deg, var(--ink-600), var(--ink-700));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.city::after {
    content: "";
    position: absolute;
    right: -28px; top: -28px;
    width: 108px; height: 108px;
    border: 1px solid rgba(201,162,39,.14);
    border-radius: 50%;
}
.city h4 {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--gold-1);
    margin-bottom: 4px;
}
.city .cd {
    font-size: 10.5px;
    letter-spacing: .2em;
    color: var(--text-3);
    margin-bottom: 14px;
}
.city p { font-size: 13px; line-height: 1.9; color: var(--text-3); }

/* ============================================================
   时间轴 / 新手指南
   ============================================================ */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
    content: "";
    position: absolute;
    left: 7px; top: 8px; bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, var(--gold-3), var(--line) 85%, transparent);
}
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
    content: "";
    position: absolute;
    left: -30px; top: 9px;
    width: 9px; height: 9px;
    background: var(--ink-800);
    border: 1.5px solid var(--gold-3);
    border-radius: 50%;
}
.tl-item:hover::before { background: var(--gold-3); box-shadow: 0 0 12px var(--gold-3); }

.tl-item .step {
    font-size: 10.5px;
    letter-spacing: .28em;
    color: var(--gold-2);
    margin-bottom: 5px;
}
.tl-item h4 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 8px;
}
.tl-item p { font-size: 13.5px; line-height: 1.95; color: var(--text-3); }

/* ============================================================
   服务器连接卡片
   ============================================================ */
.conn { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.conn-box {
    position: relative;
    background: linear-gradient(155deg, var(--ink-600), var(--ink-700));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
.conn-box h4 {
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: .16em;
    color: var(--gold-1);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.kv { display: grid; grid-template-columns: 78px 1fr; gap: 10px 14px; align-items: center; }
.kv dt { font-size: 12px; letter-spacing: .1em; color: var(--text-3); }
.kv dd { font-size: 13.5px; color: var(--text-1); word-break: break-all; }

.kv dd .mono {
    font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
    background: rgba(201,162,39,.09);
    border: 1px solid rgba(201,162,39,.22);
    padding: 2px 8px;
    border-radius: 2px;
    color: var(--gold-1);
    display: inline-block;
}

/* 复制按钮 */
.copy-btn {
    margin-left: 8px;
    padding: 2px 9px;
    font-size: 11px;
    font-family: var(--sans);
    color: var(--gold-2);
    background: transparent;
    border: 1px solid rgba(201,162,39,.32);
    border-radius: 2px;
    cursor: pointer;
    transition: all .2s var(--ease);
    vertical-align: middle;
}
.copy-btn:hover { background: rgba(201,162,39,.14); color: var(--gold-1); }
.copy-btn.done { color: var(--jade-1); border-color: rgba(63,163,122,.5); }

/* 提示条 */
.note {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(63, 163, 122, .07);
    border: 1px solid rgba(63, 163, 122, .24);
    border-left: 2px solid var(--jade-2);
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.85;
    color: var(--text-2);
}
.note b { color: var(--jade-1); font-weight: 600; }

.note--warn {
    background: rgba(217, 79, 54, .07);
    border-color: rgba(217, 79, 54, .26);
    border-left-color: var(--cinnabar-2);
}
.note--warn b { color: var(--cinnabar-1); }

/* ============================================================
   页脚
   ============================================================ */
.footer {
    position: relative;
    z-index: 1;
    margin-top: 40px;
    padding: 56px 0 30px;
    background: var(--ink-900);
    border-top: 1px solid rgba(201,162,39,.2);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.footer h5 {
    font-family: var(--serif);
    font-size: 13.5px;
    letter-spacing: .22em;
    color: var(--gold-2);
    margin-bottom: 16px;
}

.footer ul li { margin-bottom: 9px; }
.footer ul a { font-size: 13px; color: var(--text-3); transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--gold-1); }

.footer__about p { font-size: 13px; line-height: 1.95; color: var(--text-3); }

.footer__bot {
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-3);
}

/* ============================================================
   滚动动画
   ============================================================ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ============================================================
   页面头（内页）
   ============================================================ */
.phead {
    position: relative;
    padding: 150px 0 70px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.phead::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(201,162,39,.1), transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(63,163,122,.07), transparent 50%);
}
.phead .eyebrow {
    font-family: var(--serif);
    font-size: 11.5px;
    letter-spacing: .42em;
    color: var(--gold-2);
    margin-bottom: 14px;
    padding-left: .42em;
}
.phead h1 {
    font-family: var(--serif);
    font-size: clamp(32px, 5.5vw, 56px);
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.phead h1 em {
    font-style: normal;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3) 65%, var(--gold-4));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.phead p { color: var(--text-3); max-width: 640px; font-size: 14px; }

/* 面包屑 */
.crumb { font-size: 12px; color: var(--text-3); margin-bottom: 18px; letter-spacing: .08em; }
.crumb a:hover { color: var(--gold-2); }
.crumb span { margin: 0 8px; opacity: .5; }

/* ============================================================
   标签页
   ============================================================ */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.tab {
    padding: 10px 24px;
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: .16em;
    color: var(--text-3);
    background: rgba(255,255,255,.025);
    border: 1px solid var(--line);
    border-radius: 3px;
    cursor: pointer;
    transition: all .28s var(--ease);
}
.tab:hover { color: var(--gold-1); border-color: rgba(201,162,39,.4); }
.tab.on {
    color: var(--ink-900);
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
    border-color: var(--gold-2);
    font-weight: 700;
}

.panel { display: none; animation: fadeUp .5s var(--ease); }
.panel.on { display: block; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .g-4 { grid-template-columns: repeat(2, 1fr); }
    .g-3 { grid-template-columns: repeat(2, 1fr); }
    .classes { grid-template-columns: repeat(2, 1fr); }
    .cls-detail { grid-template-columns: 1fr; }
    .cls-detail__art { max-width: 300px; }
    .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .menu {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 20px;
        background: rgba(6,8,12,.98);
        border-bottom: 1px solid rgba(201,162,39,.3);
        transform: translateY(-110%);
        transition: transform .35s var(--ease);
    }
    .menu.open { transform: none; }
    .menu a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.05); }
    .menu a::after { display: none; }
    .nav-cta { display: none; }
    .burger { display: block; }
    .sec { padding: 64px 0; }
    .conn { grid-template-columns: 1fr; }
    .cities { grid-template-columns: 1fr; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .g-2, .g-3, .g-4, .classes { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; }
    .wrap { padding: 0 18px; }
    .phead { padding: 120px 0 50px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .rv { opacity: 1; transform: none; }
}

/* ================= 补充：轮播 / 职业详情 / 折叠 ================= */

/* 首屏轮播 */
.hero__bg .slide{
    position:absolute; inset:0; width:100%; height:100%;
    object-fit:cover; transition:opacity 1.1s ease;
}
.hero__bg .slide.on{ opacity:1; }
.slide-dots{
    position:absolute; bottom:96px; left:0; right:0;
    display:flex; justify-content:center; gap:10px; z-index:4;
}
.slide-dots span{
    width:11px; height:11px; border-radius:50%;
    border:1px solid var(--gold-2); background:transparent;
    cursor:pointer; transition:.25s;
}
.slide-dots span.on{ background:var(--gold-2); transform:scale(1.25); }

/* 职业详情 */
.cls-detail{
    display:grid; grid-template-columns:320px 1fr; gap:34px; align-items:start;
}
.cls-detail__art{
    position:relative; border-radius:12px; overflow:hidden;
    border:1px solid var(--line); box-shadow:0 18px 44px rgba(0,0,0,.42);
}
.cls-detail__art img{ width:100%; display:block; aspect-ratio:3/4; object-fit:cover; }
.cls-detail__art::after{
    content:''; position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.6) 100%);
}
.cls-detail__body h3{
    font-family:'Noto Serif SC',serif; font-size:30px; margin:10px 0 18px; color:var(--gold-2);
}
.cls-detail__txt{
    line-height:2; color:var(--txt-2); font-size:14.5px; margin-top:16px;
}
.attrs{
    display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
    gap:10px; margin:18px 0 4px;
}
.attrs > div{
    background:var(--ink-700); border:1px solid var(--line);
    border-radius:8px; padding:10px 12px;
}
.attrs span{ display:block; font-size:11px; color:var(--txt-3); margin-bottom:3px; }
.attrs b{ font-size:15px; color:var(--gold-2); font-family:Consolas,Monaco,monospace; }

/* 标签页 */
.tabs{
    display:flex; gap:8px; flex-wrap:wrap; margin-bottom:26px;
    border-bottom:1px solid var(--line); padding-bottom:14px;
}
.tab{
    background:transparent; border:1px solid var(--line); color:var(--txt-2);
    padding:9px 18px; border-radius:20px; cursor:pointer; font-size:13.5px;
    font-family:inherit; transition:.2s;
}
.tab:hover{ border-color:var(--gold-2); color:var(--gold-2); }
.tab.on{
    background:linear-gradient(145deg, var(--gold-2), var(--gold-3));
    color:#231703; border-color:transparent; font-weight:600;
}
.panel{ display:none; }
.panel.on{ display:block; animation:fadeUp .5s ease both; }
@keyframes fadeUp{ from{opacity:0;transform:translateY(12px);} to{opacity:1;transform:none;} }

/* 折叠FAQ */
details.card{ padding:16px 20px; }
details.card summary{ list-style:none; }
details.card summary::-webkit-details-marker{ display:none; }
details.card summary::before{ content:'▸ '; color:var(--gold-2); }
details.card[open] summary::before{ content:'▾ '; }

/* 系统卡片 */
.sys-card{
    background:var(--ink-800); border:1px solid var(--line);
    border-radius:10px; padding:20px 22px;
}
.sys-card p{ line-height:1.9; color:var(--txt-2); font-size:14px; }
.phead{
    display:flex; align-items:center; justify-content:space-between;
    gap:10px; margin-bottom:14px; padding-bottom:9px; border-bottom:1px solid var(--line);
}
.phead h4{ margin:0; font-size:15px; color:var(--gold-2); font-family:'Noto Serif SC',serif; }
.phead span{ font-size:11px; color:var(--txt-3); }
.pts{ list-style:none; padding:0; margin:14px 0 0; }
.pts li{
    display:flex; gap:10px; padding:7px 0; border-bottom:1px dashed var(--line);
    font-size:13.5px; line-height:1.7;
}
.pts li:last-child{ border-bottom:none; }
.pts b{ flex:0 0 92px; color:var(--gold-2); font-weight:600; }
.pts span{ color:var(--txt-2); }

/* 连接信息框 */
.conn{ display:grid; grid-template-columns:1fr; gap:18px; }
.conn-box{
    background:var(--ink-800); border:1px solid var(--line);
    border-radius:10px; padding:20px 22px;
}
.conn-box .kv{
    display:flex; align-items:center; gap:14px; padding:8px 0;
    border-bottom:1px dashed var(--line);
}
.conn-box .kv:last-of-type{ border-bottom:none; }
.conn-box .kv span{ flex:0 0 88px; font-size:12px; color:var(--txt-3); }
.conn-box .kv b{ font-size:17px; color:var(--gold-2); }
.conn-box .btn{ margin-top:14px; }
.copy-btn.done{ background:var(--green) !important; }

/* 时间线 */
.timeline{ position:relative; padding-left:22px; }
.timeline::before{
    content:''; position:absolute; left:6px; top:8px; bottom:8px; width:2px;
    background:linear-gradient(180deg, var(--gold-2), transparent);
}
.tl-item{ position:relative; margin-bottom:26px; }
.tl-item::before{
    content:''; position:absolute; left:-22px; top:6px; width:12px; height:12px;
    border-radius:50%; background:var(--gold-2); box-shadow:0 0 0 3px rgba(232,182,76,.18);
}
.tl-lv{
    display:inline-block; font-family:Consolas,Monaco,monospace; font-size:13px;
    color:var(--gold-2); border:1px solid var(--gold-3);
    border-radius:14px; padding:2px 11px; margin-bottom:8px;
}
.tl-body h4{
    margin:0 0 6px; font-size:17px; font-family:'Noto Serif SC',serif; color:var(--txt-1);
}
.tl-meta{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
.tl-body p{ line-height:1.9; color:var(--txt-2); font-size:14px; }

/* 面包屑 */
.crumb{ font-size:12.5px; color:var(--txt-3); display:flex; gap:8px; align-items:center; }
.crumb a{ color:var(--gold-2); }
.crumb span{ opacity:.5; }
.crumb b{ color:var(--txt-2); font-weight:500; }

/* 地图项 */
.maps{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:12px; }
.map-item{
    background:var(--ink-800); border:1px solid var(--line);
    border-radius:8px; padding:14px 16px; transition:.2s;
}
.map-item:hover{ border-color:var(--gold-3); transform:translateY(-2px); }
.map-item b{ display:block; font-size:14.5px; color:var(--gold-2); margin-bottom:3px; }
.map-item > span{ font-size:11px; color:var(--txt-3); margin-right:5px; }
.map-item p{ margin:8px 0 0; font-size:12.5px; line-height:1.7; color:var(--txt-3); }

/* 提示框 */
.note{
    background:rgba(232,182,76,.06); border:1px solid rgba(232,182,76,.22);
    border-radius:8px; padding:14px 17px; font-size:13.5px; line-height:1.85; color:var(--txt-2);
}
.note b{ color:var(--gold-2); display:block; margin-bottom:5px; }
.note--warn{
    background:rgba(224,92,92,.07); border-color:rgba(224,92,92,.25);
}
.note--warn b{ color:var(--red); }
