:root {
  --void: #060610;
  --deep: #0b0b1a;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.07);
  --border-lit: rgba(255,255,255,0.14);
  --text: #eef0f8;
  --muted: rgba(220,225,255,0.55);
  --dim: rgba(200,210,255,0.3);

  /* Space accent palette */
  --nebula-blue: #7eb8f7;
  --nebula-violet: #b48ef7;
  --nebula-rose: #f47eb4;
  --star: #fff8e8;

  --accent-grad: linear-gradient(135deg, #7eb8f7 0%, #b48ef7 55%, #f47eb4 100%);
  --glow-blue: rgba(126,184,247,0.18);
  --glow-violet: rgba(180,142,247,0.15);

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── Star field ─── */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── Nebula orbs ─── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}
.orb-1 { width: 700px; height: 700px; background: #3a6fd8; top: -180px; left: -200px; }
.orb-2 { width: 600px; height: 600px; background: #8b3fd8; top: 35%; right: -180px; }
.orb-3 { width: 500px; height: 500px; background: #d83f8b; bottom: -100px; left: 25%; opacity: 0.09; }

/* ─── Glass card ─── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  position: relative;
  z-index: 1;
}

/* ─── Nav ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,6,16,0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}
.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 14px var(--glow-violet);
}
.logo-dot { color: var(--dim); font-weight: 400; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-lit);
  color: var(--text) !important;
  transition: background .2s, border-color .2s;
}
.btn-nav:hover { background: var(--surface-hover); border-color: rgba(255,255,255,.22); }

/* ─── Hero ─── */
.hero {
  padding: 100px 48px 80px;
  display: flex;
  justify-content: center;
}
.hero-card {
  max-width: 700px;
  width: 100%;
  padding: 56px 48px;
  text-align: center;
}
/* constellation corner lines */
.hero-card::before,
.hero-card::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: rgba(126,184,247,.25);
  border-style: solid;
  pointer-events: none;
}
.hero-card::before { top: 20px; left: 20px; border-width: 1px 0 0 1px; border-radius: 6px 0 0 0; }
.hero-card::after  { bottom: 20px; right: 20px; border-width: 0 1px 1px 0; border-radius: 0 0 6px 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nebula-blue);
  background: rgba(126,184,247,.1);
  border: 1px solid rgba(126,184,247,.2);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--nebula-blue);
  box-shadow: 0 0 6px var(--nebula-blue);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}

.hero-card h1 {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.btn-primary {
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  background: var(--accent-grad);
  color: #06060f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 20px rgba(180,142,247,.3);
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); box-shadow: 0 0 28px rgba(180,142,247,.45); }
.btn-ghost {
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-lit);
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: var(--surface-hover); border-color: rgba(255,255,255,.22); }

/* ─── Section ─── */
.section {
  padding: 72px 48px;
  max-width: 1060px;
  margin: 0 auto;
}
.section-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
  text-align: center;
}
.section-title span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }

/* ─── Steps ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  padding: 30px 26px;
}
.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nebula-violet);
  margin-bottom: 14px;
}
.step-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ─── Coin board ─── */
.board-wrap { overflow: hidden; }
.board-head,
.board-row {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr 80px;
  align-items: center;
  padding: 14px 22px;
}
.board-head {
  font-size: 11px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--border);
}
.board-row {
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.03);
  transition: background .18s;
  cursor: pointer;
}
.board-row:hover  { background: var(--surface-hover); }
.board-row:last-child { border-bottom: none; }
.col-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.coin-pip {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #06060f;
  flex-shrink: 0;
}
.col-ticker { color: var(--muted); font-weight: 500; }
.col-num { font-variant-numeric: tabular-nums; }
.up   { color: #4fd88a; }
.down { color: #f4707a; }
.spark { width: 80px; height: 22px; }

/* ─── Empty board ─── */
.empty-board {
  padding: 60px 32px;
  text-align: center;
}
.empty-orbit {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(126,184,247,.25);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  position: relative;
}
.empty-orbit::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--nebula-blue);
  box-shadow: 0 0 8px var(--nebula-blue);
  position: absolute;
  top: -4px; right: 10px;
}
.empty-board h3 { font-size: 18px; margin-bottom: 8px; }
.empty-board p  { font-size: 14px; color: var(--muted); max-width: 380px; margin: 0 auto; }

/* ─── Launch form ─── */
.form-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 36px;
}
.launch-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { gap: 6px; }
label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .03em;
  text-transform: uppercase;
}
input, textarea {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: rgba(126,184,247,.4);
  box-shadow: 0 0 0 3px rgba(126,184,247,.07);
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:disabled, textarea:disabled, button:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.upload-row {
  display: flex; align-items: center; gap: 12px;
}
.btn-upload {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-lit);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.btn-upload:hover { background: var(--surface-hover); }
.upload-hint { font-size: 12px; color: var(--dim); }
.btn-full { width: 100%; margin-top: 4px; }
.form-note {
  font-size: 12px;
  color: var(--dim);
  text-align: center;
  line-height: 1.5;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 44px 48px 32px;
  margin-top: 32px;
}
.footer-inner { max-width: 1060px; margin: 0 auto; }
.footer-brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 700;
  margin-bottom: 14px;
}
.footer-links {
  display: flex; gap: 22px;
  margin-bottom: 20px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-disc { font-size: 12px; color: var(--dim); max-width: 580px; line-height: 1.65; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .hero { padding: 52px 20px 52px; }
  .hero-card { padding: 32px 22px; }
  .hero-card h1 { font-size: 36px; }
  .hero-cta { flex-direction: column; }
  .section { padding: 52px 20px; }
  .steps { grid-template-columns: 1fr; }
  .board-head, .board-row { grid-template-columns: 1.6fr 1fr 1fr; padding: 12px 14px; font-size: 13px; }
  .col-num.vol, .spark { display: none; }
  .form-card { padding: 28px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .footer { padding: 32px 20px 24px; }
}
.preview-bar{position:relative;z-index:101;text-align:center;padding:10px 16px;font-size:13px;font-weight:600;color:#fde68a;background:rgba(250,204,21,.12);border-bottom:1px solid rgba(250,204,21,.3)}
.empty-board{padding:60px 32px;text-align:center}
