/* 全局样式重置 - 消除浏览器默认差异，SEO基础（让页面渲染一致） */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}
html, body {
  font-size: 16px;
  color: #333;
  background-color: #f5f7fa;
  line-height: 1.7;
  scroll-behavior: smooth; /* 平滑滚动，提升用户体验，间接助力SEO */
}
ul, li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease; /* 过渡效果，提升交互 */
}
a:hover {
  color: #0066cc; /* 主色调，钱包类网站偏科技蓝 */
}
img {
  max-width: 100%;
  height: auto;
  display: block; /* 消除图片默认空隙 */
  border: 0; /* 消除IE默认边框，SEO细节 */
}
/* 语义化标签块级化，适配搜索引擎识别 */
header, nav, main, section, footer, article, aside {
  display: block;
}
/* 通用容器 - 版心居中，适配不同屏幕 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 通用按钮 - 下载按钮重点样式，突出TP下载 */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0066cc;
  color: #fff !important;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  background-color: #0052aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}
.btn-sm {
  padding: 8px 20px;
  font-size: 16px;
}
/* 通用标题 - 层级分明，方便搜索引擎识别内容结构 */
.h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #222;
}
.h2 {
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 18px;
  color: #222;
}
.h3 {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #222;
}
.p-common {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
}
/* 隐藏类 - SEO专用，只为搜索引擎展示核心关键词，不影响视觉 */
.seo-hide {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* 头部样式 */
.header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999; /* 导航置顶 */
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  width: 120px;
}
/* 导航样式 - 核心内链，SEO重点（包含所有页面入口） */
.nav-list {
  display: flex;
  gap: 35px;
}
.nav-list a {
  font-size: 17px;
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover, .nav-list a.active {
  border-bottom: 2px solid #0066cc;
  color: #0066cc;
}
/* 移动端导航开关（响应式） */
.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}
/* 主内容区 - 避开固定头部，防止内容被遮挡 */
.main {
  margin-top: 100px;
  padding-bottom: 80px;
}
/* 英雄区样式 - 首页核心，突出TP官方下载 */
.hero {
  background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
  color: #fff;
  padding: 80px 0;
  margin-bottom: 60px;
  border-radius: 12px;
}
.hero-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 25px;
}
.hero-desc {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  opacity: 0.9;
}
.hero-btn {
  margin-right: 20px;
}
/* 图片新闻动态介绍区 - 首页核心需求，SEO图片加alt属性（后续HTML实现） */
.news-banner {
  margin-bottom: 60px;
}
.news-banner-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.news-banner-title a {
  color: #0066cc;
  font-size: 16px;
}
.news-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}
.news-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.news-card-img {
  height: 220px;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-content {
  padding: 25px;
}
.news-card-title {
  font-size: 20px;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-card-desc {
  color: #666;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-time {
  color: #999;
  font-size: 14px;
}
/* 下载专区样式 - 突出TP下载最新版本，SEO重点 */
.download-section {
  background: #fff;
  padding: 60px 0;
  border-radius: 12px;
  margin-bottom: 60px;
  text-align: center;
}
.download-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.download-item {
  width: 200px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}
.download-item:hover {
  border-color: #0066cc;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}
.download-item img {
  width: 80px;
  margin: 0 auto 15px;
}
/* 钱包教程/介绍通用样式 */
.wallet-intro {
  background: #fff;
  padding: 60px;
  border-radius: 12px;
  margin-bottom: 40px;
}
.wallet-intro img {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
}
/* 新闻列表页样式 */
.news-list {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
}
.news-item {
  padding: 25px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item-img {
  width: 200px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.news-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-item-content {
  flex: 1;
}
/* 页脚样式 - SEO加站点地图链接、核心关键词 */
.footer {
  background: #222;
  color: #ccc;
  padding: 60px 0 30px;
  margin-top: 40px;
}
.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0066cc;
  display: inline-block;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: #ccc;
}
.footer-col a:hover {
  color: #0066cc;
  padding-left: 5px;
}
.footer-copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  font-size: 14px;
}
/* 响应式适配 - 移动端友好，SEO核心（移动端排名权重更高） */
@media (max-width: 992px) {
  .h1 {
    font-size: 30px;
  }
  .h2 {
    font-size: 26px;
  }
  .hero-title {
    font-size: 36px;
  }
  .news-card-list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
@media (max-width: 768px) {
  .header .container {
    height: 70px;
  }
  .main {
    margin-top: 90px;
  }
  /* 移动端导航折叠 */
  .nav-list {
    position: fixed;
    top: 70px;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: #fff;
    width: 80%;
    height: calc(100vh - 70px);
    padding: 30px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
  }
  .nav-list.show {
    left: 0;
  }
  .nav-toggle {
    display: block;
  }
  .hero {
    padding: 60px 0;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-btn {
    display: block;
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
  }
  .news-card-list {
    grid-template-columns: 1fr;
  }
  .wallet-intro {
    padding: 30px 20px;
  }
  .news-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-item-img {
    width: 100%;
    height: 200px;
  }
}
@media (max-width: 576px) {
  .h1 {
    font-size: 24px;
  }
  .h2 {
    font-size: 22px;
  }
  .download-list {
    gap: 20px;
  }
  .download-item {
    width: 160px;
    padding: 15px;
  }
  .footer .container {
    grid-template-columns: 1fr;
  }
}