  :root {
    --bg: #05070f;
    --bg-2: #090d1c;
    --card: #0c1122;
    --card-2: #101631;
    --border: rgba(148, 163, 216, .14);
    --border-strong: rgba(148, 163, 216, .28);
    --ink: #eef1fb;
    --body: #a6afd0;
    --dim: #6b7499;
    --blue: #0052ff;
    --blue-soft: #3b78ff;
    --mint: #3df5c0;
    --radius: 14px;
    --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Inter", -apple-system, sans-serif;
    background: var(--bg);
    color: var(--body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { width: min(1100px, 92vw); margin: 0 auto; }
  h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
  a { color: inherit; }

  /* ---------- Nav ---------- */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(5,7,15,.75); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 17px; text-decoration: none; }
  .logo img { width: 30px; height: 30px; border-radius: 8px; }
  .nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
  .nav-links a { text-decoration: none; color: var(--body); transition: color .15s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-links .soon { font-size: 10px; color: var(--mint); vertical-align: super; margin-left: 3px; font-weight: 600; }
  .btn {
    display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
    font: 600 14px/1 "Inter", sans-serif; color: #fff;
    background: var(--blue); border: none; border-radius: 10px; padding: 12px 22px;
    transition: background .15s, transform .1s;
  }
  .btn:hover { background: var(--blue-soft); transform: translateY(-1px); }
  .btn.ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--ink); }
  .btn.ghost:hover { background: rgba(148,163,216,.08); }
  @media (max-width: 720px) { .nav-links { display: none; } }

  /* ---------- Hero ---------- */
  .hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(700px 420px at 78% -10%, rgba(0,82,255,.22), transparent 65%),
      radial-gradient(520px 320px at 12% 110%, rgba(61,245,192,.08), transparent 60%);
    pointer-events: none;
  }
  .hero-in { position: relative; padding: 96px 0 84px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font: 500 12.5px var(--mono); color: var(--mint);
    border: 1px solid rgba(61,245,192,.25); background: rgba(61,245,192,.05);
    border-radius: 999px; padding: 7px 14px; margin-bottom: 22px;
  }
  .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
  @keyframes pulse { 50% { opacity: .35; } }
  .hero h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
  .hero h1 em { font-style: normal; color: var(--blue-soft); }
  .hero p.lede { font-size: 17px; max-width: 520px; margin-bottom: 32px; }
  .hero-ctas { display: flex; gap: 14px; margin-bottom: 42px; }
  .hero-stats { display: flex; gap: 40px; border-top: 1px solid var(--border); padding-top: 26px; }
  .hstat .v { font: 600 22px var(--mono); color: var(--ink); }
  .hstat .k { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
  .hero-art { position: relative; }
  .hero-art img { width: 100%; max-width: 420px; border-radius: 20px; border: 1px solid var(--border-strong); display: block; margin-left: auto; box-shadow: 0 30px 80px rgba(0,30,120,.35); }
  @media (max-width: 860px) {
    .hero-in { grid-template-columns: 1fr; padding: 64px 0; }
    .hero-art img { margin: 0 auto; }
  }

  /* ---------- Sections ---------- */
  section { padding: 88px 0; }
  section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .sec-head { max-width: 620px; margin-bottom: 48px; }
  .sec-head .tag { font: 500 12.5px var(--mono); color: var(--blue-soft); text-transform: uppercase; letter-spacing: .14em; display: block; margin-bottom: 12px; }
  .sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }

  /* ---------- Mint ---------- */
  .mint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  @media (max-width: 860px) { .mint-grid { grid-template-columns: 1fr; } }
  .mint-card {
    background: var(--card); border: 1px solid var(--border-strong);
    border-radius: var(--radius); padding: 30px;
  }
  .mint-card .row { display: flex; justify-content: space-between; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .mint-card .row:last-of-type { border-bottom: none; }
  .mint-card .row b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
  .bar { height: 10px; background: rgba(148,163,216,.12); border-radius: 999px; overflow: hidden; margin: 18px 0 8px; }
  .bar > div { height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue), var(--mint)); transition: width .8s ease; }
  .pct { font: 500 12.5px var(--mono); color: var(--dim); text-align: right; margin-bottom: 20px; }
  .qty { margin: 4px 0 18px; }
  .qty-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
  .qty-head b { font: 600 16px var(--mono); color: var(--ink); }
  .qty input[type="range"] {
    -webkit-appearance: none; appearance: none; width: 100%; height: 8px;
    background: rgba(148,163,216,.15); border-radius: 999px; outline: none; cursor: pointer;
  }
  .qty input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
    background: var(--blue); border: 3px solid var(--ink);
    box-shadow: 0 2px 12px rgba(0,82,255,.5);
  }
  .qty input[type="range"]::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--blue); border: 3px solid var(--ink);
  }
  .qty-sum { margin-top: 10px; font-size: 13.5px; color: var(--dim); }
  .qty-sum b { color: var(--mint); font-family: var(--mono); font-weight: 500; }
  #mintBtn { width: 100%; padding: 16px; font-size: 16px; border-radius: 12px; }
  #mintBtn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
  .status { margin-top: 14px; font-size: 13px; min-height: 20px; word-break: break-all; }
  .status a { color: var(--mint); }
  .wallet { margin-top: 6px; font: 400 12px var(--mono); color: var(--dim); }
  .steps { counter-reset: step; }
  .step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    font: 600 13px var(--mono); color: var(--blue-soft);
    border: 1px solid var(--border-strong); border-radius: 8px;
    min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  }
  .step h3 { font-size: 15.5px; margin-bottom: 4px; }
  .step p { font-size: 14px; }

  /* ---------- Details ---------- */
  .detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
  @media (max-width: 860px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }
  .dcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
  .dcard .v { font: 600 24px var(--mono); color: var(--ink); margin-bottom: 4px; }
  .dcard .k { font-size: 13px; color: var(--dim); }
  .addr-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 13.5px; }
  .addr-card div span { color: var(--dim); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
  .addr-card a { font-family: var(--mono); color: var(--mint); text-decoration: none; }
  .addr-card a:hover { text-decoration: underline; }

  /* ---------- Security ---------- */
  .sec3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  @media (max-width: 860px) { .sec3 { grid-template-columns: 1fr; } }
  .scard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
  .scard .ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(0,82,255,.14); border: 1px solid rgba(59,120,255,.3); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 19px; }
  .scard h3 { font-size: 16.5px; margin-bottom: 8px; }
  .scard p { font-size: 14px; }

  /* ---------- Marketplace ---------- */
  .market {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--card-2), var(--card));
    border: 1px solid var(--border-strong); border-radius: 20px;
    padding: 64px 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  }
  @media (max-width: 860px) { .market { grid-template-columns: 1fr; padding: 40px 28px; } }
  .market::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(0,82,255,.25), transparent 70%); pointer-events: none;
  }
  .soon-pill { display: inline-block; font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); border: 1px solid rgba(61,245,192,.3); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
  .market h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
  .market p { font-size: 15px; max-width: 480px; margin-bottom: 26px; }
  .market-feats { display: grid; gap: 12px; position: relative; }
  .mf { display: flex; align-items: center; gap: 12px; background: rgba(5,7,15,.5); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; font-size: 14px; color: var(--ink); }
  .mf span { color: var(--mint); font-family: var(--mono); font-size: 12px; }

  /* ---------- FAQ ---------- */
  .faq { max-width: 760px; }
  details { border-bottom: 1px solid var(--border); }
  summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; font-weight: 600; font-size: 15.5px; color: var(--ink); }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font: 400 22px var(--mono); color: var(--dim); transition: transform .2s; }
  details[open] summary::after { transform: rotate(45deg); }
  details p { padding: 0 4px 20px; font-size: 14.5px; max-width: 640px; }
  details p a { color: var(--mint); }

  /* ---------- Footer ---------- */
  footer { border-top: 1px solid var(--border); padding: 44px 0; }
  .foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
  .foot-links { display: flex; gap: 24px; font-size: 13.5px; }
  .foot-links a { color: var(--dim); text-decoration: none; }
  .foot-links a:hover { color: var(--ink); }
  .disclaimer { margin-top: 22px; font-size: 12px; color: var(--dim); max-width: 720px; line-height: 1.7; }

/* ---------- Mint CTA (home) ---------- */
.mint-cta {
  background: linear-gradient(135deg, var(--card-2), var(--card));
  border: 1px solid var(--border-strong); border-radius: 20px;
  padding: 52px 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.mint-cta h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.mint-cta p { font-size: 15px; max-width: 460px; }
.mint-cta .btn { padding: 16px 34px; font-size: 16px; white-space: nowrap; }

/* ---------- Mint page ---------- */
.mint-page { padding: 56px 0 88px; }
.mint-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .mint-layout { grid-template-columns: 1fr; } }
.page-head { margin-bottom: 36px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.page-head p { font-size: 15px; color: var(--body); max-width: 560px; }

.feed {
  background: var(--card); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 24px 24px 12px;
}
.feed-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.feed-head h3 { font-size: 15px; letter-spacing: .02em; }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font: 500 11.5px var(--mono); color: var(--mint); text-transform: uppercase; letter-spacing: .12em;
}
.live-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
.feed-list { max-height: 520px; overflow-y: auto; scrollbar-width: thin; }
.feed-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 2px; border-top: 1px solid var(--border);
  font-size: 13.5px; text-decoration: none; color: var(--body);
  transition: background .12s;
}
.feed-row:hover { background: rgba(148,163,216,.05); }
.feed-row .avatar {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font: 600 12px var(--mono); color: #fff;
}
.feed-row .who { font-family: var(--mono); color: var(--ink); font-size: 13px; }
.feed-row .what { font-size: 12.5px; color: var(--dim); margin-top: 2px; }
.feed-row .amt { margin-left: auto; text-align: right; }
.feed-row .amt b { display: block; font: 500 13.5px var(--mono); color: var(--mint); }
.feed-row .amt span { font-size: 11.5px; color: var(--dim); }
.feed-empty { padding: 28px 4px 20px; text-align: center; font-size: 13.5px; color: var(--dim); }
.feed-foot { padding: 12px 2px; border-top: 1px solid var(--border); text-align: center; }
.feed-foot a { font-size: 12.5px; color: var(--dim); text-decoration: none; }
.feed-foot a:hover { color: var(--mint); }
