:root {
  --bg:        #040C18;
  --card:      #0C1829;
  --card-hi:   #101F34;
  --border:    #152236;
  --border-hi: #1E3A58;
  --cyan:      #38BDF8;
  --cyan-dim:  #0EA5E9;
  --teal:      #2DD4BF;
  --glow:      rgba(56,189,248,0.15);
  --text:      #E8F4FF;
  --text-sub:  #7BA6C8;
  --text-dim:  #2E4A62;
  --mono:      'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 56px;
  background: rgba(4,12,24,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-hex { width: 28px; height: 28px; flex-shrink: 0; }
.nav-symbol { font-weight: 700; font-size: 15px; letter-spacing: 0.08em; }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 4px;
  padding: 4px 10px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: none;
  transition: color 150ms;
}
.nav-link:hover { color: var(--cyan); }

/* ── Ticker ── */
.ticker {
  overflow: hidden;
  height: 34px;
  background: rgba(56,189,248,0.04);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

.tick {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-sub);
  padding: 0 24px;
  letter-spacing: 0.05em;
}

.tick-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ── Watermark ── */
.watermark {
  position: absolute;
  top: 56px; /* below nav */
  right: -0.05em;
  font-size: clamp(180px, 28vw, 340px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(56,189,248,0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ── Hero ── */
main { position: relative; }

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 80px 40px 64px;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-left {
  flex: 1;
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

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

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-sub);
  max-width: 38ch;
  margin-bottom: 36px;
}

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 150ms;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--cyan);
  color: #040C18;
  box-shadow: 0 0 32px var(--glow);
}
.btn-primary:hover { background: #7DDCFF; box-shadow: 0 0 48px rgba(56,189,248,0.3); }

.btn-ghost {
  background: transparent;
  color: var(--text-sub);
  border: 1px solid var(--border-hi);
}
.btn-ghost:hover { color: var(--cyan); border-color: rgba(56,189,248,0.4); }
.btn-ghost:disabled { opacity: 0.4; cursor: default; }

.wallet-status {
  margin-top: 18px;
  min-height: 18px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-sub);
}
.wallet-status.ok  { color: var(--teal); }
.wallet-status.err { color: #F87171; }

/* ── Stat cards (right side of hero) ── */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  width: 220px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 200ms, background 200ms;
}
.stat-card:hover {
  background: var(--card-hi);
  border-left-color: var(--teal);
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.stat-unit {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  margin-top: 2px;
}

/* ── Info section ── */
.info-section {
  position: relative;
  z-index: 1;
  padding: 0 40px 80px;
  max-width: 1080px;
  margin: 0 auto;
}

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

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 200ms, background 200ms;
}
.info-card:hover { border-color: var(--border-hi); background: var(--card-hi); }

.info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* address card spans full row */
.address-card {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.address-card .info-label {
  width: 100%;
  margin-bottom: -4px;
}

.info-address {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-sub);
  word-break: break-all;
  flex: 1;
}

.copy-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  background: var(--border-hi);
  color: var(--text);
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 150ms, color 150ms;
}
.copy-btn:hover { background: var(--cyan); color: #040C18; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 48px 24px 40px; }
  .hero-right { width: 100%; flex-direction: row; }
  .stat-card { flex: 1; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .address-card { grid-column: 1 / -1; }
  .info-section { padding: 0 24px 60px; }
  .nav { padding: 0 20px; }
  .watermark { right: -0.1em; }
}

@media (max-width: 480px) {
  .hero-right { flex-direction: column; }
  .info-grid { grid-template-columns: 1fr; }
  .nav-badge { display: none; }
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
