/* --- 1. 全新的“藏宝图”主题CSS (v1.1) --- */

/* --- 全局与基础样式 --- */
:root {
    --parchment-bg: #f4e4bc;       /* 羊皮纸背景 */
    --dark-brown: #6b4f3a;         /* 深棕色 (边框、UI元素) */
    --ink-brown: #4a3728;          /* 墨水棕 (主要文字) */
    --red-ink: #9a2a2a;            /* 红色墨水 (标题、强调) */
    --gold-accent: #b8860b;        /* 金色点缀 */
    --shadow-color: rgba(107, 79, 58, 0.3);
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--parchment-bg);
    /* [新增] 增加一个细微的纸张纹理背景，提升质感 */
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMqADAAQAAAABAAAAMgAAAADdOa+FAAAAa0lEQVRoBe2SMRKAQAwD9f9P7gghpSgpvDGSxZ15jP1MRJv/9YQgZ4iQIUKIiwg5Q4QKIa4i5AwRKoS4iJAzRKgQ4iJCTtA/i5/aN3ySA3kGkOdA3kF+fghygpA/QpyA8E+IEyB+iJwg/yDECRB/iJwg/yDEDyG/gHwOkKcQfx/yD0iTJwNqAAAAAElFTkSuQmCC');
    font-family: var(--font-serif);
    color: var(--ink-brown);
}

/* 移除原有的 #content 边距，让新设计全宽 */
#content.container { max-width: 100%; padding: 0; }
section { margin-bottom: 35px; padding: 0 15px; }
.section-title-wrapper { text-align: center; margin-bottom: 30px; }
.section-title { 
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* [优化] 响应式字体 */
    font-weight: bold; 
    color: var(--red-ink);
    text-shadow: 1px 1px 2px var(--shadow-color);
}

/* --- 顶部 分类和用户控制区域 --- */
.category-user-controls {
    background: rgba(244, 228, 188, 0.7);
    backdrop-filter: blur(3px); /* [新增] 增加毛玻璃效果，提升质感 */
    border-bottom: 3px solid var(--dark-brown);
    padding: 10px 15px;
    box-shadow: 0 4px 10px var(--shadow-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    position: sticky; /* [新增] 导航栏吸顶，方便浏览 */
    top: 0;
    z-index: 999;
}
.category-tabs { display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; overflow-x: auto; padding-bottom: 8px; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs { -ms-overflow-style: none; scrollbar-width: none; }
.cat-link {
    text-decoration: none;
    border: 2px solid var(--dark-brown);
    background: var(--parchment-bg);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: var(--ink-brown);
    transition: all 0.2s ease-in-out;
    box-shadow: 2px 2px 5px var(--shadow-color);
    white-space: nowrap;
    flex-shrink: 0;
}
.cat-link:hover { transform: translateY(-2px) scale(1.05); box-shadow: 4px 4px 10px var(--shadow-color); background: #fffaf0; }
.cat-link.active { background: var(--red-ink); color: var(--parchment-bg); border-color: var(--dark-brown); transform: scale(1.05); }
.cat-link i { margin-right: 5px; }
.cat-link .count { font-size: 11px; opacity: 0.8; }

.user-actions .btn { font-family: var(--font-sans); border-radius: 20px; font-weight: bold; border-width: 2px; }
.user-actions .btn-outline-primary { border-color: var(--dark-brown); color: var(--dark-brown); }
.user-actions .btn-outline-primary:hover { background: var(--dark-brown); color: var(--parchment-bg); }
.user-actions .btn-success { background: var(--red-ink); border-color: var(--red-ink); }
.user-actions .btn-success:hover { background: #7a2222; border-color: #7a2222; }

/* --- 🧭 主视觉区 --- */
.hero-main-visual {
    padding: clamp(40px, 10vw, 80px) 20px; /* [优化] 响应式内边距 */
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('http://localhost/wp/wp-content/uploads/2025/05/屏幕截图-2024-06-22-230347.png') center/cover no-repeat;
    color: white;
}
.hero-title { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: bold; text-shadow: 2px 2px 8px #000; }
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.3rem); opacity: 0.9; margin: 15px 0 30px; max-width: 600px; margin-left:auto; margin-right:auto; }
.btn-primary-cta, .btn-secondary-cta { transition: all 0.3s ease; }
.btn-primary-cta { background-color: var(--gold-accent); border-color: var(--gold-accent); color: var(--ink-brown); font-weight: bold; padding: 12px 30px; }
.btn-primary-cta:hover { background-color: #ffd700; border-color: #ffd700; transform: scale(1.05); }
.btn-secondary-cta { border-width: 2px; font-weight: bold; padding: 12px 30px; }
.btn-secondary-cta:hover { background-color: rgba(255,255,255,0.1); transform: scale(1.05); }

/* --- [重构] 探险家工具箱 --- */
.explorer-toolkit-section { padding-top: 20px; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 25px; }
.explore-card {
    display: block;
    background: var(--parchment-bg);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    color: var(--ink-brown);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid var(--dark-brown);
    /* [新增] 模拟不规则阴影，增加手工艺感 */
    box-shadow: 8px 8px 3px -3px var(--shadow-color), 10px 10px 15px var(--shadow-color);
    position: relative;
    overflow: hidden; /* 用于伪元素 */
}
/* [新增] 增加一个烧焦的边缘效果 */
.explore-card::after {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 10px;
    box-shadow: inset 0 0 10px 5px var(--dark-brown);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.explore-card:hover { transform: translateY(-5px) rotate(1deg); box-shadow: 12px 12px 5px -3px var(--shadow-color), 15px 15px 25px var(--shadow-color); }
.explore-card:hover::after { opacity: 0.2; }
.explore-card .card-icon { font-size: 2.5rem; margin-bottom: 10px; color: var(--red-ink); transition: transform 0.3s ease; }
.explore-card:hover .card-icon { transform: scale(1.1); }
.explore-card h3 { font-size: 1.2rem; font-weight: bold; margin-bottom: 5px; }
.explore-card p { font-size: 0.9rem; color: var(--ink-brown); opacity: 0.8; margin: 0; }

/* --- 🗺️ 地图展示区 --- */
#map8.map-container-wrapper {
    height: 500px;
    border: 5px solid var(--dark-brown);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 10px 30px var(--shadow-color);
    border-radius: 15px;
    background-color: #e9ecef;
    background-image: url('http://localhost/wp/wp-content/uploads/2025/05/屏幕截图-2024-06-26-223112.png');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-loading-placeholder {
    font-family: var(--font-serif);
    color: var(--ink-brown);
    font-size: 1.5rem;
    padding: 20px;
    background: rgba(244, 228, 188, 0.8);
    border-radius: 10px;
    text-shadow: 1px 1px 2px white;
}

/* --- 📜 文章列表模块 --- */
.legacy-posts-section { background: transparent; padding-top: 20px; }

/* --- 📱 手机端底部导航栏 --- */
.mobile-bottom-nav { background: var(--dark-brown); border-top: 3px solid var(--gold-accent); box-shadow: 0 -4px 10px rgba(0,0,0,0.3); position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000; }
.mobile-nav-items { display: flex; justify-content: space-around; }
.mobile-nav-item { color: var(--parchment-bg); padding: 8px 5px; flex-grow: 1; text-align: center; text-decoration: none; transition: all 0.2s ease; }
.mobile-nav-item .nav-icon { font-size: 20px; display: block; }
.mobile-nav-item .nav-text { font-size: 11px; display: block; }
.mobile-nav-item:hover, .mobile-nav-item.active { color: var(--gold-accent); background: rgba(0,0,0,0.2); }
.mobile-nav-item.center-btn { background: var(--red-ink); border-radius: 50%; width: 60px; height: 60px; margin-top: -25px; border: 3px solid var(--gold-accent); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mobile-nav-item.center-btn:hover { background: #7a2222; }

/* 响应式微调 */
@media (max-width: 768px) {
    body { padding-bottom: 70px; } /* 为底部导航栏留出空间 */
    .explore-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; }
    .explore-card { padding: 15px 10px; }
    .explore-card h3 { font-size: 1rem; }
    .explore-card p { font-size: 0.8rem; }
}
@media (max-width: 480px) {
    .explore-grid { grid-template-columns: repeat(2, 1fr); }
}

:root {
    --parchment-bg: #f4e4bc;       /* 羊皮纸背景 */
    --dark-brown: #6b4f3a;         /* 深棕色 (文字、边框) */
    --ink-brown: #4a3728;          /* 墨水棕 (主要文字) */
    --red-ink: #9a2a2a;            /* 红色墨水 (标题、强调) */
    --gold-accent: #b8860b;        /* 金色点缀 */
    --burnt-edge: #d2b48c;         /* 烧焦边缘色 */
    --shadow-color: rgba(107, 79, 58, 0.3);
    --font-serif: 'Georgia', 'Times New Roman', serif; /* 复古衬线字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* UI元素备用 */
}

body {
    background: linear-gradient(45deg, #f4e4bc 0%, #e6d7a3 50%, #f4e4bc 100%);
    font-family: var(--font-serif);
    color: var(--ink-brown);
}

/* 移除原有的 #content 边距，让新设计全宽 */
#content.container {
    max-width: 100%;
    padding: 0;
}

section { 
    margin-bottom: 25px; 
    padding: 0 15px;
}
.section-title-wrapper { text-align: center; margin-bottom: 25px; }
.section-title { 
    font-family: var(--font-serif);
    font-size: 2.2rem; 
    font-weight: bold; 
    color: var(--red-ink);
    text-shadow: 1px 1px 2px var(--shadow-color);
}

/* --- 顶部 分类和用户控制区域 --- */
.category-user-controls {
    background: rgba(244, 228, 188, 0.7); /* 半透明羊皮纸 */
    border-bottom: 3px solid var(--dark-brown);
    padding: 10px 15px;
    box-shadow: 0 4px 10px var(--shadow-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.category-tabs {
    display: flex;
    flex-wrap: nowrap; /* 允许横向滚动 */
    gap: 10px;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 8px; /* 为滚动条留出空间 */
}
/* 隐藏滚动条 */
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs { -ms-overflow-style: none; scrollbar-width: none; }

.cat-link {
    text-decoration: none;
    border: 2px solid var(--dark-brown);
    background: var(--parchment-bg);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: var(--ink-brown);
    transition: all 0.3s ease;
    box-shadow: 2px 2px 5px var(--shadow-color);
    white-space: nowrap;
    flex-shrink: 0;
}
.cat-link:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 10px var(--shadow-color);
    background: #fffaf0;
}
.cat-link.active {
    background: var(--red-ink);
    color: var(--parchment-bg);
    border-color: var(--dark-brown);
}
.cat-link i { margin-right: 5px; }
.cat-link .count { font-size: 11px; opacity: 0.8; }

.user-actions .btn {
    font-family: var(--font-sans);
    border-radius: 20px;
    font-weight: bold;
    border-width: 2px;
}
.user-actions .btn-outline-primary {
    border-color: var(--dark-brown);
    color: var(--dark-brown);
}
.user-actions .btn-outline-primary:hover {
    background: var(--dark-brown);
    color: var(--parchment-bg);
}
.user-actions .btn-success {
    background: var(--red-ink);
    border-color: var(--red-ink);
}

/* --- 🧭 主视觉区 --- */
.hero-main-visual {
    padding: 60px 20px;
    border-radius: 0; /* 全宽设计 */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('http://localhost/wp/wp-content/uploads/2025/05/屏幕截图-2024-06-22-230347.png') center/cover no-repeat;
    color: white;
}
.hero-title { font-size: 3rem; font-weight: bold; text-shadow: 2px 2px 8px #000; }
.hero-subtitle { font-size: 1.2rem; opacity: 0.9; margin: 10px 0 25px; }
.btn-primary-cta { background-color: var(--gold-accent); border-color: var(--gold-accent); color: var(--ink-brown); font-weight: bold; padding: 12px 30px; }
.btn-secondary-cta { border-width: 2px; font-weight: bold; padding: 12px 30px; }

/* --- 🧩 探索方式 (功能卡片区) --- */
.explore-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 20px; 
}
.explore-card {
    display: block;
    background: var(--parchment-bg);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    color: var(--ink-brown);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid var(--dark-brown);
    box-shadow: 5px 5px 15px var(--shadow-color);
    position: relative;
}
.explore-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 8px 8px 20px var(--shadow-color);
}
.explore-card .card-icon { font-size: 2.5rem; margin-bottom: 10px; color: var(--red-ink); }
.explore-card h3 { font-size: 1.2rem; font-weight: bold; margin-bottom: 5px; }
.explore-card p { font-size: 0.9rem; color: var(--ink-brown); opacity: 0.8; margin-bottom: 10px; }
.explore-card .card-action { font-weight: bold; color: var(--red-ink); }

/* --- 🗺️ 地图展示区 --- */
#map8 {
    border: 5px solid var(--dark-brown) !important;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5) !important;
}

/* --- ⚙️ 功能入口区 --- */
.function-entrances-section { background: rgba(210, 180, 140, 0.3); padding: 20px; border-radius: 10px; border: 2px dashed var(--dark-brown); }
.entrance-group { margin-bottom: 20px; }
.group-title { text-align: center; font-size: 1.5rem; color: var(--red-ink); margin-bottom: 15px; }
.entrance-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.entrance-btn {
    background: linear-gradient(135deg, var(--parchment-bg) 0%, #e6d7a3 100%);
    color: var(--ink-brown);
    text-decoration: none;
    padding: 15px;
    width: 130px;
    border-radius: 8px;
    border: 2px solid var(--dark-brown);
    box-shadow: 3px 3px 8px var(--shadow-color);
    transition: all 0.3s ease;
    text-align: center;
}
.entrance-btn:hover { transform: translateY(-3px); box-shadow: 5px 5px 12px var(--shadow-color); }
.entrance-btn i { font-size: 2rem; display: block; margin-bottom: 8px; }
.entrance-btn span { font-weight: bold; }

/* --- 文章列表模块 --- */
.legacy-posts-section { background: transparent; padding: 0; }
/* 你可能需要调整 module-posts.php 内部的样式来匹配新主题 */

/* --- 手机端底部导航栏 --- */
.mobile-bottom-nav {
    background: var(--dark-brown);
    border-top: 3px solid var(--gold-accent);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
}
.mobile-nav-item { color: var(--parchment-bg); }
.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--gold-accent);
    background: rgba(0,0,0,0.2);
}
.mobile-nav-item.center-btn {
    background: var(--red-ink);
    border: 3px solid var(--gold-accent);
}
.mobile-nav-item.center-btn:hover {
    background: #7a2222;
}

/* ========================================================================
   响应式优化 - 2025年12月30日全面升级
   ======================================================================== */

/* 平板端优化 (768px - 1024px) */
@media (max-width: 1024px) {
    .th-hero-social-proof {
        gap: 1rem;
    }

    .th-proof-item {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .th-btn-mega {
        padding: 1.5rem 1.75rem;
    }

    .th-section-header {
        padding: 1.5rem 1rem;
    }
}

/* 移动端优化 (最大宽度 768px) */
@media (max-width: 768px) {
    /* 基础设置 */
    .explore-methods-section { display: block; }
    body { padding-bottom: 70px; }

    /* Hero区域 */
    .th-hero-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .th-hero-left,
    .th-hero-right {
        width: 100%;
        text-align: center;
    }

    .th-hero-title-v2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .th-hero-subtitle-v2 {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }

    .th-hero-social-proof {
        justify-content: center;
        gap: 0.75rem;
    }

    .th-proof-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* CTA按钮移动端优化 */
    .th-btn-mega {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .th-btn-mega-icon {
        font-size: 1.5rem;
    }

    .th-btn-mega-text {
        align-items: center;
    }

    .th-btn-mega-text strong {
        font-size: 1.1rem;
    }

    .th-btn-mega-text small {
        font-size: 0.8rem;
    }

    .th-btn-mega-arrow {
        display: none; /* 隐藏箭头以节省空间 */
    }

    .th-btn-secondary {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    /* Section标题优化 - 移动端强制单行显示 */
    .th-section-title-v2 {
        font-size: clamp(1.2rem, 5vw, 1.8rem); /* 减小字体防止换行 */
        gap: 0.4rem; /* 减小间距 */
        flex-wrap: nowrap !important; /* 强制不换行 */
        white-space: nowrap; /* 防止文字换行 */
    }

    .title-icon {
        font-size: 1em; /* 减小图标大小 */
        flex-shrink: 0; /* 图标不缩小 */
    }

    .title-badge {
        font-size: 0.4em; /* 进一步减小徽章 */
        padding: 0.15rem 0.5rem;
        flex-shrink: 0; /* 徽章不缩小 */
    }

    .th-section-subtitle {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    /* 地图区域 */
    .th-map-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }

    .th-map-wrapper {
        border-radius: 12px;
    }

    .th-map-large {
        min-height: 300px;
    }

    /* 动态列表 */
    .column-title-v2 {
        font-size: 1.25rem;
        gap: 0.5rem;
    }

    .column-count {
        font-size: 0.65em;
        padding: 0.2rem 0.6rem;
        min-width: 40px;
    }

    .poi-list {
        gap: 0.75rem;
    }

    .poi-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .poi-image {
        width: 60px;
        height: 60px;
    }

    .poi-no-image {
        font-size: 1.5rem;
    }

    .poi-title {
        font-size: 1rem;
    }

    .poi-meta {
        font-size: 0.85rem;
        gap: 0.75rem;
    }

    .th-btn-text-action {
        font-size: 0.95rem;
        padding: 0.6rem 1.25rem;
    }

    /* 工具箱网格 */
    .explore-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .explore-card {
        padding: 10px;
    }

    .explore-card h3 {
        font-size: 0.9rem;
    }

    .explore-card p {
        font-size: 0.7rem;
        display: none; /* 隐藏描述以节省空间 */
    }
}

/* 小屏手机优化 (最大宽度 480px) */
@media (max-width: 480px) {
    .th-hero-container {
        padding: 1.5rem 0.75rem;
    }

    .th-hero-social-proof {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .th-proof-item {
        width: 100%;
        justify-content: center;
    }

    .th-section-header {
        padding: 1rem 0.5rem;
    }

    /* 小屏也保持单行显示,只是更紧凑 */
    .th-section-title-v2 {
        flex-direction: row !important; /* 强制横向排列 */
        flex-wrap: nowrap !important; /* 不换行 */
        gap: 0.3rem; /* 更小的间距 */
        font-size: clamp(1rem, 4.5vw, 1.5rem); /* 更小的字体 */
    }

    .title-icon {
        font-size: 0.9em;
    }

    .title-badge {
        font-size: 0.35em;
        padding: 0.1rem 0.4rem;
    }

    .column-title-v2 {
        flex-wrap: wrap;
        font-size: 1.1rem;
    }

    /* 保持POI卡片水平布局,不要改成垂直 */
    .poi-item {
        flex-direction: row !important; /* 保持水平 */
        align-items: flex-start;
        text-align: left;
        padding: 0.4rem;
        gap: 0.4rem;
    }

    .poi-image {
        width: 45px !important;
        height: 45px !important;
        flex-shrink: 0;
    }

    .poi-info {
        flex: 1;
        align-items: flex-start;
    }

    .poi-title {
        font-size: 0.8rem;
    }

    .poi-meta {
        font-size: 0.7rem;
    }

    .poi-title {
        white-space: normal;
        overflow: visible;
        text-align: center;
    }

    .poi-meta {
        justify-content: center;
    }

    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =================================================================
   [新增] 欢迎Toast提示 - 2025年12月30日
   ================================================================= */

.welcome-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 320px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
    z-index: 1000;
    animation: slideInRight 0.5s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: rotate(90deg);
}

.toast-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.toast-content h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.toast-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

.toast-content strong {
    color: #FFD700;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.toast-btn {
    display: block;
    width: 100%;
    background: #fff;
    color: #FF6B35;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.toast-btn:hover {
    background: #FFD700;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.toast-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.toast-stats small {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
    .welcome-toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}

/* =================================================================
   [新增] 优化后的Section标题样式 - 2025年12月30日
   ================================================================= */

.th-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem 1rem;
}

.th-section-title-v2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--red-ink);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: nowrap; /* 桌面端也不换行,保持紧凑 */
}

.title-icon {
    font-size: 1.2em;
    display: inline-block;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.title-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35 0%, #FF4500 100%);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.5em;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.th-section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--ink-brown);
    opacity: 0.8;
    margin: 0;
}

.th-section-subtitle strong {
    color: var(--gold-accent);
    font-size: 1.2em;
}

/* 地图区域样式增强 */
.th-map-section {
    background: linear-gradient(to bottom, rgba(244, 228, 188, 0.3) 0%, transparent 100%);
    padding: 2rem 0; /* 减少padding给地图更多空间 */
    margin: 1.5rem 0; /* 减少margin */
}

/* 移动端地图区域优化 */
@media (max-width: 768px) {
    .th-map-section {
        padding: 0.5rem 0; /* 进一步减少上下边距 */
        margin: 0.5rem 0;
    }

    /* 减少标题区域的内边距 */
    .th-section-header {
        margin-bottom: 1rem; /* 减少标题与地图的间距 */
        padding: 0.5rem 1rem; /* 减少内边距 */
    }
}

.th-map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(107, 79, 58, 0.2);
}

.th-map-large {
    position: relative;
    border: 3px solid var(--dark-brown);
    border-radius: 16px;
    overflow: hidden;
}

.th-map-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--gold-accent);
    border-radius: 14px;
    pointer-events: none;
    z-index: 1;
}

/* =================================================================
   [新增] 动态列表样式优化 - 2025年12月30日
   ================================================================= */

.column-title-v2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red-ink);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--gold-accent);
    position: relative;
}

.column-title-v2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--red-ink);
}

.column-icon {
    font-size: 1.3em;
    display: inline-flex;
    animation: bounce-icon 2s ease-in-out infinite;
}

.column-text {
    flex: 1;
}

.column-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-accent) 0%, #d4a017 100%);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: 700;
    min-width: 50px;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

/* POI列表项增强 */
.poi-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.poi-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 2px solid var(--dark-brown);
    border-radius: 12px;
    text-decoration: none;
    color: var(--ink-brown);
    transition: all 0.3s ease;
    box-shadow: 2px 2px 8px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.poi-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.1), transparent);
    transition: left 0.5s;
}

.poi-item:hover {
    transform: translateY(-3px);
    box-shadow: 4px 6px 15px var(--shadow-color);
    border-color: var(--gold-accent);
}

.poi-item:hover::before {
    left: 100%;
}

.poi-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gold-accent);
    background: var(--parchment-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.poi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poi-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(184, 134, 11, 0.2) 100%);
    color: var(--gold-accent);
    font-size: 2rem;
}

.poi-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.poi-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red-ink);
    margin: 0 0 0.5rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.poi-item:hover .poi-title {
    color: var(--gold-accent);
}

.poi-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.poi-category,
.poi-views,
.poi-new {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.poi-new {
    color: var(--gold-accent);
    font-weight: 700;
}

.poi-new i {
    animation: twinkle 1.5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 查看全部链接 */
.view-all-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed var(--dark-brown);
}

.th-btn-text-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--red-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--red-ink);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: transparent;
}

.th-btn-text-action:hover {
    background: var(--red-ink);
    color: #fff;
    transform: translateX(5px);
}

.th-btn-text-action i {
    transition: transform 0.3s ease;
}

.th-btn-text-action:hover i {
    transform: translateX(5px);
}

/* 空状态样式 */
.th-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

/* =================================================================
   [新增] 优化后的Hero区域样式 - 2025年12月30日
   ⚠️  CSS冲突警告: 部分样式在 index-inline.css 也有定义
   📋 详细分析: 参考 CSS-CONFLICTS-ANALYSIS.md
   ================================================================= */

/* Hero区域层级修复 */
.th-hero {
    position: relative;
    min-height: 500px;
}

.th-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 1;
}

.th-hero-container {
    position: relative;
    z-index: 10;
}

/* Hero标题v2 - 简化版 */
.th-hero-title-v2 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    text-shadow:
        3px 3px 10px rgba(0,0,0,1),
        -1px -1px 8px rgba(0,0,0,0.8),
        0 0 40px rgba(0,0,0,0.8);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.th-highlight-gold {
    color: #FFD700;
    text-shadow:
        3px 3px 10px rgba(0,0,0,1),
        0 0 30px rgba(255, 215, 0, 0.8),
        0 0 50px rgba(255, 215, 0, 0.4);
}

.th-hero-subtitle-v2 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: #fff;
    text-shadow:
        2px 2px 8px rgba(0,0,0,1),
        0 0 20px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* 社会证明元素 */
.th-hero-social-proof {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.th-proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    color: #fff;
    font-size: 0.95rem;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.th-proof-item i {
    font-size: 1.1rem;
    color: #FFD700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.th-proof-item strong {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* 实时活动指示器 */
.th-proof-live {
    background: rgba(255, 107, 53, 0.9);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
}

.th-proof-live i {
    color: #FFD700;
    animation: pulse-dot 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Mega CTA按钮 */
.th-hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.th-btn-mega {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: #fff;
    text-decoration: none;
    padding: 1.75rem 2rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.th-btn-mega::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.th-btn-mega:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.6);
    color: #fff;
}

.th-btn-mega:hover::before {
    left: 100%;
}

.th-btn-mega-icon {
    font-size: 2rem;
    animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes bounce-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.th-btn-mega-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.th-btn-mega-text strong {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.25rem;
}

.th-btn-mega-text small {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.th-btn-mega-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.th-btn-mega:hover .th-btn-mega-arrow {
    transform: translateX(5px);
}

/* 次级CTA按钮 */
.th-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.th-btn-secondary:hover {
    background: rgba(255, 215, 0, 0.9);
    border-color: #FFD700;
    transform: translateY(-2px);
    color: #333;
    text-shadow: none;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .th-hero-social-proof {
        gap: 0.75rem;
    }

    .th-proof-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .th-btn-mega {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .th-btn-mega-icon {
        font-size: 1.5rem;
    }

    .th-btn-mega-text strong {
        font-size: 1.1rem;
    }

    .th-btn-mega-text small {
        font-size: 0.8rem;
    }
}