@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #08090d;
  --surface: #11131a;
  --surface-2: #181b24;
  --surface-3: #202531;
  --lime: #b6f36b;
  --cyan: #61e7ff;
  --violet: #a98bff;
  --pink: #ff6fb5;
  --text: #f5f7fa;
  --muted: #8991a3;
  --muted-2: #596174;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(182, 243, 107, 0.32);
  --positive: #8dff87;
  --negative: #ff6b81;
  --warning: #ffd36a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Pixelify Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(circle at 72% -12%, rgba(97,231,255,0.09), transparent 28%),
    radial-gradient(circle at 8% 14%, rgba(169,139,255,0.08), transparent 23%);
  background-size: 42px 42px, 42px 42px, auto, auto;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; overflow: hidden; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
  padding: 0 5vw;
  background: rgba(8, 9, 13, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 148px; }
.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  grid-template-rows: repeat(3, 8px);
  gap: 3px;
  width: 29px;
  height: 29px;
  transform: rotate(-6deg);
}
.brand-mark span { background: var(--lime); box-shadow: 0 0 12px rgba(182,243,107,.35); }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(4), .brand-mark span:nth-child(8) { opacity: .18; }
.brand-mark span:nth-child(3), .brand-mark span:nth-child(5), .brand-mark span:nth-child(7) { background: var(--cyan); }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: .09em; }
.brand-name b { color: var(--lime); }

.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links a { color: var(--muted); padding: 9px 12px; border-radius: 8px; transition: .2s ease; font-size: 13px; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links a.active { box-shadow: inset 0 -2px var(--lime); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.search-box { display: flex; align-items: center; gap: 8px; min-width: 208px; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; color: var(--muted); }
.search-box input { width: 100%; color: var(--text); background: transparent; border: 0; outline: 0; font-size: 12px; }
.search-box input::placeholder { color: var(--muted-2); }
.network-badge, .demo-badge, .status-badge { display: inline-flex; align-items: center; gap: 7px; width: fit-content; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.network-badge::before, .live-dot { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.demo-badge { color: var(--cyan); border-color: rgba(97,231,255,.24); background: rgba(97,231,255,.06); }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 9px; padding: 11px 16px; color: var(--text); background: var(--surface-2); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; font-weight: 600; font-size: 13px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.22); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #0c1209; background: var(--lime); box-shadow: 0 0 28px rgba(182,243,107,.14); }
.btn-primary:hover { background: #c6ff7a; box-shadow: 0 0 30px rgba(182,243,107,.28); }
.btn-outline { border-color: var(--line-strong); background: transparent; }
.btn-ghost { padding: 8px 10px; background: transparent; color: var(--muted); }
.btn-cyan { color: #041115; background: var(--cyan); }
.btn-danger { color: #fff; background: rgba(255,107,129,.15); border-color: rgba(255,107,129,.32); }
.btn-icon { padding: 9px; border: 1px solid var(--line); background: var(--surface); }
.btn-block { width: 100%; }

.ticker-rail { display: flex; align-items: center; gap: 18px; min-height: 34px; padding: 0 5vw; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(17,19,26,.7); color: var(--muted); font-size: 11px; }
.ticker-label { flex: none; padding: 4px 10px; color: var(--bg); background: #fff; border-radius: 6px; letter-spacing: .12em; font-weight: 700; white-space: nowrap; }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px); mask-image: linear-gradient(90deg, transparent 0, #000 24px); }
.ticker-track { display: flex; flex: none; width: max-content; animation: marquee 60s linear infinite; will-change: transform; }
.ticker-group { display: flex; flex: none; gap: 30px; padding-right: 30px; }
.ticker-track span { white-space: nowrap; }
.ticker-track b { color: var(--positive); font-weight: 500; margin-left: 4px; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

.main { width: min(1380px, 90vw); margin: 0 auto; padding: 54px 0 92px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(42px, 7vw, 84px); line-height: .96; letter-spacing: -.045em; }
h2 { font-size: clamp(25px, 3.2vw, 42px); line-height: 1; letter-spacing: -.035em; }
h3 { font-size: 19px; }
.subtle { color: var(--muted); }
.mini { font-size: 11px; color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }

.hero { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 52px; min-height: 540px; padding: 34px 0 66px; }
.hero::before { content: ''; position: absolute; width: 330px; height: 330px; top: 5%; left: 34%; background: rgba(182,243,107,.06); filter: blur(70px); border-radius: 50%; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { max-width: 660px; margin: 18px 0 22px; }
.hero h1 span { color: var(--lime); }
.hero-lead { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 42px; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.hero-note strong { color: var(--text); font-weight: 500; }

.hero-visual { position: relative; min-height: 440px; }
.visual-grid { position: absolute; inset: 9% 4% 8% 4%; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: linear-gradient(145deg, rgba(17,19,26,.98), rgba(24,27,36,.78)); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.02); overflow: hidden; }
.visual-grid::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 28px 28px; opacity: .35; }
.visual-glow { position: absolute; width: 190px; height: 190px; left: 26%; top: 22%; border-radius: 50%; background: rgba(182,243,107,.12); filter: blur(28px); }
.pixel-coin { position: absolute; top: 16%; left: 34%; display: grid; grid-template-columns: repeat(5, 15px); grid-template-rows: repeat(5, 15px); gap: 2px; transform: rotate(13deg); filter: drop-shadow(0 0 20px rgba(182,243,107,.4)); }
.pixel-coin i { background: var(--lime); }
.pixel-coin i:nth-child(1), .pixel-coin i:nth-child(5), .pixel-coin i:nth-child(21), .pixel-coin i:nth-child(25) { opacity: .22; }
.pixel-coin i:nth-child(7), .pixel-coin i:nth-child(9), .pixel-coin i:nth-child(17), .pixel-coin i:nth-child(19) { background: var(--cyan); }
.pixel-coin i:nth-child(13) { background: var(--text); }
.curve-line { position: absolute; inset: 45px 25px 25px 25px; width: calc(100% - 50px); height: calc(100% - 70px); }
.curve-line path { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: square; filter: drop-shadow(0 0 8px rgba(182,243,107,.6)); stroke-dasharray: 3 6; }
.curve-line circle { fill: var(--cyan); stroke: var(--bg); stroke-width: 4; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(17,19,26,.88); box-shadow: 0 12px 28px rgba(0,0,0,.28); backdrop-filter: blur(8px); }
.float-card.one { right: 5%; top: 12%; animation: float 5s ease-in-out infinite; }
.float-card.two { left: 3%; bottom: 17%; animation: float 5s 1s ease-in-out infinite; }
.float-card.three { right: 9%; bottom: 7%; animation: float 5s 2s ease-in-out infinite; }
.float-icon, .token-logo { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: var(--bg); font-weight: 700; background: var(--lime); }
.float-icon.cyan, .token-logo.cyan { background: var(--cyan); }
.float-icon.violet, .token-logo.violet { background: var(--violet); }
.float-card strong { display: block; font-size: 12px; }
.float-card small { display: block; color: var(--positive); font-size: 10px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 20px 18px; background: var(--surface); }
.stat-value { display: block; margin: 6px 0 2px; font-size: 25px; font-weight: 700; letter-spacing: -.03em; }
.stat-label { color: var(--muted); font-size: 11px; }

.section { margin-top: 76px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.section-heading p { max-width: 500px; color: var(--muted); font-size: 13px; text-align: right; }
.token-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.token-grid.montra-feature-grid { grid-template-columns: minmax(0, 1fr); max-width: 580px; }
.token-card, .panel, .feature-card, .table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17,19,26,.82); box-shadow: 0 10px 35px rgba(0,0,0,.12); }
.token-card { padding: 17px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.token-card:hover { transform: translateY(-5px); border-color: rgba(182,243,107,.38); box-shadow: 0 14px 34px rgba(0,0,0,.28), 0 0 26px rgba(182,243,107,.06); }
.montra-contract-link { text-decoration: none; }
.token-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.token-ident { display: flex; align-items: center; gap: 10px; }
.token-logo { width: 42px; height: 42px; border-radius: 12px; font-size: 13px; }
.token-name { display: block; font-size: 14px; font-weight: 700; }
.token-symbol { display: block; color: var(--muted); font-size: 11px; }
.status-badge { color: var(--lime); border-color: rgba(182,243,107,.25); background: rgba(182,243,107,.06); font-size: 10px; }
.status-badge.pink { color: var(--pink); border-color: rgba(255,111,181,.25); background: rgba(255,111,181,.06); }
.status-badge.cyan { color: var(--cyan); border-color: rgba(97,231,255,.25); background: rgba(97,231,255,.06); }
.token-price { display: flex; justify-content: space-between; align-items: end; padding: 22px 0 16px; }
.price { font-size: 22px; font-weight: 700; letter-spacing: -.04em; }
.change { color: var(--positive); font-size: 12px; }
.change.negative { color: var(--negative); }
.token-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta-value { display: block; margin-top: 2px; color: var(--text); font-size: 12px; }
.progress-row { display: flex; justify-content: space-between; margin: 15px 0 7px; color: var(--muted); font-size: 10px; }
.progress { height: 7px; padding: 1px; background: #252b36; border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--lime), var(--cyan)); box-shadow: 0 0 10px rgba(182,243,107,.45); }
.card-actions { display: flex; gap: 8px; margin-top: 16px; }
.card-actions .btn { flex: 1; padding: 9px 10px; font-size: 11px; }

.curve-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: stretch; }
.info-panel { padding: 28px; border: 1px solid rgba(182,243,107,.18); border-radius: var(--radius); background: linear-gradient(145deg, rgba(182,243,107,.08), rgba(17,19,26,.9) 45%); }
.info-panel h2 { max-width: 420px; margin: 12px 0 16px; }
.info-panel p { max-width: 475px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.metrics-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 30px; border: 1px solid var(--line); background: var(--line); }
.metric { padding: 13px; background: rgba(8,9,13,.42); }
.metric strong { display: block; margin-top: 5px; font-size: 14px; }
.chart-panel { min-height: 360px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17,19,26,.88); }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.chart-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.chart-tab { padding: 7px 10px; color: var(--muted); border: 1px solid transparent; border-radius: 7px; background: transparent; font-size: 11px; }
.chart-tab.active, .chart-tab:hover { color: var(--text); border-color: var(--line); background: var(--surface-2); }
.chart-svg { display: block; width: 100%; height: 265px; margin-top: 15px; overflow: visible; }
.chart-svg .grid-line { stroke: rgba(255,255,255,.07); stroke-width: 1; stroke-dasharray: 2 5; }
.chart-svg .area { fill: url(#areaGrad); opacity: .45; }
.chart-svg .main-line { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: square; filter: drop-shadow(0 0 7px rgba(182,243,107,.45)); }
.chart-svg .axis-label { fill: var(--muted); font-family: 'Pixelify Sans'; font-size: 10px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-card { position: relative; padding: 22px; min-height: 175px; overflow: hidden; }
.feature-card::after { content: ''; position: absolute; right: -20px; bottom: -30px; width: 110px; height: 110px; border: 1px solid rgba(97,231,255,.16); transform: rotate(45deg); }
.step-number { color: var(--lime); font-size: 28px; font-weight: 700; }
.feature-card h3 { margin: 18px 0 8px; }
.feature-card p { color: var(--muted); font-size: 12px; }

.page-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17,19,26,.86); }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tab { padding: 8px 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; background: transparent; font-size: 11px; }
.filter-tab.active, .filter-tab:hover { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.select-control, .input, .textarea { width: 100%; color: var(--text); border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); outline: none; }
.select-control { width: auto; padding: 9px 12px; }
.input, .textarea { padding: 12px 13px; font-size: 13px; }
.input:focus, .textarea:focus, .select-control:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(182,243,107,.08); }
.textarea { min-height: 100px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 11px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 750px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; }
th { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.rank { color: var(--lime); font-size: 19px; font-weight: 700; }
.table-token { display: flex; align-items: center; gap: 10px; }
.table-token .token-logo { width: 30px; height: 30px; border-radius: 8px; font-size: 10px; }

.token-layout { display: grid; grid-template-columns: 235px 1fr 300px; gap: 16px; align-items: start; }
.token-sidebar, .trade-panel { padding: 20px; }
.token-sidebar .token-logo { width: 70px; height: 70px; margin-bottom: 18px; font-size: 20px; }
.token-sidebar h2 { margin-bottom: 3px; font-size: 29px; }
.token-sidebar .symbol-line { color: var(--muted); }
.token-description { margin: 22px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.token-links { display: grid; gap: 8px; margin: 16px 0; }
.token-link { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.token-link span:last-child { color: var(--text); }
.address { display: flex; align-items: center; gap: 7px; color: var(--cyan); font-size: 10px; word-break: break-all; }
.detail-chart { min-height: 545px; padding: 20px; }
.detail-chart .chart-svg { height: 390px; }
.chart-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.trading-panel { position: sticky; top: 94px; }
.trade-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 9px; background: var(--surface-2); }
.trade-tab { padding: 10px; color: var(--muted); border: 0; border-radius: 7px; background: transparent; font-size: 12px; }
.trade-tab.active { color: var(--bg); background: var(--lime); }
.amount-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.amount-input input { width: 100%; min-width: 0; color: var(--text); border: 0; outline: 0; background: transparent; font-size: 22px; }
.amount-input span { color: var(--lime); font-size: 12px; }
.presets { display: flex; gap: 5px; margin: 8px 0 20px; }
.preset { flex: 1; padding: 6px 3px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; background: transparent; font-size: 10px; }
.preset:hover { color: var(--text); border-color: var(--lime); }
.quote-box { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: rgba(8,9,13,.4); }
.quote-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; color: var(--muted); font-size: 11px; }
.quote-row strong { color: var(--text); font-weight: 500; }
.quote-row strong.green { color: var(--positive); }
.risk-note { margin-top: 15px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.launch-layout { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
.wizard-steps { display: flex; gap: 0; margin-bottom: 28px; }
.wizard-step { position: relative; flex: 1; color: var(--muted); font-size: 11px; }
.wizard-step::after { content: ''; position: absolute; top: 12px; left: 34px; right: 0; height: 1px; background: var(--line); }
.wizard-step:last-child::after { display: none; }
.wizard-step span { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 7px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.wizard-step.active { color: var(--text); }
.wizard-step.active span { color: var(--bg); border-color: var(--lime); background: var(--lime); }
.wizard-step.done span { color: var(--lime); border-color: var(--lime); }
.upload-box { display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px dashed rgba(182,243,107,.34); border-radius: 10px; background: rgba(182,243,107,.035); }
.upload-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; color: var(--lime); background: rgba(182,243,107,.1); }
.form-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.preview-panel { position: sticky; top: 94px; }
.preview-panel .preview-visual { margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.preview-coin { display: grid; grid-template-columns: repeat(7, 10px); gap: 2px; width: fit-content; margin: 10px auto 18px; }
.preview-coin i { width: 10px; height: 10px; background: var(--lime); }
.preview-coin i:nth-child(1n+15) { opacity: .18; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 11px; }
.checkbox-row input { accent-color: var(--lime); margin-top: 3px; }

.portfolio-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; margin-bottom: 16px; }
.balance-card { padding: 25px; border: 1px solid rgba(182,243,107,.26); border-radius: var(--radius); background: linear-gradient(135deg, rgba(182,243,107,.13), rgba(17,19,26,.93) 60%); }
.balance-card h2 { margin: 12px 0 8px; font-size: 40px; }
.balance-row { display: flex; align-items: center; gap: 12px; color: var(--positive); font-size: 12px; }
.wallet-card { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; }
.wallet-address { display: flex; align-items: center; gap: 9px; margin-top: 10px; color: var(--cyan); font-size: 13px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--bg); background: linear-gradient(135deg, var(--cyan), var(--violet)); font-weight: 700; }

.footer { padding: 44px 5vw 26px; border-top: 1px solid var(--line); background: rgba(17,19,26,.68); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-copy { max-width: 310px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-copy .brand { margin-bottom: 12px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-links a { color: var(--muted); font-size: 12px; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; margin-top: 42px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 10px; }

.toast { position: fixed; z-index: 50; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; max-width: 320px; padding: 13px 15px; border: 1px solid rgba(182,243,107,.32); border-radius: 10px; background: rgba(17,19,26,.96); box-shadow: var(--shadow); color: var(--text); font-size: 12px; animation: toast-in .25s ease; }
.toast::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.modal-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.68); backdrop-filter: blur(8px); }
.modal { width: min(480px, 100%); padding: 24px; border: 1px solid rgba(182,243,107,.28); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; margin-bottom: 20px; }
.modal-head h3 { font-size: 22px; }
.modal-close { padding: 5px; color: var(--muted); border: 0; background: transparent; font-size: 18px; }
.tx-list { display: grid; gap: 10px; margin: 18px 0; }
.tx-state { display: flex; align-items: center; gap: 10px; padding: 11px 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; font-size: 12px; }
.tx-state.active { color: var(--text); border-color: rgba(182,243,107,.32); background: rgba(182,243,107,.05); }
.tx-state.done { color: var(--positive); }
.spinner { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,.18); border-top-color: var(--lime); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { padding: 50px 24px; color: var(--muted); text-align: center; }

@media (max-width: 1120px) {
  .topbar { gap: 12px; padding: 0 3.5vw; }
  .search-box { min-width: 170px; }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
  .token-layout { grid-template-columns: 220px 1fr; }
  .trading-panel { grid-column: 1 / -1; position: static; }
  .trade-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .trade-panel > .trade-tabs { grid-column: 1 / -1; }
  .trade-panel > .btn-block, .trade-panel > .risk-note { grid-column: 1 / -1; }
  .launch-layout { grid-template-columns: 1fr; }
  .preview-panel { position: static; }
}
@media (max-width: 820px) {
  .topbar { height: auto; min-height: 72px; flex-wrap: wrap; padding: 14px 5vw; }
  .nav-links { order: 3; flex-basis: 100%; overflow-x: auto; padding-bottom: 2px; }
  .top-actions { margin-left: auto; }
  .top-actions .search-box, .network-badge { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 25px; }
  .hero-visual { min-height: 390px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .curve-section, .portfolio-hero { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .token-layout { grid-template-columns: 1fr; }
  .detail-chart { min-height: auto; }
  .detail-chart .chart-svg { height: 300px; }
  .token-sidebar { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; }
  .token-sidebar .token-logo { grid-row: span 2; }
  .token-description, .token-links, .token-sidebar .address { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 560px) {
  .main { width: min(92vw, 1380px); padding-top: 32px; }
  .brand { min-width: 130px; }
  .brand-name { font-size: 18px; }
  .nav-links a { padding: 7px 9px; font-size: 11px; }
  .top-actions .btn { padding: 9px 10px; font-size: 11px; }
  .hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .hero-lead { font-size: 15px; }
  .hero-visual { min-height: 330px; }
  .visual-grid { inset: 5% 0; }
  .pixel-coin { left: 29%; transform: scale(.8) rotate(13deg); }
  .float-card.one { right: 0; }
  .float-card.two { left: 0; }
  .float-card.three { right: 2%; }
  .stat { padding: 14px 12px; }
  .stat-value { font-size: 20px; }
  .section { margin-top: 52px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading p { text-align: left; }
  .token-grid, .form-grid, .steps { grid-template-columns: 1fr; }
  .page-card, .info-panel { padding: 18px; }
  .chart-panel, .detail-chart { padding: 13px; }
  .trade-panel { display: block; }
  .trade-panel > * { margin-bottom: 13px; }
  .footer { padding-left: 4vw; padding-right: 4vw; }
  .footer-bottom { flex-direction: column; }
}

/* Tabel # Token / Market Cap di bawah TOP */
.top-markets { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.top-markets-table { min-width: 0; }
.top-markets-table th:first-child, .top-markets-table td:first-child { width: 56px; }
.top-markets-table th:last-child, .top-markets-table td:last-child { text-align: right; }
.top-markets-table .market-cap-cell { font-weight: 700; }
.top-markets-table .clickable-row { cursor: pointer; }
.top-markets-table .clickable-row:hover td { background: rgba(182,243,107,.06); }
@media (max-width: 560px) { .top-markets-table th, .top-markets-table td { padding: 12px 10px; } }

.ticker-track a { white-space: nowrap; color: inherit; text-decoration: none; cursor: pointer; }
.ticker-track a:hover { color: var(--lime); }
.ticker-track:hover { animation-play-state: paused; }

#live-panel { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(5,6,10,.72); backdrop-filter: blur(6px); }
.live-panel-card { width: min(440px, 100%); display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #11131a; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.live-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.live-panel-card .card-actions { flex-wrap: wrap; }
.live-panel-note { word-break: break-all; opacity: .7; margin: 0; }

.live-panel-card { max-height: 92vh; overflow-y: auto; }
.live-section { display: grid; gap: 10px; }
.live-chart { border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--muted); }
.live-spark { width: 100%; height: auto; display: block; }
.live-frame { display: grid; gap: 6px; }
.live-frame iframe { width: 100%; height: 300px; border: 1px solid var(--line); border-radius: 10px; background: #0b0c10; }
.live-frame:empty { display: none; }

.top-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.top-pager .btn { min-width: 52px; padding: 8px 14px; font-size: 16px; }
.top-pager .btn:disabled { opacity: .35; cursor: not-allowed; }

.curve-live-chart { padding: 14px 18px; min-height: 140px; }
.curve-live-chart .live-spark { width: 100%; height: auto; min-height: 150px; display: block; }

.launch-gate { display: grid; gap: 14px; justify-items: start; padding: 28px 8px; }
.launch-gate h2 { font-size: 26px; margin: 0; }
.upload-thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.upload-thumb.banner { width: 84px; }
.upload-box .btn:disabled, .upload-box .btn[disabled] { opacity: .5; cursor: wait; }
.preview-banner { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.preview-logo { display: block; width: 72px; height: 72px; border-radius: 14px; object-fit: cover; margin: 10px auto 14px; border: 1px solid var(--line); }

.legal-body { max-width: 820px; }
.legal-body h3 { margin: 22px 0 6px; font-size: 17px; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { color: var(--muted); line-height: 1.65; margin: 0; }
.legal-body .legal-note { margin-top: 26px; }

.top-actions { margin-left: auto; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 11px; }
.menu-panel { position: absolute; top: 100%; right: 3.5vw; min-width: 220px; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13,15,22,.98); box-shadow: 0 18px 50px rgba(0,0,0,.5); z-index: 30; }
.menu-panel a { color: var(--muted); padding: 12px 14px; border-radius: 8px; font-size: 14px; }
.menu-panel a:hover, .menu-panel a.active { color: var(--text); background: rgba(255,255,255,.06); }
.menu-panel a.active { box-shadow: inset 3px 0 var(--lime); }
@media (max-width: 820px) { .menu-panel { right: 5vw; } }

.token-logo { position: relative; overflow: hidden; }
.token-logo.has-img { background: var(--surface-2); color: transparent; }
.token-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface-2); }

/* Launch step 2: supply presets + fee choice */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip-btn { padding: 7px 14px; color: var(--muted); font: inherit; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.chip-btn:hover { color: var(--text); border-color: var(--line-strong); }
.chip-btn.active { color: var(--bg); border-color: var(--lime); background: var(--lime); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-card { display: flex; flex-direction: column; gap: 5px; padding: 13px 14px; text-align: left; color: var(--text); font: inherit; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; }
.choice-card strong { font-size: 13px; letter-spacing: .04em; }
.choice-card span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.choice-card:hover { border-color: var(--line-strong); }
.choice-card.active { border-color: var(--lime); background: rgba(182,243,107,.07); box-shadow: 0 0 0 3px rgba(182,243,107,.08); }
.first-buy-note { margin-top: 2px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }

.preview-coin.mosaic { gap: 1px; }
.preview-coin.mosaic i { width: 12px; height: 12px; opacity: 1 !important; }

.table-wrap tr.clickable-row { cursor: pointer; }
.table-wrap tr.clickable-row:hover td { background: rgba(182,243,107,.06); }
