:root {
    --primary-color: #7D5A96; /* 低饱和度紫调，更符合潮流审美 */
    --secondary-color: #f5f0f8; /* 柔和背景色 */
    --highlight-color: #C284D6; /* 强调色使用浅紫 */
    --text-color: #2D2D2D; /* 深灰文本更易读 */
    --bg-color: #f9f6fc; /* 整体背景微调 */
    --gradient-primary: linear-gradient(135deg, #7D5A96 20%, #9B78B3 80%); /* 新增渐变变量 */
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* 使用现代无衬线字体 */
    line-height: 1.7;
    color: var(--text-color);
    padding: 0;
    background-color: var(--bg-color);
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}
.container {
    max-width: 750px;
    margin: 0 auto;
}
.header {
    text-align: center;
    margin: 15px 0 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}
.header h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.category {
    background: var(--gradient-primary); /* 使用新增渐变 */
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 1.2px;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px; /* 增大分类标题圆角 */
    margin: 36px 0 20px;
    text-align: left; /* 左对齐更符合现代设计 */
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.show-list {
    list-style: none;
    padding: 0;
}
.show-item {
    background: #fff;
    border-radius: 12px; /* 增大圆角 */
    padding: 20px; /* 增加内间距 */
    margin-bottom: 24px; /* 调整项间距 */
    box-shadow: 0 6px 18px rgba(0,0,0,0.06); /* 优化阴影柔和度 */
    border: none; /* 移除生硬边框 */
    width: 100%;
    transition: transform 0.2s ease;
}
.show-item:hover {
    transform: translateY(-4px); /* 添加悬停微动画 */
}
.show-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 4px solid var(--primary-color);
}
.highlight-item, .suggestion-item {
    margin-bottom: 12px;
}
.highlight-title, .suggestion-title {
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.highlight-item span:not(.highlight-title) {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 8px;
}
.divider {
    height: 2px;
    background: linear-gradient(to right, 
        rgba(146,97,126,0), 
        rgba(146,97,126,0.3), 
        rgba(146,97,126,0));
    margin: 20px 0;
}
ul.feature-list {
    list-style: none;
    padding-left: 5px;
}
ul.feature-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}
ul.feature-list li:before {
    content: "➤";
    color: var(--primary-color);
    font-size: 0.9em;
    left: 3px;
    top: 1px;
}
.emoji {
    margin-right: 5px;
}

/* 公告弹窗样式 */
.announcement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    max-width: 600px;
    width: 80%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.modal-title {
    font-size: 1.5em;
    color: #d32f2f;
    font-weight: bold;
}
.close-btn {
    cursor: pointer;
    font-size: 1.5em;
    color: #999;
}
.modal-body {
    line-height: 1.6;
}
.modal-body p {
    margin-bottom: 10px;
}

/* 预订模态框两列布局 */
.booking-option {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.booking-card {
    flex: 1;
    text-align: left;
    padding: 12px 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.booking-card:first-child {
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
}

.booking-card:last-child {
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.15);
}

.booking-card .card-title {
    font-size: 0.95em;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.booking-card .card-desc {
    font-size: 0.8em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.booking-card img {
    width: 100%;
    max-width: 140px;
    height: auto;
    border-radius: 6px;
}

@media (max-width: 600px) {
    .booking-option {
        flex-direction: column;
        gap: 4px;
    }
    
    .booking-card {
        padding: 6px 8px;
    }
    
    .booking-card .card-title {
        font-size: 0.82em;
        margin-bottom: 3px;
    }
    
    .booking-card .card-desc {
        font-size: 0.7em;
        line-height: 1.35;
        margin-bottom: 4px;
    }
    
    .booking-card img {
        max-width: 90px;
    }
    
    .modal-content {
        padding: 8px 4px;
        width: 98%;
    }
    
    .modal-header {
        margin-bottom: 4px;
        padding-bottom: 4px;
    }
    
    .modal-title {
        font-size: 0.95em;
    }
    
    .modal-body {
        padding: 0;
    }
    
    .modal-body > p {
        font-size: 0.78em;
        margin-bottom: 4px;
    }
    
    .modal-footer {
        padding: 4px 0 0;
    }
    
    .modal-footer p {
        font-size: 0.62em !important;
    }
}

/* 响应式设计 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
}

.nav-tabs {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    background: transparent;
    box-shadow: none;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
}

.mobile-menu.active {
    display: flex;
}

@media (min-width: 601px) {
    .menu-toggle {
        display: none !important;
    }
    
    .nav-tabs {
        display: flex !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .menu-toggle {
        display: flex !important;
        align-items: center;
        padding: 8px 15px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        cursor: pointer;
        margin: 10px;
        transition: all 0.2s ease;
    }
    
    .mobile-menu {
        display: none;
        flex-direction: row;
    flex-wrap: wrap;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    .nav-tab {
        flex: 0 0 50%;
        padding: 8px;
    }
    }
    
    .mobile-menu.active {
        display: flex !important;
    }
    
    .mobile-menu .nav-tab {
        margin: 8px 0;
        padding: 12px 15px;
        border-radius: 6px;
        background: var(--secondary-color);
        transition: all 0.2s ease;
        text-align: center;
    }
    
    .mobile-menu .nav-tab:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }
}
a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 8px;
    border-bottom: 1px dashed var(--primary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--highlight-color);
    border-bottom-color: var(--highlight-color);
}

.show-item {
    transition: all 0.3s ease;
}
.show-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

/* 新增导航栏样式 */
.sticky-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 10px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px; 
    z-index: 1000;
    /* 添加 flex 布局并居中 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-name {
    color: var(--primary-color);
    font-weight: 600;
    /* 如果需要可以添加一些右边距 */
    margin-right: 20px;
}

.nav-tabs {
    display: flex;
    overflow-x: auto;
    padding: 0 10px;
    gap: 6px;
    scrollbar-width: none;
    /* 确保导航栏本身不会影响居中 */
    margin: 0 auto; 
}
.nav-tabs::-webkit-scrollbar {
    display: none;
}
.nav-tab {
    padding: 6px 12px;
    white-space: nowrap;
    font-size: 0.85rem;
    background: var(--secondary-color);
    border-radius: 16px;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 2px 0;
}
.nav-tab.active {
    background: var(--primary-color);
    color: white;
}

/* 移动端导航样式 */
@media (max-width: 600px) {
    /* 隐藏 PC 端导航 */
    #desktopNav {
        display: none;
    }

    /* 显示移动端菜单按钮 */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        cursor: pointer;
        margin: 10px;
        transition: all 0.2s ease;
        margin-left: auto;
        min-width: 40px;
        min-height: 36px;
    }

    .menu-toggle i {
        display: block;
        font-size: 1.2rem;
        line-height: 1;
        color: white;
    }

    /* 移动端菜单 */
    .mobile-menu {
        display: none;
        flex-direction: row;
    flex-wrap: wrap;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    .nav-tab {
        flex: 0 0 50%;
        padding: 8px;
    }
    }

    /* 确保陕西文旅演出和导航在一行，可根据实际情况调整 */
    .sticky-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-tab {
        padding: 5px 10px;
        font-size: 0.85rem;
    }
    .site-name {
        font-size: 1.2rem;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .mobile-menu {
        display: none;
        flex-direction: row;
    flex-wrap: wrap;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    .nav-tab {
        flex: 0 0 50%;
        padding: 8px;
    }
    }
    .mobile-menu.active {
        display: flex !important;
    }
    .mobile-menu .nav-tab {
        margin: 8px 0;
        padding: 12px 15px;
        border-radius: 6px;
        background: var(--secondary-color);
        transition: all 0.2s ease;
        text-align: center;
        font-size: 0.9rem;
        /* 使用页面已有的颜色变量，确保和整体色彩协调 */
        color: var(--primary-color); 
        position: relative;
    }
    .mobile-menu .nav-tab:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }
}
.footer-note {
    background-color: var(--secondary-color); /* 使用页面已有颜色变量 */
    color: var(--primary-color); /* 使用页面已有颜色变量 */
    padding: 20px;
    text-align: center;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px; /* 顶部圆角，与导航栏底部圆角呼应 */
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08); /* 顶部阴影，与导航栏底部阴影呼应 */
    margin-top: 30px;
}

.footer-note p {
    margin: 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-note a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-color);
    transition: color 0.3s ease;
}

.footer-note a:hover {
    color: var(--highlight-color);
    border-bottom-color: var(--highlight-color);
}

.booking-section {
    text-align: center;
    padding: 15px 0;
}

.load-html-btn {
    display: inline-block;
    padding: 10px 35px;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(125, 90, 150, 0.3);
}

.load-html-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(125, 90, 150, 0.4);
}

.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.wechat-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.wechat-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 380px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    animation: slideUp 0.3s ease;
}

.wechat-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.wechat-modal-close:hover {
    background: rgba(125, 90, 150, 0.15);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-header {
    padding: 20px 20px 15px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
    background: linear-gradient(135deg, #f9f6fc 0%, #fff 100%);
    border-radius: 12px 12px 0 0;
}

.modal-header > div:first-child {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.modal-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.modal-body {
    padding: 16px;
}

.booking-option {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.booking-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 14px;
    text-align: left;
    border: none;
    transition: all 0.2s;
    flex: 1;
    min-width: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.booking-card:first-child {
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.15);
}

.booking-card:last-child {
    box-shadow: 0 2px 12px rgba(74, 144, 217, 0.15);
}

.booking-card:hover {
    border-color: transparent;
    box-shadow: none;
}

.card-icon {
    display: none;
}

.card-title {
    font-size: 1rem;
    color: #1a3c34;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0;
    background: none;
    -webkit-text-fill-color: #1a3c34;
}

.card-desc {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.booking-card img {
    width: 100%;
    max-width: 140px;
    height: auto;
    border-radius: 8px;
    border: none;
    box-shadow: none;
}

.modal-footer {
    padding: 12px 16px;
    border-top: 1px solid #f5f5f5;
    text-align: center;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.footer-text {
    font-size: 0.72rem;
    color: #bbb;
    margin: 0;
    line-height: 1.4;
}

.thumb-container {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 12px 0;
}

.thumb-item {
    flex: 1;
    text-align: center;
}

.thumb-item .highlight-title {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.thumb-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumb-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease;
}

.image-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1;
}

.image-close-btn:hover {
    background: rgba(125, 90, 150, 0.8);
    transform: rotate(90deg);
}

.image-modal-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.image-modal-img {
    max-width: 100%;
    max-height: calc(90vh - 80px);
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .thumb-img {
        width: 100px;
        height: 70px;
    }

    .image-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        padding: 15px;
    }

    .image-modal-img {
        max-height: calc(95vh - 70px);
    }
}