/* ==========================================================================
   DashEx — instant swap. Flat, restrained, information-dense design system.
   ========================================================================== */

:root{
  --bg: #060608;
  --surface: #0d0e12;
  --surface-2: #15161c;
  --surface-hover: #1b1c24;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --text: #f2f4f9;
  --text-dim: #9a9ea9;
  --text-faint: #5b5f6c;
  --accent: #2f7cff;
  --accent-hover: #5b9bff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(47,124,255,0.12);
  --up: #29c17e;
  --down: #ef5757;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Inter Tight', var(--font);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* subtle film-grain texture instead of glow blobs */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
input{ font-family: inherit; }
h1,h2,h3,h4{ font-family: var(--font-head); letter-spacing: -0.02em; }

::selection{ background: var(--accent); color: var(--accent-ink); }
::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-track{ background: transparent; }
::-webkit-scrollbar-thumb{ background: var(--border-strong); border-radius: 10px; }

.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mono{ font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-size: 14px; font-weight: 600;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover{ background: var(--accent-hover); }
.btn-primary:disabled{ opacity: 0.4; cursor: not-allowed; }
.btn-ghost{ background: var(--surface-2); border-color: var(--border); color: var(--text); }
.btn-ghost:hover{ border-color: var(--border-strong); background: var(--surface-hover); }
.btn-outline{ background: none; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover{ background: var(--surface-2); }
.btn-sm{ padding: 8px 14px; font-size: 13px; }
.btn-block{ width: 100%; }
.btn-link{ font-size: 13.5px; color: var(--text-dim); font-weight: 500; }
.btn-link:hover{ color: var(--text); }

/* ---------- nav ---------- */
.topbar{
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  font-size: 12.5px;
  color: var(--text-faint);
}
.topbar-inner{ display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a{ color: var(--text-faint); }
.topbar a:hover{ color: var(--text-dim); }
.topbar-links{ display: flex; gap: 20px; }

.nav{
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,12,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner{ display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand{ display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.brand-mark{ display: flex; align-items: center; flex-shrink: 0; }
.brand-mark img{ height: 30px; width: auto; display: block; }
.nav-inner .brand{ gap: 10px; font-size: 22px; }
.nav-inner .brand-mark img{ height: 42px; }

.nav-links{ display: flex; align-items: center; gap: 2px; }
.nav-links a{
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--text-dim); transition: color .15s ease, background .15s ease;
}
.nav-links a:hover{ color: var(--text); background: var(--surface-2); }
.nav-actions{ display: flex; align-items: center; gap: 10px; }
.nav-toggle{
  display: none; width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface-2);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width: 16px; height: 1.5px; background: var(--text); position: relative;
}
.nav-toggle span::before{ position:absolute; top:-5px; }
.nav-toggle span::after{ position:absolute; top:5px; }

/* ---------- hero ---------- */
.hero{ padding: 56px 0 40px; }
.hero-head{ text-align: center; max-width: 600px; margin: 0 auto 36px; }
.eyebrow{
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-dim); margin-bottom: 18px;
}
.eyebrow .dot{ width:5px; height:5px; border-radius:50%; background: var(--up); }
.hero h1{ font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.12; font-weight: 700; margin: 0 0 14px; }
.hero p.lead{ font-size: 16px; color: var(--text-dim); line-height: 1.6; margin: 0; }

/* ---------- swap widget ---------- */
.swap-wrap{ max-width: 460px; margin: 0 auto; }
.swap-card{
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 6px;
}
.swap-mode{ display: flex; gap: 4px; padding: 6px 6px 10px; }
.swap-mode button{
  flex: 1; background: none; border: none; padding: 9px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--text-faint);
}
.swap-mode button.active{ background: var(--surface-2); color: var(--text); }
.swap-mode .hint{ font-size: 11px; color: var(--text-faint); font-weight: 400; display:block; margin-top:1px; }

.swap-row{
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; margin: 4px 6px;
}
.swap-row-head{ display: flex; justify-content: space-between; font-size: 12px; color: var(--text-faint); margin-bottom: 8px; }
.swap-row-main{ display: flex; align-items: center; gap: 10px; min-width: 0; }
.swap-row-main input{
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: var(--text); font-size: 22px; font-weight: 600; font-family: var(--font-head);
  font-variant-numeric: tabular-nums;
}
.swap-row-main input::placeholder{ color: var(--text-faint); }
.swap-row-main input:disabled{ color: var(--text-dim); }
.swap-row-sub{ font-size: 12px; color: var(--text-faint); margin-top: 6px; }

.swap-row-main .amt-main{
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: var(--text); font-size: 28px; font-weight: 600; font-family: var(--font-head);
  font-variant-numeric: tabular-nums;
}
.swap-row-main .amt-main::placeholder{ color: var(--text-faint); }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
input[type="number"]{ -moz-appearance: textfield; }

.coin-btn{
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--surface-hover); border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 6px 12px 6px 6px; color: var(--text); font-family: inherit;
}
.coin-btn:hover{ border-color: var(--accent); }
.coin-btn img, .coin-tile img, .coin-opt img{ filter: brightness(1.12); }
.coin-btn img, .coin-btn .coin-fallback{ width: 22px; height: 22px; border-radius: 50%; }
.coin-btn .coin-fallback{
  display:flex; align-items:center; justify-content:center;
  background: var(--surface-2); font-size: 9px; font-weight: 700; color: var(--text-dim);
}
.coin-btn .ct{ display:flex; flex-direction:column; align-items:flex-start; line-height:1.15; }
.coin-btn .ct b{ font-size: 13.5px; font-weight: 700; }
.coin-btn .ct span{ font-size: 10.5px; color: var(--text-faint); }
.coin-btn svg.chev{ color: var(--text-faint); margin-left: 2px; }

.swap-divider{ display: flex; align-items: center; justify-content: center; margin: -2px 0; position: relative; height: 0; }
.swap-flip{
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); position: relative; z-index: 2;
  transition: transform .18s ease, color .15s ease, border-color .15s ease;
}
.swap-flip:hover{ color: var(--accent); border-color: var(--accent); }
.swap-flip.spin{ transform: rotate(180deg); }

.rate-line{
  display: flex; align-items: center; justify-content: space-between;
  margin: 10px 6px; padding: 12px 14px; font-size: 12.5px; color: var(--text-dim);
  background: var(--surface-hover); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
}
.rate-line .refresh{ display: flex; align-items: center; gap: 6px; }
.refresh-ring{ width: 13px; height: 13px; }
.refresh-ring circle{ fill:none; stroke: var(--border-strong); stroke-width: 2; }
.refresh-ring .bar{ stroke: var(--accent); stroke-linecap: round; transform-origin: center; transform: rotate(-90deg); transition: stroke-dashoffset 1s linear; }

@keyframes rate-flash{
  0%{ opacity: 0; transform: translateY(3px); }
  100%{ opacity: 1; transform: translateY(0); }
}
#rate-text.flash{ animation: rate-flash .35s ease; display: inline-block; }

.swap-actions{ padding: 6px 6px 6px; }

.swap-stage2{ padding: 4px 6px 6px; }
.field{ margin: 8px 0 12px; }
.field label{ display:flex; justify-content: space-between; font-size: 12px; color: var(--text-faint); margin-bottom: 6px; }
.field .input-wrap{
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 12px;
}
.field .input-wrap:focus-within{ border-color: var(--border-strong); }
.field input{ flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 14px; }
.field small{ display:block; color: var(--text-faint); font-size: 11.5px; margin-top: 5px; }
.check-row{ display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--text-dim); margin: 12px 2px 14px; line-height:1.5; }
.check-row input{ margin-top: 2px; accent-color: var(--accent); }
.stage-back{ display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-dim); padding: 6px 0 10px; }
.stage-back:hover{ color: var(--text); }

.swap-foot{ display:flex; justify-content:center; gap: 16px; padding: 10px 4px 4px; font-size: 12px; color: var(--text-faint); }
.swap-foot span{ display:flex; align-items:center; gap:5px; }

/* ---------- reserves strip ---------- */
.reserves{
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; white-space: nowrap; position: relative; background: var(--surface);
}
.reserves::before, .reserves::after{ content:""; position:absolute; top:0; bottom:0; width: 70px; z-index: 2; pointer-events:none; }
.reserves::before{ left:0; background: linear-gradient(90deg, var(--surface), transparent); }
.reserves::after{ right:0; background: linear-gradient(270deg, var(--surface), transparent); }
.reserves-track{ display: inline-flex; gap: 44px; padding: 13px 24px; animation: rtrack 34s linear infinite; }
.reserves:hover .reserves-track{ animation-play-state: paused; }
@keyframes rtrack{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }
.reserve-item{ display:inline-flex; align-items:center; gap:8px; font-size: 12.5px; color: var(--text-dim); }
.reserve-item b{ color: var(--text); font-weight:600; }
.reserve-item .r-usd{ color: var(--text-faint); }

/* ---------- sections ---------- */
.section{ padding: 72px 0; }
.section-tight{ padding: 44px 0; }
.section-head{ margin: 0 0 36px; }
.section-head h2{ font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; margin: 0 0 8px; }
.section-head p{ color: var(--text-dim); font-size: 14.5px; margin:0; max-width: 520px; }
.section-head.center{ text-align: center; margin-left:auto; margin-right:auto; }
.section-head.center p{ margin-left:auto; margin-right:auto; }

.hr{ border: none; border-top: 1px solid var(--border); margin: 0; }

/* how it works */
.steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.step{ background: var(--surface); padding: 26px; }
.step-num{ font-family: var(--font-head); font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.step h3{ font-size: 15.5px; font-weight: 700; margin: 0 0 8px; }
.step p{ font-size: 13.5px; color: var(--text-dim); line-height: 1.6; margin: 0; }

/* supported coins */
.coin-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.coin-tile{
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 10px; display:flex; flex-direction:column; align-items:center; gap:8px;
}
.coin-tile img, .coin-tile .coin-fallback{ width: 28px; height: 28px; border-radius: 50%; }
.coin-tile .coin-fallback{ display:flex;align-items:center;justify-content:center; background:var(--surface-2); font-size:10px; font-weight:700; color:var(--text-dim); }
.coin-tile span{ font-size: 11.5px; color: var(--text); font-weight: 600; }

/* trust / security */
.trust-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-item{ padding: 0; }
.trust-item .ti-icon{ color: var(--accent); margin-bottom: 12px; }
.trust-item h3{ font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.trust-item p{ font-size: 13.5px; color: var(--text-dim); line-height: 1.6; margin: 0; }

/* faq */
.faq{ border-top: 1px solid var(--border); }
.faq-item{ border-bottom: 1px solid var(--border); }
.faq-q{
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.faq-q svg{ color: var(--text-faint); transition: transform .2s ease; flex-shrink: 0; }
.faq-item.open .faq-q svg{ transform: rotate(45deg); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a{ max-height: 260px; }
.faq-a p{ padding: 0 4px 18px; margin: 0; font-size: 13.5px; color: var(--text-dim); line-height: 1.65; max-width: 640px; }

/* stat row */
.stat-row{ display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-row > div{ padding: 22px; border-right: 1px solid var(--border); }
.stat-row > div:last-child{ border-right: none; }
.stat-row b{ display:block; font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.stat-row span{ font-size: 12px; color: var(--text-faint); }

/* ---------- footer ---------- */
.footer{ border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-grid{ display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; padding-bottom: 36px; }
.footer-brand p{ color: var(--text-faint); font-size: 13.5px; line-height: 1.6; margin: 12px 0 0; max-width: 260px; }
.footer h4{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); margin: 0 0 14px; }
.footer ul li{ margin-bottom: 9px; }
.footer ul a{ color: var(--text-dim); font-size: 13.5px; }
.footer ul a:hover{ color: var(--text); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 12.5px;
}
.social{ display: flex; gap: 8px; }
.social a{ width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display:flex; align-items:center; justify-content:center; color: var(--text-dim); }
.social a:hover{ color: var(--text); border-color: var(--border-strong); }
.disclaimer{ font-size: 12px; color: var(--text-faint); line-height: 1.65; border-top: 1px dashed var(--border); margin-top: 22px; padding-top: 18px; }

/* ---------- admin table ---------- */
.admin-table{ width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--surface); }
.admin-table th{
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-faint); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td{ padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.admin-table tr:last-child td{ border-bottom: none; }
.admin-table tr:hover td{ background: var(--surface-hover); }

/* ---------- coin dropdown modal ---------- */
.modal-backdrop{
  position: fixed; inset: 0; background: rgba(6,6,7,0.7); z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.modal-backdrop.show{ opacity: 1; pointer-events: auto; }
.coin-modal{
  width: 100%; max-width: 380px; max-height: 72vh; display: flex; flex-direction: column;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius);
  transform: translateY(8px); transition: transform .15s ease;
}
.modal-backdrop.show .coin-modal{ transform: translateY(0); }
.coin-modal-head{ padding: 14px 14px 10px; border-bottom: 1px solid var(--border); }
.coin-modal-head .search{
  display:flex; align-items:center; gap:8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 9px 12px; color: var(--text-faint);
}
.coin-modal-head .search input{ background:none; border:none; outline:none; color:var(--text); font-size:14px; width:100%; }
.coin-modal-list{ overflow-y: auto; padding: 6px; }
.coin-opt{
  display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: none;
  padding: 9px 10px; border-radius: var(--radius-sm); color: var(--text); text-align: left;
}
.coin-opt:hover{ background: var(--surface-hover); }
.coin-opt img, .coin-opt .coin-fallback{ width: 26px; height: 26px; border-radius: 50%; }
.coin-opt .coin-fallback{ display:flex;align-items:center;justify-content:center; background:var(--surface); font-size:9px; font-weight:700; color:var(--text-dim); }
.coin-opt .co-name{ font-size: 13.5px; font-weight: 600; }
.coin-opt .co-sub{ font-size: 11.5px; color: var(--text-faint); }
.coin-opt-price{ margin-left: auto; font-size: 12px; color: var(--text-faint); }

/* ---------- order page ---------- */
.order-shell{ max-width: 640px; margin: 0 auto; padding: 40px 0 80px; }
.order-id-row{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
.order-id-row h1{ font-size: 19px; margin: 0; }
.order-id-row .oid{ color: var(--text-faint); font-size: 13px; }

.tracker{ display: flex; margin-bottom: 28px; }
.tracker-step{ flex: 1; text-align: center; position: relative; }
.tracker-step::before{
  content:""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--border); z-index: 0;
}
.tracker-step:first-child::before{ display: none; }
.tracker-step.done::before{ background: var(--accent); }
.tracker-dot{
  width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; position: relative; z-index: 1;
  font-size: 11px; font-weight: 700; color: var(--text-faint);
}
.tracker-step.done .tracker-dot{ background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tracker-step.active .tracker-dot{ border-color: var(--accent); color: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ box-shadow: 0 0 0 0 var(--accent-soft);} 50%{ box-shadow: 0 0 0 6px var(--accent-soft);} }
.tracker-step span{ font-size: 11.5px; color: var(--text-faint); }
.tracker-step.done span, .tracker-step.active span{ color: var(--text-dim); }

.demo-banner{
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(47,124,255,0.08); border: 1px solid rgba(47,124,255,0.35); border-radius: var(--radius-sm);
  padding: 13px 15px; font-size: 13px; color: #8fc1ff; line-height: 1.55; margin-bottom: 20px;
}
.demo-banner svg{ flex-shrink: 0; margin-top: 2px; }
.demo-banner b{ color: var(--accent); }

.order-panel{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.order-panel h4{ font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); margin: 0 0 14px; font-weight: 700; }
.op-row{ display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.op-row:last-child{ border-bottom: none; }
.op-row .k{ font-size: 13px; color: var(--text-dim); }
.op-row .v{ font-size: 13.5px; font-weight: 600; text-align: right; }

.addr-box{
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; margin: 10px 0;
}
.addr-box code{ flex: 1; font-size: 13px; word-break: break-all; color: var(--text); font-family: 'SFMono-Regular', Consolas, monospace; }
.copy-btn{ flex-shrink:0; width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); display:flex; align-items:center; justify-content:center; color: var(--text-dim); }
.copy-btn:hover{ color: var(--text); border-color: var(--border-strong); }
.copy-btn.copied{ color: var(--up); border-color: var(--up); }

.qr-wrap{ display: flex; justify-content: center; padding: 14px 0 6px; }
.qr-wrap #qrcode{ background: #fff; padding: 10px; border-radius: 10px; }

.expiry{ display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-faint); margin-top: 8px; }
.expiry b{ color: var(--text-dim); font-family: var(--font-head); }

/* ---------- toast ---------- */
.toast{
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(16px);
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text);
  padding: 13px 18px; border-radius: var(--radius-sm); font-size: 13.5px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none; transition: all .22s ease; z-index: 999;
  display:flex; align-items:center; gap: 9px; max-width: 90vw;
}
.toast.show{ opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .dot{ width:7px; height:7px; border-radius:50%; background: var(--accent); flex-shrink:0; }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .steps{ grid-template-columns: 1fr; }
  .trust-grid{ grid-template-columns: 1fr; }
  .coin-grid{ grid-template-columns: repeat(4,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .stat-row{ grid-template-columns: 1fr 1fr; }
  .stat-row > div:nth-child(2){ border-right:none; }
}
@media (max-width: 700px){
  .nav-links{ display: none; }
  .nav-toggle{ display: flex; }
  .topbar-links{ display: none; }
  .coin-grid{ grid-template-columns: repeat(3,1fr); }
  .footer-grid{ grid-template-columns: 1fr; }
}
