/* ============================================
   Trust冷钱包 - 全站共享样式表
   深空蓝 → 极光紫 科技渐变色系
   Glassmorphism + 响应式设计
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
  --deep-space: #0a0e27;
  --space-blue: #0d1b3e;
  --aurora-purple: #6c3ce0;
  --aurora-light: #a855f7;
  --neon-blue: #3b82f6;
  --neon-cyan: #06b6d4;
  --neon-green: #10b981;
  --neon-red: #ef4444;
  --neon-orange: #f59e0b;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.1);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --gradient-main: linear-gradient(135deg, #0a0e27 0%, #1a1145 30%, #2d1b69 60%, #0d1b3e 100%);
  --gradient-card: linear-gradient(135deg, rgba(108, 60, 224, 0.1), rgba(59, 130, 246, 0.1));
  --gradient-accent: linear-gradient(135deg, #6c3ce0, #3b82f6);
  --gradient-warm: linear-gradient(135deg, #f59e0b, #ef4444);
  --shadow-glow: 0 0 30px rgba(108, 60, 224, 0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--gradient-main);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Grid Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(108, 60, 224, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 60, 224, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

/* Particle Effect Container */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--aurora-purple);
  border-radius: 50%;
  opacity: 0.4;
  animation: float-particle linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 20s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-duration: 25s; animation-delay: 2s; width: 2px; height: 2px; }
.particle:nth-child(3) { left: 35%; animation-duration: 18s; animation-delay: 4s; background: var(--neon-blue); }
.particle:nth-child(4) { left: 50%; animation-duration: 22s; animation-delay: 1s; }
.particle:nth-child(5) { left: 65%; animation-duration: 28s; animation-delay: 3s; width: 4px; height: 4px; background: var(--neon-cyan); }
.particle:nth-child(6) { left: 75%; animation-duration: 19s; animation-delay: 5s; }
.particle:nth-child(7) { left: 85%; animation-duration: 24s; animation-delay: 2s; background: var(--aurora-light); }
.particle:nth-child(8) { left: 92%; animation-duration: 21s; animation-delay: 4s; width: 2px; height: 2px; }

@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: white;
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  animation: logo-shine 3s infinite;
}

@keyframes logo-shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
  background: var(--glass-hover);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* Search Bar */
.search-bar {
  background: rgba(10, 14, 39, 0.6);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}

.search-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-input {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 10px 20px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--aurora-purple);
  box-shadow: 0 0 20px rgba(108, 60, 224, 0.2);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background: var(--gradient-accent);
  border: none;
  border-radius: var(--radius);
  padding: 10px 24px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.search-status {
  display: none;
  color: var(--neon-cyan);
  font-size: 13px;
  padding: 8px 0;
  animation: pulse-text 1.5s infinite;
}

.search-status.active {
  display: block;
}

@keyframes pulse-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--aurora-light);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-muted);
}

/* ============ HERO SECTION ============ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 13px;
  color: var(--aurora-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #a855f7 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-accent);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(108, 60, 224, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--glass-hover);
  border-color: var(--aurora-purple);
}

/* ============ GLASS CARDS ============ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: rgba(108, 60, 224, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ============ SECTION STYLES ============ */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 4px 16px;
  font-size: 12px;
  color: var(--neon-cyan);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
}

/* ============ DASHBOARD ============ */
.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.dash-item {
  text-align: center;
  padding: 24px 16px;
}

.dash-value {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 4px;
}

.dash-value.price {
  color: var(--neon-green);
}

.dash-value.risk {
  color: var(--neon-red);
}

.dash-value.users {
  color: var(--neon-blue);
}

.dash-value.chains {
  color: var(--neon-orange);
}

.dash-label {
  font-size: 13px;
  color: var(--text-muted);
}

.dash-change {
  font-size: 12px;
  margin-top: 4px;
}

.dash-change.up { color: var(--neon-green); }
.dash-change.down { color: var(--neon-red); }

/* Animated counter */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dash-item {
  animation: count-up 0.6s ease-out forwards;
}

.dash-item:nth-child(2) { animation-delay: 0.1s; }
.dash-item:nth-child(3) { animation-delay: 0.2s; }
.dash-item:nth-child(4) { animation-delay: 0.3s; }

/* ============ GRID LAYOUTS ============ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ============ NEWS / ARTICLE CARDS ============ */
.news-card {
  overflow: hidden;
}

.news-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  loading: lazy;
}

.news-card .card-tag {
  display: inline-block;
  background: var(--gradient-accent);
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-card h4, .news-card h5, .news-card h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.news-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============ VIDEO CARD ============ */
.video-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.video-card .video-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.video-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: rgba(108, 60, 224, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.video-card .play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1);
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.video-card .video-title {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
}

.video-card .video-duration {
  position: absolute;
  bottom: 60px;
  right: 12px;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* ============ EXPERT CARDS ============ */
.expert-card {
  text-align: center;
  padding: 32px 20px;
}

.expert-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
}

.expert-card h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.expert-card .expert-title {
  font-size: 13px;
  color: var(--aurora-light);
  margin-bottom: 12px;
}

.expert-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ REVIEW / TESTIMONIAL ============ */
.review-card {
  padding: 24px;
}

.review-stars {
  color: var(--neon-orange);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card blockquote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
  border-left: 3px solid var(--aurora-purple);
  padding-left: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.review-author-info .name {
  font-size: 14px;
  font-weight: 600;
}

.review-author-info .role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============ SHARE BUTTONS ============ */
.share-section {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-primary);
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.share-btn.wechat { border-color: rgba(7, 193, 96, 0.3); }
.share-btn.weibo { border-color: rgba(230, 22, 45, 0.3); }
.share-btn.douyin { border-color: rgba(254, 44, 85, 0.3); }
.share-btn.bilibili { border-color: rgba(0, 174, 236, 0.3); }

/* ============ COMMUNITY / FORUM ============ */
.forum-post {
  padding: 20px 24px;
  margin-bottom: 16px;
}

.forum-post .post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.forum-post h5 {
  font-size: 15px;
  font-weight: 600;
}

.forum-post .post-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--gradient-accent);
  color: white;
}

.forum-post p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.forum-post .post-stats {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============ STEP GUIDE ============ */
.step-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.step-item {
  flex: 1;
  min-width: 120px;
  padding: 12px 16px;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.step-item.active {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
}

.step-item:hover:not(.active) {
  background: var(--glass-hover);
}

.step-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.step-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ SECURITY LAYERS ============ */
.security-layers {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.security-layer {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
}

.layer-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.layer-icon.l1 { background: linear-gradient(135deg, rgba(108,60,224,0.2), rgba(108,60,224,0.05)); }
.layer-icon.l2 { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05)); }
.layer-icon.l3 { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05)); }

.layer-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.layer-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* SVG Animation for Security */
.security-svg {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.svg-path-animate {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-path 3s ease forwards;
}

@keyframes draw-path {
  to { stroke-dashoffset: 0; }
}

/* ============ TECH ICONS (Pure CSS) ============ */
.tech-icon {
  width: 48px;
  height: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-shield {
  width: 36px;
  height: 40px;
  background: var(--gradient-accent);
  clip-path: polygon(50% 0%, 100% 20%, 100% 70%, 50% 100%, 0% 70%, 0% 20%);
  position: relative;
}

.icon-shield::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: var(--deep-space);
  clip-path: polygon(50% 0%, 100% 20%, 100% 70%, 50% 100%, 0% 70%, 0% 20%);
}

.icon-lock {
  width: 28px;
  height: 36px;
  position: relative;
}

.icon-lock::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 14px;
  border: 3px solid var(--aurora-purple);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.icon-lock::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 22px;
  background: var(--gradient-accent);
  border-radius: 4px;
}

.icon-chain {
  width: 40px;
  height: 20px;
  position: relative;
}

.icon-chain::before,
.icon-chain::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 16px;
  border: 3px solid var(--neon-cyan);
  border-radius: 10px;
}

.icon-chain::before { left: 0; }
.icon-chain::after { right: 0; }

/* ============ FOOTER ============ */
.site-footer {
  background: rgba(5, 7, 20, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 48px 0 24px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--aurora-light);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-contact {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============ JSON-LD Hidden ============ */
.json-data {
  display: none;
}

/* ============ LAZY LOAD ============ */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
  }

  .main-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .dashboard {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 40px 0 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .security-layer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .step-bar {
    flex-wrap: nowrap;
  }

  .section {
    padding: 40px 0;
  }

  .glass-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  
  .dashboard {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .container {
    padding: 0 16px;
  }

  .share-section {
    flex-direction: column;
    align-items: stretch;
  }

  .share-btn {
    justify-content: center;
  }
}

/* ============ ANIMATIONS ============ */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(108, 60, 224, 0.2); }
  50% { box-shadow: 0 0 40px rgba(108, 60, 224, 0.4); }
}

.glow-effect {
  animation: glow-pulse 3s infinite;
}

/* Price ticker animation */
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-wrap {
  overflow: hidden;
  background: rgba(10, 14, 39, 0.6);
  border-bottom: 1px solid var(--glass-border);
  padding: 8px 0;
}

.ticker-content {
  display: flex;
  gap: 40px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.ticker-item .coin {
  font-weight: 600;
  color: var(--text-primary);
}

.ticker-item .price {
  color: var(--neon-green);
}

.ticker-item .change {
  font-size: 12px;
}

.ticker-item .change.up { color: var(--neon-green); }
.ticker-item .change.down { color: var(--neon-red); }

/* Inner page content */
.page-content {
  padding: 40px 0 60px;
}

.page-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 16px;
}

.page-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
}

.page-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content ul, .page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.content-img {
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius);
  margin: 24px auto;
  display: block;
}

/* Feature list */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
}

.feature-item h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Table styles */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  font-size: 14px;
}

.data-table th {
  background: var(--glass-bg);
  font-weight: 600;
  color: var(--text-primary);
}

.data-table td {
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: var(--glass-bg);
}



/* ============================================
   排版修复补丁 - 2026-03-23
   修复：专家卡片拥挤、搜索栏布局、SVG尺寸、
   分享按钮样式、卡片高度统一、响应式优化
   ============================================ */

/* ===== 1. HEADER & NAV 修复 ===== */
.header-inner {
  padding: 14px 24px;
  gap: 20px;
}

.main-nav {
  gap: 2px;
  flex-shrink: 0;
}

.main-nav a {
  padding: 8px 12px;
  font-size: 13px;
}

/* ===== 2. SEARCH BAR 修复 ===== */
.search-bar {
  padding: 10px 0;
}

.search-wrapper {
  padding: 0 24px;
}

.search-input {
  max-width: 100%;
  padding: 10px 18px;
  font-size: 13px;
}

/* ===== 3. HERO 优化 ===== */
.hero {
  padding: 70px 0 50px;
}

.hero p {
  max-width: 680px;
}

/* ===== 4. DASHBOARD 卡片等高 ===== */
.dashboard {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dash-item {
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

/* ===== 5. NEWS CARD 等高修复 ===== */
.grid-3 {
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
}

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

.news-card p {
  flex: 1;
}

.news-card .card-meta {
  margin-top: auto;
  padding-top: 12px;
}

/* ===== 6. VIDEO CARD 修复 ===== */
.video-card {
  overflow: hidden;
}

.video-card .video-thumb {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.video-card .video-duration {
  bottom: 50px;
  right: 12px;
}

.video-card .video-title {
  padding: 0 4px;
}

/* ===== 7. EXPERT CARD 修复 - 核心修复 ===== */
.grid-4 {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.expert-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.expert-avatar {
  width: 80px;
  height: 80px;
  font-size: 32px;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(108, 60, 224, 0.3);
}

.expert-card h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.expert-card .expert-title {
  font-size: 14px;
  margin-bottom: 14px;
}

.expert-card p {
  font-size: 14px;
  line-height: 1.7;
}

/* ===== 8. REVIEW CARD 修复 ===== */
.review-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 16px;
  color: var(--neon-orange);
}

.review-card blockquote {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
  border-left: 3px solid var(--aurora-purple);
  padding-left: 16px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.review-author {
  margin-top: auto;
}

.review-author-avatar {
  width: 44px;
  height: 44px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.review-author-info .name {
  font-size: 15px;
  font-weight: 600;
}

.review-author-info .role {
  font-size: 13px;
}

/* ===== 9. SHARE BUTTON 修复 ===== */
.share-section {
  gap: 16px;
  padding: 24px 0;
}

.share-btn {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.share-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(108, 60, 224, 0.3);
}

.share-btn.wechat {
  border-color: rgba(7, 193, 96, 0.4);
  color: #07c160;
}

.share-btn.wechat:hover {
  background: rgba(7, 193, 96, 0.15);
  border-color: rgba(7, 193, 96, 0.6);
}

.share-btn.weibo {
  border-color: rgba(230, 22, 45, 0.4);
  color: #e6162d;
}

.share-btn.weibo:hover {
  background: rgba(230, 22, 45, 0.15);
  border-color: rgba(230, 22, 45, 0.6);
}

.share-btn.douyin {
  border-color: rgba(254, 44, 85, 0.4);
  color: #fe2c55;
}

.share-btn.douyin:hover {
  background: rgba(254, 44, 85, 0.15);
  border-color: rgba(254, 44, 85, 0.6);
}

.share-btn.bilibili {
  border-color: rgba(0, 174, 236, 0.4);
  color: #00aeec;
}

.share-btn.bilibili:hover {
  background: rgba(0, 174, 236, 0.15);
  border-color: rgba(0, 174, 236, 0.6);
}

/* ===== 10. FORUM POST 修复 ===== */
.forum-post {
  padding: 24px 28px;
  margin-bottom: 16px;
}

.forum-post .post-header {
  gap: 16px;
  flex-wrap: wrap;
}

.forum-post h5 {
  font-size: 16px;
  flex: 1;
  min-width: 0;
}

.forum-post p {
  margin-top: 4px;
}

/* ===== 11. SECURITY SVG 修复 ===== */
.security-svg {
  max-width: 720px;
  margin: 24px auto;
}

.security-layer {
  padding: 28px 32px;
}

.layer-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 18px;
  font-size: 28px;
}

.layer-content h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.layer-content p {
  font-size: 15px;
  line-height: 1.8;
}

/* ===== 12. STEP BAR 修复 ===== */
.step-bar {
  gap: 8px;
  margin-bottom: 36px;
  padding-bottom: 12px;
}

.step-item {
  min-width: 140px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
}

/* ===== 13. DATA TABLE 修复 ===== */
.data-table {
  min-width: 600px;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  font-size: 14px;
  white-space: nowrap;
}

.data-table th {
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

/* ===== 14. CONTENT IMAGE 修复 ===== */
.content-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: var(--radius);
  margin: 24px auto;
  display: block;
  object-fit: cover;
}

/* ===== 15. INNER PAGE CONTENT 修复 ===== */
.page-content {
  padding: 40px 0 60px;
}

.page-content .glass-card {
  margin-bottom: 24px;
}

.page-content h2 {
  font-size: 28px;
  line-height: 1.3;
}

.page-content h3 {
  font-size: 22px;
  line-height: 1.4;
}

.page-content h4 {
  font-size: 18px;
  line-height: 1.4;
}

.page-content p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  word-break: break-word;
}

/* ===== 16. FOOTER 修复 ===== */
.footer-grid {
  gap: 32px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact p {
  font-size: 13px;
  margin-bottom: 4px;
}

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
}

/* ===== 17. BREADCRUMB 修复 ===== */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
}

/* ===== 18. TICKER 修复 ===== */
.ticker-wrap {
  padding: 10px 0;
}

.ticker-item {
  gap: 10px;
  font-size: 13px;
}

/* ===== 19. RESPONSIVE 修复 ===== */
@media (min-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .expert-card {
    padding: 28px 20px;
  }
  
  .expert-card h5 {
    font-size: 15px;
  }
  
  .expert-card p {
    font-size: 13px;
  }
}

@media (max-width: 1199px) and (min-width: 769px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .main-nav a {
    padding: 8px 10px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 12px 16px;
    font-size: 15px;
    border-bottom: 1px solid var(--glass-border);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dashboard {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .dash-item {
    padding: 20px 12px;
    min-height: 110px;
  }

  .hero {
    padding: 40px 0 30px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
  }

  .btn-primary, .btn-secondary {
    justify-content: center;
    padding: 14px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .security-layer {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 24px 20px;
  }

  .layer-icon {
    margin-bottom: 12px;
  }

  .step-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .step-item {
    min-width: 120px;
    font-size: 13px;
  }

  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .glass-card {
    padding: 20px;
  }

  .expert-avatar {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }

  .expert-card h5 {
    font-size: 16px;
  }

  .share-section {
    flex-direction: column;
    align-items: stretch;
  }

  .share-btn {
    justify-content: center;
    padding: 14px 20px;
  }

  .review-card blockquote {
    font-size: 14px;
  }

  .security-svg {
    max-width: 100%;
  }

  .forum-post .post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .logo-text {
    font-size: 17px;
  }

  .dashboard {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .dash-item {
    padding: 16px 10px;
    min-height: 100px;
  }

  .dash-value {
    font-size: 22px;
  }

  .news-card .card-img {
    height: 160px;
  }

  .video-card .video-thumb {
    height: 180px;
  }

  .search-input {
    padding: 8px 14px;
    font-size: 13px;
  }

  .search-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .page-content h2 {
    font-size: 22px;
  }

  .page-content h3 {
    font-size: 18px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ===== 20. LAZY LOAD 修复 ===== */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

/* 确保图片在JS未执行时也能显示 */
img[loading="lazy"] {
  animation: img-fade-in 0.5s ease 1s forwards;
}

@keyframes img-fade-in {
  to { opacity: 1; }
}

/* ===== 21. GLASS CARD 通用修复 ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(108, 60, 224, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(108, 60, 224, 0.15);
}

/* ===== 22. SECTION 间距修复 ===== */
.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}
