:root {
  color-scheme: dark;
  --bg-0: #030a08;
  --bg-1: #061310;
  --bg-2: #0a1d18;
  --glass: rgba(9, 25, 21, 0.72);
  --glass-strong: rgba(7, 20, 17, 0.88);
  --glass-builder: rgba(10, 26, 30, 0.76);
  --border: rgba(80, 227, 194, 0.16);
  --border-strong: rgba(80, 227, 194, 0.34);
  --border-builder: rgba(56, 189, 248, 0.24);
  --mint: #50e3c2;
  --mint-bright: #97fce4;
  --mint-dim: #1b6b5a;
  --cyan: #38bdf8;
  --cyan-bright: #7dd3fc;
  --text: #eefcf8;
  --text-muted: #8ab2a7;
  --text-soft: #5c8379;
  --danger: #ff6b81;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 40px rgba(80, 227, 194, 0.12);
}

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

html, body {
  min-height: 100%;
  background: radial-gradient(circle at 20% 0%, #0a261f 0%, #040d0b 45%, #020806 100%);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bgfx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 70% 10%, rgba(45, 212, 191, 0.22), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(16, 185, 129, 0.16), transparent 60%),
    linear-gradient(#020a08, #041410 60%, #020a08);
}

#wave-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==================== TOP PILL NAVBAR ==================== */
.top-nav-wrap {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: 980px;
  height: 60px;
  padding: 0 12px 0 22px;
  border-radius: 999px;
  background: rgba(6, 20, 17, 0.78);
  border: 1px solid var(--border-strong);
  backdrop-filter: saturate(160%) blur(22px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45), 0 0 28px rgba(80, 227, 194, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--mint-bright);
  filter: drop-shadow(0 0 10px rgba(80, 227, 194, 0.55));
}

.brand-text {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.24em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--mint-bright);
  background: rgba(80, 227, 194, 0.14);
  border-color: rgba(80, 227, 194, 0.28);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: rgba(80, 227, 194, 0.08);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.18s ease;
}

.icon-pill:hover {
  color: var(--mint-bright);
  border-color: var(--border-strong);
}

.wallet-btn {
  background: linear-gradient(135deg, #ffffff 0%, #b8fff0 55%, #50e3c2 100%);
  color: #031510;
  border: none;
  border-radius: 999px;
  height: 40px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(80, 227, 194, 0.36);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wallet-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(151, 252, 228, 0.5);
}

.wallet-btn.connected {
  background: rgba(80, 227, 194, 0.14);
  color: var(--mint-bright);
  border: 1px solid rgba(80, 227, 194, 0.4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

/* ==================== APP SHELL ==================== */
.app-shell {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 24px 88px;
}

.view { display: none; animation: fadeIn 0.22s ease; }
.view.active { display: block; }
.hidden { display: none !important; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-head { margin-bottom: 28px; }
.page-head h1, .form-header-row h1 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.subtitle {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 8px;
}

/* ==================== HOME LANDING HERO ==================== */
.home-hero {
  min-height: calc(100svh - 120px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
  padding: 12px 0 20px;
}

.home-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(54px, 6.2vw, 78px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #ffffff;
  margin-bottom: 22px;
}

.home-accent {
  background: linear-gradient(135deg, #ffffff 10%, #97fce4 55%, #50e3c2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(80, 227, 194, 0.35));
}

.home-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 32px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.btn-hero-primary {
  background: linear-gradient(180deg, #ffffff 0%, #c8fff2 100%);
  color: #031510;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 0 1px rgba(151, 252, 228, 0.4), 0 10px 30px -8px rgba(80, 227, 194, 0.75), inset 0 -2px 6px rgba(80, 227, 194, 0.25);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-hero-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(151, 252, 228, 0.55), 0 14px 40px -6px rgba(80, 227, 194, 0.95);
}

.btn-hero-secondary {
  background: rgba(151, 252, 228, 0.08);
  color: var(--text);
  border: 1px solid rgba(151, 252, 228, 0.32);
  border-radius: 999px;
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}
.btn-hero-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--mint-bright);
  background: rgba(151, 252, 228, 0.15);
}

.flagship-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  background: rgba(7, 22, 18, 0.78);
  border: 1px solid rgba(80, 227, 194, 0.26);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.flagship-id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flagship-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #50e3c2, #0d5c4b);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(80, 227, 194, 0.45);
  flex-shrink: 0;
}
.flagship-icon svg { width: 24px; height: 24px; }

.flagship-id strong { display: block; font-size: 14px; font-weight: 800; line-height: 1.15; }
.flagship-id small { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.flagship-ca {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 8px;
}

.flagship-btns { display: flex; align-items: center; gap: 8px; }

.mini-pill {
  background: rgba(80, 227, 194, 0.08);
  border: 1px solid rgba(80, 227, 194, 0.24);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mini-pill:hover {
  border-color: var(--mint-bright);
  color: var(--mint-bright);
}

.home-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-stage {
  --mk: clamp(330px, 26vw, 480px);
  position: relative;
  width: calc(var(--mk) * 1.45);
  min-height: calc(var(--mk) * 1.6);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-halo {
  position: absolute;
  width: calc(var(--mk) * 1.9);
  height: calc(var(--mk) * 1.9);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 227, 194, 0.48), rgba(20, 184, 166, 0.16) 40%, transparent 68%);
  filter: blur(12px);
  animation: haloBreath 8s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  width: calc(var(--mk) * 1.32);
  height: calc(var(--mk) * 1.32);
  border-radius: 50%;
  border: 1px solid rgba(151, 252, 228, 0.24);
  opacity: 0;
  animation: ringRipple 7s ease-out infinite;
}
.orbit-ring.r2 {
  animation-delay: 3.5s;
}

.water-glow {
  position: absolute;
  width: 100%;
  height: calc(var(--mk) * 0.32);
  bottom: calc(var(--mk) * 0.08);
  background: radial-gradient(50% 50%, rgba(151, 252, 228, 0.34), transparent 70%);
  filter: blur(14px);
}

.hero-logo-glow {
  position: relative;
  z-index: 2;
  width: var(--mk);
  height: var(--mk);
  color: #ffffff;
  animation: floatBob 9s ease-in-out infinite;
  filter:
    drop-shadow(0 0 18px rgba(220, 255, 246, 0.92))
    drop-shadow(0 0 60px rgba(80, 227, 194, 0.9));
}

.hero-logo-svg { width: 100%; height: 100%; display: block; }

.hero-logo-reflect {
  position: absolute;
  bottom: calc(var(--mk) * -0.05);
  width: var(--mk);
  height: calc(var(--mk) * 0.42);
  overflow: hidden;
  opacity: 0.32;
  filter: blur(2px);
  mask-image: linear-gradient(#000, transparent 85%);
  -webkit-mask-image: linear-gradient(#000, transparent 85%);
  pointer-events: none;
}

.hero-logo-reflect .hero-logo-svg {
  width: var(--mk);
  height: var(--mk);
  color: #97fce4;
  transform: scaleY(-1);
  filter: drop-shadow(0 0 28px #50e3c2);
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes haloBreath {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.78; transform: scale(0.9); }
}

@keyframes ringRipple {
  0% { opacity: 0; transform: scale(0.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.35); }
}

.site-foot {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 64px auto 0;
  padding: 28px 24px 48px;
  border-top: 1px solid rgba(80, 227, 194, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.foot-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
.foot-link:hover { color: var(--mint-bright); }

@media (prefers-reduced-motion: reduce) {
  .hero-halo, .orbit-ring, .hero-logo-glow { animation: none !important; }
}

/* ==================== EXPLORE HERO CARDS ==================== */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 248px;
  backdrop-filter: blur(18px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-card:hover { transform: translateY(-2px); }

.hero-standard {
  background: linear-gradient(135deg, rgba(11, 52, 42, 0.85) 0%, rgba(6, 22, 18, 0.9) 100%);
  border: 1px solid rgba(80, 227, 194, 0.36);
  box-shadow: var(--shadow-glow);
}

.hero-builder {
  background: linear-gradient(135deg, rgba(12, 36, 48, 0.84) 0%, rgba(8, 20, 28, 0.9) 100%);
  border: 1px solid var(--border-builder);
}

.hero-builder .eyebrow { color: var(--cyan-bright); }

.hero-content { max-width: 370px; position: relative; z-index: 2; }
.hero-content h2 { font-family: 'Outfit', 'Inter', sans-serif; font-size: 30px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 12px; }
.hero-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 22px; }

.btn-primary-pill {
  background: linear-gradient(180deg, #ffffff 0%, #b8fff0 100%);
  color: #031510;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 24px rgba(80, 227, 194, 0.35);
  transition: transform 0.15s ease;
}
.btn-primary-pill:hover { transform: translateY(-1px); }

.btn-builder-pill {
  background: rgba(56, 189, 248, 0.18);
  color: var(--cyan-bright);
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.btn-builder-pill:hover {
  background: rgba(56, 189, 248, 0.28);
  transform: translateY(-1px);
}

.hero-emblem, .picker-emblem {
  position: relative;
  width: 170px;
  height: 170px;
  flex-shrink: 0;
}

.emblem-layer {
  position: absolute;
  inset: 14px;
  border-radius: 26px;
  border: 1px solid rgba(151, 252, 228, 0.28);
  background: linear-gradient(135deg, rgba(80, 227, 194, 0.24), rgba(80, 227, 194, 0.04));
  transform: rotate(-16deg);
}
.emblem-layer.l3 { transform: rotate(-16deg) translate(-16px, 12px); opacity: 0.35; }
.emblem-layer.l2 { transform: rotate(-16deg) translate(-8px, 6px); opacity: 0.6; }
.emblem-layer.l1 {
  display: flex; align-items: center; justify-content: center;
  color: var(--mint-bright);
  box-shadow: 0 0 36px rgba(80, 227, 194, 0.28);
}
.emblem-layer.l1 svg { width: 58px; height: 58px; filter: drop-shadow(0 0 14px rgba(151, 252, 228, 0.7)); }

.emblem-builder .emblem-layer {
  border-color: rgba(125, 211, 252, 0.28);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.24), rgba(56, 189, 248, 0.04));
}
.emblem-builder .emblem-layer.l1 {
  color: var(--cyan-bright);
  box-shadow: 0 0 36px rgba(56, 189, 248, 0.25);
}

/* ==================== EXPLORE TOOLBAR & GRID ==================== */
.explore-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  margin-bottom: 22px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 210px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(3, 12, 10, 0.65);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  width: 100%;
}

.pill-group { display: flex; align-items: center; gap: 4px; }

.pill-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pill-btn:hover { color: var(--text); }
.pill-btn.active {
  background: var(--mint-bright);
  color: #031510;
}

.explore-bar-right { display: flex; align-items: center; gap: 8px; }

.filter-select {
  background: rgba(3, 12, 10, 0.75);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.token-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, rgba(10, 29, 24, 0.78) 0%, rgba(5, 16, 13, 0.92) 100%);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.token-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(80, 227, 194, 0.12);
}

.token-card.is-builder { border-color: rgba(56, 189, 248, 0.24); }

.tc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(80, 227, 194, 0.28), rgba(8, 30, 24, 0.9));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--mint-bright);
  overflow: hidden;
}

.tc-avatar img { width: 100%; height: 100%; object-fit: cover; }

.tc-menu-btn {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(4, 14, 11, 0.6);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
}
.tc-menu-btn:hover { color: var(--mint-bright); border-color: var(--border-strong); }

.tc-ticker {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-builder {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  color: var(--cyan-bright);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.tc-mcap {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 4px 0 8px;
}

.tc-pair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.pair-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(80, 227, 194, 0.1);
  border: 1px solid rgba(80, 227, 194, 0.22);
  color: var(--text);
  font-weight: 600;
  font-size: 11px;
}

.tc-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(80, 227, 194, 0.1);
  overflow: hidden;
  margin-bottom: 10px;
}
.tc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1b8c73, #50e3c2, #97fce4);
  border-radius: 999px;
}

.tc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}
.tc-status-grad { color: var(--mint-bright); font-weight: 700; }

.empty-state {
  text-align: center;
  padding: 64px 20px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
}
.empty-icon { font-size: 32px; color: var(--mint); margin-bottom: 10px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* ==================== LAUNCH PICKER ==================== */
.picker-head { margin-bottom: 34px; }
.picker-title { font-family: 'Outfit', 'Inter', sans-serif; font-size: 58px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 16px; }
.picker-meta { font-size: 14px; color: var(--text-muted); }
.picker-meta strong { color: var(--text); }

.picker-stack { display: flex; flex-direction: column; gap: 20px; }

.picker-card {
  width: 100%;
  text-align: left;
  color: var(--text);
  border-radius: 26px;
  padding: 36px 38px;
  display: grid;
  grid-template-columns: 1.1fr 1.6fr auto;
  align-items: center;
  gap: 28px;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.picker-card:hover { transform: translateY(-2px); }

.picker-standard {
  background: linear-gradient(125deg, rgba(11, 56, 45, 0.85) 0%, rgba(5, 22, 18, 0.92) 100%);
  border: 1px solid rgba(80, 227, 194, 0.38);
  box-shadow: var(--shadow-glow);
}

.picker-builder {
  background: linear-gradient(125deg, rgba(12, 42, 56, 0.85) 0%, rgba(6, 18, 28, 0.92) 100%);
  border: 1px solid rgba(56, 189, 248, 0.34);
}
.picker-builder .eyebrow { color: var(--cyan-bright); }

.picker-left h2 { font-family: 'Outfit', 'Inter', sans-serif; font-size: 32px; font-weight: 700; margin: 2px 0 10px; }
.picker-left p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

.picker-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.picker-metrics > div { display: flex; flex-direction: column; gap: 4px; }
.picker-metrics strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.picker-metrics span { font-size: 12px; color: var(--text-muted); }

.picker-right { display: flex; align-items: center; gap: 18px; }
.picker-emblem { width: 96px; height: 96px; }
.picker-emblem .emblem-layer { inset: 8px; border-radius: 20px; }
.picker-emblem .emblem-layer.l1 svg { width: 42px; height: 42px; }

.circle-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: rgba(3, 14, 11, 0.45);
}

.picker-footnote {
  text-align: right;
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 12px;
}

/* ==================== LAUNCH FORM ==================== */
.form-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.btn-outline-pill {
  background: rgba(8, 24, 20, 0.72);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.btn-outline-pill:hover { color: var(--text); border-color: var(--border-strong); }

.builder-banner {
  border-radius: 20px;
  padding: 20px 22px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(11, 38, 52, 0.84), rgba(6, 18, 26, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.builder-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}
.bar-seg.seg-1 { background: #e8f8ff; }
.bar-seg.seg-2 { background: #38bdf8; }
.bar-seg.seg-3 { background: #50e3c2; }
.bar-seg.seg-4 { background: #1e4b5c; }

.builder-bar-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.builder-bar-labels strong { color: var(--text); }
.builder-bar-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.launch-layout {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.form-card {
  border-radius: 26px;
  padding: 34px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.view-builder-theme .form-card,
.view-builder-theme .review-card,
.view-builder-theme .fees-card {
  background: var(--glass-builder);
  border-color: var(--border-builder);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(80, 227, 194, 0.12);
  color: var(--mint-bright);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-head h3 { font-size: 16px; font-weight: 700; }
.step-opt { margin-left: auto; font-size: 12px; color: var(--text-soft); }
.step-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.step-divider { border: none; border-top: 1px solid rgba(80, 227, 194, 0.12); margin: 24px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.opt { font-style: normal; color: var(--text-soft); font-weight: 400; }

.field input, .field textarea, .input-prefix, .input-suffix, .market-search {
  background: rgba(3, 12, 10, 0.72);
  border: 1px solid rgba(80, 227, 194, 0.16);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input, .field textarea { padding: 12px 14px; outline: none; width: 100%; }
.field input:focus, .field textarea:focus,
.input-prefix:focus-within, .input-suffix:focus-within,
.market-search:focus-within, .search-box:focus-within {
  border-color: var(--mint);
  box-shadow: 0 0 0 2px rgba(80, 227, 194, 0.14);
}

.input-prefix, .input-suffix {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0 14px;
}
.input-prefix span, .input-suffix span {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.input-prefix input,
.input-suffix input,
.search-box input,
.market-search input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 4px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.char-count { text-align: right; font-size: 11px; color: var(--text-soft); }

.upload-zone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(80, 227, 194, 0.3);
  background: rgba(3, 12, 10, 0.52);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.upload-zone:hover { border-color: var(--mint); background: rgba(80, 227, 194, 0.06); }

.upload-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(80, 227, 194, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-bright);
  overflow: hidden;
  flex-shrink: 0;
}
.upload-icon-box img { width: 100%; height: 100%; object-fit: cover; }

.upload-meta { display: flex; flex-direction: column; gap: 3px; }
.upload-meta strong { font-size: 13px; }
.upload-meta small { font-size: 11px; color: var(--text-soft); }

/* Market Picker (Screenshot 6) */
.market-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.market-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  width: 100%;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.cat-pill {
  background: rgba(4, 15, 12, 0.72);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.cat-pill span { opacity: 0.65; margin-left: 4px; font-weight: 500; }
.cat-pill.active {
  background: var(--mint-bright);
  color: #031510;
  border-color: var(--mint-bright);
}

.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-height: 330px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 12px;
}

.market-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(4, 15, 12, 0.72);
  border: 1px solid rgba(80, 227, 194, 0.14);
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition: all 0.15s ease;
}
.market-item:hover { border-color: rgba(80, 227, 194, 0.4); }
.market-item.selected {
  background: rgba(80, 227, 194, 0.14);
  border-color: var(--mint-bright);
  box-shadow: 0 0 18px rgba(80, 227, 194, 0.18);
}

.mkt-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mkt-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
  color: #031510;
}
.mkt-sym { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mkt-cat {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(80, 227, 194, 0.1);
  padding: 2px 5px;
  border-radius: 5px;
}
.mkt-name { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkt-right { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mint-bright); flex-shrink: 0; }

.selected-market-bar {
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(3, 12, 10, 0.6);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.info-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inline-link {
  background: none;
  border: none;
  color: var(--mint-bright);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
}

.fee-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.fee-tier-card {
  padding: 16px;
  border-radius: 14px;
  background: rgba(4, 15, 12, 0.72);
  border: 1px solid var(--border);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.fee-tier-card.active {
  background: rgba(80, 227, 194, 0.12);
  border-color: var(--mint-bright);
}
.fee-tier-card strong { display: block; font-size: 22px; font-weight: 800; margin-bottom: 3px; }
.fee-tier-card span { font-size: 12px; color: var(--text-muted); }

.preset-pills { display: flex; gap: 8px; margin-top: 10px; }
.preset-pill {
  background: rgba(4, 15, 12, 0.72);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.preset-pill:hover { color: var(--mint-bright); border-color: var(--mint); }

.field-hint { font-size: 12px; color: var(--text-soft); margin-top: 8px; line-height: 1.5; }

/* ==================== STICKY SIDEBAR ==================== */
.sidebar-sticky {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card, .fees-card {
  border-radius: 22px;
  padding: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.card-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 14px; }

.review-token { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rev-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #50e3c2, #0d4a3c);
  color: #031510;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.rev-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rev-ticker { font-size: 16px; font-weight: 800; }
.rev-name { font-size: 12px; color: var(--text-muted); }

.review-rows { display: flex; flex-direction: column; gap: 11px; margin-bottom: 18px; }
.review-rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(80, 227, 194, 0.1);
}
.review-rows > div:last-child { border-bottom: none; padding-bottom: 0; }
.review-rows dt { color: var(--text-muted); }
.review-rows dd { font-weight: 700; color: var(--text); text-align: right; }
.mint-text { color: var(--mint-bright) !important; }

.launch-cta {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #97fce4 0%, #50e3c2 100%);
  color: #031510;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(80, 227, 194, 0.35);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.launch-cta:hover { transform: translateY(-1px); }
.launch-cta:disabled { opacity: 0.6; cursor: not-allowed; }

.launch-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
  background: rgba(80, 227, 194, 0.1);
  border: 1px solid rgba(80, 227, 194, 0.28);
  color: var(--mint-bright);
  word-break: break-word;
}
.launch-status.error {
  background: rgba(255, 107, 129, 0.12);
  border-color: rgba(255, 107, 129, 0.35);
  color: #ff9aa9;
}

/* Donut Chart */
.donut-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.donut-svg { width: 112px; height: 112px; transform: rotate(-90deg); }
.donut-center {
  position: absolute;
  left: 0;
  top: 0;
  width: 112px;
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.donut-center strong { font-size: 17px; font-weight: 800; }
.donut-center span { font-size: 8px; letter-spacing: 0.08em; color: var(--text-muted); margin-top: 2px; }

.donut-legend { list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 11px; }
.donut-legend li { display: flex; align-items: center; gap: 7px; color: var(--text-muted); }
.donut-legend strong { color: var(--text); min-width: 34px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fees-footnote { font-size: 11px; color: var(--text-soft); line-height: 1.5; }

/* ==================== KPI / ANALYTICS / DOCS ==================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.kpi-card {
  border-radius: 18px;
  padding: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kpi-card span { font-size: 12px; color: var(--text-muted); }
.kpi-card strong { font-size: 28px; font-weight: 800; }
.kpi-card small { font-size: 11px; color: var(--text-soft); }

.glass-panel {
  border-radius: 22px;
  padding: 24px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
}
.glass-panel h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.glass-panel p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }

.flywheel-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fw-step { display: flex; gap: 12px; }
.fw-step strong { display: block; margin-bottom: 6px; font-size: 14px; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(80, 227, 194, 0.1);
}
.data-table th { color: var(--text-soft); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.data-table code { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mint-bright); }

.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-list > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid rgba(80, 227, 194, 0.1); flex-wrap: wrap; }
.doc-list dt { color: var(--text-muted); }
.doc-list code { font-family: 'JetBrains Mono', monospace; color: var(--mint-bright); font-size: 12px; word-break: break-all; }

.doc-bullets { list-style: disc; padding-left: 18px; color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.doc-bullets strong { color: var(--text); }
.doc-bullets code, .glass-panel p code { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--mint-bright); background: rgba(80, 227, 194, 0.08); padding: 1px 6px; border-radius: 6px; }

.api-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.api-item {
  padding: 18px;
  border-radius: 16px;
  background: rgba(3, 12, 10, 0.65);
  border: 1px solid rgba(80, 227, 194, 0.14);
}
.api-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.api-head code { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; color: var(--text); }
.api-method {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
}
.api-method.get { background: rgba(80, 227, 194, 0.16); color: var(--mint-bright); border: 1px solid rgba(80, 227, 194, 0.34); }
.api-method.post { background: rgba(56, 189, 248, 0.16); color: var(--cyan-bright); border: 1px solid rgba(56, 189, 248, 0.34); }
.code-block {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(2, 8, 6, 0.85);
  border: 1px solid rgba(80, 227, 194, 0.12);
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--mint-bright);
  line-height: 1.5;
}

/* ==================== MODAL & TOAST ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 8, 6, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  padding: 26px;
  background: #071915;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

.toast-root {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 12px 16px;
  border-radius: 12px;
  background: #09241d;
  border: 1px solid var(--mint);
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* ==================== MOBILE BOTTOM NAV ==================== */
.mobile-nav {
  display: none;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .home-hero { grid-template-columns: 1fr; text-align: center; min-height: auto; padding-top: 20px; gap: 24px; }
  .home-subtitle { margin-left: auto; margin-right: auto; font-size: 16px; }
  .home-actions { justify-content: center; }
  .orbital-stage { --mk: 240px; width: 320px; min-height: 360px; margin-top: 6px; }
  .hero-cards, .launch-layout, .docs-grid, .flywheel-steps { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .picker-card { grid-template-columns: 1fr; padding: 26px; }
  .picker-right { justify-content: space-between; }
  .sidebar-sticky { position: static; }
  .form-header-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .top-nav-wrap { top: 10px; padding: 0 12px; }
  .top-nav { height: 54px; gap: 8px; padding: 0 8px 0 14px; }
  .nav-links { display: none; }
  .wallet-btn { height: 36px; padding: 0 14px; font-size: 12px; }
  .icon-pill { width: 34px; height: 34px; }
  .app-shell { padding: 28px 14px 104px; }
  .home-title { font-size: 42px; }
  .page-head h1, .form-header-row h1 { font-size: 36px; }
  .picker-title { font-size: 38px; }
  .btn-hero-primary, .btn-hero-secondary { height: 46px; padding: 0 20px; font-size: 14px; width: 100%; justify-content: center; }
  .hero-card { padding: 24px; min-height: auto; }
  .hero-emblem { display: none; }
  .explore-bar { border-radius: 20px; padding: 12px; }
  .explore-bar-right { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .token-grid, .grid-2, .market-grid { grid-template-columns: 1fr; }
  .form-card, .review-card, .fees-card { padding: 20px; }
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .donut-center { left: 50%; transform: translateX(-50%); }
  .site-foot { padding-bottom: 92px; }

  .mobile-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(5, 18, 15, 0.9);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  }
  .mnav-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    padding: 10px 4px;
    border-radius: 999px;
    cursor: pointer;
  }
  .mnav-btn.active {
    background: rgba(80, 227, 194, 0.16);
    color: var(--mint-bright);
  }
  .mnav-btn.mnav-launch {
    background: linear-gradient(135deg, #97fce4, #50e3c2);
    color: #031510;
    font-weight: 800;
  }
}
