
/* Open9 NFT Template Full Style 1:1 Replica */
* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --primary: #8358FF;
  --secondary: #18D2C9;
  --accent: #FF66C4;
  --dark: #0F0F23;
  --darker: #080816;
  --card: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.08);
  --text: #fff;
  --text-muted: rgba(255,255,255,0.6);
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: 
    radial-gradient(circle at 10% 10%, rgba(131,88,255,0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(24,210,201,0.1) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}
.container { max-width: 1280px; margin:0 auto; padding:0 24px; }
a { color: inherit; text-decoration: none; }

/* Header */
.header {
  position: fixed;
  top:0; left:0; right:0;
  padding: 24px 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(15,15,35,0.9) 0%, transparent 100%);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width:42px; height:42px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 4px 20px rgba(131,88,255,0.4);
}
.nav {
  display: flex;
  gap:40px;
  align-items: center;
}
.nav a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav a.active, .nav a:hover { color: #fff; }
.header-actions {
  display: flex; gap:16px; align-items: center;
}
.currency-switch {
  background: var(--card);
  border:1px solid var(--border);
  border-radius: 12px;
  padding:4px;
  display: inline-flex; gap:4px;
}
.currency-switch button {
  border:none; background:transparent; color:var(--text-muted);
  padding:8px 14px; border-radius:8px; font-weight:500; cursor:pointer; font-size:0.875rem;
}
.currency-switch button.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color:#fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap:8px;
  padding:12px 28px;
  border-radius:12px;
  font-weight:600;
  border:none;
  cursor:pointer;
  transition: all 0.2s;
  font-size:1rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color:#fff;
  box-shadow:0 4px 20px rgba(131,88,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:0 8px 30px rgba(131,88,255,0.4);
}
.btn-outline {
  background: var(--card);
  border:1px solid var(--border);
  color:#fff;
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(131,88,255,0.1);
}
.btn-lg { padding:16px 36px; font-size:1.1rem; border-radius:14px; }
.btn-sm { padding:8px 16px; font-size:0.875rem; }

/* Hero */
.hero {
  padding: 40px 0 20px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap:8px;
  padding:6px 16px;
  background: rgba(131,88,255,0.1);
  border:1px solid rgba(131,88,255,0.2);
  border-radius:50px;
  color: var(--secondary);
  font-size:0.8rem;
  font-weight:500;
  margin-bottom:16px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight:900;
  line-height:1.1;
  margin-bottom:14px;
  letter-spacing: -0.02em;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient 4s ease infinite;
}
@keyframes gradient {
  0% { background-position:0% 50%; }
  50% { background-position:100% 50%; }
  100% { background-position:0% 50%; }
}
.hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin:0 auto 24px;
  line-height:1.7;
}
.hero-buttons {
  display:flex; gap:12px; justify-content:center; margin-bottom:32px; flex-wrap:wrap;
}
.hero-stats {
  display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; max-width:900px; margin:0 auto;
}
.stat-item .num {
  font-size:1.8rem; font-weight:800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height:1; margin-bottom:6px;
}
.stat-item .label { color:var(--text-muted); font-size:0.8rem; }

/* Section Common */
.section { padding: 16px 0; }
.section-header {
  display:flex; justify-content:space-between; align-items:center; margin-bottom:18px;
}
.section-title { font-size:1.5rem; font-weight:800; }
.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-link {
  color:var(--secondary); font-weight:600; display:flex; align-items:center; gap:8px;
}

/* Platform Categories */
.categories-grid {
  display:grid; grid-template-columns: repeat(6,1fr); gap:20px;
}
.category-card {
  background: var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:20px 12px;
  text-align:center;
  transition:all 0.3s;
  cursor:pointer;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  background: rgba(131,88,255,0.05);
  box-shadow:0 10px 20px rgba(131,88,255,0.15);
}
.category-icon {
  font-size:2rem;
  margin-bottom:8px;
}
.category-name { font-weight:700; font-size:0.9rem; margin-bottom:4px; }
.category-count { color:var(--text-muted); font-size:0.85rem; }

/* Product/NFT Cards Grid */
.products-grid {
  display:grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap:14px;
}
.nft-card {
  background: var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  transition:all 0.3s;
  position:relative;
}
.nft-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow:0 10px 20px rgba(131,88,255,0.15);
}
.nft-image {
  height:160px;
  position:relative;
  display:flex; align-items:center; justify-content:center;
  font-size:3rem;
}
.nft-tag {
  position:absolute;
  top:16px; left:16px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color:#fff;
  padding:6px 14px;
  border-radius:50px;
  font-size:0.75rem;
  font-weight:600;
}
.nft-body { padding:14px; }
.nft-title {
  font-size:0.95rem; font-weight:700; margin-bottom:10px;
  overflow:hidden; text-overflow:ellipsis;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  line-height:1.4; min-height:2.6rem;
}
.nft-meta {
  display:flex; justify-content:space-between; align-items:end;
}
.nft-price-label { font-size:0.7rem; color:var(--text-muted); margin-bottom:2px; }
.nft-price { font-size:1.1rem; font-weight:800; color:var(--secondary); }
.nft-price small { font-size:0.75rem; color:var(--text-muted); font-weight:400; }
.nft-stats { text-align:right; font-size:0.75rem; color:var(--text-muted); }
.nft-footer {
  padding:10px 14px;
  border-top:1px solid var(--border);
  display:flex; justify-content:space-between; align-items:center;
}
.nft-author {
  display:flex; align-items:center; gap:8px; font-size:0.875rem; color:var(--text-muted);
}
.author-avatar {
  width:28px; height:28px; border-radius:50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display:flex; align-items:center; justify-content:center; font-size:0.7rem; font-weight:700; color:#fff;
}
.buy-btn {
  padding:10px 20px; border-radius:10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color:#fff; font-weight:600; font-size:0.875rem; border:none; cursor:pointer;
  transition:all 0.2s;
}
.buy-btn:hover { opacity:0.9; }

/* Steps How it works */
.steps-grid {
  display:grid; grid-template-columns: repeat(3,1fr); gap:20px;
}
.step-card {
  background: var(--card);
  border:1px solid var(--border);
  border-radius:20px;
  padding:40px 32px;
  text-align:center;
  transition:all 0.3s;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow:0 20px 40px rgba(131,88,255,0.15);
}
.step-num {
  width:64px; height:64px; border-radius:20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display:flex; align-items:center; justify-content:center;
  font-size:2rem; font-weight:800; margin:0 auto 24px; color:#fff;
}
.step-card h3 { font-size:1.25rem; margin-bottom:12px; font-weight:700; }
.step-card p { color:var(--text-muted); }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, rgba(131,88,255,0.1), rgba(24,210,201,0.1));
  border:1px solid var(--border);
  border-radius:32px;
  padding:50px 24px;
  text-align:center;
  margin:40px 0;
}
.cta-section h2 {
  font-size:2.5rem; font-weight:800; margin-bottom:16px;
}
.cta-section p {
  color:var(--text-muted); font-size:1.1rem; max-width:600px; margin:0 auto 32px;
}

/* Sales Notify */
.sales-notify {
  position:fixed; bottom:24px; left:24px;
  background: var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 20px;
  display:flex; align-items:center; gap:12px;
  backdrop-filter:blur(20px);
  box-shadow:0 10px 40px rgba(0,0,0,0.3);
  z-index:999;
  font-size:0.875rem;
  animation: slideIn 0.5s ease;
}
@keyframes slideIn {
  from { transform:translateX(-100px); opacity:0; }
  to { transform:translateX(0); opacity:1; }
}
.sales-avatar {
  width:36px; height:36px; border-radius:50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display:flex; align-items:center; justify-content:center; font-weight:700; color:#fff;
}

/* Footer */
.footer {
  background: var(--darker);
  border-top:1px solid var(--border);
  padding:35px 0 20px;
  margin-top:20px;
}
.footer-grid {
  display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap:24px; margin-bottom:24px;
}
.footer-about p { color:var(--text-muted); margin-top:16px; max-width:300px; line-height:1.7; }
.footer-col h4 { font-size:1rem; font-weight:700; margin-bottom:24px; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:12px; }
.footer-col a { color:var(--text-muted
/* 全局表单元素统一暗黑风格 */
input, select, textarea, button { font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #8358FF !important; }
.btn { line-height: normal; }
a.btn { text-decoration: none; display: inline-flex; }
img { max-width: 100%; }
.alert { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px; color: #fff; margin-bottom: 20px; }
.alert-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: #10b981; }
.alert-danger { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); color: #ef4444; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.table th { color: #fff; font-weight: 600; }
.text-muted { color: rgba(255,255,255,0.6) !important; }
.card { background: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.08) !important; border-radius: 16px !important; color: #fff !important; }
.card-header { border-bottom: 1px solid rgba(255,255,255,0.08) !important; background: transparent !important; color: #fff !important; font-weight: 600; }
.badge { padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.badge-success { background: rgba(16,185,129,0.2); color: #10b981; }
.badge-warning { background: rgba(245,158,11,0.2); color: #f59e0b; }
code { background: rgba(131,88,255,0.15); color: #18D2C9; padding: 2px 8px; border-radius: 6px; font-family: monospace; }
