/* ===== 落地页（罗盘开场 · 工业调性 · 五行多色）===== */

.qi-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Hero：非对称分栏 */
.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 32px 64px;
    width: 100%;
}
.eyebrow {
    font-family: var(--font-mono);
    color: var(--wood);
    letter-spacing: 0.3em;
    font-size: 0.78rem;
    margin-bottom: 28px;
}
.display {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3.2rem, 8vw, 6rem);
    line-height: 0.92;
    letter-spacing: 0.01em;
    color: #f0f4ff;
}
.display .fire { color: var(--fire); }
.hero-sub {
    margin: 32px 0 40px;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 48ch;
}
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ghost-link {
    font-family: var(--font-mono);
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.ghost-link:hover { color: var(--wood); border-color: var(--wood); }
.ghost-link.big { font-size: 1rem; }

.hero-luopan { display: flex; justify-content: center; }
#luopan-hero { width: 100%; max-width: 420px; aspect-ratio: 1 / 1; }

/* 实时读数条 */
.readings {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 32px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--wood);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.readings-label { color: var(--fire); }
.cursor { animation: blink 1s steps(1) infinite; color: var(--wood); }
@keyframes blink { 50% { opacity: 0; } }

/* 模块台账 */
.modules {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 32px 40px;
}
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    color: #f0f4ff;
    margin-bottom: 36px;
}
.module {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    gap: 24px;
    align-items: baseline;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}
.module:last-child { border-bottom: 1px solid var(--line); }
.module-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1;
}
.module-num.fire { color: var(--fire); }
.module-num.earth { color: var(--earth); }
.module-num.wood { color: var(--wood); }
.module-num.water { color: var(--water); }
.module-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #f0f4ff;
    margin-bottom: 8px;
}
.module-body .hanzi { color: var(--muted); font-size: 0.9rem; margin-left: 8px; }
.module-body p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.module-tag {
    font-family: var(--font-mono);
    color: var(--metal);
    font-size: 1rem;
    text-align: right;
}

/* 知识入口 */
.knowledge {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 32px;
}
.knowledge-sub { color: var(--muted); max-width: 60ch; margin-bottom: 24px; line-height: 1.7; }

/* FAQ */
.faq {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 32px 80px;
}
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #f0f4ff;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::before { content: "+ "; color: var(--wood); }
.faq-item[open] summary::before { content: "\2212  "; }
.faq-item p { color: var(--muted); margin-top: 12px; line-height: 1.7; }
.faq-item a { color: var(--wood); }

/* 滚动渐显 */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 64px; }
    .hero-luopan { order: -1; }
    #luopan-hero { max-width: 280px; }
    .module { grid-template-columns: 56px 1fr; }
    .module-tag { display: none; }
}
/* 罗盘交互 */
#luopan-hero { cursor: grab; touch-action: none; }
#luopan-hero:active { cursor: grabbing; }
.luopan-hint {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    color: var(--muted);
    margin-top: 18px;
}
/* ===== 罗盘发现性增强：机关符 / 三印 / 演示字幕（2026-08-01）===== */

/* 机关符：六格菱形进度，转满一圈亮一格 */
.ward {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    min-height: 14px;
}
.ward-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--muted);
    margin-right: 4px;
}
.pip {
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    border: 1px solid rgba(107,122,153,0.55);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.pip.lit {
    background: var(--earth);
    border-color: var(--earth);
    box-shadow: 0 0 9px rgba(232,179,75,0.75);
}

/* 提示副行 */
.hint-sub {
    display: inline-block;
    margin-top: 7px;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    color: var(--earth);
    opacity: 0.75;
}

/* 三印收集 */
.seals {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    margin-top: 16px;
}
.seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: help;
}
.seal b {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--muted);
    border: 1px dashed rgba(107,122,153,0.5);
    border-radius: 3px;
    opacity: 0.55;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.seal em {
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    color: var(--muted);
    opacity: 0.7;
    transition: color 0.3s, opacity 0.3s;
}
.seal.found b {
    color: #fff;
    border-style: solid;
    opacity: 1;
    animation: seal-pop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.seal.found em { opacity: 1; }
.seal[data-fx="feitian"].found b { background: var(--fire); border-color: var(--fire); box-shadow: 0 0 14px rgba(255,92,77,0.5); }
.seal[data-fx="feitian"].found em { color: var(--fire); }
.seal[data-fx="stars"].found b   { background: var(--water); border-color: var(--water); box-shadow: 0 0 14px rgba(77,124,254,0.5); }
.seal[data-fx="stars"].found em  { color: var(--water); }
.seal[data-fx="loshu"].found b   { background: var(--earth); border-color: var(--earth); box-shadow: 0 0 14px rgba(232,179,75,0.5); color: #1a1f2e; }
.seal[data-fx="loshu"].found em  { color: var(--earth); }
@keyframes seal-pop {
    0%   { transform: scale(0.3) rotate(-14deg); }
    100% { transform: scale(1) rotate(0); }
}
.seal-count {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    align-self: center;
}

/* 自演示字幕 */
.luopan-caption {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--earth);
    margin-top: 12px;
    min-height: 1.2em;
    opacity: 0;
    transition: opacity 0.5s;
}
.luopan-caption.show { opacity: 1; }