/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 - 白色背景 */
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    min-height: 100vh;
}

/* 容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部搜索栏 */
.top-search-bar {
    background: linear-gradient(135deg, #2a7fff 0%, #1a5fd8 100%);
    padding: 15px 0;
    border-bottom: 3px solid #ff6b35;
    box-shadow: 0 2px 15px rgba(42, 127, 255, 0.2);
}

.search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a7fff;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-text h1 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

/* 修复导航标题链接样式 */
.brand-text h1.nav a {
    color: white !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.brand-text h1.nav a:hover {
    color: #ff6b35 !important;
}

.brand-text .tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    letter-spacing: 1px;
}

/* 添加在.brand-text .tagline样式附近 */
.brand-text .tagline a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.brand-text .tagline a:hover {
    color: #ff6b35 !important;
}

/* 搜索框 */
.search-box {
    flex: 1;
    max-width: 800px;
    position: relative;
}

.search-input-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff6b35;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #ff8535;
    transform: translateY(-50%) scale(1.1);
}

/* 用户工具 */
.user-tools {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.user-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    text-align: center;
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.user-btn.vip {
    background: linear-gradient(135deg, #ff6b35, #ff8535);
    border: none;
}

.user-btn.vip:hover {
    background: linear-gradient(135deg, #ff8535, #ff6b35);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* 主导航 */
.main-nav {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2px;
    justify-content: center;
}

.main-nav li a {
    display: block;
    padding: 12px 30px;
    color: #555;
    text-decoration: none !important; /* 去掉下划线 */
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
}

.main-nav li a:hover {
    color: #2a7fff;
    background: rgba(42, 127, 255, 0.05);
}

.main-nav li.active a {
 
}

.main-nav li.active a::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #2a7fff;
    border-radius: 3px;
}

/* 面包屑 */
.breadcrumb {
    background: #f8f9fa;
    padding: 18px 25px;
    margin: 25px 0;
    border-radius: 8px;
    border-left: 4px solid #2a7fff;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb a {
    color: #666;
    text-decoration: none !important; /* 去掉下划线 */
    font-weight: 600;
    position: relative;
    padding-right: 20px;
    transition: color 0.3s ease;
}

.breadcrumb a::after {
    content: '';
    position: absolute;
    right: 5px;
    color: #999;
    font-size: 16px;
}

.breadcrumb a:hover {
    color: #2a7fff;
}

.breadcrumb .current {
    color: #333;
    font-weight: 700;
}

/* 内容布局 */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin: 30px 0;
}

/* 主内容区 */
.main-content {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* 资料头部 */
.resource-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 35px;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.resource-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2a7fff, #ff6b35);
}

.resource-title {
    font-size: 28px;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 700;
}

.resource-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 800px;
}

/* 资料信息卡片 */
.resource-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.info-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.info-card:hover {
    border-color: #2a7fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 127, 255, 0.1);
}

.info-card h4 {
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card p {
    color: #222;
    font-size: 18px;
    font-weight: 700;
}

/* 资料详情区域 */
.resource-detail {
    padding: 40px 35px;
    background: #ffffff;
    border-top: 1px solid #e8e8e8;
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e8e8;
    font-weight: 700;
    position: relative;
}

.detail-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, #2a7fff, transparent);
}

.detail-content {
    color: #555;
    line-height: 1.8;
}

.detail-content p {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 2px solid #e8e8e8;
    transition: all 0.3s;
}

.detail-content p:hover {
    border-left-color: #2a7fff;
    padding-left: 20px;
}

/* 资料详情区域链接样式 */
.detail-content a {
    color: #2a7fff !important;
    text-decoration: none !important;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.detail-content a:hover {
    color: #ff6b35 !important;
    border-bottom-color: #ff6b35;
    padding-bottom: 1px;
}

/* 文件列表链接样式 */
.file-list a {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.file-list a:hover {
    color: #2a7fff !important;
}

.file-list {
    list-style: none;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e8e8e8;
}

.file-list li {

    padding: 15px 20px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.file-list li:last-child {
    border-bottom: none;
}

.file-list li:hover {
  
    background: rgba(42, 127, 255, 0.03);
    padding-left: 25px;
}

.file-name {
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-name::before {
    content: '';
    font-size: 16px;
    color: #2a7fff;
}

.file-size {
    color: #666;
    font-size: 12px;
    background: #e8e8e8;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* 主下载区域 */
.main-download-section {
    padding: 40px 35px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.main-download-section h2 {
    color: #222;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
}

.main-download-section .desc {
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.main-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #2a7fff, #1a5fd8);
    color: white;
    text-decoration: none !important; /* 去掉下划线 */
    padding: 20px 50px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-width: 300px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(42, 127, 255, 0.3);
}

.main-download-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.8s;
}

.main-download-btn:hover {
    background: linear-gradient(135deg, #3d8bff, #2a7fff);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(42, 127, 255, 0.5);
}

.main-download-btn:hover::before {
    left: 120%;
}

.download-stats {
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

.download-stats strong {
    color: #2a7fff;
    font-weight: 700;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.widget-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.widget-header h3 {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-header h3::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, #2a7fff, #1a5fd8);
    border-radius: 2px;
}

.widget-content {
    padding: 25px;
}

/* 热门资料排行 */
.hot-list {
    list-style: none;
}

.hot-list li {
    padding: 18px 0;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.hot-list li:last-child {
    border-bottom: none;
}

.hot-list li:hover {
    padding-left: 10px;
}

.hot-list a {
    color: #333;
    text-decoration: none !important; /* 去掉下划线 */
    font-weight: 600;
    flex: 1;
    transition: color 0.3s;
}

.hot-list a:hover {
    color: #2a7fff;
}

.hot-rank {
    color: #2a7fff;
    font-weight: 800;
    font-size: 14px;
    margin-right: 15px;
    min-width: 20px;
}

.hot-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hot-size {
    color: #666;
    font-size: 11px;
    padding: 3px 8px;
    background: #f8f9fa;
    border-radius: 3px;
    border: 1px solid #e8e8e8;
}

.hot-count {
    color: #ff6b35;
    font-size: 11px;
    font-weight: 600;
}

/* 分类导航 */
.category-nav {
    list-style: none;
}

.category-nav li {
    margin-bottom: 10px;
}

.category-nav a {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    color: #555;
    text-decoration: none !important; /* 去掉下划线 */
    border-radius: 6px;
    border-left: 3px solid #e8e8e8;
    transition: all 0.3s;
    font-weight: 600;
}

.category-nav a:hover {
    background: rgba(42, 127, 255, 0.05);
    color: #2a7fff;
    border-left-color: #2a7fff;
    padding-left: 25px;
}

/* 最新资料 */
.new-list {
    list-style: none;
}

.new-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
}

.new-list li:last-child {
    border-bottom: none;
}

.new-list a {
    color: #333;
    text-decoration: none !important; /* 去掉下划线 */
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    transition: color 0.3s;
}

.new-list a:hover {
    color: #2a7fff;
}

.new-date {
    color: #999;
    font-size: 12px;
    display: block;
}

/* 底部 */
.footer {
    background: #f8f9fa;
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 1px solid #e8e8e8;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #222;
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #2a7fff, #1a5fd8);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #666;
    text-decoration: none !important; /* 去掉下划线 */
    transition: all 0.3s;
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #2a7fff;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
    color: #999;
    font-size: 12px;
    letter-spacing: 1px;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .resource-info {
        grid-template-columns: 1fr;
    }
    
    .resource-title {
        font-size: 24px;
    }
    
    .main-download-btn {
        min-width: 100%;
        padding: 20px 30px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .user-tools {
        flex-wrap: wrap;
        justify-content: center;
    }




/* 修复域名链接样式 */
.brand .brand-text .tagline a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.brand .brand-text .tagline a:hover {
    color: #ff6b35 !important;
}


}