/* 变量定义 */
:root {
    --color-primary: #c644e0;
    --color-primary-glow: rgba(198, 68, 224, 0.4);
    --color-secondary: #00e5ff;
    --color-bg-dark: #0a0510;
    --color-bg-surface: #140b1c;
    --color-bg-elevated: #1e112a;
    --color-text-main: #f0f0f5;
    --color-text-muted: #a09aa8;
    --color-border: rgba(198, 68, 224, 0.15);
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --radius-md: 12px;
    --radius-lg: 24px;
    --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.25s ease;
}

/* 基础重置与排版 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* 强制文本换行与Flex规则 */
.text-wrap {
    word-break: break-word;
    overflow-wrap: break-word;
}
.echo-zh {
    word-break: keep-all;
    overflow-wrap: break-word;
}

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

/* 导航栏样式复刻 (强制复用) */
.peak-cloak {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 5, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.helm-orbit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    min-width: 0;
}

.sigil {
    display: flex;
    align-items: center;
    min-width: 0;
}

.sigil img {
    height: 32px;
    width: auto;
    display: block;
}

.helm-matrix {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    min-width: 0;
}

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

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

.helm-wire.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.helm-band {
    display: flex;
    align-items: center;
    min-width: 0;
}

.warp-spark {
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #c644e0, #9b2bba);
    color: #fff;
    box-shadow: 0 4px 15px rgba(198, 68, 224, 0.2);
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.warp-spark:hover {
    box-shadow: 0 6px 20px rgba(198, 68, 224, 0.4);
    transform: translateY(-1px);
}

/* 主内容容器 */
.portal-tunnel {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

/* Section 1: Hero (Reverse Split Layout) */
.nexus-mesh {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse; /* 创意种子：反转分割 */
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-lg) 2rem;
    min-height: calc(85vh - 80px);
    min-width: 0;
    gap: 4rem;
    position: relative;
}

.nexus-mesh::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.nexus-lens {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nexus-lens svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(198,68,224,0.2));
}

.nexus-echo-cluster {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1;
}

.nexus-apex {
    line-height: 1.2;
    font-weight: 800;
    font-size: clamp(2.5rem, 4vw, 4rem);
    letter-spacing: -1px;
    white-space: normal;
    color: var(--color-text-main);
}

.nexus-apex span {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nexus-echo {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 90%;
    word-break: keep-all;
}

/* 幽灵按钮变体 */
.warp-sync {
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    align-self: flex-start;
}

.warp-sync:hover {
    background: rgba(198, 68, 224, 0.1);
    box-shadow: 0 0 20px rgba(198, 68, 224, 0.2);
}

/* Section 2: Highlight Region (Aside) */
.node-cluster {
    max-width: 1280px;
    margin: var(--space-lg) auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 3rem;
    min-width: 0;
    position: relative;
}

.node-apex-mesh {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    min-width: 0;
}

.node-apex {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-main);
    white-space: normal;
}

.node-echo {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    word-break: keep-all;
}

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

.node-packet {
    background: var(--color-bg-surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid var(--color-border);
    box-shadow: inset 0 0 50px rgba(198,68,224,0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    min-width: 0;
    transition: var(--transition);
}

.node-packet:hover {
    transform: translateY(-5px);
    border-color: rgba(198, 68, 224, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 50px rgba(198,68,224,0.05);
}

.node-glyph {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(198,68,224,0.1), rgba(0,229,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(198,68,224,0.2);
}

.node-glyph svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.node-subapex {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    white-space: normal;
}

/* Section 3: Directory (Article) */
.vault-mesh {
    background: var(--color-bg-surface);
    padding: var(--space-lg) 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.vault-cluster {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    min-width: 0;
}

.vault-apex-mesh {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vault-apex {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: 700;
    white-space: normal;
}

.vault-echo {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    word-break: keep-all;
}

.vault-matrix {
    flex: 2;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.vault-ping {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition);
}

.vault-ping:hover {
    border-color: var(--color-border);
    background: rgba(198,68,224,0.05);
}

.vault-ping svg {
    width: 20px;
    height: 20px;
    fill: var(--color-secondary);
}

/* Section 4: Specs (Div) */
.packet-mesh {
    max-width: 1000px;
    margin: var(--space-lg) auto;
    padding: 4rem 2rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    min-width: 0;
    background: radial-gradient(ellipse at top, rgba(198,68,224,0.1) 0%, transparent 70%);
    border-radius: var(--radius-lg);
}

.packet-apex {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    white-space: normal;
}

.packet-echo {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    word-break: keep-all;
}

.packet-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.packet-ping {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.packet-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
}

.packet-blip {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 页脚 */
.base-root {
    border-top: 1px solid rgba(255,255,255,0.05);
    background: var(--color-bg-dark);
    padding: 4rem 2rem 2rem;
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
}

.base-matrix {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    min-width: 0;
}

.base-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.base-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    min-width: 0;
}

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

.base-wire:hover {
    color: var(--color-primary);
}

.base-echo {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* 响应式 */
@media (max-width: 1024px) {
    .nexus-mesh {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .helm-matrix {
        display: none; /* 移动端简化导航，实际项目中由JS控制展开 */
    }
    
    .nexus-mesh {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .nexus-echo-cluster {
        align-items: center;
    }
    
    .warp-sync {
        align-self: center;
    }
    
    .vault-cluster {
        flex-direction: column;
        gap: 2rem;
    }
    
    .node-matrix {
        grid-template-columns: 1fr;
    }
    
    .packet-band {
        flex-direction: column;
        gap: 2rem;
    }
}

.helm-peak-cloak {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--color-text-main);
}
.helm-peak-cloak,
.helm-peak-cloak *,
.helm-peak-cloak *::before,
.helm-peak-cloak *::after {
    box-sizing: border-box;
}

.helm-peak-cloak nav,
.helm-peak-cloak div,
.helm-peak-cloak section,
.helm-peak-cloak article,
.helm-peak-cloak aside,
.helm-peak-cloak p,
.helm-peak-cloak h1,
.helm-peak-cloak h2,
.helm-peak-cloak h3,
.helm-peak-cloak h4,
.helm-peak-cloak h5,
.helm-peak-cloak h6,
.helm-peak-cloak a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.helm-peak-cloak p,
.helm-peak-cloak h1,
.helm-peak-cloak h2,
.helm-peak-cloak h3,
.helm-peak-cloak h4,
.helm-peak-cloak h5,
.helm-peak-cloak h6 {
    text-decoration: none;
}

.helm-peak-cloak img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.helm-peak-cloak {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.helm-peak-cloak a.helm-helm-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;
}

.helm-peak-cloak a.helm-helm-wire,
.helm-peak-cloak a.helm-helm-wire:hover,
.helm-peak-cloak a.helm-helm-wire:focus,
.helm-peak-cloak a.helm-helm-wire:active,
.helm-peak-cloak a.helm-helm-wire.active,
.helm-peak-cloak a.helm-helm-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);
}

.helm-peak-cloak{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(10, 5, 16, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(198, 68, 224, 0.15);
            z-index: 1000;
            padding: 0 2rem;
        }

.helm-peak-cloak .helm-helm-orbit{
            max-width: 1400px;
            margin: 0 auto;
            align-items: center;
            justify-content: space-between;
            height: 80px;
        }

.helm-peak-cloak .helm-sigil{
            flex-shrink: 0;
            width: 160px;
        }

.helm-peak-cloak .helm-helm-matrix{
            align-items: center;
            gap: 2.5rem;
        }

.helm-peak-cloak .helm-helm-wire{
            font-size: 1rem;
            color: #a09aa8;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
        }

.helm-peak-cloak .helm-helm-wire:hover, .helm-peak-cloak .helm-helm-wire.active{
            color: #f0f0f5;
        }

.helm-peak-cloak .helm-helm-wire.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #c644e0;
            box-shadow: 0 0 10px rgba(198, 68, 224, 0.4);
        }

.helm-peak-cloak .helm-warp-spark{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.8rem 1.8rem;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            text-align: center;
        }

.helm-peak-cloak .helm-warp-spark{
            background: linear-gradient(135deg, #c644e0, #9b2bba);
            color: #fff;
            box-shadow: 0 4px 15px rgba(198, 68, 224, 0.3);
        }

.helm-peak-cloak .helm-warp-spark:hover{
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(198, 68, 224, 0.5);
        }

@media (max-width: 768px){.helm-peak-cloak .helm-helm-matrix{
                display: none; 
            }}

.helm-peak-cloak {
    background: rgb(10, 5, 16);
    background-image: none;
}

.base-base-tunnel {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--color-text-main);
}
.base-base-tunnel,
.base-base-tunnel *,
.base-base-tunnel *::before,
.base-base-tunnel *::after {
    box-sizing: border-box;
}

.base-base-tunnel nav,
.base-base-tunnel div,
.base-base-tunnel section,
.base-base-tunnel article,
.base-base-tunnel aside,
.base-base-tunnel p,
.base-base-tunnel h1,
.base-base-tunnel h2,
.base-base-tunnel h3,
.base-base-tunnel h4,
.base-base-tunnel h5,
.base-base-tunnel h6,
.base-base-tunnel a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

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

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

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

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

.base-base-tunnel{
            background: #050208;
            padding: 4rem 2rem 2rem;
            border-top: 1px solid rgba(198, 68, 224, 0.15);
            flex-direction: column;
        }

.base-base-tunnel .base-base-matrix{
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
            justify-content: space-between;
            gap: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

.base-base-tunnel .base-base-cluster{
            flex-direction: column;
            gap: 1rem;
            width: calc(25% - 1.5rem);
        }

.base-base-tunnel .base-base-apex{
            font-size: 1.5rem;
            font-weight: 800;
            background: linear-gradient(to right, #fff, #c644e0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

.base-base-tunnel .base-base-peak{
            font-weight: 600;
            color: #fff;
            margin-bottom: 0.5rem;
        }

.base-base-tunnel .base-base-wire{
            color: #a09aa8;
            font-size: 0.9rem;
        }

.base-base-tunnel .base-base-wire:hover{
            color: #c644e0;
        }

.base-base-tunnel .base-base-tail{
            max-width: 1400px;
            margin: 2rem auto 0;
            width: 100%;
            justify-content: space-between;
            color: #a09aa8;
            font-size: 0.85rem;
        }

@media (max-width: 768px){.base-base-tunnel .base-base-cluster{
                width: 100%;
            }}