:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #1a1a1a;
  --border: #222222;
  --border-light: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #999999;
  --text-dim: #666666;
  --gold: #d4a843;
  --gold-dim: #b8923a;
  --gold-glow: rgba(212, 168, 67, 0.12);
  --font: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }

/* NAV */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; font-size: 16px;
}
.nav-logo img { width: 28px; height: 28px; border-radius: 50%; }
.nav-logo:hover { opacity: 1; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.nav-links a:hover { color: var(--text); opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-x {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  color: var(--text-muted); border: 1px solid var(--border);
}
.nav-x:hover { color: var(--gold); border-color: var(--gold); opacity: 1; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 34px; height: 34px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text-muted); border-radius: 1px; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 8px;
  background: var(--gold); color: #000;
  font-weight: 700; font-size: 13px;
  border: none;
  transition: transform 0.15s, box-shadow 0.3s;
}
.btn-primary:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 4px 20px var(--gold-glow); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 8px;
  border: 1px solid var(--border-light); color: var(--text);
  font-weight: 600; font-size: 13px;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); opacity: 1; }
.btn-lg { padding: 14px 30px; font-size: 14px; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* HERO */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(212,168,67,0.06) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: 100px;
  background: var(--gold-glow); border: 1px solid rgba(212,168,67,0.3);
  color: var(--gold); font-size: 12px; font-weight: 600;
  letter-spacing: 0.03em; margin-bottom: 24px;
}
#hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero-sub { font-size: 15px; color: var(--text-muted); line-height: 1.8; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; }
.stat-val { display: block; font-size: 28px; font-weight: 800; color: var(--gold); }
.stat-label { display: block; font-size: 12px; color: var(--text-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

.hero-visual { display: flex; align-items: center; justify-content: center; }
.coin-wrapper { position: relative; }
.spinning-coin {
  width: 320px; height: 320px;
  animation: spin 6s linear infinite;
  filter: drop-shadow(0 0 40px rgba(212,168,67,0.2));
}
@keyframes spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* SECTIONS */
section { padding: 100px 0; }
section:nth-child(even) { background: var(--bg-card); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.section-header h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.section-sub { color: var(--text-muted); font-size: 14px; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  padding: 28px; border-radius: 12px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.step-num { font-size: 12px; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* FEED */
.feed-controls { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.feed-status { font-size: 12px; color: var(--text-dim); }
.feed-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
.feed-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.feed-table th {
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 700; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-dim);
  background: var(--bg-elevated);
}
.feed-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.feed-table tbody tr:hover { background: var(--bg-elevated); }
.feed-table .tx-link { color: var(--gold); }
.feed-empty { text-align: center; padding: 40px; color: var(--text-dim); }

/* WHITEPAPER */
.wp-content { max-width: 700px; margin: 0 auto; }
.wp-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.wp-section:last-child { border-bottom: none; }
.wp-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.wp-section p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.wp-section ol, .wp-section ul { margin-bottom: 12px; padding-left: 20px; }
.wp-section li { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 4px; }
.wp-section li strong { color: var(--text); }

/* FOOTER */
#footer { border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-dim); font-size: 13px; margin-top: 10px; }
.footer-logo { width: 32px; height: 32px; border-radius: 50%; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 4px; }
.footer-col a { color: var(--text-muted); font-size: 13px; }
.footer-col a:hover { color: var(--gold); opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-dim); }

/* MOBILE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; margin-bottom: 32px; }
  .spinning-coin { width: 200px; height: 200px; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(10,10,10,0.97); backdrop-filter: blur(16px);
    padding: 16px 24px 24px; gap: 14px;
    border-bottom: 1px solid var(--border);
  }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
