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

:root {
    --ink-black: #0a0a0a;
    --deep-blue: #1a2a4a;
    --stone-gray: #e8e4dc;
    --warm-gold: #d4af37;
    --warm-gold-light: #e6c85a;
    --warm-gold-dark: #b8962e;
    --terracotta: #c46210;
    --border-dark: #2a3a5a;
    --glass-bg: rgba(26, 42, 74, 0.6);
    --glass-bg-light: rgba(26, 42, 74, 0.4);
    --glass-border: rgba(212, 175, 55, 0.3);
    --glass-border-light: rgba(212, 175, 55, 0.15);
    --text-primary: #e8e4dc;
    --text-secondary: rgba(232, 228, 220, 0.7);
    --text-muted: rgba(232, 228, 220, 0.5);
}

@font-face {
    font-family: 'QiaoYun';
    src: local('SimHei'), local('Microsoft YaHei'), local('Noto Serif SC');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'QiaoYun', 'SimHei', 'Microsoft YaHei', serif;
    background: var(--ink-black);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(26, 42, 74, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(10, 10, 10, 0.9) 0%, var(--ink-black) 100%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

.header {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.97) 0%, rgba(10, 10, 10, 0.85) 100%);
    backdrop-filter: blur(15px);
    padding: 1rem 3rem;
    border-bottom: 1px solid var(--glass-border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--warm-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    letter-spacing: 3px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-logo::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--terracotta) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin-right: 0.6rem;
    vertical-align: middle;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.header-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.3rem 0;
    letter-spacing: 1px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--warm-gold), var(--terracotta));
    transition: width 0.3s;
}

.header-nav a:hover {
    color: var(--warm-gold);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-icon-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--glass-border-light);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.header-icon-btn:hover {
    border-color: var(--warm-gold);
    color: var(--warm-gold);
    background: rgba(212, 175, 55, 0.1);
}

.header-divider {
    width: 1px;
    height: 24px;
    background: var(--glass-border-light);
}

.header-btn {
    padding: 0.5rem 1.8rem;
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--terracotta) 100%);
    color: var(--ink-black);
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    letter-spacing: 1px;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.45);
}

.back-link {
    color: var(--warm-gold);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    transition: all 0.3s;
}

.back-link:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--warm-gold);
}

.main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 6rem 1rem 2rem;
}

.chapter-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.chapter-line {
    width: 2px;
    height: 200px;
    background: linear-gradient(180deg, var(--warm-gold) 0%, var(--glass-border) 50%, var(--warm-gold) 100%);
    position: relative;
}

.chapter-line::before,
.chapter-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--warm-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.chapter-line::before {
    top: 0;
}

.chapter-line::after {
    bottom: 0;
}

.chapter-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.8rem;
    color: var(--warm-gold);
    letter-spacing: 4px;
    opacity: 0.8;
    padding: 0.5rem 0;
}

.chapter-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    margin: 0.8rem 0;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--ink-black);
}

.chapter-dot.active {
    border-color: var(--warm-gold);
    background: var(--warm-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.chapter-dot:hover {
    border-color: var(--warm-gold);
    transform: scale(1.2);
}

.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 4rem;
    position: relative;
    overflow: hidden;
    margin-top: -2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=jiangmen%20kaiping%20diaolou%20ancient%20village%20dusk%20golden%20hour%20traditional%20lingnan%20architecture%20banyan%20tree%20stone%20road%20lanterns%20cinematic%20wide%20angle&image_size=landscape_16_9') center/cover;
    opacity: 0.25;
    z-index: -1;
    filter: blur(1px);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--ink-black) 0%, rgba(10, 10, 10, 0.7) 40%, rgba(10, 10, 10, 0.3) 70%, var(--ink-black) 100%),
                linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, transparent 30%, transparent 70%, var(--ink-black) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--warm-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 8s infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-chapter {
    display: inline-block;
    padding: 0.3rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--warm-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    background: rgba(212, 175, 55, 0.05);
}

.hero-title {
    font-size: 5rem;
    color: var(--warm-gold);
    text-shadow: 0 0 50px rgba(212, 175, 55, 0.4);
    margin-bottom: 1rem;
    letter-spacing: 12px;
    font-weight: bold;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
    opacity: 0.9;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.hero-btn-primary {
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--terracotta) 100%);
    color: var(--ink-black);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
    letter-spacing: 1px;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
}

.hero-btn-secondary {
    padding: 0.9rem 2.5rem;
    background: rgba(10, 10, 10, 0.6);
    color: var(--warm-gold);
    border: 1px solid var(--warm-gold);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
}

.hero-btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: left;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--glass-border-light);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 2rem;
    color: var(--warm-gold);
    font-weight: bold;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
    letter-spacing: 1px;
}

.hero-3d-control {
    position: absolute;
    right: 6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    z-index: 2;
}

.control-dial {
    width: 100%;
    height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    position: relative;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.1),
                inset 0 0 40px rgba(212, 175, 55, 0.05);
}

.control-dial::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed var(--glass-border-light);
    border-radius: 50%;
}

.control-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=kaiping%20diaolou%20tower%20isometric%20minimal%20golden%20line%20art%20on%20black%20background&image_size=square') center/cover;
    border: 1px solid var(--glass-border);
}

.control-btn {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(26, 42, 74, 0.8);
    border: 1px solid var(--glass-border);
    color: var(--warm-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--warm-gold);
}

.control-btn.up { top: 5px; left: 50%; transform: translateX(-50%); }
.control-btn.down { bottom: 5px; left: 50%; transform: translateX(-50%); }
.control-btn.left { left: 5px; top: 50%; transform: translateY(-50%); }
.control-btn.right { right: 5px; top: 50%; transform: translateY(-50%); }
.control-btn.zoom-in { top: 30px; right: 15px; }
.control-btn.zoom-out { bottom: 30px; right: 15px; }
.control-btn.rotate { bottom: 30px; left: 15px; }
.control-btn.fullscreen { top: 30px; left: 15px; }

.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.2fr;
    gap: 1px;
    background: var(--glass-border-light);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    margin: -4rem 4rem 4rem;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.feature-card {
    background: var(--glass-bg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: rgba(26, 42, 74, 0.8);
}

.feature-card:hover .feature-card-image img {
    transform: scale(1.1);
}

.feature-number {
    font-size: 1.8rem;
    color: var(--warm-gold);
    font-weight: bold;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-family: serif;
}

.feature-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.feature-card-image {
    width: 100%;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border-light);
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    opacity: 0.9;
}

.feature-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.6) 100%);
}

.feature-tags {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.3rem;
    font-size: 0.65rem;
    color: var(--warm-gold);
    opacity: 0.7;
}

.feature-map-card {
    background: var(--glass-bg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-map-title {
    font-size: 1.1rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.feature-map-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.feature-map-visual {
    flex: 1;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=abstract%20golden%20map%20of%20kaiping%20region%20with%20marker%20minimal%20line%20art%20on%20dark%20background&image_size=square') center/cover;
    border-radius: 6px;
    border: 1px solid var(--glass-border-light);
    position: relative;
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.feature-map-marker {
    position: absolute;
    top: 60%;
    left: 70%;
    width: 12px;
    height: 12px;
    background: var(--warm-gold);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--warm-gold);
    animation: pulse-marker 2s infinite;
}

@keyframes pulse-marker {
    0%, 100% { box-shadow: 0 0 10px var(--warm-gold); }
    50% { box-shadow: 0 0 25px var(--warm-gold); }
}

.feature-map-location {
    font-size: 0.9rem;
    color: var(--warm-gold);
    text-align: center;
    letter-spacing: 2px;
}

.feature-map-progress {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.section {
    padding: 4rem;
    margin: 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    padding: 0.3rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--warm-gold);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    background: rgba(212, 175, 55, 0.05);
}

.section-title {
    font-size: 2.2rem;
    color: var(--warm-gold);
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.location-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.location-card:hover {
    transform: translateY(-8px);
    border-color: var(--warm-gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.location-card-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.location-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: all 0.5s;
}

.location-card:hover .location-card-image img {
    opacity: 1;
    transform: scale(1.08);
}

.location-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, 0.9) 100%);
}

.location-card-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(196, 98, 16, 0.95) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--ink-black);
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.location-card-content {
    padding: 1.5rem;
}

.location-card-title {
    font-size: 1.3rem;
    color: var(--warm-gold);
    margin-bottom: 0.6rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.location-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.location-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.location-tag {
    padding: 0.25rem 0.7rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--warm-gold);
    letter-spacing: 0.5px;
}

.location-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border-light);
}

.location-card-btn {
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1px solid var(--warm-gold);
    border-radius: 4px;
    color: var(--warm-gold);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.location-card-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.timeline-section {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--warm-gold), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--warm-gold);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 10px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.timeline-content:hover {
    border-color: var(--warm-gold);
    transform: translateY(-3px);
}

.timeline-year {
    font-size: 1.5rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: serif;
}

.timeline-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    opacity: 0.9;
}

.story-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 60%, var(--ink-black) 100%);
}

.story-content {
    padding: 1rem;
}

.story-label {
    display: inline-block;
    padding: 0.3rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--warm-gold);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
}

.story-title {
    font-size: 2rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.story-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.5rem;
}

.story-quote {
    padding: 1.5rem;
    border-left: 3px solid var(--warm-gold);
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
}

.story-author {
    font-size: 0.9rem;
    color: var(--warm-gold);
    text-align: right;
    margin-top: 0.5rem;
}

.story-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--terracotta) 100%);
    color: var(--ink-black);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.story-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.play-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ink-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.archive-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.archive-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.archive-card:hover {
    border-color: var(--warm-gold);
    transform: translateY(-4px);
}

.archive-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.archive-title {
    font-size: 1.1rem;
    color: var(--warm-gold);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.archive-count {
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.archive-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.map-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    min-height: 600px;
}

.map-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.map-title {
    font-size: 1.3rem;
    color: var(--warm-gold);
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.map-canvas {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.3) 0%, rgba(10, 10, 10, 0.8) 100%);
    border-radius: 8px;
    border: 1px solid var(--glass-border-light);
    position: relative;
    overflow: hidden;
}

.map-canvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 60%, rgba(26, 42, 74, 0.3) 0%, transparent 40%);
}

.map-marker {
    position: absolute;
    width: 28px;
    height: 28px;
    background: var(--warm-gold);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid var(--ink-black);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    z-index: 5;
}

.map-marker:hover {
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
    z-index: 10;
}

.map-marker.active {
    background: var(--terracotta);
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(196, 98, 16, 0.8);
}

.map-marker::after {
    content: attr(data-number);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--ink-black);
}

.map-marker::before {
    content: attr(data-name);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.9);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--warm-gold);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid var(--glass-border);
    pointer-events: none;
}

.map-marker:hover::before {
    opacity: 1;
}

.map-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.location-detail-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 600px;
    backdrop-filter: blur(10px);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border-light);
}

.detail-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--terracotta) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--ink-black);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.detail-title {
    font-size: 1.4rem;
    color: var(--warm-gold);
    font-weight: bold;
    letter-spacing: 1px;
}

.detail-image {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border-light);
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.detail-history {
    background: rgba(10, 10, 10, 0.5);
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--warm-gold);
}

.detail-history-title {
    font-size: 1rem;
    color: var(--warm-gold);
    margin-bottom: 0.6rem;
    font-weight: bold;
}

.detail-history-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.85;
    line-height: 1.7;
}

.detail-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.detail-btn {
    flex: 1;
    min-width: 100px;
    padding: 0.7rem 1rem;
    border: 1px solid var(--warm-gold);
    border-radius: 6px;
    background: transparent;
    color: var(--warm-gold);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.detail-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.detail-btn-primary {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--terracotta) 100%);
    color: var(--ink-black);
    border: none;
}

.detail-btn-primary:hover {
    background: linear-gradient(135deg, var(--warm-gold-light) 0%, var(--terracotta) 100%);
}

.progress-bar {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border-light);
}

.progress-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
}

.progress-track {
    height: 6px;
    background: rgba(42, 58, 90, 0.5);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--warm-gold) 0%, var(--terracotta) 100%);
    border-radius: 3px;
    transition: width 0.5s;
}

.progress-text {
    text-align: right;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--warm-gold);
}

.location-detail-page {
    max-width: 1400px;
    margin: 0 auto;
}

.location-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border-light);
}

.location-number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--terracotta) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--ink-black);
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.location-name {
    font-size: 2.5rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.location-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.location-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.content-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-right .info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.content-right .info-card-title {
    font-size: 1.1rem;
    color: var(--warm-gold);
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.content-right .info-card-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.guide-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.5);
    border-radius: 8px;
    border-left: 3px solid var(--warm-gold);
}

.guide-controls {
    display: flex;
    gap: 0.5rem;
}

.guide-btn {
    flex: 1;
    padding: 0.7rem;
    border: 1px solid var(--warm-gold);
    border-radius: 6px;
    background: transparent;
    color: var(--warm-gold);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.guide-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.related-locations {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.related-link {
    padding: 0.7rem 1rem;
    background: rgba(10, 10, 10, 0.5);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
    font-size: 0.9rem;
}

.related-link:hover {
    color: var(--warm-gold);
    border-color: var(--warm-gold);
    background: rgba(212, 175, 55, 0.05);
}

.ai-guide-btn {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--terracotta) 100%);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 100;
}

.ai-guide-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
}

.ai-guide-btn.playing {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 6px 40px rgba(212, 175, 55, 0.8); }
}

.ai-guide-panel {
    position: fixed;
    right: 2rem;
    bottom: 100px;
    width: 350px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
    backdrop-filter: blur(15px);
}

.ai-guide-panel.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-guide-title {
    font-size: 1.1rem;
    color: var(--warm-gold);
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.ai-guide-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.ai-guide-controls {
    display: flex;
    gap: 0.5rem;
}

.ai-control-btn {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid var(--warm-gold);
    border-radius: 6px;
    background: transparent;
    color: var(--warm-gold);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.ai-control-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.ai-control-btn.primary {
    background: var(--warm-gold);
    color: var(--ink-black);
    border: none;
}

.ai-control-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(212, 175, 55, 0.1);
}

.ai-control-btn.primary:disabled {
    background: rgba(212, 175, 55, 0.3);
    color: var(--text-muted);
}

.ai-control-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.footer {
    text-align: center;
    padding: 4rem 2rem 3rem;
    background: linear-gradient(0deg, rgba(10, 10, 10, 1) 0%, rgba(26, 42, 74, 0.3) 100%);
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border-light);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    color: var(--warm-gold);
    font-weight: bold;
    letter-spacing: 6px;
    margin-bottom: 1rem;
}

.footer p {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer .project-name {
    color: var(--warm-gold);
    font-weight: bold;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--warm-gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border-light);
    font-size: 0.8rem;
    color: var(--text-muted);
}

#canvas-container {
    width: 100%;
    height: 500px;
    position: relative;
    background: var(--ink-black);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border-light);
}

#canvas-container canvas {
    width: 100%;
    height: 100%;
}

.model-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 100;
}

.model-btn {
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--warm-gold);
    border-radius: 6px;
    color: var(--warm-gold);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.model-btn:hover {
    background: rgba(212, 175, 55, 0.2);
}

.model-info {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: var(--warm-gold);
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border-light);
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    border: 1px solid var(--glass-border-light);
    border-radius: 8px;
    background: var(--glass-bg);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.tab:hover {
    border-color: var(--warm-gold);
    color: var(--warm-gold);
}

.tab.active {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--terracotta) 100%);
    color: var(--ink-black);
    border-color: var(--warm-gold);
    font-weight: bold;
}

.tab-content {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

.canvas-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    background: var(--ink-black);
    border-radius: 8px;
    overflow: hidden;
}

.canvas-wrapper canvas {
    width: 100%;
    height: 100%;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.9);
    color: var(--warm-gold);
    z-index: 10;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--warm-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.loading .hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.video-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.info-card {
    max-width: 800px;
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--warm-gold);
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.info-item {
    padding: 1rem;
    background: rgba(10, 10, 10, 0.5);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--glass-border-light);
}

.info-item .label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.info-item .value {
    display: block;
    font-size: 1.2rem;
    color: var(--warm-gold);
    font-weight: bold;
}

@media (max-width: 1200px) {
    .chapter-nav {
        display: none;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 2rem 3rem;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .header {
        padding: 0.8rem 1rem;
    }

    .header-nav {
        display: none;
    }

    .main {
        padding-top: 5rem;
    }

    .hero-section {
        padding: 2rem 1rem;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 6px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-3d-control {
        display: none;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        margin: 0 1rem 2rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .map-section {
        grid-template-columns: 1fr;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .archive-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 50px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
    }

    .ai-guide-panel {
        width: calc(100% - 2rem);
        right: 1rem;
        left: 1rem;
    }

    .ai-guide-btn {
        right: 1rem;
        bottom: 1rem;
    }

    #canvas-container {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-item {
        width: 45%;
    }

    .stat-item::after {
        display: none;
    }

    .archive-section {
        grid-template-columns: 1fr;
    }
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input {
    width: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.header-search input.active {
    width: 200px;
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(26, 42, 74, 0.3);
    border-radius: 4px;
}

.header-search input::placeholder {
    color: var(--text-muted);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    margin-top: 0.5rem;
    backdrop-filter: blur(15px);
    display: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
}

.suggestion-item {
    padding: 0.7rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid var(--glass-border-light);
    transition: background 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.suggestion-type {
    padding: 0.2rem 0.6rem;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--warm-gold);
}

.suggestion-text {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.knowledge-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.knowledge-card:hover {
    transform: translateY(-6px);
    border-color: var(--warm-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
}

.knowledge-image {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.knowledge-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.knowledge-card:hover .knowledge-image img {
    transform: scale(1.08);
}

.knowledge-content {
    padding: 1.2rem;
}

.knowledge-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--warm-gold);
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.knowledge-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.knowledge-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.knowledge-card.knowledge-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(196, 98, 16, 0.08));
    border: 1px dashed var(--glass-border);
}

.knowledge-more-content {
    text-align: center;
    padding: 2rem;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.culture-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.culture-card:hover {
    transform: translateY(-6px);
    border-color: var(--warm-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
}

.culture-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.culture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.culture-card:hover .culture-image img {
    transform: scale(1.08);
}

.culture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, 0.85) 100%);
}

.culture-category {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    background: var(--warm-gold);
    color: var(--ink-black);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.culture-info {
    padding: 1.2rem;
}

.culture-name {
    font-size: 1.15rem;
    color: var(--warm-gold);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.culture-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.checkin-section {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(15px);
}

.checkin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.checkin-stat-item {
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.4);
    border-radius: 12px;
    border: 1px solid var(--glass-border-light);
}

.checkin-stat-number {
    font-size: 2.5rem;
    color: var(--warm-gold);
    font-weight: bold;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    margin-bottom: 0.3rem;
}

.checkin-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.checkin-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.badge-item {
    text-align: center;
    padding: 1.2rem 0.8rem;
    background: rgba(10, 10, 10, 0.4);
    border-radius: 12px;
    border: 1px solid var(--glass-border-light);
    opacity: 0.4;
    transition: all 0.3s;
}

.badge-item.unlocked {
    opacity: 1;
    border-color: var(--warm-gold);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.badge-name {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.badge-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.video-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}

.video-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.video-card:hover {
    border-color: var(--warm-gold);
    transform: translateY(-3px);
}

.video-thumbnail {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.video-card.small .video-thumbnail {
    height: 100px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-black);
    font-size: 1.3rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
}

.video-play-btn.small {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--warm-gold);
}

.video-duration {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-primary);
}

.video-duration.small {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
}

.video-info {
    padding: 1.2rem;
}

.video-title {
    font-size: 1.2rem;
    color: var(--warm-gold);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.video-card.small .video-title {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.video-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.video-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.video-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-card.small {
    display: flex;
    flex-direction: row;
}

.video-card.small .video-thumbnail {
    width: 140px;
    flex-shrink: 0;
}

.video-card.small .video-info {
    flex: 1;
    padding: 0.8rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--warm-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.blog-image {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.25rem 0.7rem;
    background: rgba(212, 175, 55, 0.9);
    color: var(--ink-black);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.blog-content {
    padding: 1.2rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.blog-author {
    color: var(--warm-gold);
}

.blog-title {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-weight: bold;
    line-height: 1.4;
}

.blog-summary {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    color: var(--warm-gold);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-link:hover {
    color: var(--warm-gold-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.team-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--warm-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--warm-gold), var(--terracotta));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    transition: all 0.3s;
}

.team-card:hover .team-avatar {
    border-color: var(--warm-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.avatar-placeholder {
    font-size: 2rem;
    color: var(--ink-black);
    font-weight: bold;
}

.team-name {
    font-size: 1.05rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.team-role {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.team-major {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.page-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: -2rem;
    margin-bottom: 2rem;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=kaiping%20diaolou%20village%20misty%20morning%20traditional%20lingnan%20architecture%20cinematic%20wide&image_size=landscape_16_9') center/cover;
    opacity: 0.2;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--ink-black) 0%, transparent 30%, transparent 70%, var(--ink-black) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 2rem;
}

.page-hero-label {
    display: inline-block;
    padding: 0.3rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--warm-gold);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    background: rgba(212, 175, 55, 0.05);
}

.page-hero-title {
    font-size: 3rem;
    color: var(--warm-gold);
    font-weight: bold;
    letter-spacing: 6px;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    line-height: 1.8;
}

.page-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.6rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.filter-tab:hover,
.filter-tab.active {
    background: linear-gradient(135deg, var(--warm-gold), var(--terracotta));
    color: var(--ink-black);
    border-color: var(--warm-gold);
    font-weight: bold;
}

.story-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.story-item {
    display: flex;
    gap: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.story-item:hover {
    transform: translateY(-4px);
    border-color: var(--warm-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.story-item-image {
    width: 220px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.story-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.story-item:hover .story-item-image img {
    transform: scale(1.08);
}

.story-item-content {
    flex: 1;
    padding: 1.5rem 1.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
}

.story-item-category {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--warm-gold);
    margin-bottom: 0.6rem;
    align-self: flex-start;
}

.story-item-title {
    font-size: 1.2rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.story-item-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.story-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border-light);
}

.story-item-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 1rem;
}

.story-item-views {
    font-size: 0.8rem;
    color: var(--warm-gold);
}

.detail-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--warm-gold);
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.detail-back:hover {
    color: var(--warm-gold-light);
}

.detail-hero-image {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.6) 100%);
}

.detail-category-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.4rem 1rem;
    background: var(--warm-gold);
    color: var(--ink-black);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.detail-title {
    font-size: 2rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.detail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-content {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2;
}

.detail-content p {
    margin-bottom: 1.2rem;
}

.detail-content blockquote {
    padding: 1.5rem;
    border-left: 4px solid var(--warm-gold);
    background: rgba(212, 175, 55, 0.05);
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-primary);
    border-radius: 0 8px 8px 0;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section-title {
    font-size: 1.8rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 3px;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 2;
}

.about-goals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.goal-card {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.goal-card:hover {
    border-color: var(--warm-gold);
    transform: translateY(-4px);
}

.goal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.goal-title {
    font-size: 1.2rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 0.6rem;
}

.goal-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.archive-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.archive-detail-card {
    padding: 2rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.archive-detail-card:hover {
    border-color: var(--warm-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
}

.archive-detail-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.archive-detail-title {
    font-size: 1.1rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.archive-detail-count {
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.archive-detail-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.knowledge-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.knowledge-detail-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.knowledge-detail-card:hover {
    transform: translateY(-6px);
    border-color: var(--warm-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
}

.knowledge-detail-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.knowledge-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.knowledge-detail-card:hover .knowledge-detail-image img {
    transform: scale(1.08);
}

.knowledge-detail-content {
    padding: 1.5rem;
}

.knowledge-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.knowledge-difficulty {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.knowledge-difficulty.beginner {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.knowledge-difficulty.intermediate {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.knowledge-detail-title {
    font-size: 1.2rem;
    color: var(--warm-gold);
    font-weight: bold;
    margin-bottom: 0.6rem;
}

.knowledge-detail-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 1200px) {
    .chapter-nav {
        display: none;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 2rem 3rem;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-section {
        grid-template-columns: 1fr;
    }

    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .story-list {
        grid-template-columns: 1fr;
    }

    .archive-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .knowledge-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-goals {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .header {
        padding: 0.8rem 1rem;
    }

    .header-nav {
        display: none;
    }

    .header-search {
        display: none;
    }

    .main {
        padding-top: 5rem;
    }

    .hero-section {
        padding: 2rem 1rem;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 6px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-3d-control {
        display: none;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        margin: 0 1rem 2rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .map-section {
        grid-template-columns: 1fr;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .archive-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 50px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
    }

    .ai-guide-panel {
        width: calc(100% - 2rem);
        right: 1rem;
        left: 1rem;
    }

    .ai-guide-btn {
        right: 1rem;
        bottom: 1rem;
    }

    #canvas-container {
        height: 350px;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }

    .checkin-section {
        padding: 1.5rem;
    }

    .checkin-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .checkin-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-item {
        flex-direction: column;
    }

    .story-item-image {
        width: 100%;
        height: 200px;
    }

    .story-item-content {
        padding: 1.5rem;
    }

    .page-hero-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .archive-detail-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-detail-grid {
        grid-template-columns: 1fr;
    }

    .about-goals {
        grid-template-columns: 1fr;
    }

    .video-side {
        flex-direction: column;
    }

    .video-card.small {
        flex-direction: column;
    }

    .video-card.small .video-thumbnail {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-item {
        width: 45%;
    }

    .stat-item::after {
        display: none;
    }

    .archive-section {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .checkin-badges {
        grid-template-columns: 1fr;
    }

    .detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .page-hero-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
}
/* ===== Slot 占位符样式 ===== */
.slot-placeholder {
    position: relative;
    width: 100%;
    min-height: 160px;
    background: rgba(212, 175, 55, 0.08);
    border: 2px dashed rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
}
.slot-placeholder:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--warm-gold);
}
.slot-placeholder .slot-badge {
    display: inline-block;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--warm-gold);
    background: rgba(0,0,0,0.4);
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.slot-placeholder .slot-type-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}
.slot-placeholder .slot-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.slot-placeholder .slot-status {
    font-size: 0.7rem;
    color: #f4a261;
    margin-top: 0.4rem;
    padding: 0.15rem 0.5rem;
    background: rgba(244, 162, 97, 0.15);
    border-radius: 10px;
}
.slot-placeholder-small {
    min-height: 80px;
    padding: 0.5rem;
}
.slot-placeholder-small .slot-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.25rem;
}
.slot-placeholder-small .slot-type-icon {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}
.slot-placeholder-small .slot-desc {
    font-size: 0.65rem;
}
/* 当素材已填充时，隐藏占位符 */
.slot-filled .slot-placeholder {
    display: none !important;
}

/* ============================================ */
/* ===== 主题切换：浅色主题 (Light Theme) ===== */
/* ===== 参考图片：绿色系 · 清新自然 ===== */
/* ============================================ */

body[data-theme="light"] {
    --ink-black: #ffffff;
    --deep-blue: #f7f9f8;
    --stone-gray: #f0f4f2;
    --warm-gold: #2d9a5f;
    --warm-gold-light: #3cb371;
    --warm-gold-dark: #1f7a48;
    --terracotta: #e87c3a;
    --border-dark: #e1e6e3;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-bg-light: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(45, 154, 95, 0.25);
    --glass-border-light: rgba(45, 154, 95, 0.15);
    --text-primary: #1f2937;
    --text-secondary: #5a6b5f;
    --text-muted: #8b9990;
}

body[data-theme="light"] {
    background: var(--deep-blue);
}

body[data-theme="light"]::before {
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(45, 154, 95, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(232, 124, 58, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(247, 249, 248, 0.95) 0%, var(--deep-blue) 100%);
}

body[data-theme="light"]::after {
    background-image: 
        linear-gradient(rgba(45, 154, 95, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 154, 95, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Header 浅色 */
body[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--glass-border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body[data-theme="light"] .header-logo {
    color: var(--warm-gold);
    text-shadow: none;
}

body[data-theme="light"] .header-logo::before {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--terracotta) 100%);
}

body[data-theme="light"] .header-nav a {
    color: var(--text-secondary);
}

body[data-theme="light"] .header-nav a:hover {
    color: var(--warm-gold);
}

body[data-theme="light"] .header-icon-btn {
    border-color: var(--glass-border-light);
    color: var(--text-secondary);
}

body[data-theme="light"] .header-icon-btn:hover {
    border-color: var(--warm-gold);
    color: var(--warm-gold);
    background: rgba(45, 154, 95, 0.08);
}

body[data-theme="light"] .header-btn {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-gold-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 154, 95, 0.3);
}

body[data-theme="light"] .header-btn:hover {
    box-shadow: 0 6px 25px rgba(45, 154, 95, 0.45);
}

/* Hero 区域浅色 */
body[data-theme="light"] .hero-bg::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 40%, rgba(255,255,255,0.4) 70%, rgba(255,255,255,0.85) 100%),
                linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.85) 100%);
}

body[data-theme="light"] .hero-chapter {
    background: rgba(45, 154, 95, 0.08);
    border-color: var(--glass-border);
    color: var(--warm-gold);
}

body[data-theme="light"] .hero-title {
    color: var(--text-primary);
    text-shadow: none;
}

body[data-theme="light"] .hero-subtitle {
    color: var(--text-primary);
}

body[data-theme="light"] .hero-tagline {
    color: var(--text-secondary);
}

body[data-theme="light"] .hero-btn-primary {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-gold-light) 100%);
    color: white;
    box-shadow: 0 6px 25px rgba(45, 154, 95, 0.35);
}

body[data-theme="light"] .hero-btn-secondary {
    background: white;
    color: var(--warm-gold);
    border-color: var(--warm-gold);
}

body[data-theme="light"] .hero-btn-secondary:hover {
    background: rgba(45, 154, 95, 0.06);
}

body[data-theme="light"] .stat-number {
    color: var(--warm-gold);
    text-shadow: none;
}

/* 卡片浅色样式 */
body[data-theme="light"] .feature-card,
body[data-theme="light"] .feature-map-card,
body[data-theme="light"] .location-card,
body[data-theme="light"] .archive-card,
body[data-theme="light"] .timeline-content,
body[data-theme="light"] .story-item,
body[data-theme="light"] .knowledge-card,
body[data-theme="light"] .culture-card,
body[data-theme="light"] .video-card,
body[data-theme="light"] .blog-card,
body[data-theme="light"] .team-card,
body[data-theme="light"] .goal-card,
body[data-theme="light"] .archive-detail-card,
body[data-theme="light"] .knowledge-detail-card,
body[data-theme="light"] .checkin-section {
    background: white;
    border: 1px solid var(--border-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

body[data-theme="light"] .feature-card:hover,
body[data-theme="light"] .location-card:hover,
body[data-theme="light"] .archive-card:hover,
body[data-theme="light"] .timeline-content:hover,
body[data-theme="light"] .knowledge-card:hover,
body[data-theme="light"] .culture-card:hover,
body[data-theme="light"] .video-card:hover,
body[data-theme="light"] .blog-card:hover,
body[data-theme="light"] .team-card:hover,
body[data-theme="light"] .goal-card:hover,
body[data-theme="light"] .archive-detail-card:hover,
body[data-theme="light"] .knowledge-detail-card:hover {
    background: white;
    border-color: var(--warm-gold);
    box-shadow: 0 8px 25px rgba(45, 154, 95, 0.12);
}

/* Section 标题浅色 */
body[data-theme="light"] .section-label,
body[data-theme="light"] .story-label,
body[data-theme="light"] .page-hero-label {
    background: rgba(45, 154, 95, 0.08);
    border-color: var(--glass-border);
    color: var(--warm-gold);
}

body[data-theme="light"] .section-title,
body[data-theme="light"] .story-title,
body[data-theme="light"] .location-name {
    color: var(--text-primary);
}

body[data-theme="light"] .section-subtitle {
    color: var(--text-secondary);
}

/* 按钮浅色 */
body[data-theme="light"] .detail-btn,
body[data-theme="light"] .location-card-btn,
body[data-theme="light"] .guide-btn,
body[data-theme="light"] .ai-control-btn {
    background: white;
    color: var(--warm-gold);
    border-color: var(--warm-gold);
}

body[data-theme="light"] .detail-btn:hover,
body[data-theme="light"] .location-card-btn:hover,
body[data-theme="light"] .guide-btn:hover,
body[data-theme="light"] .ai-control-btn:hover {
    background: rgba(45, 154, 95, 0.08);
}

body[data-theme="light"] .detail-btn-primary,
body[data-theme="light"] .ai-control-btn.primary,
body[data-theme="light"] .story-play-btn {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-gold-light) 100%);
    color: white;
    border: none;
}

/* 标签浅色 */
body[data-theme="light"] .location-tag,
body[data-theme="light"] .culture-category,
body[data-theme="light"] .blog-category,
body[data-theme="light"] .story-item-category {
    background: rgba(45, 154, 95, 0.1);
    color: var(--warm-gold);
    border-color: var(--glass-border);
}

/* 页脚浅色 */
body[data-theme="light"] .footer {
    background: linear-gradient(0deg, #eef2f0 0%, rgba(247, 249, 248, 0.95) 100%);
    border-top: 1px solid var(--border-dark);
}

body[data-theme="light"] .footer-logo {
    color: var(--warm-gold);
}

body[data-theme="light"] .footer p {
    color: var(--text-muted);
}

body[data-theme="light"] .footer-links a {
    color: var(--text-secondary);
}

body[data-theme="light"] .footer-links a:hover {
    color: var(--warm-gold);
}

/* 章节导航浅色 */
body[data-theme="light"] .chapter-line {
    background: linear-gradient(180deg, var(--warm-gold) 0%, var(--glass-border) 50%, var(--warm-gold) 100%);
}

body[data-theme="light"] .chapter-label {
    color: var(--warm-gold);
}

body[data-theme="light"] .chapter-dot {
    background: white;
    border-color: var(--glass-border);
}

body[data-theme="light"] .chapter-dot.active {
    background: var(--warm-gold);
    border-color: var(--warm-gold);
    box-shadow: 0 0 15px rgba(45, 154, 95, 0.4);
}

/* 地图容器浅色 */
body[data-theme="light"] .map-container,
body[data-theme="light"] .location-detail-panel {
    background: white;
    border: 1px solid var(--border-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

body[data-theme="light"] .map-canvas {
    background: linear-gradient(135deg, #e8f5ee 0%, #f5f9f6 100%);
    border-color: var(--glass-border-light);
}

body[data-theme="light"] .map-marker {
    background: var(--warm-gold);
    border-color: white;
    box-shadow: 0 0 15px rgba(45, 154, 95, 0.4);
}

body[data-theme="light"] .map-marker.active {
    background: var(--terracotta);
    box-shadow: 0 0 25px rgba(232, 124, 58, 0.6);
}

/* 时间线浅色 */
body[data-theme="light"] .timeline-year {
    color: var(--warm-gold);
}

body[data-theme="light"] .timeline-title {
    color: var(--text-primary);
}

body[data-theme="light"] .timeline-desc {
    color: var(--text-secondary);
}

/* 互动体验浅色 */
body[data-theme="light"] .life-experience {
    background: white;
    border: 1px solid var(--border-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

body[data-theme="light"] .life-step-num {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    color: var(--text-muted);
}

body[data-theme="light"] .life-step.active .life-step-num {
    background: var(--warm-gold);
    color: white;
    border-color: var(--warm-gold);
}

body[data-theme="light"] .life-step-label {
    color: var(--text-muted);
}

body[data-theme="light"] .life-step.active .life-step-label {
    color: var(--warm-gold);
}

body[data-theme="light"] .life-choice-card {
    background: white;
    border-color: var(--glass-border-light);
}

body[data-theme="light"] .life-choice-card:hover {
    border-color: var(--warm-gold);
    background: rgba(45, 154, 95, 0.05);
}

body[data-theme="light"] .life-choice-card.selected {
    border-color: var(--warm-gold);
    background: rgba(45, 154, 95, 0.1);
}

/* AI 助手浅色 */
body[data-theme="light"] .ai-guide-btn {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-gold-light) 100%);
    box-shadow: 0 6px 25px rgba(45, 154, 95, 0.4);
}

body[data-theme="light"] .ai-guide-btn:hover {
    box-shadow: 0 10px 40px rgba(45, 154, 95, 0.5);
}

body[data-theme="light"] .ai-guide-panel {
    background: white;
    border: 1px solid var(--border-dark);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .ai-guide-title {
    color: var(--warm-gold);
}

body[data-theme="light"] .ai-guide-text {
    color: var(--text-secondary);
}

/* 搜索建议浅色 */
body[data-theme="light"] .search-suggestions {
    background: white;
    border: 1px solid var(--border-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .suggestion-item {
    border-bottom-color: var(--glass-border-light);
}

body[data-theme="light"] .suggestion-item:hover {
    background: rgba(45, 154, 95, 0.05);
}

body[data-theme="light"] .suggestion-type {
    background: rgba(45, 154, 95, 0.1);
    color: var(--warm-gold);
}

body[data-theme="light"] .suggestion-text {
    color: var(--text-primary);
}

/* Slot 占位符浅色 */
body[data-theme="light"] .slot-placeholder {
    background: rgba(45, 154, 95, 0.05);
    border-color: rgba(45, 154, 95, 0.3);
}

body[data-theme="light"] .slot-placeholder:hover {
    background: rgba(45, 154, 95, 0.1);
}

body[data-theme="light"] .slot-placeholder .slot-badge {
    background: rgba(45, 154, 95, 0.15);
    color: var(--warm-gold);
}

body[data-theme="light"] .slot-placeholder .slot-desc {
    color: var(--text-muted);
}

/* 信息卡片浅色 */
body[data-theme="light"] .info-item {
    background: #f5f7f6;
    border-color: var(--glass-border-light);
}

body[data-theme="light"] .info-item .label {
    color: var(--text-muted);
}

body[data-theme="light"] .info-item .value {
    color: var(--warm-gold);
}

/* 进度条浅色 */
body[data-theme="light"] .progress-track {
    background: #e4e9e6;
}

body[data-theme="light"] .progress-fill {
    background: linear-gradient(90deg, var(--warm-gold) 0%, var(--warm-gold-light) 100%);
}

/* 主题切换按钮特殊样式 */
.theme-toggle-btn {
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: rotate(15deg);
}

/* 主题切换过渡动画 */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body * {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* 回退按钮浅色 */
body[data-theme="light"] .back-link {
    color: var(--warm-gold);
    border-color: var(--glass-border);
}

body[data-theme="light"] .back-link:hover {
    background: rgba(45, 154, 95, 0.08);
    border-color: var(--warm-gold);
}

/* 内容详情浅色 */
body[data-theme="light"] .detail-history {
    background: #f5f7f6;
    border-left-color: var(--warm-gold);
}

body[data-theme="light"] .detail-history-title {
    color: var(--warm-gold);
}

body[data-theme="light"] .detail-history-content {
    color: var(--text-secondary);
}

body[data-theme="light"] .guide-text {
    background: #f5f7f6;
    border-left-color: var(--warm-gold);
}

body[data-theme="light"] .guide-text {
    color: var(--text-secondary);
}

/* 关联链接浅色 */
body[data-theme="light"] .related-link {
    background: #f5f7f6;
    color: var(--text-secondary);
}

body[data-theme="light"] .related-link:hover {
    color: var(--warm-gold);
    border-color: var(--warm-gold);
    background: rgba(45, 154, 95, 0.05);
}

/* Canvas容器浅色 */
body[data-theme="light"] #canvas-container,
body[data-theme="light"] .canvas-wrapper {
    background: #eef2f0;
    border-color: var(--glass-border-light);
}

/* 加载样式浅色 */
body[data-theme="light"] .loading {
    background: rgba(255, 255, 255, 0.95);
    color: var(--warm-gold);
}

body[data-theme="light"] .spinner {
    border-color: rgba(45, 154, 95, 0.2);
    border-top-color: var(--warm-gold);
}

/* Tab 切换浅色 */
body[data-theme="light"] .tab {
    background: white;
    border-color: var(--glass-border-light);
    color: var(--text-secondary);
}

body[data-theme="light"] .tab:hover {
    border-color: var(--warm-gold);
    color: var(--warm-gold);
}

body[data-theme="light"] .tab.active {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-gold-light) 100%);
    color: white;
    border-color: var(--warm-gold);
}

body[data-theme="light"] .tab-content {
    background: white;
    border-color: var(--border-dark);
}

/* CTA 区块浅色 */
body[data-theme="light"] .section > div[style*="backdrop-filter"] {
    background: white !important;
    border-color: var(--border-dark) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

/* ============================================ */
/* ===== 浅色主题：布局重构（参考图风格） ===== */
/* ============================================ */

/* --- 导航栏重构：扁平白色导航 --- */
body[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: none;
    height: 64px;
}

body[data-theme="light"] .header-content {
    height: 64px;
    max-width: 1200px;
}

body[data-theme="light"] .header-logo {
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}

body[data-theme="light"] .header-logo::before {
    display: none;
}

body[data-theme="light"] .header-nav {
    gap: 2rem;
}

body[data-theme="light"] .header-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    padding: 0.3rem 0;
}

body[data-theme="light"] .header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warm-gold);
    transition: width 0.3s ease;
}

body[data-theme="light"] .header-nav a:hover,
body[data-theme="light"] .header-nav a.active {
    color: var(--warm-gold);
}

body[data-theme="light"] .header-nav a:hover::after,
body[data-theme="light"] .header-nav a.active::after {
    width: 100%;
}

/* 浅色主题：隐藏大CTA按钮，改为图标组 */
body[data-theme="light"] .header-btn {
    display: none;
}

body[data-theme="light"] .header-divider {
    display: none;
}

body[data-theme="light"] .header-right {
    gap: 0.5rem;
}

/* --- Hero区重构：左文右卡布局 --- */
body[data-theme="light"] .hero-section .hero-content {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 1.5rem 3rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 3rem 2rem !important;
}

body[data-theme="light"] .hero-section .hero-bg {
    background: linear-gradient(135deg, rgba(247, 249, 248, 0.92) 0%, rgba(247, 249, 248, 0.85) 100%),
                linear-gradient(180deg, #f7f9f8 0%, #eef2f0 100%);
}

body[data-theme="light"] .hero-section .hero-bg::after {
    display: none;
}

body[data-theme="light"] .hero-section .hero-content > .hero-chapter {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

body[data-theme="light"] .hero-section .hero-content > .hero-title {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

body[data-theme="light"] .hero-section .hero-content > .hero-subtitle {
    grid-column: 1 !important;
    grid-row: 3 !important;
}

body[data-theme="light"] .hero-section .hero-content > .hero-tagline {
    grid-column: 1 !important;
    grid-row: 3 !important;
    margin-top: 2.5rem !important;
}

body[data-theme="light"] .hero-section .hero-content > .hero-buttons {
    grid-column: 2 !important;
    grid-row: 1 / 4 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
    justify-content: center !important;
    align-items: stretch !important;
    margin-bottom: 0 !important;
}

body[data-theme="light"] .hero-section .hero-content > .hero-stats {
    grid-column: 1 !important;
    grid-row: 4 !important;
}

/* --- 卡片式按钮（参考图风格） --- */
body[data-theme="light"] .hero-btn-primary,
body[data-theme="light"] .hero-btn-secondary {
    width: 100%;
    min-height: 120px;
    padding: 1.8rem 2rem;
    border-radius: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
}

body[data-theme="light"] .hero-btn-primary {
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-gold-light) 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(45, 154, 95, 0.25);
}

body[data-theme="light"] .hero-btn-primary::before {
    content: '🏛️';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    opacity: 0.2;
}

body[data-theme="light"] .hero-btn-primary::after {
    content: '进入宝源坊景区 →';
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.8rem;
}

body[data-theme="light"] .hero-btn-primary {
    font-size: 1.2rem;
    font-weight: 600;
}

body[data-theme="light"] .hero-btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body[data-theme="light"] .hero-btn-secondary::before {
    content: '✨';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    opacity: 0.15;
}

body[data-theme="light"] .hero-btn-secondary::after {
    content: '五分钟互动体验，解锁你的侨乡结局 →';
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 0.8rem;
}

body[data-theme="light"] .hero-btn-secondary {
    font-size: 1.1rem;
    font-weight: 600;
}

body[data-theme="light"] .hero-btn-secondary:hover {
    border-color: var(--warm-gold);
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 154, 95, 0.12);
}

body[data-theme="light"] .hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(45, 154, 95, 0.35);
}

/* Hero标题区域调整 */
body[data-theme="light"] .hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
}

body[data-theme="light"] .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-top: 1rem;
}

body[data-theme="light"] .hero-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.8rem;
}

body[data-theme="light"] .hero-chapter {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    padding: 0.4rem 1rem;
}

/* 隐藏3D控制面板 */
body[data-theme="light"] .hero-3d-control {
    display: none;
}

/* Hero统计数据 */
body[data-theme="light"] .hero-stats {
    grid-column: 1;
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-dark);
}

body[data-theme="light"] .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
}

body[data-theme="light"] .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- 章节导航：改为左侧竖向导航（浅色主题） --- */
body[data-theme="light"] .chapter-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0.8rem;
    background: white;
    border: 1px solid var(--border-dark);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    z-index: 100;
}

body[data-theme="light"] .chapter-label {
    display: none;
}

body[data-theme="light"] .chapter-line {
    display: none;
}

body[data-theme="light"] .chapter-dot {
    width: 10px;
    height: 10px;
    margin: 0.6rem 0;
    background: var(--border-dark);
    border-color: transparent;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

body[data-theme="light"] .chapter-dot::before {
    content: attr(data-label);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-dark);
}

body[data-theme="light"] .chapter-dot:hover::before {
    opacity: 1;
}

body[data-theme="light"] .chapter-dot.active {
    background: var(--warm-gold);
    box-shadow: 0 0 0 4px rgba(45, 154, 95, 0.15);
}

body[data-theme="light"] .chapter-dot:first-child,
body[data-theme="light"] .chapter-dot:last-child {
    display: none;
}

/* --- 内容区域间距调整 --- */
body[data-theme="light"] .section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

body[data-theme="light"] .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

body[data-theme="light"] .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

body[data-theme="light"] .section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

body[data-theme="light"] .section-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

/* --- 卡片样式优化（浅色主题） --- */
body[data-theme="light"] .feature-card,
body[data-theme="light"] .location-card,
body[data-theme="light"] .archive-card,
body[data-theme="light"] .timeline-content,
body[data-theme="light"] .knowledge-card,
body[data-theme="light"] .culture-card,
body[data-theme="light"] .video-card,
body[data-theme="light"] .blog-card,
body[data-theme="light"] .team-card,
body[data-theme="light"] .goal-card,
body[data-theme="light"] .archive-detail-card,
body[data-theme="light"] .knowledge-detail-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-dark);
    padding: 1.8rem;
    transition: all 0.3s ease;
}

body[data-theme="light"] .feature-card:hover,
body[data-theme="light"] .location-card:hover,
body[data-theme="light"] .archive-card:hover,
body[data-theme="light"] .knowledge-card:hover,
body[data-theme="light"] .culture-card:hover,
body[data-theme="light"] .team-card:hover,
body[data-theme="light"] .goal-card:hover,
body[data-theme="light"] .archive-detail-card:hover,
body[data-theme="light"] .knowledge-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* --- 互动体验卡片（参考图网格布局） --- */
body[data-theme="light"] .life-choice-card {
    background: white;
    border-radius: 14px;
    border: 2px solid var(--border-dark);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

body[data-theme="light"] .life-choice-card:hover {
    border-color: var(--warm-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(45, 154, 95, 0.12);
}

body[data-theme="light"] .life-choice-card.selected {
    border-color: var(--warm-gold);
    background: linear-gradient(135deg, rgba(45, 154, 95, 0.05) 0%, rgba(45, 154, 95, 0.1) 100%);
}

/* --- 建筑故事卡片 --- */
body[data-theme="light"] .story-item {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-dark);
    overflow: hidden;
    transition: all 0.3s ease;
}

body[data-theme="light"] .story-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* --- 项目成果卡片（四列网格） --- */
body[data-theme="light"] .achievement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* --- 时间线优化 --- */
body[data-theme="light"] .timeline-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1.8rem;
    border: 1px solid var(--border-dark);
}

/* --- 页脚优化 --- */
body[data-theme="light"] .footer {
    background: #2d3436;
    color: #b2bec3;
    border-top: none;
    margin-top: 4rem;
    padding: 3rem 2rem 2rem;
}

body[data-theme="light"] .footer-logo {
    color: white;
}

body[data-theme="light"] .footer a {
    color: #dfe6e9;
}

body[data-theme="light"] .footer a:hover {
    color: var(--warm-gold-light);
}

/* --- 响应式调整 --- */
@media (max-width: 900px) {
    body[data-theme="light"] .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    body[data-theme="light"] .hero-buttons {
        grid-column: 1;
        grid-row: auto;
        flex-direction: row;
    }
    
    body[data-theme="light"] .hero-btn-primary,
    body[data-theme="light"] .hero-btn-secondary {
        min-height: 100px;
    }
    
    body[data-theme="light"] .chapter-nav {
        display: none;
    }
    
    body[data-theme="light"] .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 隐藏Hero区"向下滑动"指示（用CSS创建） --- */
body[data-theme="light"] .hero-section::after {
    content: '向下滑动 发现更多';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body[data-theme="light"] .hero-section::before {
    content: '↓';
    position: absolute;
    bottom: 3.8rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--warm-gold);
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -8px); }
    60% { transform: translate(-50%, -4px); }
}

/* --- 内容卡片数字标签 --- */
body[data-theme="light"] .feature-card::before,
body[data-theme="light"] .knowledge-card::before {
    font-family: 'Georgia', serif;
    color: rgba(45, 154, 95, 0.2);
    font-size: 4rem;
    font-weight: 700;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

/* --- 按钮统一圆角 --- */
body[data-theme="light"] button {
    border-radius: 12px;
}

/* --- 滚动条样式 --- */
body[data-theme="light"] ::-webkit-scrollbar {
    width: 8px;
}

body[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--deep-blue);
}

body[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 4px;
}

body[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: var(--warm-gold);
}

/* ============================================ */
/* ===== 浅色主题：实质性布局重构 ===== */
/* ===== 参考图：分区布局 + 按键入口变化 ===== */
/* ===== 注：首页已改为导览模式，使用portal-cards-grid ===== */
/* ============================================ */

/* --- 认识侨乡区：三栏图标卡 --- */
body[data-theme="light"] #about-qiaoxiang .qiaoxiang-cards {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
}

body[data-theme="light"] #about-qiaoxiang .qiaoxiang-cards > div {
    padding: 2rem 1.5rem !important;
    border-radius: 18px !important;
    text-align: left !important;
    border: 1px solid var(--border-dark) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body[data-theme="light"] #about-qiaoxiang .qiaoxiang-cards > div > div:first-child {
    font-size: 2.5rem !important;
    margin-bottom: 0.75rem !important;
}

/* --- 项目成果区 --- */
body[data-theme="light"] #achievement .achievement-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.2rem !important;
}

body[data-theme="light"] #achievement .achievement-grid > div {
    padding: 1.5rem 1rem !important;
    border-radius: 14px !important;
}

/* 响应式：小屏幕改回单列 */
@media (max-width: 900px) {
    body[data-theme="light"] #about-qiaoxiang .qiaoxiang-cards {
        grid-template-columns: 1fr !important;
    }
    
    body[data-theme="light"] #achievement .achievement-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* --- 深色主题保持不变 --- */
body:not([data-theme="light"]) #tour::before,
body:not([data-theme="light"]) .hero-section::after,
body:not([data-theme="light"]) .hero-section::before {
    display: none;
}

/* ============================================ */
/* ===== 导览入口卡片样式（实景图背景） ===== */
/* ===== 每张卡片使用宝源坊实景照片 ===== */
/* ============================================ */

.portal-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

/* 区块容器 - 去掉装饰背景，保持简洁 */
.portal-container {
    position: relative;
    padding: 1.5rem 0.5rem;
    margin: 0.5rem 0;
    overflow: visible;
}

.portal-container::before,
.portal-container::after {
    display: none !important;
}

/* --- 入口卡片：实景图全背景 --- */
.portal-entry-card {
    display: block !important;
    position: relative !important;
    aspect-ratio: 4/3;
    border-radius: 16px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    color: white !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* 照片背景层 */
.portal-card-bg {
    position: absolute;
    inset: 0;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 底部渐变遮罩层（确保文字可读） */
.portal-entry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.55) 75%,
        rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

/* 顶部金色边框装饰 */
.portal-entry-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--warm-gold), transparent);
    opacity: 0.6;
    z-index: 3;
}

/* 文字内容区 */
.portal-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.25rem 1.1rem;
    z-index: 2;
    color: white;
    text-align: left;
}

/* 徽章标签 */
.portal-card-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: rgba(212, 175, 55, 0.9);
    color: #1a2a4a;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 4px;
    margin-bottom: 0.6rem;
    backdrop-filter: blur(8px);
}

.portal-card-title {
    color: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    margin: 0 0 0.3rem 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.portal-card-desc {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    text-decoration: none !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.portal-entry-card:link,
.portal-entry-card:visited {
    text-decoration: none !important;
    color: white !important;
}

/* --- Hover 效果 --- */
.portal-entry-card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 6px 15px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
}

.portal-entry-card:hover .portal-card-bg {
    transform: scale(1.08);
}

.portal-entry-card:hover::before {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.65) 70%,
        rgba(0, 0, 0, 0.9) 100%);
}

.portal-entry-card:hover::after {
    height: 4px;
    opacity: 1;
}

.portal-entry-card:hover .portal-card-badge {
    background: var(--warm-gold);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
}

/* --- 主要入口卡片（带金色发光边框） --- */
.portal-entry-card.primary {
    border-color: rgba(212, 175, 55, 0.6) !important;
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.2), 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.portal-entry-card.primary::after {
    height: 4px;
    opacity: 0.8;
    background: linear-gradient(90deg, var(--terracotta), var(--warm-gold), var(--terracotta));
}

.portal-entry-card.primary .portal-card-badge {
    background: linear-gradient(135deg, var(--warm-gold), var(--terracotta));
    color: white;
}

.portal-entry-card.primary:hover {
    box-shadow: 0 24px 55px rgba(212, 175, 55, 0.35), 0 6px 15px rgba(0, 0, 0, 0.35) !important;
}

/* --- 浅色主题适配 --- */
body[data-theme="light"] .portal-entry-card {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

body[data-theme="light"] .portal-entry-card::before {
    background: linear-gradient(180deg,
        rgba(20, 30, 50, 0.05) 0%,
        rgba(20, 30, 50, 0.1) 40%,
        rgba(20, 30, 50, 0.45) 75%,
        rgba(20, 30, 50, 0.75) 100%);
}

body[data-theme="light"] .portal-entry-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--warm-gold) !important;
}

body[data-theme="light"] .portal-entry-card:hover::before {
    background: linear-gradient(180deg,
        rgba(20, 30, 50, 0.1) 0%,
        rgba(20, 30, 50, 0.2) 35%,
        rgba(20, 30, 50, 0.55) 70%,
        rgba(20, 30, 50, 0.85) 100%);
}

body[data-theme="light"] .portal-card-title {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

body[data-theme="light"] .portal-card-desc {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

body[data-theme="light"] .portal-entry-card.primary {
    border-color: var(--warm-gold) !important;
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.2), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

/* ============================================ */
/* ===== 响应式：导览卡片 ===== */
/* ============================================ */

@media (max-width: 900px) {
    .portal-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .portal-entry-card {
        aspect-ratio: 16/9;
    }
    .portal-card-content {
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .portal-container {
        padding: 1rem 0.25rem;
    }
    .portal-entry-card {
        aspect-ratio: 16/10;
    }
    .portal-card-title {
        font-size: 1rem !important;
    }
    .portal-card-desc {
        font-size: 0.75rem !important;
    }
    .portal-card-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
}
