:root {
  --bg: #071013;
  --bg-page: #071013;
  --panel: #0c1a1e;
  --bg-panel: #0c1a1e;
  --bg-elevated: #091518;
  --line: #16343c;
  --divider: #16343c;
  --text: #f3f8f8;
  --text-primary: #f3f8f8;
  --muted: #a4c5cf;
  --text-muted: #a4c5cf;
  --faint: #6f94a0;
  --text-subtle: #6f94a0;
  --cyan: #69aac1;
  --cyan-hover: #7eb8cc;
  --accent: #69aac1;
  --accent-hover: #7eb8cc;
  --accent-soft: rgba(105, 170, 193, 0.14);
  --ink: #071013;
  --accent-contrast: #071013;
  --radius-panel: 20px;
  --radius-card: 24px;
  --radius-float: 28px;
  --radius-pill: 999px;
  --max: 1180px;
  --float-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
  background: var(--bg-page);
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: Sora, Inter, system-ui, sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 84% -8%, rgba(105, 170, 193, 0.16), transparent 44%),
    radial-gradient(circle at 10% 100%, rgba(105, 170, 193, 0.06), transparent 40%),
    var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

.top-strip {
  position: relative;
  z-index: 2;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--ink);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.top-strip .terms-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  pointer-events: none;
  cursor: default;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(7, 16, 19, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: 34px;
  width: 34px;
  object-fit: contain;
}

.brand strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  pointer-events: none;
  cursor: default;
}

.launch-btn,
.connect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.launch-btn:hover,
.connect-btn:hover { background: var(--cyan-hover); }

.btn-accent,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  white-space: nowrap;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--divider);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(105, 170, 193, 0.08);
}

.btn-lg { padding: 13px 24px; font-size: 14px; }

.hero { padding: clamp(28px, 4vw, 48px) 0 24px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(105, 170, 193, 0.35);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-kicker .live,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(105, 170, 193, 0.25);
  flex-shrink: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 16px 0 14px;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lede {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 22px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-meta strong { color: var(--text-primary); font-weight: 600; }

.float-card {
  background: var(--bg-panel);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  box-shadow: var(--float-shadow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.float-card::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: rgba(105, 170, 193, 0.12);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.token-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.token-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--divider);
  flex-shrink: 0;
  background: var(--bg-elevated);
}

.token-avatar-lg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.token-title h2 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.token-title p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.price-cell {
  background: var(--bg-elevated);
  padding: 14px 10px;
  text-align: center;
}

.price-cell .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 6px;
}

.price-cell .value {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.live-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.stats-bar { margin: 8px 0 0; }

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-cell {
  background: var(--bg-panel);
  border: 1px solid var(--divider);
  border-radius: var(--radius-panel);
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stat-cell .label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.35;
}

.stat-cell .value {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
}

.section { padding: 40px 0; }
.section-tight { padding-top: 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.card,
.step {
  background: var(--bg-panel);
  border: 1px solid var(--divider);
  border-radius: var(--radius-panel);
  padding: 20px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.card h3,
.step h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.card p,
.step p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.step .num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-contrast);
  background: var(--accent);
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.mid-cta { padding: 0 0 40px; }

.mid-card {
  background: var(--bg-panel);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  box-shadow: var(--float-shadow);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mid-card h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mid-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 520px;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.final { padding: 0 0 56px; }

.final-card {
  text-align: center;
  padding: 44px 28px;
  background: var(--bg-panel);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  box-shadow: var(--float-shadow);
  position: relative;
  overflow: hidden;
}

.final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(480px 220px at 50% 0%, rgba(105, 170, 193, 0.14), transparent 65%);
}

.final-card > * { position: relative; z-index: 1; }

.final-card h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.final-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 auto 20px;
  max-width: 520px;
}

.final-meta {
  margin-top: 14px;
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: rgba(7, 16, 19, 0.92);
}

.site-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  padding: 20px 24px;
  font-size: 14px;
}

.site-footer-item {
  color: var(--muted);
  cursor: default;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 640px) {
  .site-footer-inner {
    flex-wrap: nowrap;
    gap: 32px;
    min-height: 64px;
    padding-block: 0;
  }
}

main {
  flex: 1;
}

.toast {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--divider);
  color: var(--text-primary);
  font-size: 13px;
  z-index: 100;
  box-shadow: var(--float-shadow);
}

.admin-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

.admin-page h1 { margin: 0 0 8px; }
.admin-page .lead { color: var(--text-muted); margin: 0 0 24px; }

.admin-card {
  background: var(--bg-panel);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.admin-card label {
  display: block;
  color: var(--text-subtle);
  font-size: 12px;
  margin-bottom: 6px;
}

.admin-card input {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--divider);
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.admin-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-row button,
.admin-card button[type="submit"] {
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
}

.admin-row .ghost,
.admin-list button.ghost {
  background: transparent;
  border: 1px solid var(--divider);
  color: var(--text-primary);
}

.admin-list { display: grid; gap: 10px; }

.admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--bg-elevated);
}

.admin-item img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
}

.admin-item a {
  color: var(--accent);
  word-break: break-all;
  font-size: 12px;
}

.preview-box {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
}

.preview-box.open { display: flex; }
.preview-box img { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }

@media (min-width: 768px) {
  .site-header { padding-inline: 32px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .launch-btn { display: none; }
  .stats-inner, .cards, .steps { grid-template-columns: 1fr; }
  .mid-card { flex-direction: column; align-items: flex-start; }
}

::selection {
  background: rgba(105, 170, 193, 0.35);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
