/* ========== 全局重置 & 基础变量 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a3d62;      /* 深蓝主色调 */
    --primary-dark: #0c2f44;
    --accent-color: #e67e22;       /* 强调色 */
    --text-dark: #1e272e;
    --text-light: #576574;
    --bg-gray: #f5f6fa;
    --border-light: #e1e8ed;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --transition: all 0.25s ease;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-gray);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 头部样式 ========== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo-area {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.logo-link {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #2c3e66);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.site-slogan {
    font-size: 0.85rem;
    color: var(--text-light);
    border-left: 2px solid var(--border-light);
    padding-left: 12px;
}

.main-nav .nav-list {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-toggle, .mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.search-toggle:hover {
    color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
}

/* 搜索浮层 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

.search-overlay.active {
    visibility: visible;
    opacity: 1;
}

.search-container {
    background: var(--white);
    width: 90%;
    max-width: 600px;
    border-radius: 60px;
    display: flex;
    padding: 8px 8px 8px 24px;
    box-shadow: var(--shadow-md);
}

.search-container input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.2rem;
    padding: 12px 0;
}

.search-close {
    background: var(--text-light);
    border: none;
    color: white;
    font-size: 1.4rem;
    width: 44px;
    border-radius: 40px;
    cursor: pointer;
}


/* ========== 首页焦点区 ========== */
.hero-banner {
    margin: 32px 0 16px;
}

.hero-slider {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
}

.hero-card {
    background-size: cover;
    background-position: center;
    min-height: 420px;
    border-radius: 28px;
    display: flex;
    align-items: flex-end;
    padding: 40px 48px;
    transition: 0.3s;
}

.hero-content {
    max-width: 600px;
    color: white;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.hero-category {
    background: var(--accent-color);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-content p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.btn-read {
    background: var(--white);
    color: var(--primary-dark);
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

/* ========== 轮播控制按钮样式 ========== */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.hero-slide {
    display: none;
    transition: opacity 0.5s ease;
}

.hero-slide:first-child {
    display: flex;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .slider-btn {
        font-size: 1.4rem;
        padding: 8px 12px;
    }
    .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }
}



.btn-read:hover {
    background: var(--accent-color);
    color: white;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    width: 28px;
    background: var(--accent-color);
}

/* 快讯栏 */
.breaking-bar {
    background: var(--primary-dark);
    color: white;
    border-radius: 48px;
    margin: 24px 0 32px;
}

.breaking-flex {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    gap: 20px;
}

.breaking-label {
    background: #e84118;
    padding: 4px 14px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 0.8rem;
}

.breaking-ticker {
    font-weight: 500;
    white-space: nowrap;
    overflow-x: auto;
}

/* 章节头部 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 48px 0 24px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    border-left: 5px solid var(--accent-color);
    padding-left: 16px;
}

.more-link {
    color: var(--primary-color);
    font-weight: 500;
    border-bottom: 1px dashed;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 20px;
}

.card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.card-body h3 {
    font-size: 1.25rem;
    margin: 8px 0 12px;
    line-height: 1.4;
}

.card-body h3 a:hover {
    color: var(--accent-color);
}

.card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.card-meta {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: #95a5a6;
}

/* 特色板块 */
.feature-block {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 48px 0;
}

.feature-item {
    background: linear-gradient(145deg, #fff, #f8f9fc);
    flex: 1;
    border-radius: 28px;
    padding: 28px;
    border: 1px solid var(--border-light);
}

.btn-outline-sm {
    display: inline-block;
    margin-top: 16px;
    border: 1px solid var(--primary-color);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-sm:hover {
    background: var(--primary-color);
    color: white;
}

/* ========== 列表页样式 ========== */
.page-title {
    font-size: 2rem;
    margin: 24px 0 8px;
}

.breadcrumb {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.list-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.list-main {
    flex: 2.5;
    min-width: 260px;
}

.list-sidebar {
    flex: 1;
    min-width: 240px;
}

.list-articles {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.list-item {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.list-img {
    width: 240px;
    height: 140px;
    background-size: cover;
    border-radius: 16px;
}

.list-info {
    flex: 1;
}

.list-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.list-summary {
    color: var(--text-light);
    margin: 12px 0;
    line-height: 1.5;
}

.list-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #7f8c8d;
}

.pagination {
    margin: 48px 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.page-link {
    background: white;
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
}

.page-link.active, .page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.sidebar-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.rank-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud a {
    background: #ecf0f1;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--accent-color);
    color: white;
}

/* ========== 内容页样式 ========== */
.detail-container {
    background: white;
    border-radius: 32px;
    margin: 32px auto;
    padding: 40px 48px;
    box-shadow: var(--shadow-sm);
}

.detail-title {
    font-size: 2.5rem;
    margin: 16px 0;
    line-height: 1.3;
}

.detail-meta-bar {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
    color: var(--text-light);
}

.detail-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.detail-content blockquote {
    background: #f0f7ff;
    padding: 20px 28px;
    border-left: 6px solid var(--accent-color);
    margin: 28px 0;
    font-style: italic;
    border-radius: 20px;
}

.detail-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.share-links a {
    margin: 0 6px;
    color: var(--primary-color);
}

/* ========== 页脚 ========== */
.site-footer {
    background: #0f2a3b;
    color: #cddbe9;
    margin-top: 60px;
    padding: 48px 0 24px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: space-between;
}

.footer-col h3, .footer-col h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin: 8px 0;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid #2c4b63;
    font-size: 0.8rem;
}

/* ========== 友情链接区域 ========== */
.friend-link-section {
  margin: 60px 0;
}

.friend-link-wrapper {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.friend-link-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.friend-link-title {
  font-size: 1.25rem;
  font-weight: 700;
  border-left: 4px solid var(--accent-color);
  padding-left: 12px;
  color: var(--primary-color);
}

.friend-link-body ul.friend-link-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.friend-link-body ul.friend-link-grid li {
  margin: 0;
}

.friend-link-body ul.friend-link-grid a.friend-link-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.friend-link-body ul.friend-link-grid a.friend-link-item:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ========== 软件下载卡片列表 ========== */
.download-section {
  margin: 40px 0;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.download-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.download-card-top {
  padding: 24px 20px 16px;
  text-align: center;
}

.download-card-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-gray);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.download-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.download-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

.download-card-body {
  padding: 0 20px 20px;
  flex: 1;
}

.download-card-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.download-card-bottom {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-light);
}

.download-card-btn {
  display: block;
  text-align: center;
  padding: 10px 0;
  background: var(--primary-color);
  color: #fff;
  border-radius: 12px;
  font-weight: 500;
  transition: var(--transition);
}

.download-card-btn:hover {
  background: var(--accent-color);
  color: #fff;
}


/* ========== 软件下载详情页 ========== */
.download-detail-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 30px;
}

.download-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.detail-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-gray);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.detail-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.detail-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.8rem;
  border-radius: 6px;
  margin-right: 8px;
}

.detail-body {
  margin-bottom: 30px;
}

.detail-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.download-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

.download-detail-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
}

.download-detail-table td:first-child {
  background: var(--bg-gray);
  font-weight: 500;
  width: 120px;
}

.download-action {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-download-primary {
  padding: 14px 32px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-download-primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.update-log {
  margin-top: 40px;
}

.log-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .download-detail-card {
    padding: 24px;
  }
  .detail-title {
    font-size: 1.4rem;
  }
  .download-action {
    width: 100%;
  }
  .btn-download-primary {
    width: 100%;
    text-align: center;
  }
}
/* 移动端适配 */
@media (max-width: 768px) {
  .friend-link-wrapper {
    padding: 24px 20px;
  }
  .friend-link-body ul.friend-link-grid {
    gap: 12px;
  }
  .friend-link-body ul.friend-link-grid a.friend-link-item {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

/* ========== 自适应响应式 ========== */
@media (max-width: 900px) {
    .main-nav .nav-list {
        gap: 16px;
    }
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .hero-card {
        padding: 24px;
    }
    .detail-container {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background: white;
        box-shadow: 2px 0 20px rgba(0,0,0,0.1);
        transition: 0.3s;
        z-index: 99;
        padding: 24px;
        overflow-y: auto;
    }
    .main-nav.mobile-open {
        left: 0;
    }
    .main-nav .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    .header-container {
        flex-wrap: nowrap;
    }
    .list-item {
        flex-direction: column;
    }
    .list-img {
        width: 100%;
        height: 180px;
    }
    .list-layout {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 1.4rem;
    }
    .detail-title {
        font-size: 1.8rem;
    }
    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .logo-link {
        font-size: 1.4rem;
    }
    .site-slogan {
        display: none;
    }
    .breaking-ticker {
        font-size: 0.8rem;
    }
    .hero-card {
        min-height: 320px;
    }
}
/* v:80eb4c43cdfb5807 */
