﻿/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

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

/* 导航栏 */
.header {
    background-color: #121212;
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #222222;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #00e07e;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00e07e, #0070f3);
    border-radius: 8px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #00e07e;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #00e07e;
}

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

.theme-btn, .lang-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

.download-btn {
    background-color: #00e07e;
    color: #121212;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 在这里设置 logo 图片大小 */
.footer-logo-img {
  width: 40px;   /* 宽度 */
  height: 40px;  /* 高度 */
  object-fit: contain; /* 保持比例，不变形 */
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
/* Hero 板块 */
.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 32px;
}

.hero-btn {
    background-color: #00e07e;
    color: #121212;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.hero-visual {
    flex: 1;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* 通用板块样式 */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 18px;
    color: #cccccc;
    text-align: center;
    margin-bottom: 40px;
}

/* 浏览器支持板块 */
.browser-support {
    background-color: #121212;
    padding: 80px 0;
    text-align: center;
}
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
}
.browser-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}
.browser-card {
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 32px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.browser-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.browser-card p {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
}
.browser-more {
    color: #cccccc;
    font-size: 18px;
}

/* 支持的区块链板块 */
.chains {
  background: #121212; /* 外部保持黑色 */
  padding: 60px 0;
}

/* 仅卡片内部白色 */
.chains-card {
  background: #ffffff;    /* 只有这里是白色 */
  border-radius: 20px;
  padding: 50px;
  margin-top: 30px;
}

.chains-subtitle {
  font-size: 22px;
  color: #111;
  margin-bottom: 30px;
  text-align: center;
}

.chains-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.chain-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chain-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.chain-item p {
  font-size: 14px;
  color: #333;
  margin: 0;
}

.chains-btn {
  margin: 40px auto 0;
  padding: 12px 24px;
  background: #0070f3;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  display: table;
}

/* 核心功能板块 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: #1e1e1e;
    padding: 24px;
    border-radius: 16px;
}

.feature-img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #cccccc;
    margin-bottom: 16px;
}

.feature-link {
    color: #00e07e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.key-section {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 24px;
}

.key-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.key-img {
    max-width: 40%;
    height: auto;
}

.key-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.key-content p {
    color: #cccccc;
}

/* 社区板块 */
.community-top, .community-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.community-card {
    background-color: #1e1e1e;
    padding: 24px;
    border-radius: 16px;
}

.community-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.community-card p {
    color: #cccccc;
}

.community-middle {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 24px;
}

.community-img {
    max-width: 40%;
    height: auto;
}

.community-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.community-content p {
    color: #cccccc;
    margin-bottom: 24px;
}

.community-btn {
    background-color: #00e07e;
    color: #121212;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* 移动端板块 */
.mobile-inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.mobile-top, .mobile-bottom {
    display: flex;
    align-items: center;
    gap: 40px;
}

.mobile-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.mobile-content p {
    color: #cccccc;
}

.mobile-img, .mobile-hand-img {
    max-width: 50%;
    height: auto;
}

/* Beta 测试板块 */
.beta {
    background-color: #121212;
}

.beta-inner {
    background: linear-gradient(135deg, #0070f3, #0052cc);
    padding: 60px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.beta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.beta-content p {
    font-size: 18px;
    margin-bottom: 32px;
}

.beta-btn {
    background-color: #ffffff;
    color: #0070f3;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.beta-img {
    max-width: 50%;
    height: auto;
}

/* 新闻动态板块 */
.news {
    background-color: #121212;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background-color: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 24px;
}

.news-date {
    color: #00e07e;
    font-size: 14px;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.news-card p {
    color: #cccccc;
}

/* 页脚样式 - 严格匹配截图 */
.footer {
  background-color: #1a1a1a;
  padding: 60px 0;
  border-radius: 24px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00e07e 0%, #0070f3 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.logo-text {
  font-size: 48px;
  font-weight: 700;
  color: #00e07e;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 32px;
}
.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 8px;
}
.footer-column ul li a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
}
.footer-column ul li a:hover {
  color: #00e07e;
}
.new-tag {
  background-color: #00e07e;
  color: #121212;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 4px;
}
.footer-cert {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cert-img {
  height: 50px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 40px;
  border-top: 1px solid #2a2a2a;
}
.download-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}
.download-desc {
  font-size: 13px;
  color: #cccccc;
  margin-bottom: 16px;
}
.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.download-btn-small {
  background-color: #1e1e1e;
  color: #00e07e;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid #00e07e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.social-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icon {
  color: #cccccc;
  font-size: 20px;
  text-decoration: none;
}
/* 回到顶部按钮样式 */
#backToTop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  outline: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
}
#backToTop:hover {
  background: rgba(0,0,0,0.8);
}