/* ================= 全局变量与基础 ================= */
:root {
    --tea-green: #6a9955;
    --tea-dark: #4a5d23;
    --accent-gold: #cfa86e;
    --bg-light: #fdfbf7;
    --text-dark: #2c3e50;
    --text-main: #555;
    --wok-iron: #5a5a5a;
    --fire-red: #e74c3c;
    --fire-orange: #ff6b35;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

.serif-title { font-family: "Songti SC", "Noto Serif SC", "SimSun", "STSong", serif; font-weight: 700; }
.text-center { text-align: center; }

/* ================= 导航栏 ================= */
header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px);
    border: 1px solid #eae3d9;
    padding: 15px 40px; border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); z-index: 1000;
    display: flex; gap: 30px;
}
header a {
    text-decoration: none; color: #7f8c8d; transition: 0.3s;
    font-size: 15px; font-weight: 500;
}
header a.active, header a:hover { color: var(--tea-green); }

.section-heading { margin-bottom: 40px; text-align: center; }
.section-heading .tag { display: inline-block; color: var(--tea-green); font-size: 0.9rem; margin-bottom: 10px; letter-spacing: 2px; }
.section-heading h2 { font-size: 2.2rem; color: var(--text-dark); }

/* ---- 页面容器 ---- */
.page-wrapper { padding-top: 90px; }

/* ================= 游戏工坊容器 ================= */
.game-section { padding: 60px 5%; max-width: 800px; margin: 0 auto; }
.game-container {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

/* ---- 步骤指示器 ---- */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}
.step-item {
    color: #ccc;
    font-weight: bold;
    transition: all 0.3s;
    position: relative;
    padding: 5px 10px;
}
.step-item.active { color: var(--tea-green); }
.step-item.done { color: var(--accent-gold); }
.step-item.done::after {
    content: ' ✓';
    font-size: 0.8rem;
}

.game-instruction {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.8;
    min-height: 60px;
}

/* ================= 交互区基础 ================= */
.interactive-zone {
    height: 360px;
    border: 2px dashed #e0d5c1;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    cursor: default;
    background: #fafaf7;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* ---- 品质指示器 ---- */
.quality-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.quality-label {
    color: #999;
    font-weight: bold;
}

.quality-stars {
    color: var(--accent-gold);
    letter-spacing: 2px;
    transition: color 0.5s;
}

.quality-score {
    font-weight: bold;
    color: var(--accent-gold);
    min-width: 32px;
    text-align: center;
    transition: color 0.5s;
}

/* ================= 进度条 ================= */
.progress-wrapper {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}
.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--tea-green);
    transition: width 0.3s ease;
    border-radius: 5px;
}

/* ================= 通用按钮 ================= */
.game-btn {
    background: var(--tea-green);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 auto;
    letter-spacing: 1px;
}
.game-btn:hover { background: var(--tea-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(106,153,85,0.3); }
.game-btn:active { transform: scale(0.97); }
.btn-next { background: var(--accent-gold); }
.btn-next:hover { background: #b8944e; }
.btn-restart { background: var(--tea-dark); }
.btn-restart:hover { background: #3a4d18; }

/* ================================================================ */
/* 第一道：采青 - 茶园场景                                        */
/* ================================================================ */
.scene-garden {
    background: linear-gradient(180deg, #e8f5e9 0%, #c8e6c9 40%, #a5d6a7 70%, #81c784 100%) !important;
    border-color: #a5d6a7 !important;
}

.garden-bg {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.garden-sky {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(180deg, #bbdefb 0%, #e3f2fd 60%, #f1f8e9 100%);
}

.garden-hills {
    position: absolute;
    top: 30%; left: 0; right: 0;
    height: 40%;
    background:
        radial-gradient(ellipse at 20% 60%, #81c784 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, #a5d6a7 0%, transparent 55%),
        radial-gradient(ellipse at 50% 70%, #66bb6a 0%, transparent 50%);
}

/* 茶丛 */
.tea-bushes {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 65%;
    z-index: 2;
}

.tea-bush {
    position: absolute;
    width: 120px;
    height: 120px;
}

.bush-body {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: radial-gradient(ellipse at center, #4caf50 0%, #388e3c 60%, #2e7d32 100%);
    border-radius: 50% 50% 30% 30%;
    box-shadow: inset 0 -10px 20px rgba(0,0,0,0.15);
}

.bush-body-small {
    width: 70%;
    height: 50%;
    left: 15%;
}

.bush-leaves {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 80%;
}

/* 茶芽 */
.tea-bud {
    position: absolute;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    animation: bud-appear 0.4s ease-out;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

.tea-bud:hover {
    transform: scale(1.3);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.tea-bud.good-bud { }
.tea-bud.bad-bud { font-size: 26px; opacity: 0.8; }

.tea-bud.picked {
    animation: pick-pop 0.3s ease-out forwards;
    pointer-events: none;
}

.tea-bud.wrong-pick {
    animation: wrong-shake 0.4s ease-out forwards;
    pointer-events: none;
}

@keyframes bud-appear {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pick-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(0); opacity: 0; }
}

@keyframes wrong-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); color: #f44336; }
    75% { transform: translateX(8px); color: #f44336; }
}

/* 采摘粒子 */
.pick-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #4caf50;
    border-radius: 50%;
    pointer-events: none;
    animation: particle-burst 0.6s ease-out forwards;
    z-index: 20;
}

@keyframes particle-burst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* 浮动文字 */
.floating-text {
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    pointer-events: none;
    z-index: 30;
    animation: float-up 1s ease-out forwards;
}

@keyframes float-up {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-40px) scale(1.2); opacity: 0; }
}

/* 竹篮UI */
.basket-ui {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 20;
    font-weight: bold;
    color: var(--tea-dark);
}
.basket-icon { font-size: 24px; }
.basket-count { font-size: 18px; min-width: 40px; text-align: center; }

/* ================================================================ */
/* 第二道：杀青 - 铁锅场景                                        */
/* ================================================================ */
.scene-wok {
    background: radial-gradient(ellipse at center, #fff9f0 0%, #f5e6d3 100%) !important;
    border-color: #d4b896 !important;
}

.wok-station {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* 温度显示 */
.temp-display {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    padding: 6px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.temp-display.small {
    position: absolute;
    bottom: 10px;
    top: auto;
}

.temp-label {
    font-size: 0.8rem;
    color: #999;
    font-weight: bold;
}

.temp-gauge-outer {
    width: 14px;
    height: 60px;
    background: #eee;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
}

.temp-gauge-fill {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 0%;
    background: #ff9800;
    border-radius: 0 0 7px 7px;
    transition: height 0.3s, background 0.3s;
}

.temp-zone-mark {
    position: absolute;
    left: 18px;
    font-size: 0.6rem;
    color: #999;
    white-space: nowrap;
}

.zone-low { bottom: 20%; }
.zone-optimal { bottom: 55%; color: #4caf50; font-weight: bold; }
.zone-high { bottom: 80%; color: #f44336; }

.temp-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ff9800;
    min-width: 55px;
}

/* 铁锅 */
.wok-fireplace {
    position: relative;
    width: 200px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wok-fire-glow {
    position: absolute;
    bottom: -10px;
    width: 140px;
    height: 60px;
    background: radial-gradient(ellipse, rgba(255,107,53,0.6) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.wok-body {
    width: 160px;
    height: 90px;
    background: linear-gradient(180deg, #6a6a6a 0%, #4a4a4a 40%, #3a3a3a 100%);
    border-radius: 0 0 90px 90px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.15s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.1);
    border: 3px solid #555;
    border-top: 1px solid #777;
}

.wok-body:hover {
    transform: scale(1.03);
}

.wok-body.wok-shake {
    animation: wok-shake 0.15s ease-out;
}

@keyframes wok-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px) rotate(-1deg); }
    75% { transform: translateX(4px) rotate(1deg); }
}

.wok-inner-surface {
    position: absolute;
    top: 10px; left: 20px; right: 20px; bottom: 25px;
    background: linear-gradient(180deg, #555 0%, #444 100%);
    border-radius: 0 0 60px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wok-tea-leaves {
    display: flex;
    gap: 8px;
    transition: transform 0.15s, filter 0.3s;
}

.leaf-in-wok {
    font-size: 22px;
    transition: transform 0.15s;
}

.wok-handle {
    position: absolute;
    width: 40px;
    height: 8px;
    background: #8d6e63;
    border-radius: 4px;
    z-index: 3;
    top: 30px;
}

.left-handle { left: -30px; }
.right-handle { right: -30px; }

/* 翻炒提示 */
.stir-hint {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    z-index: 5;
}

/* 蒸汽区域 */
.steam-area {
    position: absolute;
    top: -20px;
    left: 0; right: 0;
    height: 40px;
    pointer-events: none;
    z-index: 5;
}

.steam-particle {
    position: absolute;
    bottom: 0;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    filter: blur(4px);
    animation: steam-rise 2s ease-out forwards;
    pointer-events: none;
}

@keyframes steam-rise {
    0% { transform: translateY(0) scale(1); opacity: 0.8; }
    100% { transform: translateY(-60px) scale(3); opacity: 0; }
}

/* 飞溅效果 */
.sizzle-effect {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
    animation: sizzle 0.4s ease-out forwards;
}

@keyframes sizzle {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--drift, 5px), -20px) scale(0); opacity: 0; }
}

/* ================================================================ */
/* 第三道：揉捻 - 竹筛场景                                        */
/* ================================================================ */
.scene-rolling {
    background: radial-gradient(ellipse at center, #fefdf5 0%, #f5f0e0 100%) !important;
    border-color: #d4c8a0 !important;
}

.rolling-station {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bamboo-tray-container {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #e8d5a3 0%, #d4c080 30%, #c8b070 60%, #d4c080 100%);
    border-radius: 50%;
    border: 12px solid #b8954a;
    position: relative;
    cursor: grab;
    transition: transform 0.1s;
    box-shadow:
        0 6px 20px rgba(0,0,0,0.15),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.1);
}

.bamboo-tray-container:active { cursor: grabbing; }

.tray-texture {
    position: absolute;
    top: 5%; left: 5%; right: 5%; bottom: 5%;
    border-radius: 50%;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(139,100,40,0.06) 8px, rgba(139,100,40,0.06) 9px),
        repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(139,100,40,0.06) 8px, rgba(139,100,40,0.06) 9px);
    pointer-events: none;
}

.tray-leaves-group {
    position: absolute;
    top: 10%; left: 10%; right: 10%; bottom: 10%;
    pointer-events: none;
}

.tray-leaf {
    position: absolute;
    font-size: 28px;
    transition: all 0.5s ease;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.tray-leaf.curled {
    transform: rotate(180deg) scale(0.7) !important;
    filter: brightness(0.7) drop-shadow(0 1px 2px rgba(0,0,0,0.15)) !important;
}

.rolling-hint {
    font-size: 0.9rem;
    color: #888;
}

.juice-indicator {
    font-size: 0.85rem;
    color: #8d6e63;
    font-weight: bold;
    transition: opacity 0.3s;
}

/* ================================================================ */
/* 第四道：干燥 - 炭火烘焙场景                                    */
/* ================================================================ */
.scene-drying {
    background: radial-gradient(ellipse at center bottom, #3a2010 0%, #2a1810 40%, #1a1008 100%) !important;
    border-color: #3a2010 !important;
}

.drying-station {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* 干燥架 */
.drying-rack {
    position: absolute;
    top: 20px;
    width: 180px;
    height: 100px;
    z-index: 5;
}

.rack-frame {
    position: absolute;
    top: 0; left: 10px; right: 10px; bottom: 0;
    border: 3px solid #8d6e63;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}

.rack-shelf {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: #8d6e63;
}

.tea-on-rack {
    position: absolute;
    top: 5px; left: 20px; right: 20px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    transition: filter 0.5s;
}

.drying-leaf {
    font-size: 20px;
    transition: all 0.5s;
}

/* 成品展示 */
.finished-tea {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.finished-icon {
    font-size: 40px;
    animation: finished-glow 2s ease-in-out infinite;
}

@keyframes finished-glow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(207,168,110,0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(207,168,110,0.9)); }
}

.finished-label {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-family: "Songti SC", "Noto Serif SC", "SimSun", "STSong", serif;
    font-weight: bold;
}

/* 干燥蒸汽 */
.dry-steam {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    filter: blur(5px);
    pointer-events: none;
    animation: dry-steam-rise 2s ease-out forwards;
}

@keyframes dry-steam-rise {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    100% { transform: translateY(-30px) scale(2.5); opacity: 0; }
}

/* 炭火坑 */
.charcoal-pit {
    position: absolute;
    bottom: 20px;
    width: 160px;
    height: 80px;
    background: radial-gradient(ellipse at center, #5d4037 0%, #3e2723 100%);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.15s;
}

.charcoal-pit:active {
    transform: scale(1.03);
}

.charcoal-glow {
    position: absolute;
    top: -15px; left: 20%; right: 20%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(255,107,53,0.8) 0%, rgba(255,60,30,0.4) 50%, transparent 80%);
    border-radius: 50%;
    transition: opacity 0.3s;
    pointer-events: none;
}

.charcoal-glow.glow-pulse {
    animation: glow-pulse 0.3s ease-out;
}

@keyframes glow-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.8; }
    100% { transform: scale(1); }
}

.charcoal-pieces {
    position: absolute;
    bottom: 5px; left: 10%; right: 10%;
    height: 40px;
}

.charcoal {
    position: absolute;
    background: #1a1a1a;
    border-radius: 30%;
}

.charcoal.c1 {
    width: 35px; height: 18px;
    bottom: 5px; left: 10px;
    transform: rotate(-10deg);
    box-shadow: 0 0 8px rgba(255,107,53,0.4);
}

.charcoal.c2 {
    width: 40px; height: 20px;
    bottom: 8px; left: 45px;
    transform: rotate(5deg);
    box-shadow: 0 0 10px rgba(255,107,53,0.5);
}

.charcoal.c3 {
    width: 30px; height: 16px;
    bottom: 4px; left: 80px;
    transform: rotate(15deg);
    box-shadow: 0 0 6px rgba(255,107,53,0.3);
}

.charcoal.c4 {
    width: 25px; height: 14px;
    bottom: 12px; left: 30px;
    transform: rotate(-5deg);
    box-shadow: 0 0 5px rgba(255,107,53,0.3);
}

/* 火星 */
.spark-area {
    position: absolute;
    bottom: 20px; left: 0; right: 0;
    height: 40px;
    pointer-events: none;
}

.spark-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffab40;
    border-radius: 50%;
    pointer-events: none;
    animation: spark-fly 1s ease-out forwards;
    box-shadow: 0 0 4px #ff6e40;
}

@keyframes spark-fly {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--drift, 10px), -50px) scale(0); opacity: 0; }
}

/* 扇风提示 */
.fan-hint {
    font-size: 0.9rem;
    color: #ccc;
    z-index: 5;
    margin-bottom: 25px;
}

/* ================================================================ */
/* 丝路记忆：无界长卷排版                                          */
/* ================================================================ */
.scroll-narrative-section { padding: 80px 5%; background: transparent; overflow: hidden; }
.narrative-container { max-width: 1100px; margin: 60px auto 0; position: relative; }

.narrative-container::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(143, 162, 117, 0.3), transparent); z-index: 0;
}

.narrative-item {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 120px; position: relative; z-index: 1;
    opacity: 0; transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.narrative-item.visible { opacity: 1; transform: translateY(0); }

.narrative-item { cursor: pointer; }
.narrative-item:hover .narrative-visual img { transform: translateY(-4px); box-shadow: 20px 24px 48px rgba(0,0,0,0.12); }
.narrative-item:hover .narrative-link { gap: 15px; color: var(--accent-gold); }

.narrative-visual { width: 55%; position: relative; }
.narrative-text { width: 40%; position: relative; }

/* 展览图片 */
.narrative-visual img {
    width: 100%; height: 400px; object-fit: cover; display: block;
    box-shadow: 15px 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.visual-deco-line {
    position: absolute; bottom: -20px; width: 80%; height: 1px;
    background-color: var(--tea-green);
}

.left-image .visual-deco-line { right: -30px; }
.right-image .visual-deco-line { left: -30px; }
.right-image { flex-direction: row-reverse; }

.chapter-num {
    display: block; font-size: 3.5rem; font-family: "Songti SC", "Noto Serif SC", "SimSun", "STSong", serif;
    color: rgba(143, 162, 117, 0.15); margin-bottom: -20px; line-height: 1;
}

.narrative-text h3 {
    font-size: 1.8rem; color: var(--text-dark);
    font-family: "Songti SC", "Noto Serif SC", "SimSun", "STSong", serif; margin-bottom: 20px;
}

.narrative-text p {
    font-size: 1.05rem; line-height: 1.9; color: var(--text-main);
    margin-bottom: 30px; text-align: justify;
}

.narrative-link {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 1.1rem; color: var(--tea-green); text-decoration: none;
    font-family: "Songti SC", "Noto Serif SC", "SimSun", "STSong", serif; padding-bottom: 5px;
    border-bottom: 1px solid currentColor; transition: all 0.3s ease;
}

.narrative-link:hover { gap: 15px; color: var(--accent-gold); }

/* ================================================================ */
/* 模态弹窗系统                                                      */
/* ================================================================ */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    z-index: 9999; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-box {
    background: var(--bg-light);
    width: 90%; max-width: 700px; max-height: 85vh;
    padding: 40px; border-radius: 12px;
    position: relative; transform: translateY(30px);
    transition: transform 0.4s ease; overflow-y: auto;
}

.modal-overlay.active .modal-box { transform: translateY(0); }

.modal-close {
    position: absolute; top: 20px; right: 20px; background: none; border: none;
    font-size: 1.5rem; color: var(--text-main); cursor: pointer; transition: color 0.3s;
}

.modal-close:hover { color: var(--accent-gold); }

.modal-content-article h2 {
    font-family: "Songti SC", "Noto Serif SC", "SimSun", "STSong", serif; color: var(--text-dark);
    margin-bottom: 25px; border-bottom: 1px solid #ddd; padding-bottom: 15px;
}

.modal-content-article p {
    margin-bottom: 15px; font-size: 1.05rem; line-height: 1.8; text-align: justify;
}

.modal-video-placeholder {
    background: #eee; height: 250px; border-radius: 8px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    margin-bottom: 25px; color: var(--tea-green); font-size: 3rem; cursor: pointer;
}

/* ================================================================ */
/* 移动端适配                                                        */
/* ================================================================ */
@media (max-width: 768px) {
    .narrative-container::before { display: none; }
    .narrative-item, .right-image { flex-direction: column; margin-bottom: 80px; }
    .narrative-visual, .narrative-text { width: 100%; }
    .narrative-text {
        padding: 30px 20px; background: var(--bg-light);
        margin-top: -50px; box-shadow: 0 -10px 30px rgba(255,255,255,0.9);
    }

    .game-section { padding: 30px 3%; }
    .game-container { padding: 20px 15px; }

    .interactive-zone { height: 300px; }

    .steps-indicator { gap: 5px; }
    .step-item { font-size: 0.8rem; padding: 3px 6px; }

    .temp-display { gap: 6px; padding: 4px 10px; }
    .temp-gauge-outer { width: 10px; height: 40px; }
    .temp-value { font-size: 0.9rem; min-width: 45px; }

    .wok-body { width: 140px; height: 78px; }

    .bamboo-tray-container { width: 170px; height: 170px; }
    .tea-bush { width: 90px; height: 90px; }
    .narrative-visual img { height: 280px; }
}
