/* ============================================================
   WinRAR官网下载 - 主样式文件
   符合谷歌SEO/GEO标准，响应式设计
   ============================================================ */

/* ===== 全局重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #f5f6f8;
  color: #333;
  line-height: 1.7;
  min-width: 320px;
}

a {
  color: #0066cc;
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: #cc3300; text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* ===== 顶部导航 ===== */
.site-header {
  background: linear-gradient(135deg, #1a3a6b 0%, #0e2a52 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo img {
  border-radius: 6px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}
.logo-text em {
  font-style: normal;
  color: #ffd700;
}
.logo-text small {
  font-size: .65rem;
  color: #aac8f0;
  display: block;
  font-weight: 400;
  letter-spacing: .5px;
  margin-top: -4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  color: #d0e4ff;
  font-size: .9rem;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
}
.main-nav .nav-dl-btn {
  background: #e63900;
  color: #fff !important;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 20px;
  margin-left: 8px;
}
.main-nav .nav-dl-btn:hover {
  background: #cc2d00;
  transform: translateY(-1px);
}

/* ===== 轮播图 ===== */
.slider-section {
  position: relative;
  overflow: hidden;
  background: #1a3a6b;
  max-height: 420px;
}
.slider-wrapper {
  display: flex;
  transition: transform .5s ease;
}
.slide {
  min-width: 100%;
  flex-shrink: 0;
}
.slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.slider-arrow:hover { background: rgba(0,0,0,.7); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  transition: background .2s;
  padding: 0;
}
.slider-dot.active { background: #fff; }

/* ===== 快速下载栏 ===== */
.quick-dl-bar {
  background: #fff;
  border-bottom: 3px solid #0066cc;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.quick-dl-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.quick-dl-info h2 {
  font-size: 1.1rem;
  color: #1a3a6b;
  margin-bottom: 2px;
}
.quick-dl-info p {
  font-size: .82rem;
  color: #666;
}
.quick-dl-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-64, .btn-32 {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-64 {
  background: #e63900;
  color: #fff;
}
.btn-64:hover {
  background: #cc2d00;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-32 {
  background: #0066cc;
  color: #fff;
}
.btn-32:hover {
  background: #0055aa;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ===== 统计数据栏 ===== */
.stats-bar {
  background: linear-gradient(135deg, #1a3a6b 0%, #0e2a52 100%);
  padding: 16px 0;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
.stat-item {
  text-align: center;
  color: #fff;
}
.stat-item strong {
  display: block;
  font-size: 1.6rem;
  color: #ffd700;
  font-weight: 700;
}
.stat-item span {
  font-size: .82rem;
  color: #aac8f0;
}

/* ===== 主内容布局 ===== */
.main-wrap {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}

/* ===== 内容块通用 ===== */
.block-section {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  margin-bottom: 20px;
  overflow: hidden;
}
.block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 2px solid #e8ecf0;
  background: #f8f9fb;
}
.block-header h1,
.block-header h2 {
  font-size: 1.05rem;
  color: #1a3a6b;
  font-weight: 700;
  position: relative;
  padding-left: 12px;
}
.block-header h1::before,
.block-header h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: #0066cc;
  border-radius: 2px;
}
.more-link {
  font-size: .82rem;
  color: #0066cc;
  white-space: nowrap;
}

/* ===== 公告框 ===== */
.notice-box {
  display: flex;
  gap: 12px;
  background: #fff8e1;
  border: 1px solid #ffc107;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  padding: 14px 16px;
  margin: 16px;
}
.notice-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.notice-box h4 {
  font-size: .92rem;
  color: #8a6200;
  margin-bottom: 4px;
}
.notice-box p {
  font-size: .84rem;
  color: #7a5800;
  line-height: 1.6;
}

/* ===== 功能特性网格 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e8ecf0;
  border-top: 1px solid #e8ecf0;
}
.feature-card {
  background: #fff;
  padding: 20px 16px;
  text-align: center;
  transition: background .2s;
}
.feature-card:hover { background: #f0f5ff; }
.feature-card img {
  margin: 0 auto 10px;
}
.feature-card h3 {
  font-size: .92rem;
  color: #1a3a6b;
  margin-bottom: 6px;
  font-weight: 700;
}
.feature-card p {
  font-size: .82rem;
  color: #666;
  line-height: 1.6;
}

/* ===== 文章卡片网格 ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e8ecf0;
  border-top: 1px solid #e8ecf0;
}
.art-card {
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s;
}
.art-card:hover { box-shadow: 0 4px 12px rgba(0,102,204,.12); }
.art-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform .3s;
}
.art-card:hover .art-card-img { transform: scale(1.04); }
.art-card-body {
  padding: 12px;
}
.art-card-body h3 {
  font-size: .9rem;
  line-height: 1.5;
  margin-bottom: 6px;
}
.art-card-body h3 a {
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-card-body h3 a:hover { color: #0066cc; text-decoration: none; }
.art-meta {
  font-size: .78rem;
  color: #999;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== 版本下载表格 ===== */
.ver-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.ver-table th, .ver-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
  vertical-align: middle;
}
.ver-table th {
  background: #f0f5ff;
  color: #1a3a6b;
  font-weight: 700;
  font-size: .84rem;
}
.ver-table tr:hover td { background: #f8f9fb; }
.btn-dl {
  display: inline-block;
  background: #e63900;
  color: #fff;
  padding: 5px 14px;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s;
}
.btn-dl:hover {
  background: #cc2d00;
  color: #fff;
  text-decoration: none;
}
.new-badge {
  background: #e63900;
  color: #fff;
  font-size: .7rem;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ===== FAQ ===== */
.faq-section { padding-bottom: 4px; }
.faq-item {
  border-bottom: 1px solid #edf0f4;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 600;
  color: #222;
  transition: background .2s;
  user-select: none;
}
.faq-q:hover { background: #f8f9fb; }
.faq-icon {
  font-style: normal;
  font-size: 1.2rem;
  color: #0066cc;
  font-weight: 700;
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: 10px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 18px 14px 18px;
  font-size: .88rem;
  color: #555;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ===== 侧边栏 ===== */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

.sb-dl-box {
  background: linear-gradient(135deg, #1a3a6b 0%, #0e2a52 100%);
  border-radius: 6px;
  padding: 20px 16px;
  text-align: center;
  color: #fff;
}
.sb-dl-box img {
  margin: 0 auto 10px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.2);
}
.sb-dl-box h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #ffd700;
}
.sb-dl-box p {
  font-size: .8rem;
  color: #aac8f0;
  margin-bottom: 12px;
}
.sb-btn-64, .sb-btn-32 {
  display: block;
  padding: 9px 16px;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all .2s;
}
.sb-btn-64 {
  background: #e63900;
  color: #fff;
}
.sb-btn-64:hover {
  background: #cc2d00;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.sb-btn-32 {
  background: rgba(255,255,255,.15);
  color: #d0e4ff;
  border: 1px solid rgba(255,255,255,.2);
}
.sb-btn-32:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
  text-decoration: none;
}

.sb-widget {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  overflow: hidden;
}
.sb-widget-title {
  font-size: .92rem;
  font-weight: 700;
  color: #1a3a6b;
  padding: 11px 14px;
  border-bottom: 2px solid #e8ecf0;
  background: #f8f9fb;
}

.sb-art-list li {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f2f5;
  align-items: flex-start;
}
.sb-art-list li:last-child { border-bottom: none; }
.sb-thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}
.sb-art-info {
  flex: 1;
  min-width: 0;
}
.sb-art-info a {
  display: block;
  font-size: .84rem;
  color: #333;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sb-art-info a:hover { color: #0066cc; text-decoration: none; }
.sb-date {
  display: block;
  font-size: .75rem;
  color: #aaa;
  margin-top: 3px;
}

.sb-cat-list li {
  border-bottom: 1px solid #f0f2f5;
}
.sb-cat-list li:last-child { border-bottom: none; }
.sb-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  font-size: .86rem;
  color: #444;
  transition: background .2s;
}
.sb-cat-list a:hover {
  background: #f0f5ff;
  color: #0066cc;
  text-decoration: none;
}
.sb-cat-list span {
  font-size: .78rem;
  color: #999;
}

.tag-cloud {
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-cloud a {
  display: inline-block;
  background: #eef3ff;
  color: #0066cc;
  font-size: .78rem;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #c8d8f0;
  transition: all .2s;
  text-decoration: none;
}
.tag-cloud a:hover {
  background: #0066cc;
  color: #fff;
  text-decoration: none;
}

.sb-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}
.sb-info-table td {
  padding: 7px 14px;
  border-bottom: 1px solid #f0f2f5;
  vertical-align: middle;
}
.sb-info-table td:first-child {
  color: #888;
  width: 45%;
}
.sb-info-table tr:last-child td { border-bottom: none; }

/* ===== 面包屑 ===== */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
}
.breadcrumb {
  font-size: .82rem;
  color: #999;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.breadcrumb a {
  color: #0066cc;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep {
  color: #ccc;
  margin: 0 2px;
}

/* ===== 列表页文章行 ===== */
.art-list-rows { padding: 0; }
.art-row {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #edf0f4;
  align-items: flex-start;
  transition: background .2s;
}
.art-row:last-child { border-bottom: none; }
.art-row:hover { background: #f8f9fb; }
.art-row-thumb {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.art-row-body { flex: 1; min-width: 0; }
.art-row-title {
  font-size: .95rem;
  margin-bottom: 6px;
}
.art-row-title a {
  color: #222;
  font-weight: 600;
}
.art-row-title a:hover { color: #0066cc; text-decoration: none; }
.art-row-meta {
  font-size: .8rem;
  color: #999;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.art-row-meta a { color: #0066cc; }

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 18px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  font-size: .88rem;
  color: #0066cc;
  border: 1px solid #d0daea;
  background: #fff;
  text-decoration: none;
  transition: all .2s;
}
.pagination a:hover {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
  text-decoration: none;
}
.pagination .current {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
  font-weight: 700;
}
.pagination span {
  border: none;
  background: none;
  color: #999;
  width: auto;
}

/* ===== 内容页文章详情 ===== */
.art-detail {
  padding: 20px 22px;
}
.art-detail-title {
  font-size: 1.4rem;
  color: #1a3a6b;
  line-height: 1.5;
  margin-bottom: 12px;
  font-weight: 700;
}
.art-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: #999;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
  margin-bottom: 16px;
}
.art-detail-meta a { color: #0066cc; }
.art-cover {
  margin-bottom: 18px;
  border-radius: 6px;
  overflow: hidden;
}
.art-cover img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.art-detail-content {
  font-size: .92rem;
  line-height: 1.9;
  color: #444;
}
.art-detail-content h2,
.art-detail-content h3,
.art-detail-content h4 {
  color: #1a3a6b;
  margin: 18px 0 8px;
  font-weight: 700;
}
.art-detail-content h2 { font-size: 1.1rem; }
.art-detail-content h3 { font-size: 1rem; }
.art-detail-content p { margin-bottom: 12px; }
.art-detail-content ul, .art-detail-content ol {
  padding-left: 20px;
  margin-bottom: 12px;
  list-style: disc;
}
.art-detail-content li { margin-bottom: 4px; }
.art-detail-content img {
  border-radius: 4px;
  margin: 10px 0;
  max-width: 100%;
}
.art-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: .88rem;
}
.art-detail-content table th,
.art-detail-content table td {
  border: 1px solid #dde3ec;
  padding: 8px 12px;
}
.art-detail-content table th {
  background: #f0f5ff;
  color: #1a3a6b;
}

.art-tags {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf0f4;
  font-size: .84rem;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.art-tags a {
  display: inline-block;
  background: #eef3ff;
  color: #0066cc;
  padding: 2px 10px;
  border-radius: 12px;
  border: 1px solid #c8d8f0;
  font-size: .78rem;
  text-decoration: none;
}
.art-tags a:hover {
  background: #0066cc;
  color: #fff;
}

.art-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf0f4;
  font-size: .84rem;
  gap: 10px;
  flex-wrap: wrap;
}
.art-nav a {
  color: #0066cc;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== 相关文章 ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e8ecf0;
  border-top: 1px solid #e8ecf0;
}
.related-card {
  background: #fff;
  overflow: hidden;
  padding-bottom: 12px;
}
.related-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  transition: transform .3s;
}
.related-card:hover img { transform: scale(1.04); }
.related-card-title {
  display: block;
  font-size: .84rem;
  color: #333;
  padding: 8px 12px 4px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-decoration: none;
}
.related-card-title:hover { color: #0066cc; }
.related-date {
  display: block;
  font-size: .75rem;
  color: #aaa;
  padding: 0 12px;
}

/* ===== 下载Hero ===== */
.dl-hero {
  background: linear-gradient(135deg, #1a3a6b 0%, #0e2a52 100%);
  padding: 36px 16px;
  text-align: center;
  color: #fff;
}
.dl-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.dl-hero img {
  margin: 0 auto 14px;
  border-radius: 12px;
  border: 3px solid rgba(255,255,255,.2);
}
.dl-hero h1 {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 8px;
}
.dl-hero > .dl-hero-inner > p {
  font-size: .9rem;
  color: #aac8f0;
  margin-bottom: 20px;
}
.dl-hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.btn-dl-hero-64, .btn-dl-hero-32 {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
}
.btn-dl-hero-64 {
  background: #e63900;
  color: #fff;
}
.btn-dl-hero-64:hover {
  background: #cc2d00;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-dl-hero-32 {
  background: rgba(255,255,255,.15);
  color: #d0e4ff;
  border: 1px solid rgba(255,255,255,.3);
}
.btn-dl-hero-32:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
  text-decoration: none;
}
.dl-hero-info {
  font-size: .82rem;
  color: #7a9cc8;
}

/* ===== 版本卡片 ===== */
.dl-version-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px;
}
.ver-card {
  border: 2px solid #e8ecf0;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  transition: border-color .2s;
}
.ver-card:hover { border-color: #0066cc; }
.ver-card.recommended {
  border-color: #e63900;
  background: #fff9f7;
}
.ver-badge {
  display: inline-block;
  background: #e63900;
  color: #fff;
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.ver-card h3 {
  font-size: 1rem;
  color: #1a3a6b;
  margin-bottom: 6px;
}
.ver-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0066cc;
  margin-bottom: 12px;
}
.ver-info {
  list-style: none;
  font-size: .84rem;
  color: #666;
  margin-bottom: 16px;
}
.ver-info li {
  padding: 4px 0;
  border-bottom: 1px dashed #edf0f4;
}
.ver-info li:last-child { border-bottom: none; }
.btn-ver-dl {
  display: block;
  text-align: center;
  background: #e63900;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: all .2s;
}
.btn-ver-dl:hover {
  background: #cc2d00;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ===== 下载页详情内容 ===== */
.dl-detail-content {
  padding: 16px 20px;
  font-size: .9rem;
  color: #444;
  line-height: 1.8;
}
.dl-detail-content h3 {
  font-size: .98rem;
  color: #1a3a6b;
  margin: 14px 0 8px;
  font-weight: 700;
}
.dl-detail-content h3:first-child { margin-top: 0; }
.dl-detail-content ul {
  padding-left: 18px;
  list-style: disc;
  margin-bottom: 10px;
}
.dl-detail-content li { margin-bottom: 4px; }

/* ===== 页脚 ===== */
.site-footer {
  background: #1a2a3a;
  color: #aab8c8;
  margin-top: 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 16px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo img { border-radius: 4px; }
.footer-logo span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand p {
  font-size: .82rem;
  line-height: 1.7;
  color: #7a9ab8;
}
.footer-col h4 {
  font-size: .9rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-col ul li {
  margin-bottom: 7px;
}
.footer-col ul li a {
  font-size: .83rem;
  color: #7a9ab8;
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #2a3a4a;
  text-align: center;
  padding: 14px 16px;
  font-size: .78rem;
  color: #5a7a9a;
  line-height: 1.8;
}
.footer-bottom a {
  color: #5a7a9a;
  text-decoration: none;
}
.footer-bottom a:hover { color: #aab8c8; text-decoration: none; }

/* ===== 回到顶部 ===== */
#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: #0066cc;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,102,204,.4);
  transition: all .2s;
  z-index: 999;
}
#back-to-top:hover {
  background: #0055aa;
  transform: translateY(-2px);
}
#back-to-top.show { display: flex; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .main-wrap {
    grid-template-columns: 1fr 260px;
  }
  .features-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-wrap {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 16px;
    gap: 8px;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }
  .main-nav a {
    font-size: .82rem;
    padding: 5px 10px;
  }
  .slide img {
    height: 200px;
  }
  .quick-dl-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .dl-version-cards {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .art-detail-title {
    font-size: 1.15rem;
  }
  .dl-hero h1 {
    font-size: 1.4rem;
  }
  .stats-inner {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .quick-dl-btns {
    flex-direction: column;
    width: 100%;
  }
  .btn-64, .btn-32 {
    text-align: center;
  }
  .dl-hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .art-row {
    flex-direction: column;
  }
  .art-row-thumb {
    width: 100%;
    height: 160px;
  }
}
