        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Noto Sans SC', sans-serif;
            background-color: #F9F4E8;
            color: #2A2A2A;
            background-image: url("../images/bg.png");
        }

        /* 轮播淡入动画 */
        .banner-slide {
            animation: fadeIn 0.5s ease-in-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* 滚动 Reveal 动画 */
        .scroll-reveal {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        .scroll-reveal.active {
            opacity: 1;
            transform: translateY(0);
        }


        /* 导航链接下划线 */
        .nav-link {
            position: relative;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #B91C1C;
            transition: width 0.3s ease;
        }
        .nav-link:hover::after, .nav-link.active::after {
            width: 100%;
        }
        .logo{
            width:80px;
        }
        /* 自定义滚动条 */
        .custom-scrollbar::-webkit-scrollbar {
            height: 6px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #B91C1C;
            border-radius: 10px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #7F1D1D;
        }

        /* 按钮脉冲动画 */
        .pulse-animation {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.7); }
            70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(185, 28, 28, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(185, 28, 28, 0); }
        }

        /* 轮播图全屏适配 */
        .banner-img {
            position: absolute;
            inset: 0; /* 等同于top:0; right:0; bottom:0; left:0 */
            width: 100%;
            height: 100%;
            object-fit: cover; /* 关键属性 */
           /* object-fit: contain; 可选：若要求图片完全不裁剪（容器可能留空白），替换cover为contain */
        }
        
        
        /* 卡片悬浮缩放 */
        .hover-scale {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .hover-scale:hover {
            transform: scale(1.03);
            box-shadow: 0 8px 20px rgba(139, 69, 19, 0.2);
        }
        
        

        /* 非遗卡片质感 */
        .heritage-card {
            border: 1px solid rgba(214, 182, 86, 0.2);
            background: linear-gradient(to bottom, #ffffff, #f9f4e8);
        }

        /* 非遗地图点位悬浮效果 */
        .map-point {
            transition: all 0.3s ease;
        }
        .map-point:hover {
            transform: scale(1.15);
            fill: #B91C1C;
            cursor: pointer;
        }

        /* 3D展厅卡片翻转效果 */
        .exhibition-card { 
            perspective: 1500px;
        }
        .exhibition-card-inner { 
            transition: transform 0.6s ease;
            transform-style: preserve-3d;
        }
        .exhibition-card:hover .exhibition-card-inner {
            transform: rotateY(180deg);
        }
        .exhibition-card-front, .exhibition-card-back {
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }
        .exhibition-card-back { 
            transform: rotateY(180deg);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        .cart-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background-color: #B91C1C;
            color: white;
            font-size: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-hover {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .card-hover:hover {
            transform: scale(1.03);
            box-shadow: 0 8px 20px rgba(139, 69, 19, 0.2);
        }


        .quick-links {
            display: flex;
            flex-wrap: wrap; 
            width: 100%;
        }
        .quick-links li {
            width: calc(50% - 5px); 
            margin-right: 10px;
            margin-bottom: 10px;
        }
       .quick-links li:nth-child(2n) {
            margin-right: 0; 
        }
        
        
        /* 非遗资讯 */
        
        .title {
            line-height: 36px;
        }
        .content p{
            line-height: 36px;
        }
        .content img {
            margin-left:auto; 
            margin-right:auto;
            text-align: center;
            max-width:100%!important;
            height:auto!important;
            transition: transform 0.3s ease;
        }
        .content img:hover {
            transform: scale(1.02);
        }
        
         /* 非遗课堂*/
         
        .filter-btn {
            transition: all 0.3s ease;
        }
        .filter-btn.active {
            background-color: #B91C1C;
            color: white;
        }
        
        .video-card {
            background: linear-gradient(rgba(0,0,0,0.02), rgba(139,69,19,0.03));
        }
        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 48px;
            height: 48px;
            background-color: rgba(185,28,28,0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        

        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
        }
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 8px;
        }
        .course-tab {
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .course-tab.active {
            color: #B91C1C;
            border-color: #B91C1C;
        }
        .course-content {
            display: none;
        }
        .course-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        /* 匠人风采 */
        
         .craftsman-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: linear-gradient(to bottom, #ffffff, #f9f4e8);
        }
        .craftsman-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(139, 69, 19, 0.2);
        }
        .master-story-card {
            background: linear-gradient(rgba(0,0,0,0.02), rgba(139,69,19,0.03));
        }
        
        /* 匠人介绍 */
        
        .achievement-item {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .achievement-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(139, 69, 19, 0.2);
        }
        .work-item {
            transition: all 0.3s ease;
            overflow: hidden;
        }
        .work-item img {
            transition: transform 0.5s ease;
        }
        .work-item:hover img {
            transform: scale(1.05);
        }
        .work-item:hover {
            box-shadow: 0 8px 24px rgba(139, 69, 19, 0.2);
        }
        .tab-button {
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .tab-button.active {
            color: #B91C1C;
            border-color: #B91C1C;
        }
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        /* 非遗名录 */
        
        .heritage-gallery-img {
            transition: transform 0.3s ease;
        }
        .heritage-gallery-img:hover {
            transform: scale(1.05);
        }
        .process-step {
            position: relative;
        }
        .process-step::after {
            content: '';
            position: absolute;
            top: 24px;
            right: -20px;
            width: 16px;
            height: 2px;
            background-color: #D6B656;
            display: none;
        }
        @media (min-width: 768px) {
            .process-step:not(:last-child)::after {
                display: block;
            }
        }
        .tab-nav-item {
            transition: all 0.3s ease;
        }
        .tab-nav-item.active {
            color: #B91C1C;
            border-color: #B91C1C;
        }
        
        /* 文创商城 */

        .goods-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: linear-gradient(to bottom, #ffffff, #f9f4e8);
        }
        .goods-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(139, 69, 19, 0.2);
        }
        .activity-banner {
            background: linear-gradient(135deg, rgba(185,28,28,0.8), rgba(139,69,19,0.8)), url('') no-repeat center center;
            background-size: cover;
        }


        .product-thumb {
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        .product-thumb.active {
            border-color: #B91C1C;
            opacity: 1;
        }
        .product-thumb:hover {
            opacity: 0.8;
        }
        .quantity-btn {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .quantity-btn:hover {
            background-color: #B91C1C;
            color: white;
        }
        .product-tab {
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .product-tab.active {
            color: #B91C1C;
            border-color: #B91C1C;
        }
        .tab-panel {
            display: none;
        }
        .tab-panel.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        .spec-item {
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .spec-item.active {
            border-color: #B91C1C;
            background-color: #B91C1C/5;
            color: #B91C1C;
        }
        .spec-item:hover {
            border-color: #8B4513;
        }



        
        /* 关于我们 */
        
        .about-banner {
            background: linear-gradient(135deg, #c76158, #ad7752);
            background-color: #c76158;
        }
        .icon-box {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .icon-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(139, 69, 19, 0.2);
        }
        /* 时间线样式补充 */
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 20px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #B91C1C;
            border: 4px solid #F9F4E8;
            z-index: 1;
        }
        .timeline-item::after {
            content: '';
            position: absolute;
            left: 7px;
            top: 36px;
            bottom: -20px;
            width: 2px;
            background: #D6B656;
            z-index: 0;
        }
        .timeline-item:last-child::after {
            display: none;
        }
        .team-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .team-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(139, 69, 19, 0.2);
        }
        
        /* 新闻卡片样式 */
        .news-card {
            border: 1px solid rgba(214, 182, 86, 0.2);
            background: linear-gradient(to bottom, #ffffff, #f9f4e8);
        }
        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(139, 69, 19, 0.2);
        }
        
        /* 分类标签样式 */
        .category-tag {
            transition: all 0.3s ease;
        }
        .category-tag.active {
            background-color: #B91C1C;
            color: white;
        }
        
        /* 等级标签样式优化 */
        .level-tag {
            border-radius: 0 0 0 8px;
            font-size: 14px;
        }
        .detail-link {
            font-size: 22px;
            font-weight: 800;
        }
        
        /* 地图核心样式 - 仅桌面端显示 */
        .map-container {
            position: relative;
            width: 100%;
            height: 950px;
            min-height: 950px;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
        }
        /* 邵阳地图背景 */
        .shaoyang-map {
            width: 100%;
            height: 100%;
            background-image: url('../images/mapshaoyang.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        /* 区县标注点 */
        .county-marker {
            position: absolute;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: rgba(185, 28, 28, 0.8);
            border: 2px solid white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            z-index: 10;
        }
        .county-marker:hover {
            transform: scale(1.2);
            background-color: #B91C1C;
            box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4);
            /* 鼠标悬浮时提升标注点层级 */
            z-index: 200;
        }
        /* 区县名称标签 */
        .county-name {
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(255, 255, 255, 0.9);
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
            color: #8B4513;
            white-space: nowrap;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            z-index: 9;
        }
        /* 非遗项目下拉菜单 - 提升层级确保遮挡其他标注点 */
        .heritage-dropdown {
            position: absolute;
            width: 280px;
            background-color: white;
            border-radius: 0.8rem;
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
            padding: 1rem;
            display: none;
            z-index: 300; /* 大幅提升层级 */
            max-height: 300px;
            overflow-y: auto;
        }
        .county-marker:hover .heritage-dropdown {
            display: block;
        }
        /* 下拉菜单标题 */
        .dropdown-header {
            font-size: 16px;
            font-weight: bold;
            color: #B91C1C;
            margin-bottom: 0.8rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid rgba(214, 182, 86, 0.2);
            display: flex;
            align-items: center;
        }
        .dropdown-header i {
            margin-right: 0.5rem;
        }
        /* 非遗项目列表 */
        .heritage-item {
            padding: 0.6rem 0;
            border-bottom: 1px solid rgba(214, 182, 86, 0.1);
            transition: background-color 0.2s ease;
        }
        .heritage-item:last-child {
            border-bottom: none;
        }
        .heritage-item:hover {
            background-color: rgba(249, 244, 232, 0.5);
        }
        .heritage-item a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #2A2A2A;
            font-size: 14px;
        }
        .heritage-item a:hover {
            color: #B91C1C;
        }
        .heritage-level {
            display: inline-block;
            padding: 1px 6px;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 500;
        }
        .level-national {
            background-color: #B91C1C;
            color: white;
        }
        .level-provincial {
            background-color: #8B4513;
            color: white;
        }
        .level-city {
            background-color: #D6B656;
            color: #2A2A2A;
        }


        /* 移动端非遗列表样式 */
        .mobile-heritage-list {
            display: none;
            width: 100%;
            background-color: white;
            border-radius: 1rem;
            box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
            padding: 2rem;
            margin-top: 1rem;
        }
        .mobile-county-card {
            border-bottom: 1px solid rgba(214, 182, 86, 0.2);
            padding: 1.2rem 0;
        }
        .mobile-county-card:last-child {
            border-bottom: none;
        }
        .mobile-county-title {
            font-size: 18px;
            font-weight: bold;
            color: #B91C1C;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }
        .mobile-county-title i {
            margin-right: 0.8rem;
        }
        .mobile-heritage-item {
            padding: 0.8rem 0.5rem;
            border-radius: 0.5rem;
            transition: background-color 0.2s ease;
        }
        .mobile-heritage-item:hover {
            background-color: rgba(249, 244, 232, 0.5);
        }
        .mobile-heritage-item a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #2A2A2A;
        }

        /* 响应式适配 - 移动端切换显示方式 */
        @media (max-width: 768px) {
            .map-container {
                display: none; /* 隐藏地图 */
            }
            .mobile-heritage-list {
                display: block; /* 显示列表 */
            }
        }