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

:root{
  --bg:#000;
  --panel:#080d09;
  --panel2:#0b110c;
  --line:#26362a;
  --line2:#304332;
  --cream:#f8f5dc;
  --muted:#8e9c8a;
  --green:#d8f58b;
  --green2:#b9dd68;
  --lime:#d9f58b;
  --input:#101711;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#000;color:var(--cream);font-family:"DM Sans",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{overflow-x:hidden}
button,input,textarea,select{font:inherit}
button,a{color:inherit}
a{text-decoration:none}
button{cursor:pointer}

.topbar{
  height:82px;
  padding:0 40px;
  display:flex;
  align-items:center;
  gap:54px;
  background:#000;
  position:sticky;
  top:0;
  z-index:20;
}
.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700;white-space:nowrap}
.avo-logo-img{width:27px;height:34px;display:block;object-fit:contain}

.nav{display:flex;gap:37px;font-size:16px;color:#9eab9b;height:100%;align-items:center}
.nav a{position:relative}
.nav a.active{color:var(--cream)}
.nav a.active:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green);position:absolute;left:-15px;top:50%;transform:translateY(-50%)}

.nav-actions{margin-left:auto;display:flex;align-items:center;gap:9px}
.x-btn{width:45px;height:45px;border:1px solid #26372a;border-radius:13px;display:grid;place-items:center}
.x-btn svg{width:19px;height:19px;fill:#dfe5d6}
.wallet-btn{height:45px;padding:0 24px;border:0;border-radius:13px;background:var(--green);color:#080b05;font-weight:700;font-size:16px}

.page{width:100%}
.hero{
  padding:113px 40px 0;
  max-width:1400px;
  margin:auto;
}
.hero-grid{display:grid;grid-template-columns:1.5fr .75fr;gap:100px;align-items:start}
.hero h1{font-size:76px;line-height:.99;letter-spacing:-4px;margin:16px 0 0;font-weight:700;max-width:760px}
.hero h1 .lime{color:var(--green)}
.hero-copy{padding-top:17px;color:#a5b39d;font-size:17px;line-height:1.55;max-width:420px}
.hero-buttons{display:flex;gap:9px;margin-top:22px}
.primary-btn,.secondary-btn{height:51px;border-radius:12px;padding:0 45px;font-weight:700;border:1px solid #2d3b2e;display:flex;
  align-items:center;justify-content:center;text-align:center;
}
.primary-btn{background:var(--green);color:#0a0e07}
.secondary-btn{background:#000;color:var(--cream);padding:0 45px}

.pair-card{
  margin-top:40px;border:1px solid #27382b;border-radius:22px;min-height:121px;
  background:#050905;display:flex;align-items:center;padding:25px 22px;
}
.plus-token{width:59px;height:59px;border:1px dashed #8cab45;border-radius:50%;display:grid;place-items:center;color:var(--cream);font-size:29px;margin-right:16px}
.token-left{display:flex;align-items:center;min-width:0}
.token-symbol{font-size:46px;font-weight:600;color:#83947c;letter-spacing:-2px}
.slash{font-size:54px;font-weight:300;margin:0 22px;color:#dce99b}
.coin-round{width:58px;height:58px;border-radius:50%;border:1px solid #263d2d;background:radial-gradient(circle at 50% 50%,#263b2d,#0a1710);display:grid;place-items:center;font-size:22px}
.token-label{display:block;color:#899688;font-size:14px;margin-top:-5px}
.token-choices{margin-left:auto;display:flex;align-items:center;gap:7px}
.mini-coin{width:36px;height:36px;border-radius:50%;border:1px solid #334132;background:#e9e3d2;display:grid;place-items:center;font-size:17px}
.mini-coin.active{outline:2px solid #d8f58b;outline-offset:1px}
.segment{height:38px;border:1px solid #31412f;border-radius:9px;display:flex;overflow:hidden;margin-left:10px}
.segment button{padding:0 13px;border:0;background:#000;color:#9aa894}
.segment button.active{background:var(--green);color:#11170b;font-weight:700}

.board-tools{
  max-width:1400px;margin:66px auto 0;padding:0 40px;display:flex;align-items:center;border-bottom:1px solid #1d2a20;padding-bottom:14px;
}
.search{height:37px;width:300px;border:1px solid #2a3a2d;border-radius:8px;background:#0d130e;color:#9ca996;padding:0 12px 0 38px;position:relative}
.search-wrap{position:relative}
.search-wrap:before{content:"⌕";position:absolute;left:12px;top:5px;color:#94a18e;font-size:20px;z-index:1}
.filters{display:flex;gap:30px;margin-left:16px;color:#9baa95;font-size:14px}
.filter-active{height:37px;border:1px solid #2c3b2e;border-radius:8px;padding:0 13px;display:flex;align-items:center;gap:7px;background:#0d130e;color:var(--cream)}
.filter-active:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green)}
.board-right{margin-left:auto;display:flex;align-items:center;gap:17px;color:#9ba995;font-size:13px}
.sort{height:37px;border:1px solid #2a3a2d;border-radius:9px;background:#000;color:var(--cream);padding:0 13px}

.token-grid{max-width:1400px;margin:23px auto 80px;padding:0 40px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.token-card{border:1px solid #26372b;border-radius:18px;overflow:hidden;background:#070c08;min-height:280px}
.token-art{height:170px;background:linear-gradient(145deg,#123d23,#071008);display:grid;place-items:center;font-size:70px}
.token-card-body{padding:14px 16px}.new-badge{display:inline-flex;gap:6px;padding:5px 9px;border-radius:999px;background:#0a100b;color:var(--green);font-size:12px}.new-badge:before{content:"";width:5px;height:5px;background:var(--green);border-radius:50%;margin-top:4px}.token-card-title{font-size:19px;font-weight:700;margin-top:11px}.token-card-meta{font-size:13px;color:#7e8d7b;margin-top:3px}

.launch-page{max-width:1400px;margin:0 auto;padding:99px 40px 80px}
.back{font-size:14px;color:#a7b49f;margin-bottom:25px;display:inline-block}
.launch-title{font-size:49px;letter-spacing:-2.3px;margin:0 0 8px}
.launch-sub{color:#a7b39f;font-size:17px;line-height:1.5;max-width:590px;margin:0}
.divider{height:1px;background:#263328;margin:36px 0 36px}
.launch-layout{display:grid;grid-template-columns:minmax(0,800px) 400px;gap:70px}
.step{border-bottom:1px solid #253127;padding:0 0 34px;margin-bottom:34px}
.step-head{display:grid;grid-template-columns:64px 1fr;gap:0}
.step-num{font-size:13px;color:#9bd34b;padding-top:5px}
.step-title{font-size:20px;font-weight:700;margin:0 0 3px}
.step-help{color:#8f9e8b;font-size:14px;margin-bottom:23px}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field label{display:flex;justify-content:space-between;font-size:13px;font-weight:700;margin-bottom:10px}
.counter{font-weight:400;color:#b7c4af;font-size:12px}
.input,.textarea{width:100%;border:1px solid #2d3d30;background:#101611;border-radius:11px;color:var(--cream);outline:none}
.input{height:49px;padding:0 14px}
.textarea{height:104px;padding:14px;resize:vertical}
.input:focus,.textarea:focus{border-color:#5f7849}
.preview-wrap{position:sticky;top:105px;height:max-content}
.preview-labels{display:flex;justify-content:space-between;color:#8e9c8a;font-size:13px;font-weight:700;margin-bottom:19px}
.preview-card{border:1px solid #26372b;border-radius:18px;background:#080d09;min-height:380px;padding:18px;display:flex;flex-direction:column}
.preview-badge{align-self:flex-start}
.art-placeholder{flex:1;display:grid;place-items:center;color:#687665;font-size:14px;min-height:260px}
.art-placeholder .icon{font-size:32px;display:block;text-align:center;margin-bottom:8px;opacity:.8}
.art-upload{border:1px dashed #344635;border-radius:11px;min-height:130px;margin-top:10px;display:grid;place-items:center;color:#7f8e7b}
.launch-next{height:48px;border:1px solid #31432e;background:var(--green);color:#0b1007;border-radius:11px;padding:0 30px;font-weight:700}

.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.74);z-index:100;display:grid;place-items:center}
.modal-backdrop[hidden]{display:none}
.wallet-modal{width:405px;max-height:calc(100vh - 90px);overflow:auto;background:#070c08;border:1px solid #26372b;border-radius:19px;padding:10px 14px 18px;box-shadow:0 30px 90px rgba(0,0,0,.7)}
.modal-head{display:flex;align-items:center;justify-content:space-between}
.modal-title-wrap{display:flex;align-items:center;gap:12px}
.modal-title-wrap h2{font-size:18px;margin:0}
.small-avo-img{width:40px;height:40px;object-fit:contain;border-radius:13px;border:1px solid #2e3e31;background:#0c1710;padding:7px}
.close-modal{border:0;background:none;color:#8e9a88;font-size:25px}
.modal-subtitle{font-size:14px;color:#a7b39f;margin:2px 0 16px}
.wallet-list{display:flex;flex-direction:column;gap:6px}
.wallet-item{height:59px;border:1px solid #27372b;border-radius:14px;background:#0a100b;color:var(--cream);display:flex;align-items:center;text-align:left;padding:0 10px;gap:12px}
.wallet-item:hover{background:#101811;border-color:#49603f}
.wallet-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;font-size:21px;background:#d5ff00;color:#152000}
.wallet-icon.mm{background:#f1f1f1}.wallet-icon.cb{background:#2877ff;color:white}.wallet-icon.rab{background:#9aa6ff;color:white}.wallet-icon.ph{background:#a6a0f4;color:white}.wallet-icon.wc{background:#48a2ff;color:white}.wallet-icon.em{background:#d5ef9b;color:#14220c}
.wallet-item span:nth-child(2){font-weight:700;font-size:16px}
.wallet-item b{margin-left:auto;font-size:25px;font-weight:400;color:#71806e}
.qr{margin-left:auto;border:1px solid #35452f;border-radius:7px;padding:3px 7px;font-size:11px;color:#b8c5ae}
.wallet-note{border-top:1px solid #202c22;margin-top:13px;padding-top:15px;text-align:center;color:#899688;font-size:12px}

@media (max-width:1000px){
  .topbar{padding:0 22px;gap:28px}
  .hero,.board-tools,.token-grid,.launch-page{padding-left:22px;padding-right:22px}
  .hero-grid{grid-template-columns:1fr;gap:30px}.hero h1{font-size:58px}
  .launch-layout{grid-template-columns:1fr}.preview-wrap{position:relative;top:auto}
  .token-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:650px){
  .topbar{height:72px;padding:0 16px}.brand{font-size:17px}.nav{gap:20px;font-size:14px}.x-btn{display:none}.wallet-btn{padding:0 13px;font-size:13px}
  .hero{padding-top:65px}.hero h1{font-size:43px;letter-spacing:-2px}.hero-copy{font-size:15px}
  .pair-card{overflow:hidden}.token-symbol{font-size:29px}.slash{font-size:40px;margin:0 10px}.token-choices{display:none}
  .board-tools{flex-wrap:wrap;gap:10px}.filters{order:3;margin-left:0;width:100%;overflow:auto}.board-right{margin-left:auto}
  .search{width:210px}.token-grid{grid-template-columns:1fr;padding-top:0}
  .launch-page{padding-top:55px}.launch-title{font-size:39px}.fields{grid-template-columns:1fr}.wallet-modal{width:calc(100vw - 28px)}
}

/* ===== Mobile precision pass ===== */
@media (max-width: 720px){
  .topbar{height:68px;padding:0 16px;gap:22px}
  .brand{font-size:17px}.brand .avo-logo-img{width:23px;height:30px}
  .nav{gap:18px;font-size:14px}
  .nav-actions{gap:6px}.x-btn{width:40px;height:40px}.wallet-btn{height:40px;padding:0 14px;font-size:13px}
  .hero{padding-top:60px}.hero h1{font-size:47px;line-height:.97;letter-spacing:-2.8px}
  .hero-grid{gap:28px}.hero-copy{font-size:15px;line-height:1.5;padding-top:0}
  .hero-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.primary-btn,.secondary-btn{height:49px;padding:0 8px;font-size:13px}
  .pair-card{margin-top:30px;min-height:125px;height:auto;padding:17px 13px;overflow:hidden}
  .plus-token{width:48px;height:48px;margin-right:10px}.token-symbol{font-size:31px}.slash{font-size:40px;margin:0 9px}.coin-round{width:47px;height:47px}.token-choices{display:none}
  .board-tools{margin-top:45px;height:auto;min-height:100px;padding-bottom:13px;display:grid;grid-template-columns:1fr auto;gap:9px}
  .search-wrap{grid-column:1/-1}.search{width:100%;height:38px}.filters{grid-column:1/-1;overflow-x:auto;gap:20px;font-size:12px;margin-left:0;padding-bottom:2px}.board-right{grid-column:2;grid-row:3;margin-left:0;font-size:11px}.board-right>span{display:none}.sort{height:36px}
  .token-grid{grid-template-columns:1fr;margin-top:18px;padding-left:16px;padding-right:16px}.token-art{height:190px}
  .launch-page{padding:54px 16px 70px}.launch-title{font-size:40px;letter-spacing:-2px}.launch-sub{font-size:15px}.launch-sub br{display:none}.divider{margin:29px 0}
  .launch-layout{grid-template-columns:1fr;gap:35px}.step-head{grid-template-columns:43px 1fr}.fields{grid-template-columns:1fr;gap:17px}.step{padding-bottom:28px;margin-bottom:28px}.preview-wrap{position:relative;top:auto}.preview-labels{font-size:11px}.preview-card{min-height:340px}
  .wallet-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.wallet-item{height:56px}.wallet-item span:nth-child(2){font-size:15px}
}
@media (max-width:430px){
  .x-btn{display:none}.nav{gap:15px}.nav a.active:before{display:none}.wallet-btn{padding:0 12px}
  .hero h1{font-size:41px}.pair-card{margin-top:27px}.token-symbol{font-size:28px}  .board-right{display:flex}
}

/* Single-token board card */
.pair.single-token{justify-content:flex-start}
.pair.single-token .choices{margin-left:auto}
@media(max-width:720px){.pair.single-token .token-name{font-size:32px}}

/* User-requested single-token pair */
.pair-card.single-token{justify-content:flex-start}
.pair-card.single-token .token-choices{margin-left:auto}
.pair-card.single-token .slash,.pair-card.single-token .token-left{display:none}
@media(max-width:650px){.pair-card.single-token .token-symbol{font-size:32px}}
