/* =========================================================
   CSOL·TOP 官方门户 · 主样式
   深色 / 浅色双主题（默认深色）
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
    color-scheme: dark;

    --bg: #0a0a0a;
    --bg-soft: #0d0d0f;
    --panel: #141418;
    --panel-2: #191920;
    --panel-3: #1f1f27;
    --line: rgba(255, 255, 255, .09);
    --line-2: rgba(255, 255, 255, .17);
    --ink: #f4f5f7;
    --ink-2: rgba(255, 255, 255, .64);
    --ink-3: rgba(255, 255, 255, .40);
    --accent: #7b93ff;
    --accent-2: #c3cdff;
    --accent-soft: rgba(77, 107, 254, .16);
    --accent-ink: #ffffff;
    --brand: #4d6bfe;
    --brand-2: #3a65c2;
    --danger: #ff6b63;
    --live: #4ade80;
    --glass: rgba(10, 10, 10, .74);
    --glass-bg: rgba(255, 255, 255, .045);
    --glass-bg-2: rgba(255, 255, 255, .08);
    --glass-line: rgba(255, 255, 255, .12);
    --glass-blur: blur(20px) saturate(150%);
    --glass-sheen: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015) 46%, transparent 74%);
    --glass-shadow: 0 30px 70px -42px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .07);
    --hero-fade: #0a0a0a;
    --shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
    --shadow-soft: 0 20px 50px -30px rgba(0, 0, 0, .8);
    --radius: 10px;
    --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
    --font-display: "Bahnschrift", "DIN Alternate", "Oswald", "Arial Narrow", var(--font);
    --head-h: 72px;
    --rb-grad: linear-gradient(90deg, hsl(0, 100%, 63%), hsl(90, 100%, 63%), hsl(210, 100%, 63%), hsl(195, 100%, 63%), hsl(270, 100%, 63%));
}

html[data-theme="light"] {
    color-scheme: light;

    --bg: #f9f8f8;
    --bg-soft: #f1f0f0;
    --panel: #ffffff;
    --panel-2: #fbfafa;
    --panel-3: #f3f2f2;
    --line: rgba(17, 17, 19, .09);
    --line-2: rgba(17, 17, 19, .16);
    --ink: #111113;
    --ink-2: rgba(17, 17, 19, .64);
    --ink-3: rgba(17, 17, 19, .42);
    --accent: #4d6bfe;
    --accent-2: #3a65c2;
    --accent-soft: rgba(77, 107, 254, .08);
    --accent-ink: #ffffff;
    --brand: #4d6bfe;
    --brand-2: #3a65c2;
    --live: #12a150;
    --glass: rgba(249, 248, 248, .82);
    --glass-bg: rgba(255, 255, 255, .62);
    --glass-bg-2: rgba(255, 255, 255, .82);
    --glass-line: rgba(17, 17, 19, .09);
    --glass-blur: blur(20px) saturate(140%);
    --glass-sheen: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .12) 50%, transparent 78%);
    --glass-shadow: 0 30px 70px -48px rgba(40, 45, 60, .38), inset 0 1px 0 rgba(255, 255, 255, .9);
    --hero-fade: #f9f8f8;
    --shadow: 0 34px 70px -40px rgba(60, 50, 30, .5);
    --shadow-soft: 0 18px 44px -32px rgba(60, 50, 30, .45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color .45s ease, color .45s ease;
}

img { max-width: 100%; display: block; }

/* morphicons 自定义元素 */
morph-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    line-height: 0;
    color: inherit;
    vertical-align: middle;
}

morph-icon svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* 键盘焦点环：只对键盘用户可见 */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 20px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); background-clip: content-box; }

/* =========================================================
   全局背景动画层
   ========================================================= */
.fx {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.fx-glow {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(46% 42% at 22% 18%, rgba(77, 107, 254, .20), transparent 62%),
        radial-gradient(50% 46% at 82% 72%, rgba(123, 147, 255, .12), transparent 66%),
        radial-gradient(40% 40% at 60% 8%, rgba(58, 101, 194, .16), transparent 70%);
    filter: blur(10px);
    animation: glowDrift 26s ease-in-out infinite alternate;
}

html[data-theme="light"] .fx-glow {
    background:
        radial-gradient(46% 42% at 22% 18%, rgba(77, 107, 254, .16), transparent 62%),
        radial-gradient(50% 46% at 82% 72%, rgba(123, 147, 255, .12), transparent 66%),
        radial-gradient(40% 40% at 60% 8%, rgba(58, 101, 194, .10), transparent 70%);
}

@keyframes glowDrift {
    0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
    50%  { transform: translate3d(1.5%, 2%, 0) scale(1.06); }
    100% { transform: translate3d(3%, -2%, 0) scale(1.02); }
}

.fx-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 88px 88px;
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 78%);
    mask-image: radial-gradient(circle at 50% 0%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 78%);
    opacity: .75;
    animation: gridPan 40s linear infinite;
}

@keyframes gridPan {
    to { background-position: 88px 88px, 88px 88px; }
}

#fx-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .85;
}

.fx-noise {
    position: absolute;
    inset: 0;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   顶部导航
   ========================================================= */
.site-head {
    /* 头部在 Hero 之上始终使用浅色文字；滚动后切换为当前主题文字色 */
    --h-ink: #eef2f2;
    --h-ink-2: rgba(238, 242, 242, .7);
    --h-ink-3: rgba(238, 242, 242, .45);
    --h-line: rgba(255, 255, 255, .2);
    --h-chip: rgba(10, 14, 17, .3);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: var(--head-h);
    background: linear-gradient(180deg, rgba(6, 9, 11, .58), transparent);
    transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease, height .3s ease;
    
}

.site-head.nav-open {
    --h-ink: var(--ink);
    --h-ink-2: var(--ink-2);
    --h-ink-3: var(--ink-3);
    --h-line: var(--line-2);
    --h-chip: var(--panel);

    background: var(--glass);
    border-bottom-color: var(--line);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.site-head.is-scrolled {
    --h-ink: var(--ink);
    --h-ink-2: var(--ink-2);
    --h-ink-3: var(--ink-3);
    --h-line: var(--line-2);
    --h-chip: var(--panel);

    height: 64px;
    background: var(--glass);
    border-bottom-color: var(--line);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.head-inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex: none;
    color: var(--accent);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--h-line);
    border-radius: 8px;
    background: var(--accent-soft);
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), border-color .3s;
}

.brand:hover .brand-mark { transform: rotate(90deg); border-color: var(--accent); }
.brand-mark.small { width: 34px; height: 34px; border-radius: 6px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b {
    font-family: var(--font-display);
    font-size: 17px;
    letter-spacing: 2.4px;
    color: var(--h-ink);
}
.brand-text i {
    font-style: normal;
    font-size: 8.5px;
    letter-spacing: 2.2px;
    color: var(--h-ink-3);
    margin-top: 3px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--h-ink-2);
    letter-spacing: .5px;
    transition: color .2s;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.nav-link:hover, .nav-link.is-active { color: var(--h-ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.head-tools {
    display: none;
    align-items: center;
    gap: 10px;
    margin-left: 6px;
}

/* 页头 CTA：彩虹描边按钮（Uiverse · elijahgummer） */
.btn-rainbow {
    --rb-grad: linear-gradient(90deg, hsl(0, 100%, 63%), hsl(90, 100%, 63%), hsl(210, 100%, 63%), hsl(195, 100%, 63%), hsl(270, 100%, 63%));
    --rb-fill: #0d0d10d1;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 15px;
    margin-left: 8px;
    border: 1.5px solid transparent;
    border-radius: 8px;
    color: #fff;
    font-size: 12.5px;
    letter-spacing: .6px;
    white-space: nowrap;
    background-image:
        linear-gradient(var(--rb-fill), var(--rb-fill)),
        linear-gradient(var(--rb-fill) 50%, rgba(13, 13, 16, .6) 80%, rgba(13, 13, 16, 0)),
        var(--rb-grad);
    background-size: 200% 100%;
    background-origin: border-box;
    background-clip: padding-box, border-box, border-box;
    animation: rainbowSlide 3s linear infinite;
    transition: transform .2s ease, box-shadow .25s ease;
}

.btn-rainbow::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18%;
    z-index: -1;
    width: 60%;
    height: 18%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--rb-grad);
    background-size: 200% 100%;
    filter: blur(14px);
    opacity: .9;
    pointer-events: none;
    animation: rainbowSlide 3s linear infinite;
}

.btn-rainbow:hover { transform: scale(1.05); }
.btn-rainbow:active { transform: scale(.96); }
.btn-rainbow morph-icon { color: currentColor; }

/* 首屏 CTA：沿用彩虹描边按钮，放大到首屏尺寸（底色半透，压得住背景图） */
.btn-rainbow--hero {
    --rb-fill: rgb(17 19 25 / 89%);
    height: 48px;
    padding: 0 24px;
    margin-left: 0;
    gap: 9px;
    border-radius: 10px;
    font-size: 13.5px;
    letter-spacing: .5px;
    background-image:
        linear-gradient(var(--rb-fill), var(--rb-fill)),
        linear-gradient(180deg, var(--rb-fill) 30%, rgba(13, 14, 18, .42) 68%, rgba(13, 14, 18, 0)),
        var(--rb-grad);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 16px 34px -26px rgba(0, 0, 0, .95);
}

.btn-rainbow--hero::before {
    height: 24%;
    bottom: -22%;
    filter: blur(20px);
    opacity: .75;
}

.btn-rainbow--hero.is-primary {
    --rb-fill: #ffffffd4;
    height: 56px;
    padding: 0 34px;
    gap: 11px;
    border-radius: 12px;
    font-size: 15px;
    letter-spacing: .6px;
    color: #111113;
    background-image:
        linear-gradient(var(--rb-fill), var(--rb-fill)),
        linear-gradient(180deg, var(--rb-fill) 30%, rgba(255, 255, 255, .5) 68%, rgba(255, 255, 255, 0)),
        var(--rb-grad);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 24px 50px -28px rgba(0, 0, 0, .9);
}

.btn-rainbow--hero:hover { transform: scale(1.03); }
.btn-rainbow--hero.is-primary:hover { box-shadow: inset 0 1px 0 #fff, 0 26px 54px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .18); }

html[data-theme="light"] .btn-rainbow {
    --rb-fill: #ffffffb8;
    color: #111113;
}

/* 首屏在浅色主题下依旧是暗色底图：次按钮暗底浅字，主按钮保持白底 */
html[data-theme="light"] .btn-rainbow--hero { --rb-fill: rgba(13, 14, 18, .62); color: #fff; }
html[data-theme="light"] .btn-rainbow--hero.is-primary { --rb-fill: #ffffff; color: #111113; }

/* 浅色主题下头部悬在暗色首屏上时，按钮跟随头部文字用暗底；滚动态 / 移动端菜单展开时回落白底 */
html[data-theme="light"] .site-head:not(.is-scrolled):not(.nav-open) .btn-rainbow {
    --rb-fill: rgba(17, 19, 25, .82);
    color: #fff;
}

@keyframes rainbowSlide {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.qq-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 0 rgba(127, 209, 163, .55);
    animation: pulse 2.4s ease-out infinite;
    flex: none;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(127, 209, 163, .5); }
    70%  { box-shadow: 0 0 0 7px rgba(127, 209, 163, 0); }
    100% { box-shadow: 0 0 0 0 rgba(127, 209, 163, 0); }
}

/* 右下角浮动工具坞：主题切换 + 返回顶部 */
.dock {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dock-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    color: var(--ink-2);
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: var(--glass-shadow);
    transition: color .25s, border-color .25s, transform .3s, opacity .3s, visibility .3s, box-shadow .3s;
}

.dock-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9), 0 0 0 4px var(--accent-soft);
}

.dock-btn:active { transform: translateY(-1px) scale(.95); }
.dock-btn morph-icon { color: currentColor; pointer-events: none; }

#theme-toggle:hover { transform: rotate(18deg) scale(1.05); }
#theme-toggle:active { transform: rotate(18deg) scale(.95); }

/* 返回顶部：滚过一屏才淡入 */
.dock-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.9);
    pointer-events: none;
}

.dock-top.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.dock-top.is-on:hover { transform: translateY(-3px); }
.dock-top.is-on:active { transform: translateY(-1px) scale(.95); }

.menu-btn {
    display: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--h-line);
    border-radius: 50%;
    color: var(--h-ink-2);
    background: var(--h-chip);
    transition: color .25s, border-color .25s;
}
.menu-btn:hover { color: var(--accent); border-color: var(--accent); }
.menu-btn morph-icon { pointer-events: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--head-h) + 64px) 0 110px;
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

/* 背景铺满整个视口（cover），不锁宽度 */
.hero-media-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 32%;
    background-repeat: no-repeat;
    filter: saturate(.86) contrast(1.05) brightness(.94);
    animation: kenburns 46s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes kenburns {
    0%   { transform: scale(1) translate3d(0, 0, 0); }
    100% { transform: scale(1.035) translate3d(-.6%, -.5%, 0); }
}

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(58% 60% at 74% 18%, rgba(77, 107, 254, .22), transparent 72%),
        linear-gradient(90deg, rgba(7, 8, 10, .97) 0%, rgba(7, 8, 10, .86) 34%, rgba(7, 8, 10, .46) 60%, rgba(7, 8, 10, .6) 100%),
        linear-gradient(180deg, rgba(7, 8, 10, .9) 0%, rgba(7, 8, 10, .1) 30%, rgba(7, 8, 10, .42) 72%, var(--hero-fade) 100%);
}

html[data-theme="light"] .hero-veil {
    /* 浅色主题下 Hero 作为整块深色画布，底部不向页面底色过渡 */
    background:
        radial-gradient(58% 60% at 74% 18%, rgba(77, 107, 254, .2), transparent 72%),
        linear-gradient(90deg, rgba(9, 10, 12, .96) 0%, rgba(9, 10, 12, .82) 36%, rgba(9, 10, 12, .34) 64%, rgba(9, 10, 12, .6) 100%),
        linear-gradient(180deg, rgba(9, 10, 12, .92) 0%, rgba(9, 10, 12, .12) 32%, rgba(9, 10, 12, .76) 78%, rgba(9, 10, 12, .97) 100%);
}

.hero-lines {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.hero-lines i {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123, 147, 255, .4), transparent);
    opacity: 0;
    animation: scanline 9s linear infinite;
}

.hero-lines i:nth-child(1) { animation-delay: 0s; }
.hero-lines i:nth-child(2) { animation-delay: 3s; }
.hero-lines i:nth-child(3) { animation-delay: 6s; }

@keyframes scanline {
    0%   { top: 12%; opacity: 0; }
    8%   { opacity: .8; }
    42%  { opacity: .2; }
    60%  { top: 82%; opacity: 0; }
    100% { top: 82%; opacity: 0; }
}

.hero-inner {
    position: relative;
    z-index: 2;
    color: #f4f1e9;
    max-width: 1280px;
}

.eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 11px;
    font-size: 12px;
    letter-spacing: 2.6px;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
    color: rgb(255 255 255 / 53%);
    text-transform: uppercase;
    font-family: var(--font-display);
}

.eyebrow-line {
    display: block;
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

/* 文案列里的文字标题 */
.hero-title {
    font-family: "Alibaba PuHuiTi 2.0 95 ExtraBold", "Alibaba PuHuiTi 2.0 115 Black", "Alibaba PuHuiTi 2.0", "MiSans", "HarmonyOS Sans SC", var(--font);
    font-synthesis: none;
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: 3px;
    margin: 20px 0 2px;
    color: #ffffffe0;
    text-shadow: 0 18px 50px rgba(0, 0, 0, .7);
    animation: riseIn .9s cubic-bezier(.22, 1, .36, 1) both;
}

/* 「TOP」保留品蓝强调 */
.hero-title em {
    font-style: normal;
    font-family: var(--font-display);
    letter-spacing: 2px;
    background: linear-gradient(120deg, #eef2ffd6, #c6cad7 38%, #ff0000 68%, #dbe4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 30px rgba(77, 107, 254, .45));
}

/* 参考站点的工具类（原站未定义样式，这里只保留语义，避免影响排版） */
.jz { display: block; }
.ys { letter-spacing: inherit; }

/* 首屏第二行：解密打字机（#chakhsu，逻辑在 site.js 第 9 节） */
#chakhsu {
    font-family: "Alibaba PuHuiTi 2.0 95 ExtraBold", "Alibaba PuHuiTi 2.0 115 Black", "Alibaba PuHuiTi 2.0", "MiSans", "HarmonyOS Sans SC", var(--font);
    font-synthesis: none;
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: 3px;
    min-height: 1.14em;          /* 打空时也占住一行，避免下方元素跳动 */
    margin: 0 0 18px;
    color: #ffffffe6;
    text-shadow: 0 18px 50px rgba(0, 0, 0, .7);
    animation: riseIn .9s .08s cubic-bezier(.22, 1, .36, 1) both;
}

#chakhsu span { font-weight: 800; }

/* 右下方的 slogan 图片，纯装饰 */
.hero-logo {
    position: absolute;
    left: 55%;
    bottom: 11%;
    z-index: 2;
    top: 55%;
    line-height: 0;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-slogan {
    display: block;
    width: auto;
    height: auto;
    max-width: min(560px, 76vw);
    max-height: 26vh;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .7));
    animation: riseIn .9s .1s cubic-bezier(.22, 1, .36, 1) both;
}

/* 矮屏（笔记本横屏 / 缩放 125% 等）：收紧竖向节奏，保证 CTA 与数据不被裁掉 */
@media (max-height: 720px) and (min-width: 901px) {
    .hero { padding: calc(var(--head-h) + 26px) 0 84px; }
    .hero-title { font-size: clamp(30px, 4vw, 48px); margin: 14px 0 2px; }
    #chakhsu { font-size: clamp(30px, 4vw, 48px); }
    .hero-desc { line-height: 1.7; }
    .hero-actions { margin-top: 22px; }
    .hero-stats { margin-top: 24px; }
    .hero-logo {bottom: 20%;}
}

.hero-desc {
    font-size: clamp(13px, 1.15vw, 15.5px);
    line-height: 2;
    color: rgba(226, 232, 230, .74);
    max-width: 520px;
    animation: riseIn .9s .08s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes navDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: none; }
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    animation: riseIn .9s .16s cubic-bezier(.22, 1, .36, 1) both;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13.5px;
    letter-spacing: .8px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .25s, box-shadow .3s, background-color .25s, border-color .25s, color .25s;
}

/* 主按钮：白底 + 彩虹描边，与首屏 CTA 同一套语言 */
.btn-primary {
    --rb-fill: #ffffffd4;
    border: 1.5px solid transparent;
    color: #111113;
    font-weight: 600;
    background-image:
        linear-gradient(var(--rb-fill), var(--rb-fill)),
        linear-gradient(180deg, var(--rb-fill) 28%, rgba(255, 255, 255, .52) 66%, rgba(255, 255, 255, 0)),
        var(--rb-grad);
    background-size: 200% 100%;
    background-origin: border-box;
    background-clip: padding-box, border-box, border-box;
    animation: rainbowSlide 6s linear infinite;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 18px 40px -26px rgba(0, 0, 0, .9);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 #fff, 0 24px 48px -24px rgba(0, 0, 0, .95);
}

.btn-primary:active { transform: translateY(0) scale(.985); }

.btn-ghost {
    border-color: var(--line-2);
    color: var(--ink);
    background: var(--glass-bg);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
}

/* 次按钮：底部一条彩虹细线，hover 时点亮 */
.btn-ghost::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 1.5px;
    border-radius: 2px;
    background-image: var(--rb-grad);
    background-size: 200% 100%;
    opacity: .38;
    pointer-events: none;
    animation: rainbowSlide 7s linear infinite;
    transition: opacity .3s;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.btn-ghost:hover::after { opacity: 1; }

.btn-ghost:active { transform: translateY(0) scale(.985); }

/* 浅色主题：主按钮白底 + 投影浮起，次按钮压深一档以免和主按钮撞色 */
html[data-theme="light"] .btn-primary { box-shadow: inset 0 1px 0 #fff, 0 16px 32px -22px rgba(40, 45, 60, .55); }
html[data-theme="light"] .btn-ghost { background: rgba(17, 17, 19, .045); }
html[data-theme="light"] .btn-ghost:hover { background: rgba(77, 107, 254, .09); }

.btn-lg { height: 48px; padding: 0 28px; font-size: 14px; border-radius: 10px; }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 46px;
    animation: riseIn .9s .24s cubic-bezier(.22, 1, .36, 1) both;
}

.hero-stats > div {
    padding: 0 26px;
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.hero-stats > div:first-child { padding-left: 0; border-left: 0; }

.hero-stats dt {
    font-size: 9.5px;
    letter-spacing: 2px;
    color: rgba(214, 220, 218, .55);
    text-transform: uppercase;
}

.hero-stats dd {
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 1.4px;
    color: #f4f1e9;
}

/* 公告滚动条 */
.ticker {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 46px;
    padding: 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(90deg, rgba(6, 9, 11, .72), rgba(6, 9, 11, .4));
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.ticker-label {
    flex: none;
    font-family: var(--font-display);
    font-size: 9.5px;
    letter-spacing: 3px;
    color: var(--accent);
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.ticker-view { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent); }

.ticker-track {
    display: flex;
    gap: 46px;
    width: max-content;
    animation: tickerMove 46s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes tickerMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: rgba(226, 232, 230, .78);
    white-space: nowrap;
    transition: color .2s;
}

.ticker-item:hover { color: var(--accent); }
.ticker-item i {
    font-style: normal;
    font-size: 10px;
    padding: 1px 6px;
    border: 1px solid rgba(123, 147, 255, .45);
    border-radius: 3px;
    color: var(--accent);
}
.ticker-item time { font-family: var(--font-display); font-size: 11px; color: rgba(214, 220, 218, .45); letter-spacing: .6px; }

/* =========================================================
   资讯区
   ========================================================= */
.news-section {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.58fr) minmax(340px, 1fr);
    gap: 18px;
    margin-top: 26px;
    margin-bottom: 96px;
    align-items: stretch;
}

/* --- 轮播 --- */
.carousel {
    position: relative;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-track {
    position: relative;
    flex: 1;
    display: flex;
    transition: transform .72s cubic-bezier(.5, 0, .16, 1);
    will-change: transform;
}

.slide {
    position: relative;
    display: block;
    flex: 0 0 100%;
    min-width: 100%;
    overflow: hidden;
    background: #05080a;
    cursor: pointer;
}

.slide-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    filter: saturate(.78) contrast(1.03);
    transform: scale(1.02);
    transition: transform 7s ease-out, filter .5s ease;
}

.slide.is-active .slide-img { transform: scale(1.09); }

/* 整张图可点：hover 时画面提亮 */
.slide:hover .slide-img { filter: saturate(.92) contrast(1.04) brightness(1.07); }

.slide-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 8, 10, .96) 0%, rgba(5, 8, 10, .82) 34%, rgba(5, 8, 10, .22) 68%, rgba(5, 8, 10, .1) 100%),
        linear-gradient(0deg, rgba(5, 8, 10, .94) 0%, rgba(5, 8, 10, .45) 42%, rgba(5, 8, 10, .05) 72%);
}

.slide-body {
    position: absolute;
    left: 32px;
    bottom: 30px;
    right: 32px;
    color: #f5f2ea;
    z-index: 2;
}

.slide-kicker {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2.4px;
    color: var(--accent);
    border-left: 2px solid var(--accent);
    padding-left: 9px;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.slide-body h2 {
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 800;
    letter-spacing: 2px;
    margin: 12px 0 6px;
    color: rgba(245, 242, 234, .78);   /* 半透明标题，让底图透一点出来 */
    text-shadow: 0 10px 30px rgba(0, 0, 0, .7);
}

.slide-body p {
    font-size: 12.5px;
    color: rgba(226, 232, 230, .62);
    letter-spacing: .6px;
}

/* 左右切换箭头（玻璃圆钮） */
.car-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(10, 12, 16, .52);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
    color: rgba(255, 255, 255, .88);
    cursor: pointer;
    box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .9);
    transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}

.car-arrow--prev { left: 14px; }
.car-arrow--next { right: 14px; }

.car-arrow svg { display: block; }

.car-arrow:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}

.car-arrow:active { transform: translateY(-50%) scale(.94); }

.slide-index {
    position: absolute;
    right: 26px;
    top: 22px;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .55);
}

/* --- 公告面板 --- */
.news-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
}

.news-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.news-tabs::-webkit-scrollbar { display: none; }

.news-tab {
    position: relative;
    padding: 17px 12px;
    font-size: 12.5px;
    color: var(--ink-3);
    white-space: nowrap;
    transition: color .2s;
}

.news-tab::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.news-tab:hover { color: var(--ink); }
.news-tab.is-active { color: var(--ink); font-weight: 600; }
.news-tab.is-active::after { transform: scaleX(1); }

.news-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: none;
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 1.6px;
    color: var(--live);
}

.news-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--live);
    animation: pulse 2.2s ease-out infinite;
}

.news-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 0;
}

.news-item { animation: fadeUp .35s ease both; }

.news-item a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px dashed var(--line);
    transition: background-color .22s, padding-left .22s;
}

.news-item:last-child a { border-bottom: 0; }
.news-item a:hover { background: var(--panel-2); padding-left: 22px; }

.news-tag {
    font-size: 10px;
    letter-spacing: .5px;
    padding: 2px 7px;
    border: 1px solid var(--line-2);
    border-radius: 3px;
    color: var(--ink-3);
    transition: color .2s, border-color .2s;
}

.news-tag.hot { color: var(--accent); border-color: rgba(123, 147, 255, .45); background: var(--accent-soft); }

.news-title {
    font-size: 13px;
    color: var(--ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s;
}

.news-item a:hover .news-title { color: var(--ink); }

.news-date {
    font-family: var(--font-display);
    font-size: 11.5px;
    letter-spacing: .8px;
    color: var(--ink-3);
    flex: none;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.news-empty {
    flex: 1;
    display: grid;
    place-content: center;
    gap: 12px;
    text-align: center;
    padding: 30px;
    color: var(--ink-3);
    font-size: 12.5px;
}

.news-empty a,
.news-empty button {
    font-size: 12px;
    color: var(--accent);
    border-bottom: 1px dashed rgba(123, 147, 255, .5);
    padding-bottom: 2px;
    justify-self: center;
    transition: color .2s, border-color .2s;
}

.news-empty a:hover { color: var(--accent-2); border-color: var(--accent-2); }

.news-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-top: 1px solid var(--line);
    background: var(--panel-2);
    font-size: 12px;
    letter-spacing: .8px;
    color: var(--ink-2);
    transition: color .25s, background-color .25s, gap .25s;
}

.news-more:hover { color: var(--accent); background: var(--panel-3); gap: 13px; }

/* =========================================================
   通用标题
   ========================================================= */
.sec-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
}

.sec-kicker span {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--accent);
    opacity: .7;
}

.sec-title {
    font-size: clamp(26px, 3.1vw, 38px);
    font-weight: 800;
    letter-spacing: 2px;
    margin: 14px 0 12px;
    line-height: 1.3;
}

.sec-desc {
    font-size: 13px;
    line-height: 1.95;
    color: var(--ink-2);
    max-width: 560px;
}

.sec-head { margin-bottom: 40px; }

/* =========================================================
   游戏特色
   ========================================================= */
.features {
    position: relative;
    z-index: 2;
    padding-bottom: 100px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    position: relative;
    padding: 30px 26px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(160deg, var(--panel-2), var(--panel) 62%);
    overflow: hidden;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), border-color .35s, box-shadow .4s;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 0% 0%, var(--accent-soft), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 42px;
    height: 42px;
    border-right: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
    opacity: .25;
    transition: opacity .4s, width .4s, height .4s;
}

.feature-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: .9; width: 60px; height: 60px; }

.fc-no {
    position: absolute;
    right: 20px;
    top: 12px;
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--ink);
    opacity: .06;
    line-height: 1;
}

.feature-card h3 {
    position: relative;
    font-size: 19px;
    letter-spacing: 1.4px;
    margin-bottom: 12px;
}

.feature-card h3::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    background: var(--accent);
    transform: rotate(45deg) translateY(-2px);
}

.feature-card p {
    position: relative;
    font-size: 13px;
    line-height: 2;
    color: var(--ink-2);
    min-height: 72px;
}

.fc-tags {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.fc-tags span {
    font-size: 10.5px;
    letter-spacing: .6px;
    color: var(--ink-3);
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: 30px;
    transition: color .25s, border-color .25s;
}

.feature-card:hover .fc-tags span { color: var(--ink-2); border-color: var(--line-2); }

/* =========================================================
   下载中心
   ========================================================= */
.download-band {
    position: relative;
    z-index: 2;
    padding: 82px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, var(--bg-soft), var(--bg));
    overflow: hidden;
}

.download-band::before {
    content: "";
    position: absolute;
    left: -10%;
    top: -60%;
    width: 60%;
    height: 160%;
    background: radial-gradient(circle at 50% 50%, var(--accent-soft), transparent 62%);
    pointer-events: none;
}

.download-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 46px;
    align-items: start;
}

.dl-versions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 28px 0 22px;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--line);
}

.dl-ver {
    padding: 16px 18px;
    background: var(--panel);
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: background-color .3s, transform .3s, box-shadow .3s;
}

.dl-ver:hover { background: var(--panel-2); }

.dl-ver-link { position: relative; }
.dl-ver-link:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -26px rgba(0, 0, 0, .95); }
.dl-ver-link:active { transform: translateY(0); }
.dl-ver-link b { transition: color .25s; }
.dl-ver-link::after {
    content: "加入 →";
    position: absolute;
    right: 16px;
    top: 14px;
    font-size: 10px;
    letter-spacing: .6px;
    color: var(--ink-3);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .25s, transform .25s, color .25s;
}
.dl-ver-link:hover::after { opacity: 1; transform: none; color: var(--accent); }
.dl-ver-link:hover b { color: var(--accent); }

.dl-ver span { font-size: 10.5px; letter-spacing: 1.2px; color: var(--ink-3); }

.dl-ver b {
    font-family: var(--font-display);
    font-size: 21px;
    letter-spacing: 1.2px;
    color: var(--ink);
}

.dl-notes {
    border-left: 2px solid var(--accent);
    background: var(--panel);
    border-radius: 0 6px 6px 0;
    padding: 16px 20px;
}

.dl-notes-label {
    display: block;
    font-size: 10px;
    letter-spacing: 1.8px;
    color: var(--accent);
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.dl-notes p {
    font-size: 12.5px;
    line-height: 1.95;
    color: var(--ink-2);
    white-space: pre-line;
}

.dl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.dl-side {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow-soft);
}

.dl-side h3 {
    font-size: 14px;
    letter-spacing: 1.4px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dl-side h3::before {
    content: "";
    width: 3px;
    height: 13px;
    background: var(--accent);
}

.dl-spec li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 12.5px;
}

.dl-spec li:last-child { border-bottom: 0; }
.dl-spec span { color: var(--ink-3); flex: none; font-size: 11.5px; }
.dl-spec b { color: var(--ink-2); font-weight: 500; text-align: right; }

.dl-tip {
    display: flex;
    gap: 9px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 11.5px;
    line-height: 1.85;
    color: var(--ink-3);
}

.dl-tip-dot {
    flex: none;
    width: 5px;
    height: 5px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--accent);
}

/* =========================================================
   官方群
   ========================================================= */
.group-band {
    position: relative;
    z-index: 2;
    padding: 76px 28px;
}

.group-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 40px 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
        linear-gradient(120deg, var(--panel-2), var(--panel) 55%, var(--panel-3));
    overflow: hidden;
}

.group-inner::after {
    content: "QQ";
    position: absolute;
    right: 26px;
    bottom: -34px;
    font-family: var(--font-display);
    font-size: 150px;
    font-weight: 800;
    letter-spacing: -4px;
    color: var(--ink);
    opacity: .035;
    line-height: 1;
    pointer-events: none;
}

.group-action {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.group-number {
    cursor: pointer;
    padding-right: 22px;
    border-right: 1px solid var(--line);
    transition: color .25s;
}

.group-number span {
    display: block;
    font-size: 10px;
    letter-spacing: 2.4px;
    color: var(--ink-3);
    font-family: var(--font-display);
}

.group-number b {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.4vw, 52px);
    letter-spacing: 3px;
    line-height: 1.2;
    background: linear-gradient(120deg, var(--ink), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.group-number:hover b { filter: brightness(1.15); }

.group-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* =========================================================
   Footer
   ========================================================= */
.site-foot {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 46px 0 34px;
}

.foot-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px 40px;
    align-items: center;
}

.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand b { font-family: var(--font-display); letter-spacing: 2.4px; font-size: 15px; color: var(--ink); }
.foot-brand p { font-size: 11.5px; color: var(--ink-3); letter-spacing: 1px; margin-top: 2px; }

.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { font-size: 12px; color: var(--ink-2); transition: color .2s; }
.foot-links a:hover { color: var(--accent); }

.foot-copy {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    line-height: 1.9;
    color: var(--ink-3);
}

/* =========================================================
   Toast
   ========================================================= */
.toast {
    position: fixed;
    left: 50%;
    bottom: 34px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid var(--line-2);
    border-radius: 40px;
    background: var(--panel-3);
    color: var(--ink);
    font-size: 12.5px;
    letter-spacing: .6px;
    box-shadow: var(--shadow);
    transform: translate(-50%, 16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--live);
}

/* =========================================================
   进场动画
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1) var(--d, 0s), transform .8s cubic-bezier(.22, 1, .36, 1) var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   玻璃拟态表面
   ========================================================= */
.carousel,
.news-panel,
.feature-card,
.dl-side,
.dl-notes,
.group-inner,
.toast {
    background: var(--glass-sheen), var(--glass-bg);
    border-color: var(--glass-line);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
}

.toast { background: var(--glass-sheen), var(--glass-bg-2); }

/* 资讯面板 */
.news-head { border-bottom-color: var(--glass-line); }
.news-item a { border-bottom-color: var(--glass-line); }
.news-item a:hover { background: rgba(255, 255, 255, .05); }

html[data-theme="light"] .news-item a:hover { background: rgba(255, 255, 255, .7); }

.news-more {
    background: rgba(255, 255, 255, .03);
    border-top-color: var(--glass-line);
}

html[data-theme="light"] .news-more { background: rgba(255, 255, 255, .45); }
.news-more:hover { background: rgba(255, 255, 255, .07); color: var(--accent); }

html[data-theme="light"] .news-more:hover { background: rgba(255, 255, 255, .8); }

/* 版本卡 */
.dl-versions {
    background: var(--glass-line);
    border-color: var(--glass-line);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.dl-ver { background: var(--glass-bg); }
.dl-ver:hover { background: var(--glass-bg-2); }

/* 下载区 / 页脚底板：让背景光晕透出来 */
.download-band {
    background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 58%);
    border-top-color: var(--glass-line);
    border-bottom-color: var(--glass-line);
}

html[data-theme="light"] .download-band {
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), transparent 58%);
}

.site-foot {
    background: rgba(255, 255, 255, .02);
    border-top-color: var(--glass-line);
}

html[data-theme="light"] .site-foot { background: rgba(255, 255, 255, .45); }

/* 弱化机型：不支持毛玻璃时回落到半透明实底 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .carousel,
    .news-panel,
    .feature-card,
    .dl-side,
    .dl-notes,
    .group-inner,
    .toast {
        background: var(--panel-2);
    }
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1080px) {
    .news-section { grid-template-columns: minmax(0, 1fr); }
    .carousel { min-height: 380px; }
    .news-panel { max-height: 420px; }
    .download-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-card:last-child { grid-column: 1 / -1; }
    .feature-card p { min-height: 0; }
}

@media (max-width: 900px) {
    :root { --head-h: 64px; }

    .head-inner { padding: 0 18px; gap: 12px; }
    .container { padding: 0 18px; }

    .nav {
        position: fixed;
        top: var(--head-h);
        left: 0;
        right: 0;
        z-index: 95;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 18px 18px;
        background: var(--panel);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85);
    }

    .nav.open { display: flex; animation: navDrop .26s cubic-bezier(.22, 1, .36, 1) both; }
    .nav-link { padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
    .nav-link::after { display: none; }

    .menu-btn { display: grid; }

    .nav .btn-rainbow {
        height: 42px;
        margin: 14px 6px 4px;
        font-size: 13px;
    }
    .head-tools { display: flex; margin-left: auto; }

    .dock { right: 14px; bottom: 16px; gap: 8px; }
    .dock-btn { width: 40px; height: 40px; }

    .hero { padding-top: calc(var(--head-h) + 40px); min-height: 86svh; }
    .hero-title { font-size: clamp(30px, 8vw, 42px); letter-spacing: 2px; margin: 16px 0 2px; }
    #chakhsu { font-size: clamp(30px, 8vw, 42px); letter-spacing: 2px; margin-bottom: 14px; }
    .hero-logo { top: auto; left: 50%; bottom: 5%; }
    .hero-slogan { max-width: 76vw; max-height: 20vh; }
    .hero-stats > div { padding: 0 16px; }
    .hero-stats dd { font-size: 17px; }
    .hero-actions { margin-top: 26px; }
    .btn { height: 46px; padding: 0 20px; font-size: 13px; }
    .btn-lg { height: 48px; padding: 0 20px; }
    .btn-rainbow--hero { height: 46px; padding: 0 18px; gap: 7px; font-size: 13px; }
    .btn-rainbow--hero.is-primary { height: 52px; padding: 0 28px; font-size: 14px; }

    .ticker { padding: 0 18px; height: 42px; gap: 12px; }
    .ticker-label { display: none; }

    .news-section { margin-bottom: 66px; }
    .carousel { min-height: 340px; }
    .slide-body { left: 20px; right: 20px; bottom: 20px; }
    .car-arrow { width: 38px; height: 38px; }
    .car-arrow--prev { left: 10px; }
    .car-arrow--next { right: 10px; }
    .news-panel { max-height: none; }
    .news-list { max-height: 420px; }

    .features { padding-bottom: 66px; }
    .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .feature-card:last-child { grid-column: auto; }
    .feature-card { padding: 24px 22px 22px; }

    .download-band { padding: 60px 0; }
    .dl-versions { grid-template-columns: minmax(0, 1fr); }
    .dl-ver-link::after { display: none; }
    .dl-ver { flex-direction: row; align-items: baseline; justify-content: space-between; }

    .group-band { padding: 54px 18px; }
    .group-inner { flex-direction: column; align-items: flex-start; padding: 30px 26px; gap: 24px; }
    .group-action { width: 100%; justify-content: space-between; gap: 14px; }
    .group-number { border-right: 0; padding-right: 0; }

    .foot-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .foot-links { gap: 14px 18px; }
}

@media (max-width: 560px) {
    .eyebrow-tail { display: none; }
}

@media (max-width: 480px) {
    .hero-desc { font-size: 12.5px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-stats { gap: 14px 0; }
    .hero-stats > div { padding: 0 14px; }
    .slide-body h2 { font-size: 22px; }
    .news-tab { padding: 15px 9px; font-size: 12px; }
}

/* =========================================================
   无障碍 / 减弱动画
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-media-img { animation: none; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
