/* 全局重置+基础样式（SEO友好：可访问性/字体层级） */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
}
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}
body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 1.6rem;
  color: #333;
  line-height: 1.8;
  background: #f5f7fa;
}
a {
  text-decoration: none;
  color: #2c52ed;
  transition: all 0.3s ease;
}
a:hover {
  color: #1a36b8;
}
ul, li {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: #2c52ed;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover {
  background: #1a36b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44,82,237,0.3);
}
.section {
  padding: 8rem 0;
}
.section-title {
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 6rem;
  color: #222;
  font-weight: 700;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #2c52ed;
  border-radius: 2px;
}
/* 懒加载样式 */
.lazy-img {
  background: #eee url(../images/lazy-placeholder.png) center center no-repeat;
  background-size: cover;
}
/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2c52ed;
  padding: 0.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
/* 头部+导航（吸顶+响应式） */
.header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: all 0.3s ease;
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8rem;
}
.logo {
  width: 200px;
}
.nav-list {
  display: flex;
  gap: 4rem;
}
.nav-link {
  font-size: 1.8rem;
  color: #333 !important;
  font-weight: 500;
}
.nav-link.active, .nav-link:hover {
  color: #2c52ed !important;
}
.mobile-nav-btn {
  display: none;
  font-size: 2.8rem;
  cursor: pointer;
  color: #333;
}
/* 主页英雄区（背景图+核心下载） */
.hero {
  height: 100vh;
  background: url(../images/bg-hero.png) center center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: 8rem;
  position: relative;
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}
.hero-title {
  font-size: 5.6rem;
  margin-bottom: 2rem;
  font-weight: 700;
}
.hero-desc {
  font-size: 2.4rem;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.download-box {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}
.download-item {
  width: 200px;
  height: 60px;
}
/* 图片展示区（提升收录） */
.gallery {
  background: #fff;
}
.gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
/* 新闻展示区（带配图） */
.news-home {
  background: #f5f7fa;
}
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
}
.news-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.news-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.news-content {
  padding: 2.5rem;
}
.news-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}
.news-desc {
  color: #666;
  margin-bottom: 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-time {
  color: #999;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}
/* 新闻中心页面专属样式 */
.news-page {
  background: #f5f7fa;
}
.news-page-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 5rem;
}
.news-page-item .news-img {
  height: 250px;
}
.news-page-item .news-title {
  font-size: 2.2rem;
}
/* 通用内容页样式（资源/API/提交代币/FAQ） */
.content-page {
  padding-top: 12rem;
  min-height: 80vh;
  background: #fff;
}
.content-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #f5f7fa;
  padding: 4rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.content-title {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: #222;
  border-left: 6px solid #2c52ed;
  padding-left: 1.5rem;
}
.content-text {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 3rem;
  line-height: 2;
}
.content-text h3 {
  font-size: 2.2rem;
  margin: 2.5rem 0 1.5rem;
  color: #222;
}
.content-text ul {
  padding-left: 3rem;
  list-style: disc;
}
.content-text li {
  margin-bottom: 1rem;
}
/* FAQ样式 */
.faq-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 2rem;
}
.faq-question {
  font-size: 2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.9;
  display: none;
}
.faq-question.active + .faq-answer {
  display: block;
}
.faq-question::after {
  content: "+";
  font-size: 2.4rem;
  color: #2c52ed;
  transition: all 0.3s ease;
}
.faq-question.active::after {
  content: "-";
  transform: rotate(180deg);
}
/* 底部样式（SEO友好：站点地图/版权） */
.footer {
  background: #222;
  color: #ccc;
  padding: 6rem 0 3rem;
  margin-top: 5rem;
}
.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-col {
  flex: 1;
  min-width: 250px;
}
.footer-col-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
  font-weight: 600;
}
.footer-link {
  color: #ccc !important;
  display: block;
  margin-bottom: 1rem;
}
.footer-link:hover {
  color: #2c52ed !important;
  padding-left: 0.5rem;
}
.footer-copyright {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid #333;
  font-size: 1.4rem;
}
/* 响应式适配（移动端/平板）- SEO友好：移动端体验提升收录 */
@media (max-width: 992px) {
  .hero-title {
    font-size: 4.2rem;
  }
  .hero-desc {
    font-size: 2rem;
  }
  .section-title {
    font-size: 2.8rem;
  }
}
@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 8rem;
    left: -100%;
    width: 100%;
    height: calc(100vh - 8rem);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    transition: all 0.3s ease;
    z-index: 999;
  }
  .nav-list.show {
    left: 0;
  }
  .mobile-nav-btn {
    display: block;
    z-index: 9999;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .hero-desc {
    font-size: 1.8rem;
  }
  .section {
    padding: 6rem 0;
  }
  .content-wrap {
    padding: 2rem;
  }
  .footer-wrap {
    flex-direction: column;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2.4rem;
  }
  .news-list, .news-page-list {
    grid-template-columns: 1fr;
  }
  .download-box {
    flex-direction: column;
  }
  .back-to-top {
    width: 48px;
    height: 48px;
    bottom: 2rem;
    right: 2rem;
  }
}