﻿/* ===========================================================
   astronduck — dark exchange shell (Binance-inspired palette)
   #0B0E11 page · #181A20 panel · #2B3139 hairline · #F0B90B accent
   =========================================================== */

:root{
  --bg:#0b0e11;
  --bg-2:#12161c;
  --panel:#181a20;
  --panel-2:#1e2329;
  --panel-3:#252a32;
  --line:#2b3139;
  --line-2:#474d57;
  --text:#eaecef;
  --text-2:#b7bdc6;
  --muted:#848e9c;
  --yellow:#f0b90b;
  --yellow-h:#fcd535;
  --green:#0ecb81;
  --red:#f6465d;
  --max:1200px;
  --r:4px;
  --sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","HarmonyOS Sans SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
[id]{scroll-margin-top:78px}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--sans);font-size:14px;line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--max);margin:0 auto;padding:0 32px}
.mono{font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
::selection{background:rgba(240,185,11,.28)}

/* ---------- header ---------- */
header{
  position:sticky;top:0;z-index:50;background:var(--panel);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px;gap:28px}
.brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:600;letter-spacing:-.01em;color:#fff}
.brand svg{width:22px;height:22px;flex:none}
.brand .wm{font-weight:500}
.brand .wm b{font-weight:700}
.links{display:flex;gap:28px;font-size:14px;color:var(--muted)}
.links a{padding:4px 0;transition:color .16s}
.links a:hover{color:var(--text)}
.actions{display:flex;align-items:center;gap:14px}
.lang{font-size:13px;color:var(--muted);padding:5px 0;transition:color .16s}
.lang:hover{color:var(--text)}

/* ---------- ticker strip ---------- */
.ticker{background:var(--bg-2);border-bottom:1px solid var(--line);font-size:12.5px}
.ticker .wrap{display:flex;align-items:center;gap:0;height:44px;overflow:hidden}
.tk{display:flex;align-items:center;gap:8px;padding:0 22px;border-right:1px solid var(--line);white-space:nowrap}
.tk:first-child{padding-left:0}
.tk span{color:var(--muted)}
.tk b{font-weight:500;color:var(--text)}
.tk em{font-style:normal;color:var(--green);font-weight:500}
.tk.down em{color:var(--red)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;padding:0 24px;border-radius:var(--r);
  font-size:14px;font-weight:500;border:1px solid transparent;cursor:pointer;
  font-family:inherit;
  transition:background .16s,color .16s,border-color .16s;
}
.btn-primary{background:var(--yellow);color:#111;font-weight:600}
.btn-primary:hover{background:var(--yellow-h);color:#111}
.btn-ghost{border-color:var(--line-2);color:var(--text);background:transparent}
.btn-ghost:hover{border-color:var(--yellow);color:var(--yellow)}
.btn-sm{height:34px;padding:0 14px;font-size:13px}
.link-arrow{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--yellow);font-weight:500}
.link-arrow:hover{color:var(--yellow-h)}

/* ---------- hero ---------- */
.hero{padding:84px 0 72px;position:relative;overflow:hidden}
.hero::before{
  content:"";position:absolute;right:-8%;top:-30%;width:760px;height:760px;border-radius:50%;
  background:radial-gradient(circle,rgba(240,185,11,.13),rgba(240,185,11,0) 62%);pointer-events:none;
}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:56px;align-items:center;position:relative}
.kicker{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--yellow);font-weight:500}
.kicker i{width:6px;height:6px;background:var(--yellow);display:block;border-radius:50%}
h1{
  font-size:clamp(36px,5vw,62px);line-height:1.08;letter-spacing:-.02em;
  font-weight:700;margin:22px 0 0;color:#fff;
}
h1 em{font-style:normal;color:var(--yellow)}
.hero p.lead{color:var(--text-2);font-size:16px;line-height:1.75;max-width:46ch;margin:22px 0 32px}
.hero-cta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hero-note{margin-top:24px;font-size:12.5px;color:var(--muted)}
.hero-art{position:relative;display:flex;justify-content:center;align-items:center}
.hero-art img{width:400px;max-width:100%;filter:drop-shadow(0 24px 60px rgba(0,0,0,.65));position:relative;z-index:1}
.hero-art .cap{
  position:absolute;right:0;bottom:4px;font-size:11px;color:var(--muted);
  writing-mode:vertical-rl;
}

/* ---------- stats ---------- */
.facts{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel)}
.facts .wrap{display:grid;grid-template-columns:repeat(4,1fr)}
.fact{padding:22px 0 22px 32px;border-left:1px solid var(--line)}
.fact:first-child{border-left:0;padding-left:0}
.fact .k{font-size:12px;color:var(--muted)}
.fact .v{font-size:19px;font-weight:600;margin-top:3px;color:#fff;letter-spacing:-.01em}
.fact .v small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:2px;letter-spacing:0}

/* ---------- sections ---------- */
.sec{padding:88px 0}
.sec-head{display:flex;flex-direction:column;gap:10px;margin-bottom:36px;max-width:70ch}
.sec-head .sec-num{font-size:12px;color:var(--yellow);font-weight:500;letter-spacing:.04em}
h2{font-size:clamp(26px,3vw,36px);line-height:1.2;letter-spacing:-.015em;font-weight:700;margin:0;color:#fff}
.sec-head p{color:var(--text-2);margin:0;font-size:14.5px;line-height:1.8;max-width:60ch}

/* steps — 4 cards */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.step{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--r);
  padding:24px 22px 26px;transition:border-color .18s,transform .18s,background .18s;
}
.step:hover{border-color:rgba(240,185,11,.5);background:var(--panel-2);transform:translateY(-2px)}
.step .n{font-size:11.5px;color:var(--yellow);font-weight:600;letter-spacing:.05em}
.step h3{margin:10px 0 8px;font-size:17px;font-weight:600;color:#fff}
.step p{margin:0;color:var(--muted);font-size:13px;line-height:1.75}

/* market table */
.tabs{display:flex;gap:26px;margin-bottom:18px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.tabs a{padding-bottom:6px;border-bottom:2px solid transparent;transition:color .16s}
.tabs a.on{color:var(--yellow);border-bottom-color:var(--yellow)}
.tabs a:hover{color:var(--text)}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.list-head{
  display:grid;grid-template-columns:1fr 120px 130px;gap:24px;
  padding:14px 24px;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line);
}
.list-head span:nth-child(2),.list-head span:nth-child(3){text-align:right}
.list{display:block}
.row{
  display:grid;grid-template-columns:48px 1fr 120px 130px;align-items:center;gap:24px;
  padding:16px 24px;border-bottom:1px solid var(--line);transition:background .16s;cursor:pointer;
}
.row:last-child{border-bottom:0}
.row:hover{background:var(--panel-2)}
.thumb{
  width:48px;height:48px;background:var(--panel-3);border-radius:var(--r);
  display:flex;align-items:center;justify-content:center;
  font-size:15px;font-weight:600;color:var(--yellow);
}
.row .cat{font-size:11.5px;color:var(--muted);margin-bottom:2px}
.row h4{margin:0;font-size:15px;font-weight:500;color:#fff;line-height:1.4}
.row .seller{font-size:12px;color:var(--green);display:flex;align-items:center;gap:6px;justify-content:flex-end}
.row .seller i{width:5px;height:5px;background:var(--green);border-radius:50%;display:block}
.row .price{font-size:15px;font-weight:600;text-align:right;color:#fff;font-variant-numeric:tabular-nums}
.row .price em{font-style:normal;display:block;font-size:11.5px;font-weight:400;color:var(--muted);margin-top:2px}
.list-foot{margin-top:16px;font-size:12px;color:var(--muted)}

/* trust split */
.split2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tcol{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:26px 26px 28px}
.tcol h3{margin:0 0 18px;font-size:15px;font-weight:600;color:#fff;display:flex;align-items:center;gap:8px}
.tcol h3::before{content:"";width:3px;height:14px;background:var(--green);display:block}
.tcol.neg h3::before{background:var(--red)}
.tcol ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.tcol li{display:flex;gap:10px;font-size:13.5px;color:var(--text-2);line-height:1.7}
.tcol li .mk{flex:none;width:14px;font-size:12px;color:var(--green);line-height:1.75}
.tcol.neg li .mk{color:var(--red)}
.tcol li b{font-weight:600;color:#fff}
.tnote{margin-top:20px;padding-top:16px;border-top:1px solid var(--line);font-size:12px;line-height:1.75;color:var(--muted)}

/* bao */
.bao{background:linear-gradient(180deg,#141821,#0b0e11);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.bao .wrap{display:grid;grid-template-columns:.72fr 1.28fr;gap:56px;align-items:center;padding-top:64px;padding-bottom:64px}
.bao img{width:300px;max-width:100%;filter:drop-shadow(0 18px 46px rgba(0,0,0,.7))}
.bao h2{margin:12px 0 14px}
.bao p{color:var(--text-2);font-size:14.5px;line-height:1.85;margin:0;max-width:52ch}

/* seller requirements */
.reqs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.req{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:24px 24px 26px;transition:border-color .18s}
.req:hover{border-color:rgba(240,185,11,.5)}
.req .no{font-size:12px;color:var(--yellow);font-weight:600;letter-spacing:.04em}
.req h4{margin:10px 0 8px;font-size:16px;font-weight:600;color:#fff}
.req p{margin:0;color:var(--muted);font-size:13px;line-height:1.75}
.req .tag{margin-top:14px;display:inline-block;font-size:10.5px;letter-spacing:.04em;color:var(--text-2);background:var(--panel-3);border-radius:2px;padding:3px 8px}
.merchant-note{margin-top:36px;display:grid;grid-template-columns:180px 1fr;gap:32px;align-items:start}
.merchant-note p{margin:0;color:var(--text-2);font-size:14px;line-height:1.85;max-width:66ch}

/* faq */
.faq{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.faq details{border-bottom:1px solid var(--line)}
.faq details:last-child{border-bottom:0}
.faq summary{
  cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:24px;align-items:baseline;
  padding:18px 24px;font-size:15px;font-weight:500;color:#fff;
}
.faq summary:hover{background:var(--panel-2)}
.faq summary::-webkit-details-marker{display:none}
.faq summary .pm{font-size:16px;color:var(--muted);flex:none}
.faq details[open] summary .pm{color:var(--yellow)}
.faq p{margin:0;padding:0 24px 20px;color:var(--muted);font-size:13.5px;line-height:1.8;max-width:78ch}

/* empty marketplace state */
.empty{
  padding:72px 24px 76px;display:flex;flex-direction:column;align-items:center;text-align:center;
}
.empty-ico{
  width:46px;height:46px;border-radius:50%;background:rgba(240,185,11,.09);
  display:flex;align-items:center;justify-content:center;color:var(--yellow);margin-bottom:18px;
}
.empty h4{margin:0 0 8px;font-size:17px;font-weight:600;color:#fff}
.empty p{margin:0 0 20px;font-size:13.5px;line-height:1.85;color:var(--muted);max-width:44ch}

/* risk notice */
.risk{background:var(--bg-2);border-top:1px solid var(--line);padding:44px 0}
.risk-card{
  display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start;
  background:var(--panel);border:1px solid var(--line);border-left:3px solid var(--yellow);
  border-radius:var(--r);padding:22px 26px;
}
.risk-ico{
  width:34px;height:34px;border-radius:50%;background:rgba(240,185,11,.1);
  display:flex;align-items:center;justify-content:center;color:var(--yellow);flex:none;
}
.risk-txt h5{margin:0 0 6px;font-size:15px;font-weight:600;color:#fff;letter-spacing:.01em}
.risk-txt p{margin:0;font-size:13px;line-height:1.9;color:var(--text-2);max-width:86ch}
.risk a{color:var(--yellow)}
.risk a:hover{color:var(--yellow-h);text-decoration:underline;text-underline-offset:2px}

/* footer */
footer{background:var(--panel);border-top:1px solid var(--line);padding:56px 0 32px}
.f-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px}
.f-brand p{color:var(--muted);font-size:12.5px;line-height:1.85;margin:14px 0 0;max-width:34ch}
.f-col h5{margin:0 0 14px;font-size:12px;color:#fff;font-weight:600;letter-spacing:.02em}
.f-col a{display:block;color:var(--muted);font-size:13px;padding:5px 0;transition:color .16s}
.f-col a:hover{color:var(--yellow)}
.f-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);margin-top:44px;padding-top:20px;font-size:11.5px;color:var(--muted);flex-wrap:wrap}

/* ---------- legal pages ---------- */
.doc{padding:56px 0 88px}
.doc-head{max-width:70ch;margin-bottom:40px}
.doc-head h1{font-size:clamp(28px,3.2vw,40px);margin:12px 0 0}
.doc-head .meta{font-size:12px;color:var(--muted);margin-top:14px}
.doc-body{max-width:76ch}
.doc-body h2{font-size:18px;margin:40px 0 12px;padding-top:22px;border-top:1px solid var(--line);color:#fff}
.doc-body h3{font-size:14px;margin:24px 0 6px;font-weight:600;color:#fff}
.doc-body p,.doc-body li{color:var(--text-2);font-size:14px;line-height:1.9}
.doc-body ul,.doc-body ol{padding-left:20px;margin:10px 0 18px}
.doc-body li{margin-bottom:8px}
.doc-body .callout{border-left:2px solid var(--yellow);background:var(--panel);padding:18px 22px;margin:26px 0;border-radius:0 var(--r) var(--r) 0}
.doc-body .callout p{margin:0;font-size:13px;color:var(--text-2)}
.doc-body code{font-family:var(--mono);font-size:12.5px;background:var(--panel-3);border-radius:2px;padding:1px 6px;color:var(--yellow)}
.doc-body table{width:100%;border-collapse:collapse;margin:18px 0}
.doc-body table th{background:var(--panel-2);text-align:left;font-weight:500;font-size:12.5px;padding:11px 12px;border-bottom:1px solid var(--line);color:var(--text)}
.doc-body table td{padding:12px;border-bottom:1px solid var(--line);font-size:13px;color:var(--text-2);vertical-align:top}
.toc{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 32px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.toc a{font-size:12.5px;color:var(--muted)}
.toc a:hover{color:var(--yellow)}

/* toast */
#toast{
  position:fixed;left:50%;bottom:28px;transform:translate(-50%,12px);
  background:var(--panel-2);color:var(--text);border:1px solid var(--line-2);padding:12px 18px;border-radius:var(--r);
  font-size:13px;opacity:0;pointer-events:none;transition:all .22s ease;z-index:60;max-width:88vw;
  box-shadow:0 12px 32px rgba(0,0,0,.45);
}
#toast.on{opacity:1;transform:translate(-50%,0)}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .wrap{padding:0 20px}
  .hero-grid,.bao .wrap,.merchant-note{grid-template-columns:1fr;gap:28px}
  .hero{padding:52px 0 48px}
  .hero-art{margin-top:6px}
  .hero-art img{width:300px;max-width:100%}
  .hero-art .cap{display:none}
  .facts .wrap{grid-template-columns:1fr 1fr}
  .fact{border-left:0;padding-left:0}
  .steps{grid-template-columns:1fr 1fr}
  .row{grid-template-columns:44px 1fr 110px;gap:16px;padding:14px 18px}
  .row .seller{display:none}
  .list-head{grid-template-columns:1fr 110px;padding:12px 18px}
  .list-head span:nth-child(2){display:none}
  .split2{grid-template-columns:1fr}
  .reqs{grid-template-columns:1fr}
  .sec{padding:64px 0}
  .f-grid{grid-template-columns:1fr 1fr;gap:28px}
  .ticker .wrap{height:40px}
  .tk:nth-child(4){display:none}
}
@media (max-width:680px){
  .links{display:none}
  .nav{height:58px}
  h1{font-size:32px}
  .hero-art img{width:240px;max-width:100%}
  .steps{grid-template-columns:1fr}
  .row{grid-template-columns:1fr auto;padding:14px 16px}
  .row .thumb{display:none}
  .list-head{grid-template-columns:1fr auto}
  .f-grid{grid-template-columns:1fr}
  .ticker .wrap{gap:0}
  .tk{padding:0 14px;font-size:12px}
  .tk:nth-child(3){display:none}
}
