/* index.css - 首页（C 为主体 + A 的 Hero 元素 · v3.0） */

/* ============ 主容器 ============ */
.home-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 80px;
    position: relative;
    z-index: 2;
}

/* ============================================================
   Hero
   ============================================================ */
.home-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 120px;
}

.hero-rail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

.hero-glow {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(212, 162, 76, 0.13) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    background: rgba(212, 162, 76, 0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    margin-bottom: 40px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.hero-badge-tag {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 8px;
    text-indent: 8px;
    font-family: "STKaiti", "KaiTi", "楷体", serif;
    text-shadow: 0 0 12px rgba(212, 162, 76, 0.35);
}
.hero-badge-sep {
    color: var(--gold-deep);
    opacity: 0.6;
}
.hero-badge-year {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 1.5px;
    font-family: var(--font-mono);
}

/* ============ 超大年份 ============ */
.hero-years {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
    margin-bottom: 20px;
    position: relative;
}
.hero-year-start,
.hero-year-end {
    font-size: clamp(3.2rem, 9vw, 7.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(212, 162, 76, 0.35));
    font-family: var(--font-mono);
}
.hero-year-start {
    opacity: 0.6;
}
.hero-year-line {
    display: inline-block;
    width: clamp(50px, 10vw, 140px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-deep) 20%, var(--gold) 50%, var(--gold-bright) 80%, transparent);
    border-radius: 2px;
    position: relative;
    box-shadow: 0 0 20px rgba(212, 162, 76, 0.5);
    flex-shrink: 0;
}
.hero-year-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--gold-bright);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--gold-bright);
    animation: heroDotPulse 2.4s ease-in-out infinite;
}
@keyframes heroDotPulse {
    0%, 100% { box-shadow: 0 0 12px var(--gold-bright); transform: translate(-50%, -50%) scale(1); }
    50% { box-shadow: 0 0 24px var(--gold-bright), 0 0 40px rgba(240, 198, 116, 0.5); transform: translate(-50%, -50%) scale(1.2); }
}

/* ============ 标题副标 ============ */
.hero-title {
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
    margin: 12px 0 22px;
}

.hero-desc {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: var(--text-dim);
    line-height: 1.9;
    max-width: 620px;
    margin: 0 auto 36px;
    letter-spacing: 0.4px;
}
.hero-desc-line { display: block; }
.hero-desc-line.highlight {
    color: var(--gold);
    font-weight: 500;
}

/* ============ 按钮 ============ */
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: 100px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 0.5px;
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    box-shadow: 0 10px 30px rgba(212, 162, 76, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 162, 76, 0.5);
}
.btn-ghost {
    background: rgba(212, 162, 76, 0.04);
    color: var(--text);
    border-color: var(--border-hover);
}
.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 162, 76, 0.1);
    transform: translateY(-3px);
}

/* ============ 信号灯带 ============ */
.hero-signal-bar {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 28px;
    background: rgba(10, 8, 6, 0.75);
    border: 1px solid var(--border);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    z-index: 2;
}
.signal-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
}
.signal-item i { font-size: 0.8rem; opacity: 0.8; }
.signal-sep {
    color: var(--gold-deep);
    opacity: 0.5;
}

/* ============================================================
   章节通用
   ============================================================ */
.home-section {
    position: relative;
    padding: 70px 0;
    scroll-margin-top: 100px;
}
.home-section + .home-section {
    margin-top: 10px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
}
.section-head::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.section-head h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: -0.02em;
}
.section-head h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
    border-radius: 2px;
    box-shadow: 0 0 12px var(--gold-glow);
}
.section-head .section-sub {
    color: var(--text-mute);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

/* ============================================================
   数据里程碑
   ============================================================ */
.milestone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.milestone {
    position: relative;
    padding: 32px 24px 28px;
    background: linear-gradient(135deg, rgba(212, 162, 76, 0.04), rgba(212, 162, 76, 0.01));
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}
.milestone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.6;
}
.milestone::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(212, 162, 76, 0.15);
    border-radius: 12px;
    pointer-events: none;
}
.milestone:hover {
    border-color: var(--border-hover);
    background: linear-gradient(135deg, rgba(212, 162, 76, 0.08), rgba(212, 162, 76, 0.02));
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 162, 76, 0.08);
}

.milestone-icon {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 14px;
    opacity: 0.7;
}

.milestone-num {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--gold-bright);
    font-family: var(--font-mono);
    line-height: 1;
    letter-spacing: -0.04em;
    display: inline-block;
    text-shadow: 0 0 30px rgba(212, 162, 76, 0.4);
    will-change: transform, filter;
    position: relative;
    transform-origin: bottom center;
}

.milestone-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    margin-top: 14px;
}

/* 数字动画 */
@keyframes mileNumberRise {
    0%   { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}
@keyframes mileNumberJump {
    0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 0 transparent); }
    50%      { transform: translateY(-10px) scale(1.06); filter: drop-shadow(0 0 20px rgba(240, 198, 116, 0.8)); color: #fff; }
}
@keyframes mileNumberPulse {
    0%, 100% { transform: translateY(0); color: var(--gold-bright); text-shadow: 0 0 30px rgba(212, 162, 76, 0.4); }
    50%      { transform: translateY(-4px); color: #fff; text-shadow: 0 0 24px rgba(240, 198, 116, 0.9); }
}
@keyframes mileDataIncrease {
    0%   { transform: translateY(10px); opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 0.6; }
    100% { transform: translateY(-24px); opacity: 0; }
}

.milestone-num.is-rising {
    animation: mileNumberRise 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.milestone-num.is-counting {
    animation: mileNumberJump 0.4s ease-in-out infinite;
    color: #fff;
}
.milestone-num.is-pulsing-forever {
    animation: mileNumberPulse 3s ease-in-out infinite;
}
.milestone-num.is-pulsing-forever::after {
    content: "+";
    position: absolute;
    right: -18px;
    top: 6px;
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: bold;
    opacity: 0;
    animation: mileDataIncrease 3s ease-out infinite;
}

/* ============================================================
   三节车厢导航（桌面端）
   ============================================================ */
.carriages-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 10px;
}
.carriages-mobile {
    display: none;
    flex-direction: column;
    gap: 14px;
}

.home-carriage-block {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}
.home-carriage-block:hover {
    transform: translateY(-8px);
}

/* 车厢上方的方向站牌 */
.home-carriage-board {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: linear-gradient(135deg, rgba(212, 162, 76, 0.14), rgba(212, 162, 76, 0.04));
    border: 1px solid var(--border-hover);
    border-radius: 10px 10px 0 0;
    border-bottom: none;
    position: relative;
    box-shadow: 0 -2px 20px rgba(212, 162, 76, 0.08);
}
.home-carriage-board::before,
.home-carriage-board::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 8px var(--gold-glow);
}
.home-carriage-board::before { left: 10px; }
.home-carriage-board::after  { right: 10px; }
.board-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 1px;
    font-family: "STKaiti", "KaiTi", "楷体", serif;
    padding-left: 8px;
}
.board-sub {
    font-size: 0.8rem;
    color: var(--text); 
    font-weight: 600; 
    letter-spacing: 1px;
    font-family: var(--font-mono);
    margin-left: auto;
    padding-right: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); /* ★ 增加一点暗色阴影，增强阅读层次 */
}

/* 车厢本体：压缩到首页尺寸 */
.home-carriage-block .rc-carriage {
    width: 100%;
    max-width: 100%;
    height: 180px;
    border-radius: 0 0 10px 10px;
    border-top: none;

    --rc-h: 180px;
    --rc-belt1-top: 18px;
    --rc-belt1-h: 8px;
    --rc-win-top: 34px;
    --rc-belt2-top: 132px;
    --rc-belt2-h: 10px;
    --rc-board-top: 0;
    --rc-board-w: 0;
    --rc-board-h: 0;

    /* 覆盖车窗尺寸：保持原版 133:126（约 1.05:1）的横向长宽比 */
    --rc-win-w: 88px;
    --rc-win-h: 84px;
    --rc-win-radius: 10px;
}
.home-carriage-block .rc-carriage__windows {
    gap: 24px;
}
.home-carriage-block .rc-carriage__board {
    display: none;
}
.home-carriage-block:hover .rc-carriage {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 162, 76, 0.2);
}

/* ============ 移动端车厢卡 ============ */
.carriage-card {
    display: flex;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}
.carriage-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
    box-shadow: 0 0 12px var(--gold-glow);
}
.carriage-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-3);
    transform: translateY(-2px);
}
.carriage-card-img {
    width: 110px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-1);
}
.carriage-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carriage-card-belt {
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    bottom: 28px;
    box-shadow: 0 0 12px currentColor;
}
.belt-green { background: linear-gradient(90deg, transparent, #fff0a0, transparent); }
.belt-red   { background: linear-gradient(90deg, transparent, #e03030, transparent); }
.belt-blue  { background: linear-gradient(90deg, transparent, #3070c0, transparent); }

.carriage-card-info {
    flex: 1;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}
.carriage-card-tag {
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 1.5px;
    font-family: var(--font-mono);
    text-transform: uppercase;
}
.carriage-card-info h3 {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}
.carriage-card-info p {
    font-size: 0.8rem;
    color: var(--text-mute);
    margin: 0;
}
.carriage-card-cta {
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}
.carriage-card-cta i {
    transition: transform 0.3s ease;
}
.carriage-card:hover .carriage-card-cta i {
    transform: translateX(4px);
}

/* ============================================================
   文创产品横幅
   ============================================================ */
.product-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 40px 48px;
    background: linear-gradient(135deg, rgba(212, 162, 76, 0.1), rgba(184, 115, 51, 0.02));
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}
.product-banner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
    box-shadow: 0 0 20px var(--gold-glow);
}
.product-banner::after {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 162, 76, 0.15), transparent 70%);
    pointer-events: none;
}
.product-banner:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 162, 76, 0.1);
}
.product-banner-content { position: relative; z-index: 1; }
.product-label {
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 4px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}
.product-banner h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--text);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.product-banner p {
    font-size: 0.92rem;
    color: var(--text-dim);
    margin: 0;
    line-height: 1.7;
}
.product-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(212, 162, 76, 0.3);
    flex-shrink: 0;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}
.product-banner-cta i { transition: transform 0.3s ease; }
.product-banner:hover .product-banner-cta {
    transform: translateX(4px);
}
.product-banner:hover .product-banner-cta i {
    transform: translateX(6px);
}

/* ============================================================
   数字博物馆横幅
   ============================================================ */
.museum-banner {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-hover);
    min-height: 400px;
    transition: all 0.4s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.museum-banner:hover {
    border-color: var(--gold);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(212, 162, 76, 0.15);
}
.museum-banner-bg {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    background: var(--bg-1);
}
.museum-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.85);
    transition: filter 0.4s ease;
}
.museum-banner:hover .museum-banner-bg img {
    filter: brightness(0.7) saturate(1);
}
.museum-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(10, 8, 6, 0.88) 0%,
        rgba(10, 8, 6, 0.55) 50%,
        rgba(10, 8, 6, 0.85) 100%);
    pointer-events: none;
}
.museum-banner-content {
    position: relative;
    z-index: 1;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 400px;
    max-width: 640px;
}
.museum-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: var(--font-mono);
    font-weight: 700;
    margin-bottom: 20px;
}
.museum-label::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--gold);
}
.museum-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text), var(--gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.museum-banner p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 480px;
}
.museum-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(212, 162, 76, 0.3);
    transition: all 0.3s ease;
}
.museum-banner:hover .museum-cta {
    transform: translateX(6px);
    box-shadow: 0 15px 40px rgba(212, 162, 76, 0.5);
}

/* ============================================================
   地图横幅
   ============================================================ */
.map-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(212, 162, 76, 0.08), rgba(10, 8, 6, 0.4));
    border: 1px solid var(--border-hover);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}
.map-banner:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 162, 76, 0.12);
}
.map-banner-content { position: relative; z-index: 1; flex: 1; min-width: 0; }
.map-label {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 4px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.map-banner h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    color: var(--text);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.map-banner p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin: 0 0 24px;
}
.map-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(212, 162, 76, 0.3);
    transition: transform 0.3s ease;
}
.map-banner:hover .map-cta {
    transform: translateX(4px);
}
.map-banner-visual {
    font-size: 12rem;
    color: rgba(212, 162, 76, 0.08);
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}
.map-banner:hover .map-banner-visual {
    color: rgba(212, 162, 76, 0.22);
    transform: scale(1.1) rotate(-5deg);
}

/* ============================================================
   结尾
   ============================================================ */
.epilogue-section {
    text-align: center;
}
.epilogue-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(212, 162, 76, 0.05), rgba(212, 162, 76, 0.01));
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
}
.epilogue-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.epilogue-content blockquote {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--gold);
    font-family: "STKaiti", "KaiTi", "楷体", serif;
    letter-spacing: 0.5px;
    margin: 0 0 24px;
}
.epilogue-author {
    font-size: 0.88rem;
    color: var(--gold-bright);
    font-family: var(--font-mono);
    letter-spacing: 2px;
    margin: 0 0 32px;
}
.epilogue-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   右侧锚点导航
   ============================================================ */
.home-sub-nav {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    pointer-events: none;
}
.home-sub-inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px 8px;
    pointer-events: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    position: relative;
}
.home-sub-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.home-sub-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 12px;
    font-size: 0.88rem;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 2px;
    font-family: "STKaiti", "KaiTi", "楷体", "Kaiti SC", serif;
    font-weight: 500;
    transition: all 0.25s ease;
    border-radius: 8px;
    position: relative;
    white-space: nowrap;
}
.home-sub-link::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-mute);
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.home-sub-link:hover {
    color: var(--gold);
    background: rgba(212, 162, 76, 0.06);
    padding-left: 16px;
}
.home-sub-link:hover::before {
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold-glow);
}
.home-sub-link.active {
    color: var(--gold-bright);
    background: rgba(212, 162, 76, 0.12);
    font-weight: 700;
    letter-spacing: 2.5px;
    text-shadow: 0 0 12px var(--gold-glow);
}
.home-sub-link.active::before {
    width: 6px;
    height: 6px;
    background: var(--gold-bright);
    box-shadow: 0 0 12px var(--gold-bright);
}
.home-sub-link.active::after {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--gold-bright), transparent);
    border-radius: 2px;
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 162, 76, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 900;
}
.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 162, 76, 0.6);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .home-wrap { padding: 0 24px 60px; }
    .milestone-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .milestone-num { font-size: 2.4rem; }
    .home-sub-nav { right: 16px; }
    .home-sub-link { padding: 8px 12px 8px 10px; font-size: 0.82rem; letter-spacing: 1.5px; }
    .carriages-desktop { gap: 18px; }
    .home-carriage-block .rc-carriage {
        height: 160px;
        --rc-h: 160px;
        --rc-win-top: 30px;
        --rc-belt2-top: 118px;
        --rc-win-w: 76px;
        --rc-win-h: 72px;
        --rc-win-radius: 8px;
    }
    .home-carriage-block .rc-carriage__windows { gap: 16px; }
    .museum-banner-content { padding: 48px 36px; }
    .map-banner { padding: 36px; }
    .map-banner-visual { font-size: 8rem; }
}

@media (max-width: 767px) {
    .home-hero {
        min-height: calc(100vh - 70px);
        padding: 60px 0 120px;
    }
    .hero-glow {
        width: 500px;
        height: 500px;
    }
    .hero-badge {
        padding: 6px 18px;
        gap: 8px;
        margin-bottom: 30px;
    }
    .hero-badge-tag { font-size: 0.85rem; letter-spacing: 5px; text-indent: 5px; }
    .hero-badge-year { font-size: 0.72rem; }
    .hero-year-start,
    .hero-year-end { font-size: 3rem; }
    .hero-year-line { width: 50px; }
    .hero-title { font-size: 1.35rem; }
    .hero-desc { font-size: 0.9rem; margin-bottom: 30px; line-height: 1.8; }
    .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
    .btn-primary, .btn-ghost { justify-content: center; width: 100%; }
    .hero-signal-bar {
        bottom: 24px;
        font-size: 0.72rem;
        padding: 8px 20px;
        gap: 10px;
    }

    .home-sub-nav { display: none; }

    .home-section { padding: 48px 0; scroll-margin-top: 80px; }
    .section-head { margin-bottom: 24px; padding-bottom: 14px; }
    .section-head h2 { font-size: 1.2rem; }
    .section-head h2::before { height: 20px; }
    .section-head .section-sub { font-size: 0.68rem; letter-spacing: 1.5px; }

    .milestone-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .milestone { padding: 22px 14px 20px; }
    .milestone::after { inset: 6px; }
    .milestone-num { font-size: 2rem; }
    .milestone-icon { font-size: 1rem; margin-bottom: 10px; }
    .milestone-label { font-size: 0.7rem; letter-spacing: 1.5px; margin-top: 10px; }

    /* 车厢：隐藏桌面，显示移动 */
    .carriages-desktop { display: none; }
    .carriages-mobile { display: flex; }

    .product-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        gap: 20px;
    }
    .product-banner h2 { font-size: 1.3rem; }
    .product-banner p { font-size: 0.85rem; }
    .product-banner-cta { width: 100%; justify-content: center; }

    .museum-banner-content {
        padding: 36px 24px;
        min-height: 320px;
    }
    .museum-banner h2 { font-size: 1.5rem; }
    .museum-banner p { font-size: 0.88rem; margin-bottom: 22px; }

    .map-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        gap: 20px;
    }
    .map-banner h2 { font-size: 1.35rem; }
    .map-banner p { font-size: 0.88rem; }
    .map-banner-visual { font-size: 5rem; align-self: center; }
    .map-cta { width: 100%; justify-content: center; }

    .epilogue-content { padding: 36px 24px; }
    .epilogue-content blockquote { font-size: 1rem; }

    .back-to-top { bottom: 20px; right: 20px; width: 46px; height: 46px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .home-wrap { padding: 0 14px 40px; }
    .hero-year-start,
    .hero-year-end { font-size: 2.5rem; }
    .hero-year-line { width: 44px; }
    .hero-year-line::before { width: 8px; height: 8px; }
    .hero-title { font-size: 1.2rem; }
    .hero-badge-tag { letter-spacing: 4px; text-indent: 4px; }
    .hero-signal-bar { font-size: 0.68rem; padding: 7px 16px; gap: 8px; }

    .milestone-num { font-size: 1.75rem; }
    .milestone-label { font-size: 0.66rem; }

    .carriage-card-img { width: 90px; }
    .carriage-card-info { padding: 14px; }
    .carriage-card-info h3 { font-size: 1rem; }

    .museum-banner-content { padding: 28px 20px; min-height: 280px; }
    .museum-banner h2 { font-size: 1.3rem; }
    .museum-cta { padding: 10px 22px; font-size: 0.85rem; }

    .epilogue-content blockquote { font-size: 0.95rem; }
}