/* =========== 基础重置与通用样式 =========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #bddb00;
    --dark-bg: #3c312b;
    --light-bg: #f5f5f5;
    --text-dark: #000;
    --text-light: #fff;
    --transition-speed: 0.3s;
    --border-radius: 30px;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 15px 40px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 10px 30px rgba(189, 219, 0, 0.3);
}

html, body {
    width: 100%;
    overflow-x: hidden; /* 防止横向滚动条 */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    -webkit-text-size-adjust: 100%;
}

/* 修复移动端白边问题 */
body {
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
}

/* =========== 导航栏包装器 - 解决宽度问题 =========== */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* 桌面端透明背景 */
    transition: background var(--transition-speed) ease;
    box-sizing: border-box;
}

.nav-wrapper.scrolled {
    background: rgba(0, 0, 0, 0.95); /* 滚动时深色背景 */
}

/* =========== 导航栏样式 =========== */
.nav {
    width: 100%; /* 宽度100% */
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 0 40px;
    transition: all var(--transition-speed) ease;
}

.nav-wrapper.scrolled .nav {
    height: 80px;
    box-shadow: var(--shadow-medium);
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
    transition: transform var(--transition-speed) ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.navList {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navList ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navList li {
    position: relative;
    white-space: nowrap;
}

.navList a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color var(--transition-speed) ease;
    white-space: nowrap;
}

.navList a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.navList a:hover, .navList li.active a{
    color: var(--primary-color);
}

.navList a:hover::after {
    width: 100%;
}

.search {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 购物车下拉菜单 */
.cart-dropdown-container, .language-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-btn, .language-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
}

.cart-btn:hover, .language-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* 下拉菜单样式 */
.cart-dropdown, .language-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-speed) ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-dropdown.visible, .language-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 菜单标题 */
.cart-dropdown h5, .language-dropdown h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding: 0 0 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* 平台列表 */
.platform-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.platform-list li {
    margin: 0;
    padding: 0;
}

/* 平台链接 */
.platform-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
    font-weight: 500;
}

.platform-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(189, 219, 0, 0.2);
}

/* 平台图标 */
.platform-link i {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* 语言列表 */
.language-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.language-list li {
    margin: 0;
    padding: 0;
}
.language-list li a, .platform-list li a{
    color:#666;
}
.language-list li a:hover, .platform-list li a:hover{
    color:#fff;
}

/* 语言链接 */
.language-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
    font-weight: 500;
}

.language-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(189, 219, 0, 0.2);
}

/* 语言图标 */
.language-link i {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* 自定义平台图标样式 */
.bi-alibaba::before {
    content: "🚀";
    font-size: 22px;
}

.bi-tmall::before {
    content: "🐱";
    font-size: 22px;
}

.bi-jd::before {
    content: "🛒";
    font-size: 22px;
}

/* 移动端隐藏下拉菜单 */
@media (max-width: 767px) {
    .cart-dropdown-container {
        display: none;
    }
}

.searchF {
    background: var(--text-light);
    border-radius: 20px;
    padding: 6px 15px; /* 调整：减小垂直padding，使高度更小 */
    display: flex;
    align-items: center;
    transition: box-shadow var(--transition-speed) ease;
    height: 36px; /* 添加固定高度，使搜索框更紧凑 */
}

.searchF:hover {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.searchF input {
    border: none;
    outline: none;
    width: 120px;
    padding: 5px;
    font-size: 14px;
    background: transparent;
    transition: width var(--transition-speed) ease;
}

.searchF input:focus {
    width: 150px;
}

.searchF i {
    color: var(--text-dark);
    cursor: pointer;
    transition: color var(--transition-speed) ease;
    font-size: 16px; /* 调整图标大小 */
}

.searchF i:hover {
    color: var(--primary-color);
}

.bi-cart4 {
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    transition: transform var(--transition-speed) ease, color var(--transition-speed) ease;
}

.bi-cart4:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    transition: transform var(--transition-speed) ease;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
}

.menu-toggle:hover {
    transform: translateY(-50%) scale(1.1);
}

/*内页header背景黑色 */
header {
    background-color: #000;
    min-height: 100px;
}


/* 移动端搜索框 */
.mobile-search {
    display: none;
}



/* =========== 轮播图样式 =========== */
.carousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1080px;
    overflow: hidden;
    /* 移除固定背景，从JS动态设置 */
    background-color: #000; /* 黑色背景作为回退 */
    background-size: cover; /* 添加：确保背景图片覆盖整个区域 */
    background-position: center center; /* 添加：背景居中 */
    background-repeat: no-repeat; /* 添加：不重复 */
    margin-top: 0;
    width: 100%;
    transition: background-image 0.8s ease; /* 添加：背景切换动画 */
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    width: 80%;
    max-width: 1200px;
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    transition: all 0.5s ease;
}


/* 分页导航样式 */
.page-nav,.paginate {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

 .page-nav ul,.paginate-list, .pagination {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.paginate-list a {
  display: inline-block;
  padding: 12px 18px;
  color: #666;
  text-decoration: none;
  border-radius: 8px;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
  font-weight: 500;
  border: 1px solid;
}

 .pagination li{
  padding: 12px 18px;
  color: #666;
  text-decoration: none;
  border-radius: 8px;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
  font-weight: 500;

 }

.paginate-list a:hover {
  background-color: #bddb00;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(189, 219, 0, 0.2);
}

.paginate-list a.paginate-now, .pagination li.active {
  background-color: #bddb00;
  color: white;
}
.pagination li.disabled {
  background-color: #fff;
  color: #ccc;
}
/* PC端轮播图内容左对齐 */
@media (min-width: 1024px) {
    .slide-content {
        text-align: left;
        margin-left: 10%;
    }

    .slide-content h1 {
        text-align: left;
    }

    .slide-content p {
        text-align: left;
    }

    .slide-content button ,.slide-content a{
        align-self: flex-start;
    }
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.7s forwards;
}

.slide-content span {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.slide-content button , .slide-content a {
    background: var(--primary-color);
    color: var(--text-dark);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-top: 40px;
    transition: all var(--transition-speed) ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.9s forwards;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

 .slide-content a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.slide-content a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
    animation: ripple 1s ease-out;
}

.slide-content button:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

.carousel-indicators {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.indicator:hover::after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.3;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all var(--transition-speed) ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

/* 移动端轮播按钮显示 */
@media (max-width: 767px) {
    header {
        min-height: 60px;
    }
    .carousel-btn {
        display: flex !important;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
    }
      /* 分页导航移动端适配 */
  .page-nav ul {
    gap: 5px;
  }
  
  .page-nav ul li a {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    .carousel-btn i {
        font-size: 20px;
    }
}
/* =========== 产品区域样式 =========== */
.products-section {
    background: #3c312b;
    width: 100%;
    padding: 80px 0;
    box-sizing: border-box;
}

.products-section .section-title {
    width: 70%;
    max-width: 1400px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #fff;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.products-section .section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.products-section .section-title h2 {
    font-size: 60px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.products-section .section-title.visible h2 {
    opacity: 1;
    transform: translateY(0);
}

.products-section .section-title p {
    font-size: 16px;
    opacity: 0.8;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.products-section .section-title.visible p {
    opacity: 0.8;
    transform: translateY(0);
}

.titleRight {
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    padding: 10px 30px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    transition: all var(--transition-speed) ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
    position: relative;
    overflow: hidden;
}
.titleRight a {
    color: var(--primary-color);
    text-decoration: none;
}
.titleRight a:hover ,.titleRight:hover a {
    color: #000;
}
.products-section .section-title.visible .titleRight {
    opacity: 1;
    transform: translateY(0);
}

.titleRight:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.titleRight::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.titleRight:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* 桌面端产品网格 */
.products-grid {
    width:70%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0;
    box-sizing: border-box;
}

.product-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-speed) ease;
    opacity: 0;
    transform: translateY(30px);
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    z-index: 2;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 30px;
    position: relative;
}

.product-category {
    display: inline-block;
    background: #fbffe6;
    color: var(--primary-color);
    font-size: 12px;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-card.visible .product-category {
    opacity: 1;
    transform: translateY(0);
}

.product-content h3 , .product-content h3 a, .product-content h3 a:link{
    font-size: 24px;
    margin-bottom: 10px;
    color: #000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
    text-decoration:none;
}

.product-card.visible .product-content h3 , .product-content h3 a, .product-content h3 a:link{
    opacity: 1;
    transform: translateY(0);
}

.product-content p {
    color: #727272;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.product-card.visible .product-content p {
    opacity: 1;
    transform: translateY(0);
}

.product-tags {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.product-card.visible .product-tags {
    opacity: 1;
    transform: translateY(0);
}

.product-tags span {
    border: 1px solid #727272;
    color: #727272;
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 12px;
    transition: all var(--transition-speed) ease;
    /* height: 22px; */
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-tags span {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}
/* =========== 视频区域 =========== */
.video-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../imgs/video-box-bg.jpg") no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    width: 100%;
    box-sizing: border-box;
}

/* 确保所有section一开始就可见，没有动画 */
section {
    opacity: 1 !important;
    transform: none !important;
}

/* 视频区域标签文字调整 */
.slogan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 40px;
    box-sizing: border-box;
}

.slogan-item {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem !important;
    font-weight: 500;
    padding: 20px 15px !important;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    box-sizing: border-box;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slogan-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(189, 219, 0, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.slogan-item:hover::before {
    transform: translateX(100%);
}

.slogan-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 针对不同屏幕尺寸调整 */
@media (max-width: 1024px) {
    .slogan-item {
        font-size: 1.1rem !important;
        padding: 15px 10px !important;
    }
}

@media (max-width: 767px) {
    .slogan-item {
        font-size: 1rem !important;
        padding: 12px 8px !important;
        min-height: 50px;
    }
    
    .slogan-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 20px;
    }
}

.video-container {
    width: 80%;
    max-width: 1200px;
    height: 500px;
    margin: 0 auto;
    background: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    box-sizing: border-box;
}

.video-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 视频样式 */
.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* 音量按钮样式 */
.volume-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    z-index: 10;
    color: rgba(255, 255, 255, 0.9);
    font-size: 24px;
}

.volume-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.volume-btn:active {
    transform: scale(0.95);
}

/* 移动端适配 */
@media (max-width: 767px) {
    /* 调整移动端音量按钮大小 */
    .volume-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
}

/* =========== 新闻区域 =========== */
.news-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 900px;
    width: 100%;
    box-sizing: border-box;
}

.news-left {
    background: linear-gradient(rgba(197, 226, 159, 0.9), rgba(197, 226, 159, 0.7)),
    url("../imgs/pro-1.jpg") no-repeat center center;
    background-size: cover;
    padding: 60px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.news-right {
    background: linear-gradient(rgba(45, 34, 30, 0.9), rgba(45, 34, 30, 0.7)),
    url("../imgs/news-box-bg-1.jpg") no-repeat center center;
    background-size: cover;
    padding: 60px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.news-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    box-sizing: border-box;
}

.news-right .news-container {
    transform: translateX(30px);
}

.news-container.visible {
    opacity: 1;
    transform: translateX(0);
}

.news-header {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.news-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-header h4 {
    display: inline-block;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    font-size: 1.2rem;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.news-header h4 a {
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.news-header h4::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.4s ease;
    z-index: 1;
}

.news-header h4:hover {
    color: #000;
    border-color: var(--primary-color);
}

.news-header h4:hover::before {
    left: 0;
}

.news-left .news-header h4 {
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.news-left .news-header h4::before {
    background: var(--text-dark);
}

.news-left .news-header h4:hover {
    color: var(--text-light);
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-speed) ease;
    opacity: 0;
    transform: translateX(-20px);
    box-sizing: border-box;
    position: relative;
}

.news-left .news-item {
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

.news-right .news-item {
    transform: translateX(20px);
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.news-item:hover {
    transform: translateX(10px);
}

.news-category {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    position: relative;
    display: inline-block;
}

.news-category::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.news-item:hover .news-category::after {
    width: 100%;
}

.news-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-left .news-category {
    color: var(--dark-bg);
}

.news-left .news-category::after {
    background: var(--dark-bg);
}

.news-item a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1.4;
    display: block;
    transition: color var(--transition-speed) ease;
    position: relative;
}

.news-left .news-item a {
    color: var(--text-dark);
}

.news-item a:hover {
    color: var(--primary-color);
}

.news-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.news-item a:hover::after {
    width: 100%;
}

.news-left .news-item a::after {
    background: var(--dark-bg);
}
/* =========== 页脚样式 =========== */
.footer {
    background: #1a1a1a;
    color: var(--text-light);
    padding: 80px 0 40px;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.footer-col {
    opacity: 1;
    transform: translateY(0);
    transition: none;
    box-sizing: border-box;
}

.footer-col.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-light);
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-col:hover h4::after {
    width: 100%;
}

.footer-about p {
    color: #aaa;
    line-height: 1.6;
    margin-top: 20px;
    max-width: 300px;
    opacity: 1;
    transform: translateY(0);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
    opacity: 1;
    transform: translateY(0);
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: -10px;
    opacity: 0;
    transition: opacity 0.3s ease, left 0.3s ease;
}

.footer-links a:hover::before {
    left: 0;
    opacity: 1;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 修改：优化联系方式列表项的对齐方式 */
.footer-contact li {
    margin-bottom: 20px;
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    min-height: 30px;
    opacity: 1;
    transform: translateY(0);
}

/* 修改：确保图标垂直居中 */
.footer-contact i {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    line-height: 1; /* 确保图标本身垂直居中 */
    display: flex;
    align-items: center; /* 图标垂直居中 */
    justify-content: center; /* 图标水平居中 */
    width: 24px; /* 固定宽度 */
    height: 24px; /* 固定高度 */
}

.footer-contact li:hover i {
    transform: scale(1.2);
}

/* 修改：确保文字内容垂直居中 */
.footer-contact a,
.footer-contact address,
.footer-contact span {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    position: relative;
    line-height: 1.5;
    display: inline-flex; /* 改为inline-flex以便更好的对齐 */
    align-items: center; /* 垂直居中 */
    min-height: 24px; /* 最小高度保证一致性 */
}

/* 修改：确保所有联系方式的文字垂直对齐 */
.footer-contact li > *:not(i) {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-contact a:hover::after {
    width: 100%;
}

.footer-contact address {
    font-style: normal;
    color: var(--text-light);
    transition: color var(--transition-speed) ease;
    line-height: 1.5;
    display: inline-flex; /* 改为inline-flex */
    align-items: center; /* 垂直居中 */
}

.footer-contact li:hover address {
    color: var(--primary-color);
}

.footer-contact span {
    color: var(--text-light);
    transition: color var(--transition-speed) ease;
    line-height: 1.5;
    display: inline-flex; /* 改为inline-flex */
    align-items: center; /* 垂直居中 */
}

.footer-contact li:hover span {
    color: var(--primary-color);
}

/* 底部版权信息和链接 */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
}

.footer-copyright {
    color: #aaa;
    font-size: 0.9rem;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 10px;
    width: 100%;
}

.footer-links-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-links-row a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed) ease;
    display: inline-flex;
    align-items: center;
}

.footer-links-row a:hover {
    color: var(--primary-color);
}

.separator {
    color: #666;
    font-size: 0.9rem;
}

.tech-support {
    color: #777;
    font-size: 0.9rem;
    text-align: center;
}

.tech-support a {
    color: #aaa;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.tech-support a:hover {
    color: var(--primary-color);
}
/* =========== 搜索结果页样式 =========== */
.search-form {
    /* margin-top: 20px; */
    width: 100%;
}

.search-input-box {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.report-box {
    flex: 1;
    min-width: 300px;
}

.report-input {
    position: relative;
}

.report-input input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.report-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(189, 219, 0, 0.2);
    transform: translateY(-1px);
}

.report-all {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.report-all-select select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.report-all-select select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(189, 219, 0, 0.2);
}

.report-button {
    padding: 12px 25px;
    background: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.report-button:hover {
    background: #a8c800;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(189, 219, 0, 0.3);
}

.report-button:active {
    transform: translateY(0);
}

/* 搜索结果容器 */
.content-big {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}

.search-box {
    width: 100%;
}

/* 搜索结果列表项 */
.ny-news-list {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all var(--transition-speed) ease;
}

.ny-news-list:last-child {
    border-bottom: none;
}

.ny-news-list:hover {
    background: #fafafa;
    padding-left: 10px;
    border-radius: 8px;
    transform: translateX(5px);
}

/* 时间和分类信息 */
.party-list-time {
    flex: 0 0 150px;
    text-align: center;
    background: #f8f9fa;
    padding: 20px 15px;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
}

.ny-news-list:hover .party-list-time {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(189, 219, 0, 0.3);
}

.party-list-time p {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    color: #666;
    transition: color var(--transition-speed) ease;
}

.ny-news-list:hover .party-list-time p {
    color: #fff;
}

.party-list-time i {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
    transition: color var(--transition-speed) ease;
}

.ny-news-list:hover .party-list-time i {
    color: #fff;
}

.party-list-time cite {
    font-size: 12px;
    color: #999;
    font-style: normal;
    transition: color var(--transition-speed) ease;
}

.ny-news-list:hover .party-list-time cite {
    color: rgba(255, 255, 255, 0.9);
}

/* 新闻内容区域 */
.ny-news-list-info {
    flex: 1;
    min-width: 0;
}

.ny-news-list-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    transition: color var(--transition-speed) ease;
    line-height: 1.4;
}

.ny-news-list-info h3:hover {
    color: var(--primary-color);
}

.ny-news-list-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 搜索结果链接样式 */
.search-box a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform var(--transition-speed) ease;
}

.search-box a:hover {
    transform: translateX(3px);
}

/* 搜索结果分页调整 */
.search-box .paginate {
    margin-top: 40px;
}
.main-news-tit,.content-big {
    max-width:1400px;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .search-input-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .report-box {
        min-width: auto;
        margin-bottom: 15px;
    }
    
    .report-all {
        justify-content: space-between;
    }
    
    .ny-news-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .party-list-time {
        flex: none;
        text-align: left;
        padding: 15px;
    }
    
    .party-list-time p,
    .party-list-time i,
    .party-list-time cite {
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .main-news-tit {
        padding: 20px;
    }
    
    .content-big {
        padding: 20px;
        margin: 20px;
    }
    
    .ny-news-list {
        padding: 20px 0;
    }
    
    .ny-news-list-info h3 {
        font-size: 18px;
    }
    
    .report-all {
        /* flex-direction: column; */
        align-items: stretch;
        flex-wrap: nowrap;
    }
    
    .report-all-select,
    .report-button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .report-button {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .main-news-tit {
        padding: 15px;
    }
    
    .content-big {
        padding: 15px;
        margin: 15px;
    }
    
    .party-list-time {
        padding: 12px;
    }
    
    .party-list-time p,
    .party-list-time i,
    .party-list-time cite {
        font-size: 12px;
        margin-right: 10px;
    }
    
    .ny-news-list-info h3 {
        font-size: 16px;
    }
    
    .ny-news-list-info p {
        font-size: 13px;
    }
}

/* =========== 全局渐入动画类 =========== */
/* 基本动画类 */
.animate-fadeIn {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-fadeInUp {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slideInLeft {
    opacity: 0;
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slideInRight {
    opacity: 0;
    animation: slideInRight 0.8s ease forwards;
}

.animate-slideUp {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
    overflow: hidden;
}

.animate-fadeInDown {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeIn 0.8s ease forwards, translateY 0.8s ease forwards;
}

/* 动画延迟类 */
.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}

.animate-delay-600 {
    animation-delay: 0.6s;
}

.animate-delay-700 {
    animation-delay: 0.7s;
}

.animate-delay-800 {
    animation-delay: 0.8s;
}

.animate-delay-900 {
    animation-delay: 0.9s;
}

.animate-delay-1000 {
    animation-delay: 1s;
}

/* 交错动画容器 */
.animate-stagger {
    opacity: 0;
}

.animate-stagger > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* 滚动触发动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 动画速度控制 */
.animate-fast {
    animation-duration: 0.5s !important;
    transition-duration: 0.5s !important;
}

.animate-slow {
    animation-duration: 1.2s !important;
    transition-duration: 1.2s !important;
}

/* =========== 动画关键帧 =========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(25, 25);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 80vh;
    }
}

@keyframes slideUpClose {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 80vh;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 80vh;
    }
}

/* =========== 响应式设计 =========== */

/* iPad mini/iPad air 特殊适配 (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* 导航栏适配 */
    .nav {
        padding: 0 20px;
    }

    .navList ul {
        gap: 12px;
    }

    .navList a {
        font-size: 13px;
        padding: 5px 3px;
    }

    .logo img {
        height: 50px;
        max-width: 150px;
    }

    .searchF {
        padding: 5px 12px;
        height: 34px;
    }

    .searchF input {
        width: 80px;
    }

    /* 轮播图适配 */
    .slide-content {
        width: 90%;
    }

    /* 产品区域适配 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
    }

    .products-section .section-title {
        width: 90%;
    }

    .products-section .section-title h2 {
        font-size: 48px;
    }

    /* 视频区域适配 */
    .slogan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .video-container {
        width: 90%;
        height: 400px;
    }

    /* 新闻区域适配 */
    .news-left,
    .news-right {
        padding: 40px 30px;
    }

    .news-item a {
        font-size: 1.3rem;
    }
}

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
    .nav {
        padding: 0 30px;
    }

    .navList ul {
        gap: 15px;
    }

    .carousel {
        height: 80vh;
    }

    .slide-content h1 {
        font-size: 3rem;
    }

    .products-section {
        padding: 60px 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
    }

    .products-section .section-title {
        width: 90%;
    }

    .news-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .news-left,
    .news-right {
        min-height: 600px;
        padding: 40px;
    }

    .video-container {
        width: 90%;
        height: 400px;
    }
}

/* 移动设备 (小于768px) */
@media (max-width: 767px) {
    /* 移动端导航栏始终深色 */
    .nav-wrapper {
        background: rgba(0, 0, 0, 0.98) !important;
    }

    /* 导航栏适配 */
    .nav {
        padding: 0 15px;
        height: 70px;
    }

    .nav-wrapper.scrolled .nav {
        height: 60px;
    }

    .navList {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        display: none;
        padding: 0;
        box-shadow: var(--shadow-heavy);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navList.active {
        display: block;
        max-height: 80vh;
        animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    /* 移动端导航关闭动画 */
    .navList.closing {
        animation: slideUpClose 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .navList ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .navList li {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        animation: fadeInUp 0.3s ease forwards;
        animation-delay: calc(var(--index) * 0.05s);
        opacity: 0;
    }

    .navList.closing li {
        animation: fadeOutDown 0.2s ease forwards;
        animation-delay: calc(var(--index) * 0.05s);
    }

    .navList li:last-child {
        border-bottom: none;
    }

    .navList a {
        display: block;
        padding: 15px;
        font-size: 18px;
        opacity: 0;
        animation: fadeInUp 0.3s ease forwards;
        animation-delay: calc(var(--index) * 0.05s + 0.1s);
    }

    .navList.closing a {
        animation: fadeOutDown 0.2s ease forwards;
        animation-delay: calc(var(--index) * 0.05s + 0.1s);
    }

    .searchF {
        display: none;
    }

    /* 移动端隐藏购物车按钮 */
    .search .bi-cart4 {
        display: none !important;
    }

    .mobile-search {
        display: block;
        padding: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        opacity: 0;
        animation: fadeInUp 0.3s ease 0.1s forwards;
    }

    .navList.closing .mobile-search {
        animation: fadeOutDown 0.2s ease forwards;
    }

    .search-mobile {
        background: white;
        border-radius: 25px;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        height: 45px;
    }

    .search-mobile input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 16px;
        padding: 5px 10px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel {
        height: 70vh;
        min-height: 500px;
        padding-top: 70px;
    }

    .slide-content {
        width: 90%;
        padding: 0 20px;
        text-align: center !important;
    }

    .slide-content h1 {
        font-size: 2.2rem;
        text-align: center !important;
    }

    .slide-content p {
        font-size: 1.1rem;
        text-align: center !important;
    }

    .slide-content button {
        padding: 12px 30px;
        font-size: 1rem;
        align-self: center !important;
    }

    .carousel-indicators {
        bottom: 30px;
    }

    /* 产品区域移动端适配 - 横向滚动 */
    .products-section {
        padding: 40px 0 40px 15px !important;
        overflow: hidden;
        width: 100%;
    }
    
    .products-section .section-title {
        width: 95%;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
        padding: 0 15px !important;
        box-sizing: border-box;
    }

    .products-section .section-title h2 {
        font-size: 36px;
    }

    .products-section .section-title p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .titleRight {
        align-self: flex-end;
        margin-top: 10px;
    }

    /* 移动端产品网格改为横向滚动 */
    .products-grid {
        width: 100%;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 15px 20px 15px !important;
        gap: 20px;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
    }

    .products-grid::-webkit-scrollbar {
        height: 6px;
    }

    .products-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }

    .products-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }

    .product-card {
        flex: 0 0 auto;
        width: 85%;
        max-width: 300px;
        scroll-snap-align: start;
        margin-right: 10px;
    }

    .product-image {
        height: 250px;
    }

    /* 移动端调整产品标签 */
    .product-tags span {
        font-size: 10px;
        padding: 2px 10px;
        border-radius: 10px;
        height: auto;
        line-height: 16px;
    }

    /* 视频区域适配 */
    .video-container {
        width: 95%;
        height: 300px;
        border-radius: 20px;
    }

    .news-left,
    .news-right {
        padding: 30px 20px;
        min-height: 500px;
    }

    .news-item a {
        font-size: 1.3rem;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    /* 移动端隐藏快速链接 */
    .footer-links {
        display: none !important;
    }
    
    /* 联系方式垂直居中对齐 */
    .footer-contact li {
        align-items: center !important;
        min-height: 30px;
    }
    
    .footer-contact i {
        margin-top: 0 !important;
        align-self: center;
    }
    
    .footer-contact a,
    .footer-contact address,
    .footer-contact span {
        line-height: 1.4 !important;
        display: inline-flex;
        align-items: center;
        min-height: 24px;
    }
    
    /* 移动端底部链接适配 */
    .footer-bottom {
        gap: 15px;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .footer-links-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .separator {
        display: none;
    }
    
    .tech-support {
        display: block;
        line-height: 1.5;
        font-size: 0.8rem;
    }
    
    /* 公安图标调整 */
    .gov-link img {
        width: 14px;
        height: 14px;
    }
    
    /* 为曲面屏添加额外安全区域 */
    @supports (padding: max(0px)) {
        .products-section {
            padding-left: max(15px, env(safe-area-inset-left)) !important;
            padding-right: max(15px, env(safe-area-inset-right)) !important;
        }
        
        .products-grid {
            padding-left: max(15px, env(safe-area-inset-left)) !important;
            padding-right: max(15px, env(safe-area-inset-right)) !important;
        }
    }
}

/* 小手机设备 (小于480px) */
@media (max-width: 480px) {
    .nav {
        padding: 0 10px;
        height: 60px;
    }

    .logo img {
        height: 40px;
    }

    .navList {
        top: 60px;
    }

    .menu-toggle {
        right: 50px;
        font-size: 24px;
    }

    .carousel {
        min-height: 400px;
        padding-top: 60px;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .products-section .section-title h2 {
        font-size: 28px;
    }

    .product-card {
        width: 90%;
        max-width: 280px;
    }

    .product-image {
        height: 200px;
    }

    .product-content h3 {
        font-size: 20px;
    }

    .news-item a {
        font-size: 1.1rem;
    }

    .video-container {
        height: 250px;
    }
}

/* PC端大屏幕 (大于1440px) */
@media (min-width: 1440px) {
    .nav {
        padding: 0 60px;
    }

    .navList ul {
        gap: 40px;
    }

    .navList a {
        font-size: 18px;
    }
}

/* 桌面端底部链接优化 */
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-copyright {
        order: 1;
        width: 100%;
        text-align: center;
    }
    
    .footer-links-row {
        order: 2;
        margin-bottom: 10px;
    }
    
    .tech-support {
        order: 3;
        text-align: center;
    }
}

/* 禁用动画选项 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .products-section,
    .video-section,
    .news-section,
    .footer,
    .product-card,
    .news-item,
    .footer-col,
    .footer-bottom,
    .slogan-item,
    .video-container,
    .news-container,
    .news-header,
    .news-category,
    .navList {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
        max-height: none !important;
    }
}