/* vav.css - 梵藝密藏主样式文件 - 列宽200px完整版 */

/* 基础重置与全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    height: 100%;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    min-height: 100vh;
    padding-top: 116px;
    color: #333;
    line-height: 1.6;
    overscroll-behavior-y: contain;
    position: relative;
    transition: background 0.5s ease;
    --primary-color: #8B4513;
    --accent-color: #4a235a;
    background: linear-gradient(135deg, #f9f3e9 0%, #f0e6d2 100%);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%238B4513" stroke-width="0.5" stroke-opacity="0.1"/></svg>');
    background-repeat: repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #D4AF37;
    --accent-color: #4B0082;
    --light-color: #F5F5DC;
    --dark-color: #3C2F2F;
    --text-color: #333;
}

/* 顶部黑色横条 */
.top-bar {
    background-color: #000;
    color: white;
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.top-bar-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-slogan {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    padding-right: 15px;
}

/* 导航容器 */
.nav-platform {
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: background 0.5s ease;
    background: linear-gradient(135deg, #3C2F2F 0%, #8c1515 100%);
}

.nav-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M20,20 Q40,5 60,20 T100,20 Q85,40 100,60 T100,100 Q80,85 60,100 T20,100 Q5,80 20,60 T20,20" fill="none" stroke="%23D4AF37" stroke-width="1"/></svg>');
}

/* 主导航布局 */
.nav-main {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 80px;
    position: relative;
    z-index: 10;
}

/* Logo样式 */
.nav-logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 101;
    -webkit-tap-highlight-color: transparent;
}

.logo-image {
    height: 50px;
    width: 50px;
    margin-right: 12px;
    background-image: url('https://www.vanartvault.com/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-family: 'Noto Serif SC', serif;
    font-size: 24px;
    font-weight: bold;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    transform: translateZ(0);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    color: var(--secondary-color);
    font-family: 'Noto Serif SC', serif;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-subtitle {
    color: var(--light-color);
    font-size: 14px;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-top: 3px;
}

/* 导航分类区域 */
.nav-categories {
    display: flex;
    flex: 1;
    height: 100%;
    position: relative;
}

.nav-category {
    position: relative;
    height: 100%;
    flex: 1 0 auto;
    min-width: 100px;
    max-width: 200px;
}

.category-title {
    color: var(--light-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    padding: 0 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 5;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.category-title:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* 下拉面板 - 修改为200px列宽 */
.nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(60, 47, 47, 0.98);
    box-sizing: content-box !important;
    border: none;
    border-bottom: 6px solid var(--secondary-color);
    border-left: 1px solid var(--secondary-color); 
    border-right: 1px solid var(--secondary-color);
    width: calc(4 * 200px + 3 * 20px + 50px);
    margin-left: -1px;
    border-radius: 0;
    display: none;
    padding: 15px 25px;
    z-index: 100;
    box-shadow: none;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
    transform: translateZ(0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    grid-template-columns: repeat(4, 200px);
    gap: 20px;
}

.nav-panel.narrow {
    grid-template-columns: repeat(3, 200px);
    width: calc(3 * 200px + 2 * 20px + 50px);
}

.nav-panel.extra-narrow {
    grid-template-columns: repeat(2, 200px);
    width: calc(2 * 200px + 1 * 20px + 50px);
}

/* 面板区块 - 修改为200px宽度 */
.panel-section {
    padding: 0 15px;
    margin: 0 0 10px 0;
    width: 200px;
}

/* 二级菜单标题样式 */
.section-title {
    color: #d4af37 !important;
    font-size: 15px !important;
    padding-bottom: 6px;
    margin: 0 0 10px 0;
    border-bottom: 1px solid var(--primary-color);
    position: relative;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
    font-size: 14px;
    color: #d4af37;
}

.section-title:after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -1px;
    left: 0;
}

/* 三级菜单项 */
.section-item {
    margin: 0 0 5px 0;
    padding: 0;
    position: relative;
}

.section-item a {
    color: rgba(255,255,255,0.9) !important;
    font-size: 14px !important;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
    padding: 8px 0 !important;
    position: relative;
    padding-left: 25px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
}

.section-item a i {
    width: 20px;
    margin-right: 8px;
    color: var(--secondary-color);
    font-size: 14px;
    transition: all 0.3s;
}

.section-item a:hover {
    color: #D4AF37 !important;
    padding-left: 30px;
}

.section-item a:hover i {
    transform: scale(1.2);
}

.global-icon {
    display: inline-block;
    margin-left: 5px;
    font-size: 14px;
    color: var(--secondary-color);
}

.certification-badge {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D4AF37"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"/></svg>') no-repeat;
    margin-left: 5px;
    vertical-align: middle;
}

/* 用户登录区域 */
.user-auth {
    display: flex;
    align-items: center;
    margin-left: 30px;
    position: relative;
    z-index: 10;
}

.auth-btn {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.auth-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.auth-btn i {
    margin-right: 5px;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(60, 47, 47, 0.98);
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    padding: 15px;
    width: 200px;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 100;
}

.user-dropdown.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

.user-name {
    color: var(--light-color);
    font-size: 14px;
    font-weight: 500;
}

.user-links {
    list-style: none;
}

.user-link {
    margin-bottom: 8px;
}

.user-link a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    padding: 5px 0;
    transition: all 0.3s;
}

.user-link a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.user-link a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    color: var(--secondary-color);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 102;
    -webkit-tap-highlight-color: transparent;
}

.mobile-subtitle {
    display: none;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
    line-height: 1.2;
}

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

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

/* 页面内容区 */
.page-content {
    max-width: 1400px;
    margin: 40px auto;
    padding: 30px;
    text-align: center;
    color: var(--dark-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.95);
    flex: 1;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

.featured-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.featured-subtitle {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.featured-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 100%;
}

.featured-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.featured-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.featured-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.featured-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-description {
    color: var(--dark-color);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.7;
}

.featured-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    max-width: 200px;
    margin: 0 auto;
}

.featured-button:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.featured-button i {
    margin-right: 8px;
}

/* 首页特色区块 */
.home-sections {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 30px;
}

.home-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.view-all {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.view-all:hover {
    color: var(--accent-color);
}

.view-all:hover i {
    transform: translateX(3px);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.item-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    max-width: 100%;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.item-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.item-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.item-content {
    padding: 20px;
}

.item-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 600;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.item-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.item-button {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.item-button:hover {
    background: var(--accent-color);
}

/* 页脚样式 */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-image: url('https://www.vanartvault.com/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
    border-radius: 0;
    background-color: transparent;
}

.footer-logo-text {
    font-family: 'Noto Serif SC', serif;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.footer-about {
    margin-bottom: 20px;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 12px;
}

.footer-link a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-link a i {
    margin-right: 8px;
    color: var(--secondary-color);
    font-size: 0.8rem;
    transition: all 0.3s;
}

.footer-link a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-link a:hover i {
    transform: scale(1.2);
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-icon {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-contact-text {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-copyright {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

.footer-hk {
    font-style: italic;
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* 响应式设计 - 移动端样式 */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* 为英雄提高30px,原100px间 */
        touch-action: pan-y;
        padding-bottom: 68px; /* 为底部导航留出空间 */
    }
    
    .top-bar {
        height: 30px;
        font-size: 12px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1001;
    }
    
    .top-bar-container {
        padding: 0 15px;
    }
    
    .top-bar-slogan {
        font-size: 10px;
        white-space: normal;
        overflow: visible;
        max-width: none;
        padding-right: 5px;
        display: block !important;
    }
    
    .nav-platform {
        top: 30px;
        position: fixed;
        z-index: 1000;
    }
    
    .nav-main {
        justify-content: space-between;
        height: 70px;
        padding: 0 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .user-auth {
        display: none;
    }
    
    .nav-categories {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 168px); /* 调整为：100px顶部 + 68px底部 */
        background: var(--dark-color);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 15px;
        transition: all 0.5s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        z-index: 999;
        transform: translateZ(0);
        will-change: transform;
        -webkit-transform-style: preserve-3d;
        backface-visibility: hidden;
        touch-action: pan-y;
        bottom: 68px; /* 新增底部定位 */
    }
    
    .nav-categories.active {
        left: 0;
    }
    
    .nav-category {
        width: 100%;
        max-width: none;
        height: auto;
        margin-bottom: 10px;
        flex: 0 0 auto;
    }
    
    .category-title {
        justify-content: flex-start;
        text-align: left;
        padding: 15px;
        background: rgba(139, 69, 19, 0.3);
        position: relative;
        height: auto;
        width: 100%;
        touch-action: manipulation;
    }
    
    /* 移动端专属样式：隐藏第一个分类(首页)的"+"号 */
    .nav-category:first-child .category-title:after {
        display: none !important;
    }
    
    /* 确保首页分类的active状态也不显示"×" */
    .nav-category:first-child .category-title.active:after {
        display: none !important;
    }
    
    /* 保留其他分类的"+"号及其交互功能 */
    .nav-category:not(:first-child) .category-title:after {
        content: "+";
        position: absolute;
        right: 15px;
        font-size: 20px;
        transition: transform 0.3s;
        display: block !important;
    }
    
    .nav-category:not(:first-child) .category-title.active:after {
        content: "×";
        transform: rotate(0);
        display: block !important;
    }
    
    .mobile-subtitle {
        display: block;
    }
    
    .nav-panel {
        position: static !important;
        width: 100% !important;
        display: none !important;
        grid-template-columns: 1fr !important;
        animation: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 15px !important;
        background: rgba(0,0,0,0.2) !important;
        margin-top: 5px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        max-height: 0;
        transition: max-height 0.3s ease;
        transform: translateZ(0);
        will-change: transform;
        touch-action: pan-y;
        padding-right: 5px;
    }
    
    .nav-panel.active {
        display: grid !important;
        max-height: calc(100vh - 240px) !important; /* 调整为更大的空间 */
        overflow-y: auto !important;
    }
    
    .panel-section {
        padding: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
    }
    
    .section-title {
        color: #d4af37 !important;
        font-size: 15px !important;
        margin-bottom: 0 !important;
        padding-bottom: 6px !important;
    }
    
    .section-item {
        margin-bottom: 0 !important;
        padding: 0 0 6px 0 !important;
    }
    
    .section-item a {
        font-size: 14px !important;
        padding: 8px 0 !important;
        touch-action: manipulation;
        min-height: 44px !important;
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
    }
    
    .page-content {
        background: transparent;
        box-shadow: none;
        margin: 0 auto;
        padding: 15px;
        border-radius: 0;
        width: calc(100% - 20px);
        max-width: none;
    }
    
    .featured-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .featured-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .featured-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .featured-item {
        max-width: 100%;
    }
    
    .featured-image {
        height: 180px;
    }
    
    .featured-details {
        padding: 15px;
    }
    
    .featured-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .home-sections {
        padding: 0 15px;
    }
    
    .section-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        white-space: nowrap;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0;
        padding-right: 10px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .view-all {
        margin-top: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .item-card {
        max-width: 100%;
    }
    
    .item-image {
        height: 160px;
    }
    
    .item-content {
        padding: 15px;
    }
    
    .footer {
        display: none;
    }
}

/* iPad专属优化 */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .nav-panel {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        max-height: 70vh !important;
        transform: translate3d(0,0,0) !important;
    }
    
    .nav-panel.extra-narrow {
        max-height: 60vh !important;
    }
    
    .section-item a {
        padding: 10px 0 !important;
        min-height: 44px !important;
    }
    
    .nav-categories {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

/* iPad Pro 12.9英寸优化 */
@media only screen and (min-width: 1024px) and (max-width: 1366px) {
    .nav-panel {
        max-height: 60vh !important;
    }
    
    .nav-panel.extra-narrow {
        max-height: 50vh !important;
    }
}

/* iOS 15+ 特殊优化 */
@supports (-webkit-touch-callout: none) {
    .nav-categories,
    .nav-panel {
        -webkit-transform: translate3d(0,0,0);
        scroll-behavior: auto !important;
    }
    
    @media (max-width: 768px) {
        .nav-panel.active {
            max-height: calc(100vh - 260px) !important; /* iOS需要更大的空间 */
        }
    }
}

/* 英雄区域样式 */
/* 英雄区域样式 */
.hero-section {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    text-align: center;
    color: #fff;
    margin-bottom: 0px;
    background: linear-gradient(rgba(60, 47, 47, 0.8), rgba(60, 47, 47, 0.8));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(35, 25, 25, 0.15),
        rgba(10, 5, 5, 0.35)
    );
    z-index: 0;
    mix-blend-mode: soft-light;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: calc(100% - 60px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0px;
    padding-right: 0px;
}

.hero-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.3),
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(0, 0, 0, 0.6);
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background-color: #D4AF37;
    color: #3C2F2F;
    border: 2px solid #D4AF37;
}

.btn-primary:hover {
    background-color: transparent;
    color: #D4AF37;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 修改后的页脚样式 */
.footer {
    background: linear-gradient(135deg, #3C2F2F 0%, #8B4513 100%);
    color: #f8f8f8;
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M20,20 Q40,5 60,20 T100,20 Q85,40 100,60 T100,100 Q80,85 60,100 T20,100 Q5,80 20,60 T20,20" fill="none" stroke="%23D4AF37" stroke-width="1"/></svg>');
    background-repeat: repeat;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.footer-logo-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 22px;
    font-weight: bold;
    color: #D4AF37;
}

.footer-about {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.2);
    color: #D4AF37;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #D4AF37;
    color: #3C2F2F;
    transform: translateY(-3px);
}

.footer-title {
    color: #D4AF37;
    font-family: 'Noto Serif SC', serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #D4AF37;
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-link {
    color: #f8f8f8;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-link:hover {
    color: #D4AF37;
    opacity: 1;
    padding-left: 5px;
}

.footer-link i {
    margin-right: 8px;
    font-size: 14px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact-icon {
    color: #D4AF37;
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.footer-contact-text {
    flex: 1;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-copyright {
    margin-bottom: 10px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-legal a {
    color: #f8f8f8;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #D4AF37;
}

.footer-hk {
    font-style: italic;
    opacity: 0.6;
}

.footer-contact-text a {
    color: white;
    text-decoration: none;
}

.footer-contact-text a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* 栏目标题样式 */
.section-header {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header .section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 0;
    line-height: 1.2;
}

.section-header:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(139, 69, 19, 0.2) 0%, 
        rgba(139, 69, 19, 0.8) 50%, 
        rgba(139, 69, 19, 0.2) 100%);
}

.home-section:nth-of-type(1) .section-title::after,
.home-section:nth-of-type(2) .section-title::after,
.home-section:nth-of-type(3) .section-title::after {
    display: none !important;
}

.view-all {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: 'Noto Sans SC', sans-serif;
    margin-bottom: 5px;
}

.view-all i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.view-all:hover {
    color: var(--accent-color);
}

.view-all:hover i {
    transform: translateX(3px);
}

.home-section:nth-of-type(1) .section-title,
.home-section:nth-of-type(2) .section-title,
.home-section:nth-of-type(3) .section-title {
    font-size: 24px !important;
}

/* 响应式调整 */
@media (min-width: 768px) {
    .footer-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 新增移动端底部菜单样式 */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1002; /* 提高层级在导航面板之上 */
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.mobile-footer .nav {
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-footer .nav-item {
    flex: 1;
    text-align: center;
}

.mobile-footer .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 12px;
}

.mobile-footer .nav-link i {
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .mobile-footer {
        display: block;
    }
    body {
        padding-bottom: 68px;
    }
}

/* 英雄区域样式 */
.hero-section {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 0px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(35, 25, 25, 0.15),
        rgba(10, 5, 5, 0.35)
    );
    z-index: 0;
    mix-blend-mode: soft-light;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* 修改文字亮度（降低不透明度） */
.hero-title {
    color: rgba(255, 255, 255, 0.85); /* 原#fff改为85%透明度 */
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(0, 0, 0, 0.6);
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color 0.3s ease; /* 添加平滑过渡效果 */
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.75); /* 原rgba(255,255,255,0.9)改为75%透明度 */
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    transition: color 0.3s ease; /* 添加平滑过渡效果 */
}

/* 鼠标悬停时恢复亮度 */
.hero-content:hover .hero-title {
    color: rgba(255, 255, 255, 0.95);
}
.hero-content:hover .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}