/* 响应式布局 */
@media (max-width: 900px) {
  .banner-section {
    flex-direction: column;
    align-items: stretch;
  }
  .banner-left, .banner-right {
    width: 100%;
    max-width: none;
    margin-bottom: 24px;
  }
  .market-panel {
    margin-top: 0;
  }
  .mobile-section, .guide-section, .stats-section, .news-section, .faq-section, .community-section, .footer-links {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 600px) {
  .main-header, .main-nav, .header-actions {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
  }
  .main-nav a {
    margin: 6px 0;
  }
  .logo img {
    height: 28px;
  }
  .banner-section h1 {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* 主要板块动画 */
.banner-section, .mobile-section, .guide-section, .stats-section, .news-section, .faq-section, .community-section {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s cubic-bezier(.4,0,.2,1) forwards;
}
.banner-section { animation-delay: 0.1s; }
.mobile-section { animation-delay: 0.3s; }
.guide-section { animation-delay: 0.5s; }
.stats-section { animation-delay: 0.7s; }
.news-section { animation-delay: 0.9s; }
.faq-section { animation-delay: 1.1s; }
.community-section { animation-delay: 1.3s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 数据展示动效 */
.stat-item {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00e4ff;
  background: #23262f;
  border-radius: 16px;
  padding: 24px 18px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,228,255,0.08);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-item:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0,228,255,0.16);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin: 32px 0;
}
.main-header, .main-footer, .banner, .dex-panel, .wallet-list, .market-table, .meme-table {
  animation: fadeInUp 0.7s cubic-bezier(.4,0,.2,1);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.dex-panel, .wallet-list, .market-table, .meme-table {
  box-shadow: 0 4px 24px rgba(0,228,255,0.08);
  border-radius: 18px;
  background: rgba(35,38,47,0.95);
  padding: 32px 24px;
  margin: 32px auto;
  max-width: 600px;
}

.dex-form input, .dex-form select {
  width: 100%;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #23262f;
  background: #23262f;
  color: #eaecef;
  font-size: 1rem;
  transition: border 0.2s;
}
.dex-form input:focus, .dex-form select:focus {
  border: 1.5px solid #00e4ff;
  outline: none;
}
.dex-form button, .wallet-btn, .meme-table button {
  background: linear-gradient(90deg,#00e4ff 60%,#00b3cc 100%);
  color: #181a20;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(0,228,255,0.08);
  transition: background 0.2s, transform 0.2s;
}
.dex-form button:hover, .wallet-btn:hover, .meme-table button:hover {
  background: linear-gradient(90deg,#00b3cc 60%,#00e4ff 100%);
  transform: translateY(-2px) scale(1.04);
}
.wallet-btn img {
  width: 28px;
  vertical-align: middle;
  margin-right: 10px;
}
.wallet-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 24px;
}
.wallet-btn {
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.market-table, .meme-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}
.market-table th, .market-table td, .meme-table th, .meme-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #23262f;
  text-align: left;
}
.market-table th, .meme-table th {
  color: #00e4ff;
  font-weight: 600;
  background: #23262f;
}
.market-table tr:hover, .meme-table tr:hover {
  background: rgba(0,228,255,0.04);
}
.market-source, .meme-source {
  color: #888;
  font-size: 0.95rem;
  margin-top: 12px;
  text-align: right;
}
.dex-info {
  margin-top: 32px;
}
.dex-main, .wallet-main, .market-main, .meme-main {
  min-height: 60vh;
  padding: 32px 0 0 0;
}
.dex-container, .wallet-container, .market-container, .meme-container {
  max-width: 800px;
  margin: 0 auto;
}
.dex-form label {
  font-size: 1rem;
  color: #00e4ff;
  margin-bottom: 4px;
  display: block;
}
.dex-form input[readonly] {
  background: #23262f;
  color: #888;
}
#wallet-status {
  margin-top: 18px;
  color: #00e4ff;
  font-weight: 500;
}
/* ========================================
   矿业集团企业网站 - 全局样式（高端极致版）
   ======================================== */

  /* 色彩系统 - 深层次调整 */
  --primary-color: #0a1f35;
  --primary-hover: #081a2a;
  --primary-light: #1a3a5a;
  --primary-dark: #051020;

  --secondary-color: #1a4d7a;
  --accent-color: #c9a961;
  --accent-hover: #b99451;
  --accent-light: #e8d9b8;
  --accent-dark: #8b7a4a;

  /* 高级色彩补集 */
  --accent-rgb: 201, 169, 97;
  --primary-rgb: 10, 31, 53;

  /* 文字色彩 - 增强对比 */
  --text-primary: #1a2332;
  --text-secondary: #525f72;
  --text-muted: #8a96a8;
  --text-light: #ffffff;
  --text-overlay: rgba(26, 35, 50, 0.85);

  /* 背景色系统 */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fb;
  --bg-light: #f2f5fa;
  --bg-dark: var(--primary-color);
  --bg-gradient: linear-gradient(135deg, rgba(10, 31, 53, 0.02), rgba(201, 169, 97, 0.03));

  /* 边框与阴影 - 高端升级 */
  --border-color: #dfe5eb;
  --border-light: rgba(255, 255, 255, 0.3);
  --border-glass: rgba(201, 169, 97, 0.15);

  /* 阴影系统 - 多层深度 */
  --shadow-sm: 0 2px 8px rgba(10, 31, 53, 0.06);
  --shadow: 0 8px 24px rgba(10, 31, 53, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 31, 53, 0.16);
  --shadow-xl: 0 24px 64px rgba(10, 31, 53, 0.2);
  --shadow-glow: 0 0 20px rgba(201, 169, 97, 0.15), 0 0 40px rgba(201, 169, 97, 0.08);
  --shadow-deep: inset 0 1px 2px rgba(255, 255, 255, 0.4), inset 0 -1px 2px rgba(10, 31, 53, 0.1);

  /* 字体系统 - 优化权重 */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', system-ui, sans-serif;
  --font-family-serif: 'Georgia', 'Times New Roman', serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* 间距系统 */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* 过渡速度 - 高级曲线 */
  --transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0.0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* 玻璃态效果 */
  --glass-background: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-backdrop: blur(10px);
}
body {
  margin: 0;
  font-family: var(--font-family);
  background: linear-gradient(135deg,#181a20 80%,#23262f 100%);
  color: #eaecef;
  min-height: 100vh;
  transition: background 0.4s, color 0.3s;
}
.dark-theme {
  background: linear-gradient(135deg,#181a20 80%,#23262f 100%);
  color: #eaecef;
}
/* 顶部导航美化 */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  background: rgba(35,38,47,0.98);
  box-shadow: 0 4px 24px rgba(0,228,255,0.08);
  border-bottom: 1.5px solid rgba(0,228,255,0.08);
  backdrop-filter: blur(6px);
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 36px;
  margin-right: 10px;
}
/* 导航链接美化 */
.main-nav a {
  color: #eaecef;
  text-decoration: none;
  margin: 0 18px;
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.3s;
}
.main-nav a:hover {
  color: #00e4ff;
  border-bottom: 2px solid #00e4ff;
}
#theme-toggle {
  background: none;
  border: none;
  color: #eaecef;
  font-size: 22px;
  cursor: pointer;
}
/* Banner美化 */
.banner {
  position: relative;
  height: 420px;
  background: linear-gradient(120deg, #23262f 60%, #00e4ff 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,228,255,0.12);
}
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
/* Banner标题美化 */
.banner-content h1 {
  font-size: 3.2rem;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #00e4ff;
  text-shadow: 0 2px 16px rgba(0,228,255,0.12);
}
.banner-content p {
  font-size: 1.3rem;
  margin-bottom: 24px;
}
/* 按钮美化 */
.start-btn {
  background: linear-gradient(90deg,#00e4ff 60%,#00b3cc 100%);
  color: #181a20;
  border: none;
  padding: 14px 36px;
  border-radius: 28px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,228,255,0.08);
  transition: background 0.2s, transform 0.2s;
}
.start-btn:hover {
  background: linear-gradient(90deg,#00b3cc 60%,#00e4ff 100%);
  transform: translateY(-2px) scale(1.04);
}
#banner-animation {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.main-footer {
  text-align: center;
  padding: 24px 0 12px 0;
  background: #23262f;
  color: #888;
  font-size: 0.95rem;
  margin-top: 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: var(--font-size-base);
  -webkit-font-smoothing: antialiased;
}

/* 头部导航 */
header {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 16px var(--spacing-4xl);
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.logo img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav a:hover {
  color: var(--accent-color);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: calc(100% - 32px);
}

/* Banner */
.banner {
  height: 480px;
  background: linear-gradient(rgba(10, 31, 53, 0.5), rgba(10, 31, 53, 0.5)),
              url('https://images.unsplash.com/photo-1581093458791-9d15482442f6');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.banner-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.banner-content p {
  font-size: 1.4rem;
  opacity: 0.9;
  margin-bottom: 30px;
  font-weight: 400;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--accent-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.85rem;
  border: 1px solid var(--accent-color);
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* 章节 */
.section {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 60px;
  text-align: center;
  position: relative;
  padding-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

/* 卡片 */
.card {
  background: var(--bg-primary);
  border-radius: 4px;
  padding: 35px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 卡片美化 */
.card {
  background: rgba(35,38,47,0.98);
  border-radius: 16px;
  padding: 38px;
  box-shadow: 0 8px 32px rgba(0,228,255,0.12);
  border: 1.5px solid rgba(0,228,255,0.08);
  transition: box-shadow 0.3s, border 0.3s;
}
.card:hover {
  box-shadow: 0 16px 48px rgba(0,228,255,0.18);
  border: 1.5px solid #00e4ff;
}
  line-height: 1.6;
}

/* 网格 */
.grid {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* 页脚 */
footer {
  background: var(--primary-color);
  color: var(--text-light);
  padding: var(--spacing-4xl) var(--spacing-4xl) var(--spacing-2xl);
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 页脚美化 */
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
  background: rgba(35,38,47,0.98);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,228,255,0.08);
}

.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: var(--spacing-lg);
  font-size: 1rem;
  font-weight: 600;
}

.footer-section p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-section a {
  color: inherit;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.85rem;
}

/* 响应式 */
@media (max-width: 768px) {
  header {
    padding: 12px 20px;
  }

  .navbar-container {
    flex-wrap: wrap;
    gap: 10px;
  }

  nav a {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .banner {
    height: 350px;
  }

  .banner-content h1 {
    font-size: 2.2rem;
  }

  .banner-content p {
    font-size: 1.1rem;
  }

  .section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .card {
    padding: 25px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .banner-content h1 {
    font-size: 1.5rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.8rem;
  }
}

/* 工具类 */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent-color); }
.text-light { color: var(--text-light); }

.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-dark { background-color: var(--bg-dark); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.m-0 { margin: 0; }
.m-1 { margin: var(--spacing-sm); }
.m-2 { margin: var(--spacing-md); }
.m-3 { margin: var(--spacing-lg); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.rounded { border-radius: 4px; }
