/* 企业级样式重置：Normalize 核心 + 自定义优化 | SEO：减少浏览器兼容问题，提升渲染速度 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", Arial, sans-serif; /* 适配国内浏览器，企业级常用 */
}
html {
  scroll-behavior: smooth; /* 平滑滚动，提升用户体验（SEO核心指标） */
  font-size: 16px;
}
body {
  color: #333;
  background: #f5f7fa;
  line-height: 1.6; /* 行高优化，提升可读性 */
}
a {
  text-decoration: none;
  color: #165dff; /* 企业级主色：科技蓝，适配区块链行业 */
  transition: all 0.3s ease; /* 过渡动画，无卡顿 */
}
a:hover {
  color: #0e4bdb;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block; /* 消除图片默认空隙 */
  border: 0; /* SEO：避免图片边框影响抓取 */
}
/* 图片懒加载基础样式：未加载时占位 */
.img-lazy {
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}
/* 容器类：版心固定+居中，响应式适配 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 核心按钮：TP安卓下载专用 | SEO：按钮文本突出关键词，样式醒目提升点击（用户体验） */
.btn-android {
  display: inline-block;
  padding: 12px 32px;
  background: #165dff;
  color: #fff !important;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
  transition: all 0.3s ease;
  margin: 10px 0;
}
.btn-android:hover {
  background: #0e4bdb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.4);
}
.btn-android i {
  margin-right: 8px;
}
/* 通用标题样式：SEO：h1-h6层级清晰，搜索引擎优先抓取 */
.h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}
.h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}
.h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #222;
}
/* 隐藏类：SEO友好隐藏（仅搜索引擎可见，不影响用户） */
.seo-hide {
  position: absolute;
  left: -9999px;
  top: -9999px;
  font-size: 0;
  line-height: 0;
}

/* 头部导航 | 核心交互：PC端横排/移动端汉堡菜单，滚动变色 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease;
  padding: 20px 0;
}
.header-scrolled {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 200px;
}
/* PC端导航 */
.nav-list {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
.header-scrolled .nav-link {
  color: #333;
}
.nav-link.active, .nav-link:hover {
  color: #165dff;
}
/* 移动端汉堡菜单 */
.hamburger {
  display: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}
.header-scrolled .hamburger {
  color: #333;
}
/* 移动端导航容器 */
.nav-mob {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  padding: 80px 20px 20px;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}
.nav-mob.show {
  right: 0;
}
.nav-mob-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.nav-mob-link {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}
.nav-mob-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

/* 主页首屏 | 核心：背景图+TP安卓下载最新版主入口，SEO：h1包含核心关键词 */
.hero {
  height: 100vh;
  background: url(../images/bg-main.jpg) no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: 80px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 遮罩，提升文字可读性 */
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* 适配移动端首屏 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
}

/* 图片展示区 | 主页核心：提升收录，SEO：图片加alt/title，网格布局响应式 */
.show-section {
  padding: 80px 0;
  background: #fff;
}
.show-title {
  text-align: center;
  margin-bottom: 40px;
}
.show-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.show-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.show-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.show-card-img {
  height: 200px;
  overflow: hidden;
}
.show-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持图片比例，不拉伸 */
}
.show-card-text {
  padding: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

/* 新闻展示区 | 主页+新闻中心通用，SEO：每条新闻为article，带配图/标题/摘要/时间 */
.news-section {
  padding: 80px 0;
  background: #f5f7fa;
}
.news-title {
  text-align: center;
  margin-bottom: 40px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}
.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.news-card-img {
  height: 200px;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-content {
  padding: 20px;
}
.news-card-time {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}
.news-card-h3 {
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-card-desc {
  font-size: 14px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 限制3行，超出省略 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 新闻中心页面：更多新闻，分页占位 */
.news-pagination {
  text-align: center;
  margin-top: 40px;
}
.news-page-link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #eee;
  border-radius: 4px;
  margin: 0 4px;
}
.news-page-link.active {
  background: #165dff;
  color: #fff;
  border-color: #165dff;
}

/* 通用页面内容区 | DApp/质押/imToken/EVM页面通用样式 */
.page-content {
  padding: 100px 0 80px;
  background: #fff;
}
.page-title {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.page-desc {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.8;
}
.page-block {
  margin-bottom: 40px;
  padding: 24px;
  border-radius: 8px;
  background: #f5f7fa;
}
.page-block-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* 回到顶部按钮 | 核心交互：滚动显示/隐藏，SEO：图标加alt */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #165dff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #0e4bdb;
  transform: translateY(-2px);
}

/* 页脚 | SEO：包含核心关键词，添加站点地图链接、版权、联系方式，权重传递 */
.footer {
  background: #222;
  color: #ccc;
  padding: 60px 0 20px;
}
.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #444;
}
.footer-link {
  display: block;
  margin-bottom: 12px;
  color: #ccc;
}
.footer-link:hover {
  color: #165dff;
  padding-left: 4px;
}
.footer-qrcode {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 14px;
}
/* 核心：页脚添加TP安卓下载入口，重复布局关键词 */
.footer-download {
  text-align: center;
  margin-top: 20px;
}

/* 响应式适配 | 平板(768px)/手机(576px)，SEO：移动端友好是百度核心排名指标 */
@media (max-width: 992px) {
  .nav-list {
    gap: 20px;
  }
  .h1 {
    font-size: 2rem;
  }
  .h2 {
    font-size: 1.8rem;
  }
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-list {
    display: none;
  }
  .show-grid, .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .footer .container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  .page-content {
    padding-top: 80px;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .btn-android {
    padding: 10px 24px;
    font-size: 16px;
  }
  .show-section, .news-section {
    padding: 40px 0;
  }
  .h1 {
    font-size: 1.8rem;
  }
  .h2 {
    font-size: 1.5rem;
  }
  .show-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}
/* 首屏图文容器 - 适配PC/移动端 */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}
/* 左侧文案区 - 占比适配，保证文案展示优先级 */
.hero-text {
  flex: 1 1 450px;
}
/* 右侧图片区 - 固定最大宽度，防止过大 */
.hero-img {
  flex: 1 1 300px;
  text-align: center;
}
/* 首屏展示图 - 自适应+轻微圆角，贴合视觉 */
.hero-img img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* 适配小屏移动端 - 文案居中，提升体验 */
@media (max-width: 768px) {
  .hero-text {
    text-align: center;
  }
  .hero-container {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 20px;
  }
}