/*
Theme Name: RiPro-V5 下载站子主题
Template: ripro-v5
Version: 1.0
Description: 基于RiPro-V5的下载站风格子主题，支持系统下载和软件下载
Author: 自定义
*/

/* ===== 基础样式重置 ===== */
.download-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== 软件信息表格 ===== */
.software-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.software-info-table th,
.software-info-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.software-info-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    width: 120px;
}

.software-info-table td {
    color: #666;
}

.software-info-table tr:last-child th,
.software-info-table tr:last-child td {
    border-bottom: none;
}

/* ===== 下载区域 ===== */
.download-section {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: #fff;
}

.download-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== 网盘按钮网格 ===== */
.pan-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.pan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.pan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    color: #fff;
}

.pan-btn .code {
    font-size: 12px;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

/* ===== 软件下载按钮 ===== */
.software-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.software-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    background: #fff;
    color: #667eea;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.software-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    color: #764ba2;
}

.software-download-btn.primary {
    background: #00c853;
    color: #fff;
}

.software-download-btn.primary:hover {
    background: #00b248;
}

/* ===== 分类列表页样式 ===== */
.download-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.download-list-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.download-list-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

.download-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download-list-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.download-list-title a {
    color: #333;
    text-decoration: none;
}

.download-list-title a:hover {
    color: #667eea;
}

.download-list-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}

.download-list-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.download-list-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.download-list-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.download-list-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-list-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* ===== 侧边栏样式 ===== */
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    color: #333;
}

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

.sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.sidebar-list a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-list a:hover {
    color: #667eea;
}

.sidebar-list .rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.sidebar-list .rank.top {
    background: #ff6b6b;
    color: #fff;
}

/* ===== 首页样式 ===== */

/* 搜索区域 */
.home-search-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    margin-bottom: 40px;
}

.search-box-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.search-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 600;
}

.home-search-form {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.home-search-input {
    flex: 1;
    padding: 18px 30px;
    border: none;
    font-size: 16px;
    outline: none;
}

.home-search-btn {
    padding: 18px 40px;
    background: #00c853;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.home-search-btn:hover {
    background: #00b248;
}

.hot-tags {
    margin-top: 20px;
    color: rgba(255,255,255,0.9);
}

.hot-tags span {
    margin-right: 10px;
}

.hot-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    margin: 5px;
    font-size: 14px;
    transition: all 0.3s;
}

.hot-tag:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
}

/* 首页主要内容区 */
.home-main-section {
    padding: 40px 0;
}

/* 左侧分类侧边栏 */
.home-cat-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title i {
    color: #667eea;
}

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

.home-cat-list li {
    border-bottom: 1px solid #f0f0f0;
}

.home-cat-list li:last-child {
    border-bottom: none;
}

.home-cat-list a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.home-cat-list a:hover {
    color: #667eea;
    padding-left: 5px;
}

.home-cat-list i {
    margin-right: 8px;
    color: #999;
}

.cat-count {
    margin-left: auto;
    font-size: 12px;
    color: #999;
}

/* 推荐下载区 */
.home-recommend-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #667eea;
}

.view-more {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-more:hover {
    color: #764ba2;
}

/* 推荐网格 */
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.recommend-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

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

.recommend-thumb {
    display: block;
    height: 140px;
    overflow: hidden;
}

.recommend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.recommend-item:hover .recommend-thumb img {
    transform: scale(1.05);
}

.recommend-content {
    padding: 15px;
}

.recommend-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.recommend-title a {
    color: #333;
    text-decoration: none;
}

.recommend-title a:hover {
    color: #667eea;
}

.recommend-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 10px;
}

/* 软件分类图标区 */
.home-software-cats {
    padding: 60px 0;
    background: #f8f9fa;
    margin: 40px 0;
}

.software-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.software-cat-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.cat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.cat-icon i {
    font-size: 24px;
    color: #fff;
}

.cat-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cat-count {
    font-size: 12px;
    color: #999;
}

/* 最新更新区 */
.home-latest-section {
    padding: 40px 0;
}

.latest-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.latest-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.latest-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.latest-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.latest-cat {
    font-size: 12px;
    color: #667eea;
    margin-bottom: 5px;
}

.latest-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.latest-title a {
    color: #333;
    text-decoration: none;
}

.latest-title a:hover {
    color: #667eea;
}

.latest-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* ===== 侧边栏下载按钮样式 ===== */
.sidebar-download-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.sidebar-download-widget .sidebar-widget-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}

.sidebar-download-widget .sidebar-widget-title i {
    color: #fff;
}

.sidebar-pan-list,
.sidebar-soft-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-pan-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-pan-btn:hover {
    transform: translateX(5px);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.pan-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.pan-name {
    flex: 1;
}

.sidebar-pan-code {
    font-size: 11px;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.sidebar-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    background: #fff;
    color: #667eea;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-download-btn:hover {
    background: #f0f0f0;
    color: #764ba2;
    transform: translateX(5px);
}

.sidebar-download-btn.primary {
    background: #00c853;
    color: #fff;
}

.sidebar-download-btn.primary:hover {
    background: #00b248;
}

/* ===== 横幅广告区域 ===== */
body.single .single-banner-ad,
.single-banner-ad {
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%) !important;
    padding: 15px 0 !important;
    margin-bottom: 0 !important;
}

.banner-link {
    display: block;
    text-decoration: none;
    color: #fff;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.banner-logo {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.banner-icon-default {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}

.banner-text h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.banner-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.banner-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner-preview {
    width: 200px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-preview-default {
    font-size: 40px;
    color: rgba(255,255,255,0.5);
}

.banner-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.banner-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #fff;
    color: #1565c0;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.banner-version {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 25px;
    font-size: 13px;
    text-align: center;
}

/* ===== 面包屑导航 ===== */
.single-breadcrumb-wrap {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
}

.single-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 13px;
}

.breadcrumb-label {
    color: #666;
}

.breadcrumb-item {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.breadcrumb-item.current {
    color: #333;
    font-weight: 500;
}

.breadcrumb-item.current:hover {
    text-decoration: none;
    color: #333;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 3px;
}

/* ===== 详情页左图右参数布局 ===== */
body.single .software-info-layout,
.software-info-layout {
    display: flex !important;
    gap: 30px !important;
    padding: 25px !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
    margin: 20px 0 !important;
}

/* 左侧缩略图 */
body.single .software-thumb-wrap,
.software-thumb-wrap {
    flex-shrink: 0 !important;
    width: 280px !important;
}

body.single .software-thumb,
.software-thumb {
    width: 100% !important;
    height: 200px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    background: #fff !important;
}

body.single .software-thumb img,
.software-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 右侧参数区 */
body.single .software-params-wrap,
.software-params-wrap {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

body.single .software-params,
.software-params {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px 20px !important;
}

.param-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.param-label {
    color: #666;
    white-space: nowrap;
}

.param-value {
    color: #333;
    font-weight: 500;
}

/* 安全检测标签 */
.security-check {
    grid-column: span 3;
}

.security-check .param-value {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.safe-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.safe-tag::before {
    content: "✓";
    font-weight: bold;
}

/* SHA256值 */
.sha256-item {
    grid-column: span 3;
}

.sha256-value {
    font-family: 'Courier New', monospace;
    color: #e53935;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: help;
}

/* 温馨提示 */
.software-tips {
    margin-top: 15px;
    padding: 12px 15px;
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    border-radius: 4px;
    font-size: 13px;
}

.tips-label {
    color: #e65100;
    font-weight: 600;
}

.tips-text {
    color: #f57c00;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .software-info-layout {
        flex-direction: column;
    }
    
    .software-thumb-wrap {
        width: 100%;
    }
    
    .software-thumb {
        height: 250px;
    }
    
    .software-params {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-check,
    .sha256-item {
        grid-column: span 2;
    }
    
    /* 横幅广告响应式 */
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-left {
        flex-direction: column;
    }
    
    .banner-right {
        flex-direction: column;
        width: 100%;
    }
    
    .banner-preview {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .download-list-item {
        flex-direction: column;
    }
    
    .download-list-thumb {
        width: 100%;
        height: 200px;
    }
    
    .pan-buttons {
        grid-template-columns: 1fr;
    }
    
    .home-search-form {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .home-search-btn {
        border-radius: 0 0 12px 12px;
    }
    
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .software-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .latest-list {
        grid-template-columns: 1fr;
    }
    
    .software-params {
        grid-template-columns: 1fr;
    }
    
    .security-check,
    .sha256-item {
        grid-column: span 1;
    }
    
    /* 面包屑导航手机端 */
    .single-breadcrumb {
        font-size: 12px;
    }
    
    .breadcrumb-label {
        display: none;
    }
}

/* ============================================
   首页新布局样式
   ============================================ */

/* ===== 顶部蓝色横幅区域 ===== */
.home-hero-banner {
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-text,
.hero-logo-section {
    flex: 1;
    color: #fff;
}

/* 首页大LOGO区域 */
.hero-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-big-logo {
    max-width: 400px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 图片加载失败时的备用样式 */
.big-logo-fallback {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.logo-icon-large i {
    font-size: 40px;
    color: #fff;
}

.logo-text-large h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.logo-text-large span {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-title .year {
    font-style: italic;
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-title .highlight {
    color: #fff;
}

.hero-title .hot-tag {
    background: #ff5722;
    color: #fff;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 30px 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 30px;
    background: #4caf50;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 140px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    color: #fff;
}

.hero-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.hero-btn span {
    font-size: 16px;
    font-weight: 600;
}

.hero-btn small {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    margin-top: 3px;
}

.hero-btn.win7-btn {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.hero-btn.win10-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.hero-btn.win11-btn {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
}

.hero-image {
    flex-shrink: 0;
    width: 400px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.hero-image-default {
    width: 400px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 120px;
    color: rgba(255,255,255,0.3);
}

/* ===== 电脑显示器轮播展示 ===== */
.computer-showcase {
    position: relative;
    width: 400px;
    height: 320px;
}

/* 屏幕轮播区域 - 定位在显示器屏幕位置 */
.screen-slideshow {
    position: absolute;
    top: 65px;
    left: 65px;
    width: 270px;
    height: 168px;
    overflow: hidden;
    border-radius: 2px;
    z-index: 1;
}

.screen-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.screen-slideshow .slide.active {
    opacity: 1;
}

.screen-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 电脑显示器外框 */
.computer-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.computer-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 默认CSS绘制的显示器（当没有外框图片时使用） */
.computer-frame-default {
    display: none;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    justify-content: center;
}

.computer-frame-default .monitor {
    position: relative;
    width: 340px;
    height: 260px;
}

.computer-frame-default .screen-placeholder {
    width: 100%;
    height: 200px;
    background: transparent;
    border: 12px solid #333;
    border-radius: 12px 12px 8px 8px;
    box-shadow: 
        0 0 0 2px #555,
        0 10px 30px rgba(0,0,0,0.3);
}

.computer-frame-default .stand {
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #444 0%, #333 100%);
    margin: 0 auto;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.computer-frame-default .base {
    width: 120px;
    height: 12px;
    background: linear-gradient(135deg, #444 0%, #333 100%);
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* 当外框图片加载失败时显示默认显示器 */
.computer-frame img[style*="display: none"] + .computer-frame-default {
    display: flex;
}

/* ===== 公告栏 ===== */
.home-notice-bar {
    background: #f5f5f5;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
    padding: 12px 0;
    min-height: 44px;
}

.notice-content i {
    color: #ff9800;
    font-size: 16px;
    flex-shrink: 0;
}

.notice-text {
    flex: 1;
    line-height: 1.5;
}

/* 确保公告栏内的自定义样式不会破坏布局 */
.notice-text > div,
.notice-text > span {
    display: inline;
}

/* ===== 小马一键重装系统横幅 ===== */
.home-xiaoma-banner {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    padding: 20px 0;
    margin: 20px 0;
}

.xiaoma-link {
    display: block;
    text-decoration: none;
    color: #fff;
}

.xiaoma-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.xiaoma-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.xiaoma-logo {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.xiaoma-text h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.xiaoma-text p {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.xiaoma-icons {
    display: flex;
    gap: 15px;
}

.sys-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.sys-icon.xp {
    background: #ff9800;
}

.sys-icon.win7 {
    background: #4caf50;
}

.sys-icon.win10 {
    background: #2196f3;
}

.xiaoma-action {
    display: flex;
    align-items: center;
}

.xiaoma-btn {
    padding: 10px 25px;
    background: #fff;
    color: #1976d2;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

/* ===== 系统列表网格卡片 ===== */
.home-systems-grid {
    padding: 40px 0;
    background: #f8f9fa;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.system-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.system-card-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
}

.system-card-image {
    width: 320px;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    flex-shrink: 0;
}

.system-card-image img {
    max-width: 100%;
    max-height: 190px;
    width: auto;
    height: auto;
    display: block;
    transition: transform 0.3s;
    object-fit: contain;
}

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

.system-card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.system-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.system-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #999;
}

.system-card-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.system-card-meta .meta-item i {
    color: #1976d2;
}

.system-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.system-card-rating .stars {
    color: #ffc107;
    font-size: 12px;
}

.system-card-rating .rating-text {
    font-size: 12px;
    color: #ff9800;
    font-weight: 500;
}

.system-card-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.system-card-desc .label {
    color: #e53935;
    font-weight: 500;
}

.system-card-desc .desc-text {
    color: #999;
}

/* ===== 安全检测图标栏 ===== */
.home-security-bar {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.security-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.security-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.security-label i {
    color: #4caf50;
    font-size: 18px;
}

.security-icons {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.security-item i {
    color: #4caf50;
    font-size: 16px;
}

/* ===== 底部小马工具横幅 ===== */
.home-bottom-banner {
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
    padding: 40px 0;
    margin-top: 20px;
}

.bottom-banner-slogan {
    text-align: center;
    color: #fff;
}

.bottom-banner-slogan h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
}

.bottom-banner-slogan p {
    margin: 0;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}
}

/* ===== 首页响应式设计 ===== */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image,
    .hero-image-default {
        width: 100%;
        max-width: 300px;
    }
    
    /* 响应式大LOGO */
    .hero-logo-section {
        align-items: center;
        text-align: center;
    }
    
    .hero-big-logo {
        max-width: 280px;
        max-height: 100px;
    }
    
    .big-logo-fallback {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon-large i {
        font-size: 30px;
    }
    
    .logo-text-large h1 {
        font-size: 36px;
    }
    
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .xiaoma-content {
        flex-direction: column;
        text-align: center;
    }
    
    .bottom-banner-slogan h2 {
        font-size: 22px;
    }
    
    .bottom-banner-slogan p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .home-hero-banner {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 200px;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
    }
    
    .security-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .security-icons {
        justify-content: center;
    }
    
    /* 移动端卡片恢复上下布局 */
    .system-card-link {
        flex-direction: column;
    }
    
    .system-card-image {
        width: 100%;
        min-height: auto;
        max-height: 160px;
    }
}

/* ===== 分类页面横幅 ===== */
.archive-cat-banner {
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

/* 动态背景 - 流动渐变 */
.archive-cat-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255,255,255,0.05) 50%,
        transparent 70%
    );
    animation: shimmer 3s ease-in-out infinite;
}

/* 动态背景 - 浮动圆点 */
.archive-cat-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 8%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 6%),
        radial-gradient(circle at 40% 70%, rgba(255,255,255,0.06) 0%, transparent 10%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.09) 0%, transparent 7%),
        radial-gradient(circle at 10% 80%, rgba(255,255,255,0.07) 0%, transparent 5%);
    animation: float 6s ease-in-out infinite;
}

/* 闪光动画 */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 波浪特效 */
.archive-cat-banner .wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,120V73.71c47.79-22.2,103.59-32.17,158-28,70.36,5.37,136.33,33.31,206.8,37.5C438.64,87.57,512.34,66.33,583,47.95c69.27-18,138.3-24.88,209.4-13.08,36.15,6,69.85,17.84,104.45,29.34C989.49,95,1113,134.29,1200,67.53V120Z" fill="rgba(255,255,255,0.25)"/></svg>');
    background-size: 1200px 100%;
    animation: wave 10s linear infinite;
    z-index: 2;
}

.archive-cat-banner .wave:nth-child(2) {
    bottom: 0px;
    opacity: 0.7;
    animation: wave 15s linear infinite reverse;
}

.archive-cat-banner .wave:nth-child(3) {
    bottom: 5px;
    opacity: 0.5;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1200px;
    }
}

.archive-banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
}

.archive-banner-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #fff;
}

.archive-banner-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    letter-spacing: 2px;
}

/* ===== 面包屑导航栏 ===== */
.archive-breadcrumb-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breadcrumb-item {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.breadcrumb-item:hover {
    color: #1976d2;
}

.breadcrumb-item i {
    font-size: 12px;
}

.breadcrumb-item.current {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #999;
    font-size: 12px;
}

/* 分类页面横幅响应式 */
@media (max-width: 768px) {
    .archive-cat-banner {
        padding: 30px 0;
    }
    
    .archive-banner-title {
        font-size: 22px;
    }
    
    .archive-banner-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }
}

/* ============================================
   新头部样式 - 系统之家风格
   ============================================ */

/* 隐藏原头部 */
.site-header {
    display: none !important;
}

.header-gap {
    display: none !important;
}

/* 新头部容器 */
.site-header-new {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-gap-new {
    height: 130px;
}

/* 顶部搜索区域 */
.header-top {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* Logo样式 */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* 顶部LOGO图片 */
.site-logo-img {
    max-height: 100px;
    max-width: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* LOGO备用文字版 */
.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.logo-text h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    color: #999;
    letter-spacing: 1px;
}

.logo-slogan {
    font-size: 12px;
    color: #2196f3;
    font-style: italic;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #ddd;
}

/* 搜索框样式 */
.header-search {
    flex: 1;
    max-width: 600px;
}

/* 右侧功能按钮 - 在蓝色导航栏上 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-actions .action-btn:not(.language-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    border-radius: 4px;
}

.header-actions .action-btn:not(.language-btn):hover {
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.header-actions .toggle-color span {
    display: none;
}

.header-actions .toggle-color span.show {
    display: block;
}

.header-actions .login-btn {
    width: auto;
    padding: 6px 15px;
    background: rgba(255,255,255,0.9);
    color: #2196f3;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.header-actions .login-btn:hover {
    background: #fff;
    color: #1976d2;
}

.header-actions .avatar-warp {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s;
}

.header-actions .avatar-warp:hover {
    background: rgba(255,255,255,0.2);
}

.header-actions .avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
}

.header-actions .display-name {
    font-size: 13px;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
}

/* 用户下拉菜单在导航栏样式 */
.header-actions .action-hover-menu {
    position: relative;
}

.header-actions .hover-warp {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 280px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.header-actions .action-hover-menu:hover .hover-warp {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉菜单内部样式修复 */
.header-actions .hover-warp .hover-link {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}

.header-actions .hover-warp .hover-link a {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 50%;
    padding: 8px 10px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
    transition: background 0.3s;
    box-sizing: border-box;
}

.header-actions .hover-warp .hover-link a:hover {
    background: #f5f5f5;
}

/* 图标颜色 */
.header-actions .hover-warp .hover-link a i {
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.header-actions .hover-warp .hover-link a i.fa-user {
    color: #2196f3;
}

.header-actions .hover-warp .hover-link a i.fa-coins {
    color: #ff9800;
}

.header-actions .hover-warp .hover-link a i.fa-gem {
    color: #9c27b0;
}

.header-actions .hover-warp .hover-link a i.fa-star {
    color: #ff5722;
}

.header-actions .hover-warp .hover-link a i.fa-shopping-bag {
    color: #4caf50;
}

.header-actions .abstop-item {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border-top: 1px solid #eee;
}

.header-actions .abstop-item a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
}

.header-actions .abstop-item a:hover {
    color: #2196f3;
}

.search-box {
    display: flex;
    border: 2px solid #2196f3;
    border-radius: 4px;
    overflow: hidden;
}

.search-category {
    padding: 10px 15px;
    border: none;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-size: 14px;
    outline: none;
}

.search-btn {
    padding: 10px 30px;
    background: #2196f3;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #1976d2;
}

/* 热门标签 */
.hot-tags {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hot-tags span {
    color: #666;
    margin-right: 10px;
    white-space: nowrap;
}

.hot-tags .history-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.hot-tags a {
    color: #999;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s;
}

.hot-tags a:hover {
    color: #2196f3;
}

/* 导航菜单 */
.header-nav {
    background: #2196f3;
}

.header-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.nav-item:hover > a,
.nav-item.active > a {
    background: rgba(255,255,255,0.2);
}

.nav-item i {
    font-size: 10px;
    margin-left: 5px;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 150px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    list-style: none;
    padding: 5px 0;
    margin: 0;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #2196f3;
}

/* 响应式 */
@media (max-width: 992px) {
    .header-top-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-search {
        max-width: 100%;
        width: 100%;
    }
    
    .logo-slogan {
        display: none;
    }
    
    .nav-list {
        flex-wrap: wrap;
    }
    
    .nav-item > a {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* ============================================
   语言切换按钮样式 - 放在最后确保最高优先级
   ============================================ */
.header-actions .language-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 5px !important;
    padding: 6px 12px !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: normal !important;
    line-height: 1.5 !important;
    text-align: left !important;
    white-space: nowrap !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    border: none !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

.header-actions .language-btn:hover {
    background: rgba(255,255,255,0.25) !important;
    color: #fff !important;
}

.header-actions .language-btn i {
    font-size: 14px !important;
    flex-shrink: 0 !important;
}

.header-actions .language-btn .language-text {
    display: inline !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    font-size: 14px !important;
}

/* 语言下拉菜单 */
.header-actions .language-warp {
    right: 0 !important;
    left: auto !important;
    min-width: 120px !important;
    top: 100% !important;
    margin-top: 5px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s !important;
}

/* 鼠标悬停时显示语言下拉菜单 */
.header-actions .action-hover-menu:hover .language-warp {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* 语言下拉菜单 - 覆盖默认样式 */
.header-actions .language-warp .hover-link,
.header-actions .language-link {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    padding: 0 !important;
    width: 100% !important;
}

.header-actions .language-warp .hover-link a,
.header-actions .language-link a {
    display: block !important;
    width: 100% !important;
    padding: 10px 15px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    text-align: left !important;
    font-size: 14px !important;
}

.header-actions .language-warp .hover-link a:hover,
.header-actions .language-link a:hover,
.header-actions .language-warp .hover-link a.active,
.header-actions .language-link a.active {
    background: #2196f3 !important;
    color: #fff !important;
}

/* translate.js 语言选择器样式 */
.translate-language-container {
    margin-left: 10px;
}

.translate-language-container .translateSelectLanguage,
.translate-language-container select {
    padding: 6px 12px !important;
    background: rgba(255,255,255,0.15) !important;
    border: none !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-size: 14px !important;
    cursor: pointer !important;
    outline: none !important;
    height: auto !important;
    min-width: 100px !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
}

.translate-language-container select option {
    background: #fff !important;
    color: #333 !important;
    padding: 5px !important;
}

/* ===== 新底部样式（宣传语+底部内容） ===== */
footer.site-footer-new {
    margin-top: 20px !important;
    background: #0d47a1 !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 400px !important;
}

/* 视频背景 */
footer.site-footer-new .footer-video-bg {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

/* 宣传语区域 - 半透明背景 */
footer.site-footer-new .footer-slogan-section {
    background: rgba(13, 71, 161, 0.85) !important;
    padding: 40px 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

footer.site-footer-new .footer-slogan {
    text-align: center !important;
    color: #fff !important;
}

footer.site-footer-new .footer-slogan h2 {
    margin: 0 0 10px 0 !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    color: #fff !important;
}

footer.site-footer-new .footer-slogan p {
    margin: 0 !important;
    font-size: 16px !important;
    color: rgba(255,255,255,0.9) !important;
}

/* 底部内容区域 - 半透明背景 */
footer.site-footer-new .footer-content-section {
    background: rgba(25, 118, 210, 0.9) !important;
    padding: 40px 0 20px !important;
    color: #fff !important;
    position: relative !important;
    z-index: 1 !important;
}

footer.site-footer-new .footer-content-section .container {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* 底部内容文字颜色 */
footer.site-footer-new .footer-content-section .widget-title {
    color: #fff !important;
}

footer.site-footer-new .footer-content-section .widget-links a {
    color: rgba(255,255,255,0.9) !important;
}

footer.site-footer-new .footer-content-section .widget-links a:hover {
    color: #fff !important;
}

footer.site-footer-new .footer-content-section .small,
footer.site-footer-new .footer-content-section p {
    color: rgba(255,255,255,0.9) !important;
}

footer.site-footer-new .footer-content-section a {
    color: rgba(255,255,255,0.9) !important;
}

footer.site-footer-new .footer-content-section a:hover {
    color: #fff !important;
}

/* 响应式 */
@media (max-width: 768px) {
    footer.site-footer-new .footer-slogan h2 {
        font-size: 22px !important;
    }
    
    footer.site-footer-new .footer-slogan p {
        font-size: 14px !important;
    }
    
    footer.site-footer-new .footer-slogan-section {
        padding: 30px 0 !important;
    }
}

/* ===== 修复登录按钮换行问题 ===== */
.site-header .navbar .actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.site-header .navbar .actions .action-hover-menu {
    display: inline-flex;
    align-items: center;
}

.site-header .navbar .actions .login-btn {
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}
