/* 核心变量与基底 */
:root {
    --color-primary: #e524a1;
    --color-primary-glow: rgba(229, 36, 161, 0.4);
    --color-bg-base: #09090b;
    --color-bg-surface: #121214;
    --color-bg-elevated: #1a1a1e;
    --color-border: #27272a;
    --color-text-peak: #ffffff;
    --color-text-echo: #a1a1aa;
    --radius-base: 16px;
    --radius-inner: 12px;
    --trans: 0.15s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-bg-base);
    color: var(--color-text-echo);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 强制文本换行规范 */
.echo, .peak, .wire-dot {
    word-break: break-word;
    overflow-wrap: break-word;
}
.echo { word-break: keep-all; }
.peak { white-space: normal; color: var(--color-text-peak); }

/* --- 强制复用的导航栏样式 (继承首页) --- */
.crown-matrix {
    position: fixed; top: 0; left: 0; right: 0;
    height: 72px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 4vw; background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
    flex-wrap: wrap; /* Flex要求 */
}
.crown-matrix > * { min-width: 0; }
.crest-tunnel { display: flex; align-items: center; flex-wrap: wrap; }
.crest-tunnel > * { min-width: 0; }
.crest-tunnel img { height: 32px; width: auto; object-fit: contain; }
.helm-array { display: flex; gap: 2rem; flex-wrap: wrap; }
.helm-array > * { min-width: 0; }
.wire-dot {
    color: var(--color-text-echo); text-decoration: none;
    font-size: 0.95rem; font-weight: 500; transition: color var(--trans);
}
.wire-dot:hover, .wire-dot:focus { color: var(--color-text-peak); }
.wire-dot.active { color: var(--color-primary); }
@media (max-width: 768px) {
    .helm-array { display: none; /* 移动端简化隐藏，实际应有汉堡菜单，此处遵循极简复用 */ }
}

/* --- 页面骨架与容器 --- */
.core-tunnel {
    padding-top: 72px; /* 避开固定导航 */
    display: flex; flex-direction: column;
}

/* 1. 灵活的节点与订阅管理 (Hero) - 继承 fullbleed_overlay 变体 */
.prism-hull {
    position: relative; min-height: 80vh;
    display: flex; flex-wrap: wrap; align-items: center;
    padding: 6rem 6vw;
    background: radial-gradient(circle at 80% 20%, rgba(229, 36, 161, 0.08) 0%, transparent 50%);
}
.prism-hull > * { min-width: 0; }
.prism-hull::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wMykiLz48L3N2Zz4=') repeat;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    z-index: -1; pointer-events: none;
}
.prism-cloak {
    flex: 1 1 500px; max-width: 680px; z-index: 1;
    display: flex; flex-direction: column; gap: 1.5rem; flex-wrap: wrap;
}
.prism-cloak > * { min-width: 0; }
.peak-massive {
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem); font-weight: 800;
    line-height: 1.15; letter-spacing: -0.02em;
}
.peak-massive span {
    background: linear-gradient(135deg, #fff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.echo-lead { font-size: 1.25rem; line-height: 1.6; max-width: 560px; }
.prism-visual {
    flex: 1 1 400px; display: flex; justify-content: center; align-items: center;
    position: relative; flex-wrap: wrap;
}
.prism-visual > * { min-width: 0; }
.glyph-motion { width: 100%; max-width: 500px; height: auto; filter: drop-shadow(0 0 40px var(--color-primary-glow)); }

/* 2. 三种便捷导入方式 (Detail) */
.flare-matrix {
    padding: 6rem 6vw; display: flex; flex-direction: column; gap: 4rem;
    background: var(--color-bg-surface); flex-wrap: wrap;
}
.flare-matrix > * { min-width: 0; }
.peak-tunnel { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 700; text-align: center; margin-bottom: 1rem; }
.echo-center { text-align: center; max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

.flux-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto; width: 100%;
}
.shard-node {
    background: var(--color-bg-elevated); border: 1px solid var(--color-border);
    border-radius: var(--radius-base); padding: 2.5rem 2rem;
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
    transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
    flex-wrap: wrap;
}
.shard-node > * { min-width: 0; }
.shard-node:hover {
    transform: translateY(-5px); border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 0 1px var(--color-primary-glow);
}
.glyph-seal {
    width: 56px; height: 56px; border-radius: var(--radius-inner);
    background: rgba(229, 36, 161, 0.1); display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(229, 36, 161, 0.2); flex-wrap: wrap;
}
.glyph-seal > * { min-width: 0; }
.glyph-seal svg { width: 28px; height: 28px; fill: var(--color-primary); transition: transform var(--trans); }
.shard-node:hover .glyph-seal svg { transform: scale(1.1); }
.peak-shard { font-size: 1.25rem; font-weight: 600; }

/* 3. 订阅链接自动更新 (Proof) */
.portal-cloak {
    padding: 8rem 6vw; display: flex; align-items: center; gap: 6vw;
    flex-wrap: wrap; max-width: 1400px; margin: 0 auto;
}
.portal-cloak > * { min-width: 0; }
.portal-visual {
    flex: 1 1 400px; background: var(--color-bg-elevated);
    border: 1px solid var(--color-border); border-radius: var(--radius-base);
    padding: 4rem; display: flex; justify-content: center; align-items: center;
    box-shadow: inset 0 0 80px rgba(0,0,0,0.3); flex-wrap: wrap; position: relative;
    overflow: hidden;
}
.portal-visual > * { min-width: 0; }
.portal-cloak { flex: 1 1 400px; display: flex; flex-direction: column; gap: 2rem; flex-wrap: wrap; }
.portal-cloak > * { min-width: 0; }

.band-cluster { display: flex; flex-direction: column; gap: 1.5rem; flex-wrap: wrap; }
.band-cluster > * { min-width: 0; }
.band-dot {
    display: flex; align-items: center; gap: 1rem;
    background: rgba(255,255,255,0.03); padding: 1rem 1.5rem;
    border-radius: var(--radius-inner); border: 1px solid transparent;
    transition: border-color var(--trans); flex-wrap: wrap;
}
.band-dot > * { min-width: 0; }
.band-dot:hover { border-color: var(--color-border); background: rgba(255,255,255,0.05); }
.glyph-check { width: 24px; height: 24px; fill: var(--color-primary); flex-shrink: 0; }

/* 4. 测速与延迟检测 (Proof) */
.node-cluster {
    padding: 8rem 6vw; display: flex; align-items: center; gap: 6vw;
    flex-direction: row-reverse; flex-wrap: wrap; max-width: 1400px; margin: 0 auto;
}
.node-cluster > * { min-width: 0; }
/* 复用 portal-visual 和 portal-content 的基础样式 */

/* 页脚 */
.sole-anchor {
    padding: 4rem 6vw; border-top: 1px solid var(--color-border);
    background: var(--color-bg-base); display: flex; flex-direction: column;
    align-items: center; gap: 2rem; text-align: center; flex-wrap: wrap;
}
.sole-anchor > * { min-width: 0; }
.peak-brand { font-size: 1.5rem; font-weight: 800; color: var(--color-text-peak); letter-spacing: 0.05em; }
.array-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.array-links > * { min-width: 0; }
.wire-mute { color: var(--color-text-echo); text-decoration: none; font-size: 0.9rem; transition: color var(--trans); }
.wire-mute:hover, .wire-mute:focus { color: var(--color-primary); }

/* SVG 动效定义 */
@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
@keyframes spin-slow {
    100% { transform: rotate(360deg); }
}
@keyframes dash-flow {
    to { stroke-dashoffset: -40; }
}
.anim-pulse { animation: pulse-glow 3s ease-in-out infinite; }
.anim-spin { animation: spin-slow 20s linear infinite; transform-origin: center; }
.anim-flow { animation: dash-flow 1s linear infinite; }

/* 响应式 */
@media (max-width: 1024px) {
    .portal-cloak, .node-cluster { flex-direction: column; padding: 5rem 6vw; }
    .portal-visual { width: 100%; min-height: 300px; }
}
@media (max-width: 768px) {
    .flux-grid { grid-template-columns: 1fr; }
    .prism-hull { padding-top: 8rem; text-align: center; }
    .echo-lead { margin: 0 auto; }
}

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

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

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

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

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

.nexus-crown-matrix a.nexus-wire-dot {
    --aisite-shell-nav-padding: 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;
}

.nexus-crown-matrix a.nexus-wire-dot,
.nexus-crown-matrix a.nexus-wire-dot:hover,
.nexus-crown-matrix a.nexus-wire-dot:focus,
.nexus-crown-matrix a.nexus-wire-dot:active,
.nexus-crown-matrix a.nexus-wire-dot.active,
.nexus-crown-matrix a.nexus-wire-dot[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);
}

.nexus-crown-matrix{
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: rgba(9, 9, 11, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding: 1rem 6vw;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

.nexus-crown-matrix .nexus-crest-tunnel{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.nexus-crown-matrix .nexus-crest-tunnel img{
            height: 28px;
            width: auto;
            object-fit: contain;
        }

.nexus-crown-matrix .nexus-helm-array{
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

.nexus-crown-matrix .nexus-wire-dot{
            font-size: 0.95rem;
            font-weight: 500;
            color: #a1a1aa;
            transition: color 0.15s ease;
            position: relative;
        }

.nexus-crown-matrix .nexus-wire-dot:hover{
            color: #ffffff;
        }

.nexus-crown-matrix .nexus-wire-dot.active{
            color: #e524a1;
        }

@media (max-width: 768px){.nexus-crown-matrix .nexus-helm-array{
                display: none; 
            }

.nexus-crown-matrix{
                justify-content: center;
            }}

.nexus-crown-matrix {
    background: rgb(9, 9, 11);
    background-image: none;
}

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

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

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

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

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

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

.anchor-sole-anchor .anchor-matrix-fluid{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 6vw;
        }

.anchor-sole-anchor .anchor-wire-dot{
            font-size: 0.95rem;
            font-weight: 500;
            color: #a1a1aa;
            transition: color 0.15s ease;
            position: relative;
        }

.anchor-sole-anchor .anchor-wire-dot:hover{
            color: #ffffff;
        }

.anchor-sole-anchor .anchor-wire-dot.active{
            color: #e524a1;
        }

.anchor-sole-anchor{
            border-top: 1px solid #27272a;
            background: #09090b;
            padding: 4rem 0 2rem;
        }

.anchor-sole-anchor .anchor-sole-split{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 3rem;
            margin-bottom: 4rem;
        }

.anchor-sole-anchor .anchor-sole-brand{
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.02em;
        }

.anchor-sole-anchor .anchor-sole-links{
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
        }

.anchor-sole-anchor .anchor-sole-bottom{
            text-align: center;
            font-size: 0.875rem;
            color: #52525b;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

@media (max-width: 768px){.anchor-sole-anchor .anchor-sole-split{
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

.anchor-sole-anchor .anchor-sole-links{
                justify-content: center;
            }}