/* 核心变量与视觉契约继承 */
:root {
    --primary: #d36e52;
    --primary-dim: rgba(211, 110, 82, 0.15);
    --primary-glow: rgba(211, 110, 82, 0.4);
    --bg-base: #161514;
    --bg-surface: #1e1d1c;
    --bg-elevated: #282625;
    --text-main: #f0ebe6;
    --text-muted: #99948e;
    --radius: 8px;
    --shadow-base: 0 4px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
    --shadow-hover: 0 12px 28px rgba(0,0,0,0.6), 0 4px 8px rgba(0,0,0,0.4);
    --transition: 0.35s ease;
    --max-width: 1200px;
}

/* 基础重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* 导航栏 (复用首页结构) */
.crown {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(22, 21, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.helm {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 5vw;
    min-width: 0;
}

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

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

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

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

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

.tie.active {
    color: var(--primary);
}

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

@media (max-width: 768px) {
    .mesh {
        display: none; /* 移动端简化，根据要求确保基础响应式 */
    }
}

/* 核心布局域 */
.zone {
    padding: 6rem 5vw;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

/* 文本规范 */
.hash {
    word-break: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.peak {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* 按钮/交互 */
.pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius);
    box-shadow: 0 0 20px var(--primary-dim);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    min-width: 0;
}

.pulse:hover, .pulse:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
    background-color: #e07b5f;
}

/* --- Hero 区域 (角色: intro) --- */
.portal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    padding-top: 10rem;
    position: relative;
}

.portal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: radial-gradient(circle at 50% 20%, #3a1a12, var(--bg-base) 60%);
    z-index: -1;
    pointer-events: none;
}

/* 纯CSS视觉焦点：电竞雷达波纹 */
.nexus {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

.nexus-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--primary);
    animation: ripple 4s linear infinite;
}

.nexus-ring:nth-child(1) { width: 200px; height: 200px; animation-delay: 0s; }
.nexus-ring:nth-child(2) { width: 400px; height: 400px; animation-delay: 1.33s; }
.nexus-ring:nth-child(3) { width: 600px; height: 600px; animation-delay: 2.66s; }

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.portal .peak {
    line-height: 1.2;
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    width: 100%;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.portal .peak span {
    color: var(--primary);
}

.portal .hash {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    width: 100%;
}

.portal-pack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    min-width: 0;
}

/* --- Features 区域 (角色: capability) --- */
.tunnel-head {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
}

.tunnel-head .peak {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

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

.vault {
    background: var(--bg-elevated);
    border: 1px solid #363330;
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2), var(--shadow-base);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

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

.vault:hover, .vault:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(211, 110, 82, 0.3);
}

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

.glyph {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: 16px;
    border: 1px solid #363330;
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.05);
    color: var(--primary);
}

.glyph svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.vault .peak {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.vault .hash {
    color: var(--text-muted);
    font-size: 1rem;
    flex-grow: 1;
}

/* --- Games 区域 (角色: faq/list) --- */
.veil {
    background: var(--bg-surface);
    border-top: 1px solid #2a2826;
    border-bottom: 1px solid #2a2826;
}

.veil-pack {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.veil-info {
    flex: 1;
    min-width: 300px;
}

.veil-info .peak {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.veil-info .hash {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.node {
    background: var(--bg-elevated);
    border: 1px solid #363330;
    border-radius: var(--radius);
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition);
}

.node:hover {
    background: #322f2c;
    border-color: var(--primary);
}

.node-glyph {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #4ade80; /* 模拟在线状态绿灯 */
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
    flex-shrink: 0;
}

.node .hash {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem;
    margin: 0;
}

/* --- Footer 区域 --- */
.base {
    background-color: var(--bg-base);
    border-top: 1px solid #2a2826;
    padding: 4rem 5vw;
    text-align: center;
}

.base .peak {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

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

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

.anchor:hover, .anchor:focus {
    color: var(--primary);
}

.sole {
    color: #66635e;
    font-size: 0.85rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .zone { padding: 4rem 5vw; }
    .portal { padding-top: 8rem; min-height: 60vh; }
    .pack-grid { grid-template-columns: 1fr; }
    .veil-pack { flex-direction: column; }
    .veil-matrix { width: 100%; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .veil-matrix { grid-template-columns: 1fr; }
}

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

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

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

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

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

.helm-crown a.helm-tie {
    --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-crown a.helm-tie,
.helm-crown a.helm-tie:hover,
.helm-crown a.helm-tie:focus,
.helm-crown a.helm-tie:active,
.helm-crown a.helm-tie.active,
.helm-crown a.helm-tie[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-crown{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(22, 21, 20, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid #363330;
        }

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

.helm-crown .helm-helm > *{ min-width: 0; }

.helm-crown .helm-crest{
            flex-shrink: 0;
            height: 32px;
            display: flex;
            align-items: center;
        }

.helm-crown .helm-crest img{
            height: 100%;
            width: auto;
            object-fit: contain;
        }

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

.helm-crown .helm-mesh > *{ min-width: 0; }

.helm-crown .helm-tie{
            font-size: 0.95rem;
            font-weight: 500;
            color: #99948e;
            padding: 0.5rem 0;
            position: relative;
        }

.helm-crown .helm-tie:hover{
            color: #f0ebe6;
        }

.helm-crown .helm-tie.active{
            color: #d36e52;
        }

.helm-crown .helm-tie.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #d36e52;
            border-radius: 2px;
        }

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

.helm-crown {
    background: rgb(22, 21, 20);
    background-image: none;
}

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

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

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

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

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

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

.base-sole .base-tie{
            font-size: 0.95rem;
            font-weight: 500;
            color: #99948e;
            padding: 0.5rem 0;
            position: relative;
        }

.base-sole .base-tie:hover{
            color: #f0ebe6;
        }

.base-sole .base-tie.active{
            color: #d36e52;
        }

.base-sole .base-tie.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #d36e52;
            border-radius: 2px;
        }

.base-sole{
            background-color: #1e1d1c;
            border-top: 1px solid #363330;
            padding: 4rem 5vw;
            color: #99948e;
            font-size: 0.9rem;
        }

.base-sole .base-base{
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
        }

.base-sole .base-base > *{ min-width: 0; }

.base-sole .base-root{
            font-size: 1.2rem;
            font-weight: 700;
            color: #f0ebe6;
            letter-spacing: 0.5px;
        }

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

.base-sole .base-anchor-pack > *{ min-width: 0; }

@media (max-width: 768px){.base-sole .base-base{
                flex-direction: column;
                align-items: flex-start;
            }}