/* 视觉契约与变量定义 */
:root {
    --bg-deep: #050507;
    --bg-surface: #0e0e12;
    --bg-elevated: #16161c;
    --accent: #e42b91;
    --accent-glow: rgba(228, 43, 145, 0.3);
    --accent-dim: rgba(228, 43, 145, 0.1);
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.15s ease;
}

/* 全局重置与基础排版 */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 强制 Flex 规则与文本换行 */
.crown, .tunnel, .orbit, .core, 
.nexus, .vault, .shell, .mesh, 
.shard, .flare, .burst, .band, 
.packet, .crypt, .node, .sole, .root {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- 导航栏样式 (复用首页风格) --- */
.crown {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tunnel {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    align-items: center;
    justify-content: space-between;
}

.sigil {
    height: 32px;
    display: flex;
    align-items: center;
}

.sigil img {
    height: 100%;
    object-fit: contain;
}

.orbit {
    gap: 2rem;
    align-items: center;
}

.wire {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.wire:hover {
    color: var(--text-main);
}

.wire.active {
    color: var(--text-main);
}

.wire.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-glow);
}

/* --- 主内容容器 --- */
.core {
    width: 100%;
    flex-direction: column;
    padding-top: 80px; /* 留出导航栏高度 */
}

/* --- Section 1: Hero (获取最新版) --- */
.nexus {
    width: 100%;
    padding: 120px 2rem 80px;
    background: radial-gradient(circle at 70% 30%, var(--accent-dim) 0%, transparent 60%);
    justify-content: center;
    position: relative;
}

.nexus > .vault {
    width: 100%;
    max-width: 1280px;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* Asymmetric Grid 左侧 */
.nexus .mesh {
    flex: 1 1 500px;
    flex-direction: column;
    gap: 2rem;
    z-index: 2;
}

.nexus .apex {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin: 0;
}

.nexus .apex span {
    color: var(--accent);
}

.nexus .rune {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 90%;
    margin: 0;
}

.nexus .band {
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
}

.pulse {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 24px var(--accent-glow);
    border: 1px solid transparent;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(0);
}

.pulse:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--accent-glow);
    background: #f03ea2;
}

.ping {
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transform: translateY(0);
}

.ping:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Asymmetric Grid 右侧 */
.nexus .shell {
    flex: 1 1 500px;
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.nexus .shell:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.nexus .lens {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
}

/* --- Section 2: Aside (版本选择) --- */
.flare {
    width: 100%;
    padding: 80px 2rem;
    background: var(--bg-deep);
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.flare > .vault {
    width: 100%;
    max-width: 1280px;
    flex-direction: column;
    gap: 3rem;
}

.flare .mesh:first-child {
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    max-width: 600px;
}

.flare .apex {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.flare .rune {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.flare .band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.shard {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.shard:hover {
    border-color: rgba(228, 43, 145, 0.4);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.shard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.shard:hover::before {
    opacity: 1;
}

.shard .glyph {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.shard .apex {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.shard .rune {
    font-size: 0.95rem;
    flex-grow: 1;
}

.shard .ping {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.shard.recommended {
    background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
    border-color: rgba(228, 43, 145, 0.3);
}
.shard.recommended .ping {
    background: rgba(228, 43, 145, 0.1);
    color: var(--accent);
    border-color: rgba(228, 43, 145, 0.3);
}
.shard.recommended .ping:hover {
    background: var(--accent);
    color: #fff;
}

/* 融入版本选择面板图片 */
.flare-visual {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.flare-visual .lens {
    width: 100%;
    display: block;
}

/* --- Section 3: Section (系统运行环境) --- */
.burst {
    width: 100%;
    padding: 100px 2rem;
    background: var(--bg-surface);
    justify-content: center;
    position: relative;
}

.burst::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

.burst > .vault {
    width: 100%;
    max-width: 1000px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.burst .mesh {
    flex-direction: column;
    gap: 1rem;
}

.burst .apex {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0;
}

.burst .rune {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.burst .band {
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.packet {
    background: var(--bg-deep);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-sm);
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.packet:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.packet .glyph {
    color: var(--text-muted);
}

.packet .rune {
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
}

/* --- Section 4: Aside (FAQ) --- */
.crypt {
    width: 100%;
    padding: 100px 2rem;
    background: var(--bg-deep);
    justify-content: center;
}

.crypt > .vault {
    width: 100%;
    max-width: 800px;
    flex-direction: column;
    gap: 3rem;
}

.crypt .mesh {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.crypt .apex {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0;
}

.crypt .band {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.node {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}

.node:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-elevated);
}

.node .apex {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    text-align: left;
}

.node .rune {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* --- Footer --- */
.sole {
    width: 100%;
    padding: 4rem 2rem 2rem;
    background: var(--bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    justify-content: center;
}

.root {
    width: 100%;
    max-width: 1280px;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.root .apex {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.root .band {
    gap: 2rem;
}

.root .wire {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.root .wire:hover {
    color: var(--text-main);
}

.root .rune {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
    margin: 0;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* 响应式断点 */
@media (max-width: 1024px) {
    .nexus .vault {
        flex-direction: column;
        text-align: center;
    }
    .nexus .mesh {
        align-items: center;
    }
    .nexus .band {
        justify-content: center;
    }
    .nexus .rune {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .orbit {
        display: none; /* 移动端可由JS接管汉堡菜单，此处仅做布局安全 */
    }
    .nexus {
        padding: 100px 1.5rem 60px;
    }
    .nexus .apex {
        font-size: 2.25rem;
    }
    .band {
        flex-direction: column;
        width: 100%;
    }
    .pulse, .ping {
        width: 100%;
    }
    .packet {
        width: 100%;
        justify-content: center;
    }
    .flare .band {
        grid-template-columns: 1fr;
    }
    .root {
        flex-direction: column;
        text-align: center;
    }
}

.orbit-crown {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-main);
}
.orbit-crown,
.orbit-crown *,
.orbit-crown *::before,
.orbit-crown *::after {
    box-sizing: border-box;
}

.orbit-crown [role="navigation"],
.orbit-crown div,
.orbit-crown section,
.orbit-crown article,
.orbit-crown aside,
.orbit-crown p,
.orbit-crown h1,
.orbit-crown h2,
.orbit-crown h3,
.orbit-crown h4,
.orbit-crown h5,
.orbit-crown h6,
.orbit-crown a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.orbit-crown p,
.orbit-crown h1,
.orbit-crown h2,
.orbit-crown h3,
.orbit-crown h4,
.orbit-crown h5,
.orbit-crown h6 {
    text-decoration: none;
}

.orbit-crown img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.orbit-crown {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.orbit-crown a.orbit-wire {
    --aisite-shell-nav-padding: 0.5rem 0;
    --aisite-shell-nav-margin: 0;
    --aisite-shell-nav-line-height: normal;
    --aisite-shell-nav-display: inline;
    --aisite-shell-nav-height: auto;
    --aisite-shell-nav-min-height: auto;
}

.orbit-crown a.orbit-wire,
.orbit-crown a.orbit-wire:hover,
.orbit-crown a.orbit-wire:focus,
.orbit-crown a.orbit-wire:active,
.orbit-crown a.orbit-wire.active,
.orbit-crown a.orbit-wire[aria-current="page"] {
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    padding: var(--aisite-shell-nav-padding, 0);
    margin: var(--aisite-shell-nav-margin, 0);
    line-height: var(--aisite-shell-nav-line-height, normal);
    display: var(--aisite-shell-nav-display, inline);
    height: var(--aisite-shell-nav-height, auto);
    min-height: var(--aisite-shell-nav-min-height, auto);
}

.orbit-crown .orbit-tunnel{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 5vw;
        }

.orbit-crown{
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(5, 5, 7, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #23232d;
            padding: 1rem 0;
        }

.orbit-crown .orbit-tunnel{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

.orbit-crown .orbit-sigil{
            display: flex;
            align-items: center;
        }

.orbit-crown .orbit-sigil img{
            height: 32px;
            width: auto;
        }

.orbit-crown .orbit-orbit{
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

.orbit-crown .orbit-wire{
            font-size: 0.95rem;
            font-weight: 500;
            color: #a0a0b0;
            position: relative;
            padding: 0.5rem 0;
        }

.orbit-crown .orbit-wire:hover, .orbit-crown .orbit-wire.active{
            color: #f0f0f5;
        }

.orbit-crown .orbit-wire::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #e42b91;
            transform: scaleX(0);
            transition: all 0.15s ease;
            transform-origin: right;
        }

.orbit-crown .orbit-wire:hover::after, .orbit-crown .orbit-wire.active::after{
            transform: scaleX(1);
            transform-origin: left;
            box-shadow: 0 0 10px rgba(228, 43, 145, 0.3);
        }

@media (max-width: 768px){.orbit-crown .orbit-orbit{
                gap: 1rem;
            }}

.orbit-crown {
    background: rgb(5, 5, 7);
    background-image: none;
}

.crypt-sole {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-main);
}
.crypt-sole,
.crypt-sole *,
.crypt-sole *::before,
.crypt-sole *::after {
    box-sizing: border-box;
}

.crypt-sole [role="navigation"],
.crypt-sole div,
.crypt-sole section,
.crypt-sole article,
.crypt-sole aside,
.crypt-sole p,
.crypt-sole h1,
.crypt-sole h2,
.crypt-sole h3,
.crypt-sole h4,
.crypt-sole h5,
.crypt-sole h6,
.crypt-sole a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.crypt-sole p,
.crypt-sole h1,
.crypt-sole h2,
.crypt-sole h3,
.crypt-sole h4,
.crypt-sole h5,
.crypt-sole h6 {
    text-decoration: none;
}

.crypt-sole img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.crypt-sole {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.crypt-sole a,
.crypt-sole a:hover,
.crypt-sole a:focus,
.crypt-sole a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.crypt-sole .crypt-rune{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.crypt-sole .crypt-tunnel{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 5vw;
        }

.crypt-sole .crypt-wire{
            font-size: 0.95rem;
            font-weight: 500;
            color: #a0a0b0;
            position: relative;
            padding: 0.5rem 0;
        }

.crypt-sole .crypt-wire:hover, .crypt-sole .crypt-wire.active{
            color: #f0f0f5;
        }

.crypt-sole .crypt-wire::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #e42b91;
            transform: scaleX(0);
            transition: all 0.15s ease;
            transform-origin: right;
        }

.crypt-sole .crypt-wire:hover::after, .crypt-sole .crypt-wire.active::after{
            transform: scaleX(1);
            transform-origin: left;
            box-shadow: 0 0 10px rgba(228, 43, 145, 0.3);
        }

.crypt-sole{
            background: #050507;
            border-top: 1px solid #23232d;
            padding: 4rem 0 2rem;
        }

.crypt-sole .crypt-sole-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-bottom: 4rem;
        }

.crypt-sole .crypt-root{
            font-size: 1.5rem;
            font-weight: 700;
            color: #f0f0f5;
            margin-bottom: 1rem;
            display: inline-block;
        }

.crypt-sole .crypt-crypt{
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

.crypt-sole .crypt-crypt .crypt-wire{
            color: #a0a0b0;
            padding: 0;
            display: inline-block;
            width: fit-content;
        }

.crypt-sole .crypt-crypt .crypt-wire::after{
            display: none;
        }

.crypt-sole .crypt-crypt .crypt-wire:hover{
            color: #e42b91;
        }

.crypt-sole .crypt-copyright{
            text-align: center;
            color: #a0a0b0;
            font-size: 0.875rem;
            border-top: 1px solid #23232d;
            padding-top: 2rem;
        }