/* ============================================
   USDT冷钱包 - 共享样式表
   深空蓝至极光紫渐变 + 磨砂玻璃效果
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary-dark: #0a0e27;
  --primary-blue: #1a237e;
  --primary-purple: #6a1b9a;
  --accent-cyan: #00e5ff;
  --accent-green: #00e676;
  --accent-gold: #ffd740;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  --text-primary: #e8eaf6;
  --text-secondary: #9fa8da;
  --text-muted: #7986cb;
  --gradient-main: linear-gradient(135deg, #0a0e27 0%, #1a237e 40%, #4a148c 70%, #6a1b9a 100%);
  --gradient-card: linear-gradient(135deg, rgba(26,35,126,0.4), rgba(106,27,154,0.3));
  --gradient-btn: linear-gradient(135deg, #00e5ff, #651fff);
  --font-main: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --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: var(--font-main);
  background: var(--gradient-main);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* --- Particle / Grid Background --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0,229,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(101,31,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(0,230,118,0.04) 0%, transparent 50%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  z-index: 0;
  pointer-events: none;
}

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

/* --- Glass Card --- */
.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 {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h5 { font-size: 1.1rem; margin-bottom: 0.4rem; }
h6 { font-size: 1rem; margin-bottom: 0.3rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); line-height: 1.8; }

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: #80d8ff; text-shadow: 0 0 8px rgba(0,229,255,0.4); }

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 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 20px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.logo-text {
  background: linear-gradient(135deg, var(--accent-cyan), #651fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-menu a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2rem;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
}

/* --- Section --- */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-title .accent-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-btn);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- 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; }

/* --- Dashboard Panel --- */
.dashboard {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 40px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.dashboard-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.stat-card {
  text-align: center;
  padding: 20px;
}

.stat-card .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- News / Article Cards --- */
.news-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.news-card .card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.news-card .card-body {
  padding: 20px;
}

.news-card .card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.news-card .card-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-card .card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* --- Video Card --- */
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

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

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

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

.video-card:hover .play-btn {
  opacity: 1;
}

.play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.video-card .video-info {
  padding: 16px;
  background: var(--glass-bg);
}

/* --- Expert / Team Cards --- */
.expert-card {
  text-align: center;
  padding: 30px 20px;
}

.expert-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}

.expert-card .expert-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.expert-card .expert-role {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.expert-card .expert-quote {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* --- Testimonial / Review --- */
.review-card {
  padding: 24px;
}

.review-card .stars {
  color: var(--accent-gold);
  margin-bottom: 12px;
  font-size: 1rem;
}

.review-card .review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.review-card .reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.review-card .reviewer-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.review-card .reviewer-info {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Search Box --- */
.search-box {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

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

.search-box .search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-btn);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.search-result {
  display: none;
  margin-top: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--accent-cyan);
  font-size: 0.9rem;
  text-align: center;
}

.search-result.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* --- Step Guide --- */
.step-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.step-tab {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.step-tab.active, .step-tab:hover {
  background: var(--gradient-btn);
  color: #fff;
  border-color: transparent;
}

.step-content {
  display: none;
  padding: 24px;
  animation: fadeIn 0.4s ease;
}

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

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 100px 0 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb .current {
  color: var(--accent-cyan);
}

/* --- Community / Share --- */
.community-card {
  padding: 20px;
}

.community-card .post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.community-card .post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-card .post-user {
  font-weight: 600;
  font-size: 0.9rem;
}

.community-card .post-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.community-card .post-content {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.community-card .post-actions {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.community-card .post-actions span {
  cursor: pointer;
  transition: var(--transition);
}

.community-card .post-actions span:hover {
  color: var(--accent-cyan);
}

/* --- Footer --- */
.site-footer {
  background: rgba(5, 7, 18, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

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

.footer-brand .footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

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

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

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(0,229,255,0.3); }
  50% { box-shadow: 0 0 20px rgba(0,229,255,0.6); }
}

@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade { animation: fadeIn 0.6s ease forwards; }
.animate-slide { animation: slideUp 0.8s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* --- Lazy Load --- */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.lazy-img.loaded {
  opacity: 1;
}

/* --- Inner Page Content --- */
.page-content {
  padding: 40px 0 80px;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.article-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

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

/* --- Forum Specific --- */
.forum-post {
  padding: 24px;
  margin-bottom: 16px;
}

.forum-post .post-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.forum-post .post-stats {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Ticker Bar --- */
.ticker-bar {
  background: rgba(0, 229, 255, 0.05);
  border-bottom: 1px solid var(--glass-border);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-top: 70px;
}

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

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

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

.ticker-item .coin-price {
  color: var(--accent-cyan);
}

.ticker-item .coin-change {
  font-size: 0.8rem;
}

.coin-change.up { color: var(--accent-green); }
.coin-change.down { color: #ff5252; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .news-card[style*="grid-template-columns"] {
    display: block !important;
  }
  .news-card[style*="grid-template-columns"] .card-img {
    height: 200px !important;
    border-radius: var(--radius) var(--radius) 0 0 !important;
  }
  
  .header-inner { height: 60px; }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
  }
  
  .nav-menu.open { display: flex; }
  
  .mobile-toggle { display: flex; }
  
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
  
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 1.6rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .dashboard { padding: 20px; }
  .stat-card .stat-value { font-size: 1.4rem; }
  
  .glass-card { padding: 20px; }
  
  .hero-buttons { flex-direction: column; align-items: center; }
  
  .ticker-bar { margin-top: 60px; }
  
  .breadcrumb { padding: 80px 0 16px; }
  
  .step-tabs { gap: 6px; }
  .step-tab { padding: 8px 14px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.7rem; }
  .glass-card { padding: 16px; }
  .news-card .card-img { height: 140px; }
  .stat-card .stat-value { font-size: 1.2rem; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-cyan { color: var(--accent-cyan); }
.text-green { color: var(--accent-green); }
.text-gold { color: var(--accent-gold); }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* Footer links plain text */
.footer-links li {
  color: var(--text-muted);
  font-size: 0.88rem;
}
