/* ============================================
   USDT冷钱包 - Site 1 Style
   USDT钱包|USDT钱包官网|USDT冷钱包
   ============================================ */

/* --- 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', sans-serif;
  line-height: 1.7;
  color: #e0e6ed;
  background: #0a0e1a;
  overflow-x: hidden;
}
a { color: #00d4ff; text-decoration: none; transition: color .3s; }
a:hover { color: #7b61ff; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

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

/* --- Glassmorphism Card --- */
.glass {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
}

/* --- Header / Nav --- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(10,14,26,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: #fff; }
.nav-logo img { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #c0c8d8; font-size: .95rem; font-weight: 500; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #00d4ff; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg,#00d4ff,#7b61ff); transition: width .3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 26px; height: 2px; background: #fff; transition: .3s; }

/* Search Box */
.search-box { position: relative; }
.search-box input {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px; padding: 8px 16px; color: #fff; font-size: .9rem; width: 200px;
  outline: none; transition: border-color .3s;
}
.search-box input:focus { border-color: #00d4ff; }
.search-box input::placeholder { color: #8892a4; }
.search-result {
  display: none; position: absolute; top: 44px; left: 0; right: 0;
  background: rgba(10,14,26,.95); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 16px; font-size: .9rem; color: #00d4ff;
}
.search-result.active { display: block; }

/* --- Hero --- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 20px 80px;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1040 50%, #0d1f3c 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -30%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(123,97,255,.15) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -40%; left: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite reverse;
}
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:.6; } 50%{ transform: scale(1.2); opacity:1; } }

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px;
  background: linear-gradient(135deg, #00d4ff, #7b61ff, #ff6ec7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h2 { font-size: 1.3rem; color: #a0aec0; margin-bottom: 30px; font-weight: 400; }
.hero-img { margin: 30px auto 0; max-width: 500px; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }

/* CTA Buttons */
.cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn-primary {
  display: inline-block; padding: 14px 36px; border-radius: 30px; font-weight: 600; font-size: 1rem;
  background: linear-gradient(135deg, #00d4ff, #7b61ff); color: #fff;
  box-shadow: 0 4px 20px rgba(0,212,255,.3); transition: transform .3s, box-shadow .3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,.5); color: #fff; }
.btn-secondary {
  display: inline-block; padding: 14px 36px; border-radius: 30px; font-weight: 600; font-size: 1rem;
  border: 1px solid rgba(255,255,255,.2); color: #fff; transition: .3s;
}
.btn-secondary:hover { border-color: #00d4ff; background: rgba(0,212,255,.1); }

/* --- Section --- */
.section { padding: 80px 0; position: relative; z-index: 1; }
.section-title {
  text-align: center; margin-bottom: 50px;
}
.section-title h3 {
  font-size: 2rem; font-weight: 700; margin-bottom: 12px;
  background: linear-gradient(135deg, #00d4ff, #7b61ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-title p { color: #8892a4; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* --- Dashboard --- */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.dash-card { padding: 28px; text-align: center; }
.dash-card .number {
  font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(135deg, #00d4ff, #7b61ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dash-card .label { color: #8892a4; margin-top: 8px; font-size: .95rem; }
@keyframes countUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.dash-card { animation: countUp .8s ease-out both; }
.dash-card:nth-child(2) { animation-delay: .15s; }
.dash-card:nth-child(3) { animation-delay: .3s; }
.dash-card:nth-child(4) { animation-delay: .45s; }

/* --- News / Article Cards --- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.news-card { overflow: hidden; transition: transform .3s; }
.news-card:hover { transform: translateY(-6px); }
.news-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 16px 16px 0 0; }
.news-card .card-body { padding: 20px; }
.news-card h5 { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.news-card p { color: #8892a4; font-size: .9rem; line-height: 1.6; }
.news-card .tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .75rem;
  background: rgba(0,212,255,.15); color: #00d4ff; margin-bottom: 10px; }

/* --- Video Card --- */
.video-card { position: relative; overflow: hidden; cursor: pointer; }
.video-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; }
.video-card .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0);
  width: 60px; height: 60px; background: rgba(0,212,255,.8); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: transform .3s;
}
.video-card .play-btn::after {
  content: ''; border-left: 18px solid #fff; border-top: 11px solid transparent;
  border-bottom: 11px solid transparent; margin-left: 4px;
}
.video-card:hover .play-btn { transform: translate(-50%,-50%) scale(1); }

/* --- Expert / Testimonial --- */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.expert-card { padding: 28px; text-align: center; }
.expert-card .avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, #00d4ff, #7b61ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff; font-weight: 700;
}
.expert-card h5 { font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.expert-card .role { color: #00d4ff; font-size: .85rem; margin-bottom: 12px; }
.expert-card p { color: #8892a4; font-size: .9rem; }

/* --- Testimonials --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { padding: 28px; }
.testimonial-card .stars { color: #ffc107; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-card p { color: #c0c8d8; font-style: italic; margin-bottom: 16px; }
.testimonial-card .author { color: #8892a4; font-size: .85rem; }

/* --- Community / Share --- */
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.community-card { padding: 24px; }
.community-card h5 { color: #fff; margin-bottom: 10px; }
.community-card p { color: #8892a4; font-size: .9rem; }
.community-card .meta { color: #00d4ff; font-size: .8rem; margin-top: 12px; }

/* --- Breadcrumb --- */
.breadcrumb { padding: 100px 0 20px; font-size: .9rem; color: #8892a4; }
.breadcrumb a { color: #00d4ff; }
.breadcrumb span { margin: 0 8px; }

/* --- Article Page --- */
.article-content { max-width: 900px; margin: 0 auto; padding: 40px 20px 80px; }
.article-content h1 { font-size: 2.2rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.article-content h4, .article-content h5, .article-content h6 {
  color: #00d4ff; margin: 30px 0 14px; font-weight: 600;
}
.article-content h4 { font-size: 1.4rem; }
.article-content h5 { font-size: 1.2rem; }
.article-content h6 { font-size: 1.05rem; }
.article-content p { color: #c0c8d8; margin-bottom: 18px; line-height: 1.8; }
.article-content img { border-radius: 12px; margin: 24px 0; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 18px; }
.article-content li { color: #c0c8d8; margin-bottom: 8px; list-style: disc; }
.article-content blockquote {
  border-left: 3px solid #7b61ff; padding: 16px 20px; margin: 24px 0;
  background: rgba(123,97,255,.08); border-radius: 0 12px 12px 0; color: #a0aec0;
}

/* --- Step Guide --- */
.step-guide { max-width: 800px; margin: 0 auto; }
.step-item { margin-bottom: 16px; }
.step-header {
  display: flex; align-items: center; gap: 14px; padding: 18px 24px;
  cursor: pointer; transition: background .3s;
}
.step-header:hover { background: rgba(255,255,255,.08); }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #00d4ff, #7b61ff); color: #fff; font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}
.step-header h5 { color: #fff; font-size: 1.05rem; }
.step-body { padding: 0 24px 20px 74px; display: none; }
.step-body.active { display: block; }
.step-body p { color: #c0c8d8; line-height: 1.8; }

/* --- Footer --- */
.site-footer {
  background: rgba(10,14,26,.9); border-top: 1px solid rgba(255,255,255,.08);
  padding: 60px 0 30px; position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-col h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col p, .footer-col a { color: #8892a4; font-size: .9rem; display: block; margin-bottom: 8px; }
.footer-col a:hover { color: #00d4ff; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); color: #5a6478; font-size: .85rem; }

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(10,14,26,.98); flex-direction: column; align-items: center;
    justify-content: center; gap: 30px; z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .search-box input { width: 140px; }
  .hero h1 { font-size: 2rem; }
  .hero h2 { font-size: 1rem; }
  .hero-img { max-width: 90%; }
  .section { padding: 50px 0; }
  .section-title h3 { font-size: 1.5rem; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .article-content h1 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; align-items: center; }
}
