:root {
    --primary: #FF6600;
    --dark: #333333;
    --gray-1: #444444;
    --gray-2: #555555;
    --gray-3: #666666;
    --gray-4: #777777;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.home {
    font-family: 'Microsoft YaHei', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    background-color: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 其他页面的基础样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    background-color: transparent;
    position: relative;
    min-height: 100vh;
}

/* Footer固定底部布局 */
.home .particle-bg,
.article-page .particle-bg,
.article-detail-page .particle-bg {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 页面主体部分 */
.home .wrapper,
.article-page .wrapper,
.article-detail-page .wrapper {
    flex: 1 0 auto;
}

/* Footer样式 */
.home .footer,
.article-page .footer,
.article-detail-page .footer {
    flex-shrink: 0;
}

/* 搜索页布局 */
.search-page .particle-bg {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.search-page .wrapper {
    flex: 1 0 auto;
}

.search-page .footer {
    flex-shrink: 0;
}

/* 搜索页内容布局 */
.search-page .search-results,
.search-page .warning-notice,
.search-page .breadcrumb {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.wrapper {
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 10;
    background-color: transparent;
    overflow: hidden;
    flex: 1 0 auto;
}

/* 首页限宽 */
.home .wrapper {
    max-width: 1200px;
}

.container {
    width: 100%;
    padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
    background: rgba(68, 68, 68, 0.8);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    left: 0;
    transform: translateY(0);
    border-bottom: 1px solid var(--gray-3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    z-index: 95;
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    padding: 0 1rem;
    transition: color 0.3s;
}

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

/* 添加分隔线 */
.nav-links li:not(:last-child)::after {
    content: '|';
    color: var(--gray-4);
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* 移动端隐藏分隔线 */
@media (max-width: 768px) {
    .nav-links li:not(:last-child)::after {
        display: none;
    }
}

/* 轮播图样式 */
.slider {
    margin-top: 80px;
    height: 500px;
    position: relative;
    overflow: hidden;
    background: var(--gray-2);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-3);
}

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

.slides {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: 0;
    will-change: opacity, z-index; /* 优化性能 */
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    position: absolute;
    bottom: 60px;
    left: 50px;
    max-width: 500px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s ease;
}

.slide.active img {
    transform: scale(1);
}

.slide-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    color: var(--white);
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    pointer-events: none;
}

/* 轮播图按钮样式 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 102, 0, 0.3);
    color: white;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 50px;
    min-height: 50px;
    padding: 15px;
    touch-action: manipulation;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 102, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 轮播图指示点样式 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* 轮播图箭头按钮样式 */
.slider-btn::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
    transition: all 0.3s ease;
}

.prev-btn::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.next-btn::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

.slider-btn:hover::before {
    border-color: var(--primary);
}

/* 功能特点样式优化 */
.features {
    padding: 4rem 0;
    background: rgba(85, 85, 85, 0.8);
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-3);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-4);
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
    cursor: pointer;
    height: 180px;
}

.feature-item:hover {
    transform: rotateY(180deg);
}

/* 正面和背面的共同样式 */
.feature-front,
.feature-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    padding: 1.5rem;
}

/* 正面样式 */
.feature-front {
    background: rgba(102, 102, 102, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-front h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.feature-front p {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.9;
    text-align: center;
}

/* 背面样式 */
.feature-back {
    background: rgba(102, 102, 102, 0.95);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
    padding: 1.5rem;
}

.back-content {
    text-align: center;
}

.back-content h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* 当卡片处于反转状态且hover时的边框效果 */
.feature-item:hover .feature-back {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

/* 确保在移动端不显示这些效果 */
@media (max-width: 768px) {
    .feature-item:hover .feature-back {
        border-color: transparent;
        box-shadow: none;
    }
}

/* 下载按钮样式 */
.download-btn {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative; /* 添加相对定位 */
    overflow: hidden; /* 隐藏溢出效果 */
}

/* 下载按钮hover效果 */
.download-btn:hover {
    background: #ff8533;
    transform: translateY(-2px) scale(1.05); /* 添加缩放效果 */
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* 添加点击波纹效果 */
.download-btn::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%;
}

.download-btn:active::after {
    animation: ripple 0.6s ease-out;
}

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

/* 推荐和超值标签 */
.recommend-tag, .premium-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.premium-tag {
    background: #FFD700;
    color: #333;
}

.recommended {
    border-color: var(--primary);
    transform: scale(1.02);
}

.premium {
    border-color: #FFD700;
}

/* 会员价格样式优化 */
.pricing {
    background: rgba(85, 85, 85, 0.8);
    padding: 4rem 0;
    color: var(--white);
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-3);
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.price-card {
    background: var(--gray-3);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.price-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.price-card .price {
    font-size: 2rem;
    margin: 0.8rem 0;
}

.price-card .duration {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
    padding-left: 0.8rem;
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.price-card ul li {
    margin: 0.6rem 0;
    font-size: 0.9rem;
}

.price-card .buy-btn-container {
    margin-top: auto;
    padding-top: 1rem;
    text-align: center;
}

.buy-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
    width: 80%;
}

.buy-btn:hover {
    background: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .price-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .price-card {
        padding: 1.8rem;
    }
}

@media (max-width: 992px) {
    .price-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .price-cards {
        grid-template-columns: 1fr;
    }
    
    .price-card {
        padding: 1.5rem;
    }
}

/* 修改FAQ样式 */
.faq {
    padding: 4rem 0;
    background: var(--gray-2);
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-3);
}

.faq-item {
    background: var(--gray-3);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-4);
    transition: all 0.3s ease;
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.1);
    transform: translateX(10px);
    background: rgba(102, 102, 102, 0.8);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    padding-left: 1rem;
    transition: color 0.3s ease;
}

.faq-item:hover h3 {
    transform: translateX(5px);
}

.faq-item p {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.faq-item:hover p {
    opacity: 1;
    transform: translateX(5px);
}

/* 添加序号样式 */
.faq-item p {
    counter-increment: faq-counter;
}

.faq-item p::before {
    content: counter(faq-counter) ".";
    position: absolute;
    left: 0;
    color: var(--primary);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.faq-item:hover p::before {
    opacity: 1;
}

/* 文章列表样式 */
.articles {
    padding: 4rem 0;
    background: var(--gray-2);
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-3);
}

.article-item {
    background: var(--gray-3);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-4);
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.article-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.1);
    transform: translateX(10px);
}

.article-item h3 {
    color: var(--white);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.article-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.article-meta .date {
    color: var(--primary);
}

.article-meta .views {
    color: rgba(255, 255, 255, 0.6);
}

/* 阅读更多按钮样式 */
.read-more {
    text-align: center;
    margin-top: 2rem;
}

.read-more-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 1px solid var(--primary);
}

.read-more-btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
}

/* 修改联系我们样式 */
.footer {
    position: relative;
    z-index: 10;
    padding: 1rem 0;
    background: rgba(68, 68, 68, 0.8);
    color: var(--white);
    border-top: 1px solid var(--gray-3);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.footer-content {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-4);
}

.copyright p {
    margin: 0;
}

/* 移除不需要的样式 */
.contact-info,
.footer-content {
    display: block;
}

@media (max-width: 768px) {
    .footer-content {
        text-align: center;
    }
}

/* 通用样式 */
h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

video {
    width: 100%;
    border-radius: 8px;
}

/* 修改视频演示部分的样式 */
.video-demo {
    background: rgba(85, 85, 85, 0.8);
    margin: 2rem 0;
    padding: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-3);
    position: relative;
}

/* 移除或修改遮挡的渐变边框效果 */
.video-demo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, var(--primary), transparent);
    pointer-events: none;
    z-index: 1;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* 确保内容在渐变边框上层 */
.video-article-container {
    position: relative;
    z-index: 2;
}

/* 最热文章样式 */
.hot-articles {
    padding: 1.5rem;
    height: 100%;
}

.hot-articles h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.hot-article-list {
    max-height: 500px;
    overflow-y: auto;
}

/* 热门文章项样式简化 */
.hot-article-item {
    padding: 0.4rem 0;
    margin-bottom: 0.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.hot-article-item:hover {
    padding-left: 10px;
    color: var(--primary);
}

.hot-article-item .article-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: flex-start;
    min-width: 0;
}

.hot-article-item .article-content h3 {
    color: var(--white);
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--gray-4);
    font-size: 0.85rem;
    white-space: nowrap;
    min-width: 200px;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hot-article-item .article-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-meta {
        width: 100%;
        justify-content: space-between;
    }
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .wrapper {
        width: 100%;
    }
    
    .navbar {
        width: 100%;
    }
}

/* 视频和文章布局容器 */
.video-article-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* 视频区域样式 */
.video-section {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 比例 (9/16 = 0.5625) */
}

.video-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover; /* 确保视频填充整个容器 */
}

/* 自定义滚动条样式 */
.hot-article-list::-webkit-scrollbar {
    width: 6px;
}

.hot-article-list::-webkit-scrollbar-track {
    background: var(--gray-2);
    border-radius: 3px;
}

.hot-article-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* 修改内容包装器样式 */
.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* 视频容器样式优化 */
.video-container {
    width: 100%;
    padding: 0;
}

.video-container h2 {
    margin-bottom: 1.5rem;
}

.video-section {
    width: 100%;
}

.video-section video {
    width: 100%;
    border-radius: 8px;
}

/* 热门文章容器样式优化 */
.hot-articles {
    padding: 0;
    height: 100%;
    max-width: 400px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hot-articles {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .slide-content {
        left: 20px;
        right: 20px;
        bottom: 40px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

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

    .logo-img {
        height: 28px;
        filter: brightness(0) invert(1);
    }
    
    .logo-text {
        font-size: 1.3rem;
    }

    .article-item {
        padding: 1.2rem;
    }
    
    .article-item h3 {
        font-size: 1.1rem;
    }
    
    .article-desc {
        font-size: 0.85rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* 移动端下取消翻转效果 */
    .feature-item {
        transform-style: flat;
        height: auto;
        background: rgba(102, 102, 102, 0.8);
        padding: 1rem;
    }

    .feature-item:hover {
        transform: none;
    }

    /* 隐藏背面 */
    .feature-back {
        display: none;
    }

    /* 调整正面样式 */
    .feature-front {
        position: relative;
        padding: 1rem;
        background: transparent;
    }

    /* 添加移动端下载按钮容器 */
    .mobile-download-container {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    /* 移动端下载按钮样式 */
    .mobile-download-btn {
        padding: 1rem 2.5rem;
        background: var(--primary);
        color: var(--white);
        border: none;
        border-radius: 25px;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
        text-align: center;
        box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
    }

    .mobile-download-btn:hover,
    .mobile-download-btn:active {
        background: #ff8533;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
    }
}

/* 在更小的屏幕上调整为单列 */
@media (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* 移动端菜单按钮样式 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* 修改移动端导航样式 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 33.333%; /* 改为1/3宽度 */
        height: 100vh;
        background: var(--gray-1);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
        padding-left: 1.5rem;
        border-left: 1px solid var(--gray-3); /* 添加左边框 */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--gray-4); /* 添加底部分隔线 */
    }

    .nav-links li:last-child {
        border-bottom: none; /* 最后一项不需要分隔线 */
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
    }

    /* 移除原有的分隔符 */
    .nav-links li:not(:last-child)::after {
        display: none;
    }
}

/* 调整遮罩层样式 */
@media (max-width: 768px) {
    .nav-overlay {
        background: rgba(0, 0, 0, 0.5); /* 稍微调淡一点 */
    }
}

/* 修改文章列表布局为双排 */
.article-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-list {
        grid-template-columns: 1fr;
    }
}

/* 修改遮罩层z-index */
.nav-overlay {
    z-index: 90;
}

/* 默认隐藏移动端下载按钮 */
.mobile-download-container {
    display: none;
}

/* 在移动端显示下载按钮 */
@media (max-width: 768px) {
    .mobile-download-container {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .mobile-download-btn {
        padding: 1rem 2.5rem;
        background: var(--primary);
        color: var(--white);
        border: none;
        border-radius: 25px;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
        text-align: center;
        box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
    }

    .mobile-download-btn:hover,
    .mobile-download-btn:active {
        background: #ff8533;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
    }
}

/* 友情链接样式 */
.friend-links {
    padding: 3rem 0;
    background: rgba(85, 85, 85, 0.8);
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-3);
}

.link-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.link-item {
    flex: 0 1 auto;
    min-width: 120px;
    padding: 0.8rem 1.5rem;
    background: var(--gray-3);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-4);
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.link-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(102, 102, 102, 0.9);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .link-grid {
        gap: 0.8rem;
    }
    
    .link-item {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}

/* 警告提示样式 */
.warning-notice {
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 102, 0, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.warning-content {
    color: var(--white);
    font-size: 0.95rem;
    text-align: center;
    opacity: 0.9;
    animation: warning-flash 1.5s ease-in-out infinite;
}

/* 心跳动画 */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

/* 红色闪烁动画 */
@keyframes warning-flash {
    0% {
        color: var(--white);
    }
    50% {
        color: #ff3333;
    }
    100% {
        color: var(--white);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .warning-notice {
        margin: 1.5rem 0;
    }
    
    .warning-content {
        font-size: 0.9rem;
    }
}

/* 文章标题链接样式 */
.hot-article-item h3 a,
.article-item h3 a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hot-article-item h3 a:hover,
.article-item h3 a:hover {
    color: var(--primary);
}

/* 修改模态窗口样式以匹配网站主题 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--gray-2);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    min-width: 300px;
    border: 1px solid var(--gray-3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

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

.modal h3 {
    margin: 0 0 1.5rem 0;
    color: var(--primary);
    font-size: 1.4rem;
}

.modal p {
    margin: 0 0 1.5rem 0;
    color: var(--white);
    font-size: 1.1rem;
}

#countdown {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.8rem;
    display: inline-block;
    min-width: 2ch;
}

.loading-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-3);
    margin-top: 1.5rem;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--gray-4);
}

.progress {
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s linear;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-content {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .modal h3 {
        font-size: 1.2rem;
    }

    .modal p {
        font-size: 1rem;
    }

    #countdown {
        font-size: 1.5rem;
    }
}

/* 下载样式按钮 - 继承购买按钮的基础样式 */
.buy-btn.download-style {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
    width: 80%;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 1rem 2.5rem;
}

.buy-btn.download-style:hover {
    background: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

/* 修改导航栏下载和购买按钮样式 */
.nav-download-btn,
.nav-buy-btn {
    color: var(--white);
    text-decoration: none;
    padding: 0 1rem; /* 改为与其他导航项相同的内边距 */
    transition: color 0.3s; /* 只保留颜色过渡效果 */
}

.nav-download-btn {
    background: none; /* 移除背景色 */
}

.nav-buy-btn {
    background: none; /* 移除背景色 */
}

.nav-download-btn:hover,
.nav-buy-btn:hover {
    color: var(--primary); /* 与其他导航项相同的悬停效果 */
    transform: none; /* 移除变换效果 */
    box-shadow: none; /* 移除阴影效果 */
}

/* 移动端样式调整 */
@media (max-width: 768px) {
    .nav-download-btn,
    .nav-buy-btn {
        display: block;
        margin: 0;
        text-align: left; /* 左对齐，与其他导航项保持一致 */
        padding: 1rem 0; /* 与其他导航项相同的内边距 */
    }
}

/* 模态窗口跳转按钮样式 */
.modal-redirect-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.modal-redirect-btn:hover {
    background: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* 倒计时数字样式 */
#countdown, #buyCountdown {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.8rem;
    display: inline-block;
    min-width: 2ch;
    text-align: center;
    margin: 0 4px;
    animation: bounce 0.5s ease-in-out;
    will-change: transform;
    transform-origin: center;
}

/* 倒计时跳动动画效果 */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-6px);
    }
    50% {
        transform: translateY(0);
        color: #ff8533;
    }
    75% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
    }
}

/* 倒计时文本样式 */
.countdown-text {
    margin: 0 0 1.5rem 0;
    color: var(--white);
    font-size: 1.1rem;
} 