/* ZoomieCoin theme inspired by modern DEX dashboards (dark navy + orange accent) */

:root{
  --bg: #060f24;           /* deep navy */
  --bg2:#081734;           /* slightly lighter */
  --panel:#0a1b3d;         /* card surface */
  --panel2:#0b214b;        /* hover surface */
  --border: rgba(255,255,255,.10);
  --border2: rgba(255,255,255,.16);

  --text:#eaf1ff;
  --muted:#9bb0d6;
  --muted2:#7f95bf;

  --accent:#ff8a00;        /* orange */
  --accent2:#ffb44d;
  --ok:#22c55e;

  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 14px;

  --maxw: 1040px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% 15%, rgba(255,138,0,.10), transparent 60%),
              radial-gradient(900px 600px at 85% 10%, rgba(79,70,229,.12), transparent 55%),
              radial-gradient(900px 700px at 55% 95%, rgba(255,255,255,.06), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.45;
}

/* ---------- Top nav ---------- */
.topnav{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 15, 36, .70);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.nav-left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 220px;
}

.nav-logo{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.nav-title{
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-title .sym{
  color: var(--muted);
  font-weight: 700;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 8px;
}

.nav-links a{
  text-decoration:none;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-links a:hover{
  color: var(--text);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
}

.nav-links a.active{
  color: var(--text);
  background: rgba(255,138,0,.10);
  border-color: rgba(255,138,0,.22);
}

/* ---------- Layout ---------- */
.wrap{
  max-width: var(--maxw);
  margin: 22px auto 44px auto;
  padding: 0 18px;
  display:grid;
  gap: 16px;
}

.card{
  background: linear-gradient(180deg, rgba(10,27,61,.88), rgba(10,27,61,.78));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card:hover{
  border-color: rgba(255,255,255,.14);
}

.hero{
  padding: 20px;
}

.hero-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.hero h1{
  margin:0;
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.muted{ color: var(--muted); }
.small{ font-size: 13px; color: var(--muted); }
.fine{ font-size: 12.5px; color: var(--muted2); margin-top: 8px; }

.tagline{
  margin: 10px 0 0 0;
  color: var(--muted);
  font-weight: 600;
  max-width: 65ch;
}

.badges{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.badge{
  font-size: 12px;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 8px 10px;
  border-radius: 999px;
}

.badge.ok{
  color: rgba(234,241,255,.88);
  border-color: rgba(34,197,94,.28);
  background: rgba(34,197,94,.10);
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ---------- Buttons ---------- */
.btn, .iconbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration:none;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.btn{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1b1200;
}

.btn:hover{
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.btn:active{ transform: translateY(0px); }

.btn.secondary{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: var(--text);
}

.btn.secondary:hover{
  background: rgba(255,255,255,.09);
}

.btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,.16);
  color: var(--text);
}

.btn.small{
  padding: 8px 12px;
  font-size: 13px;
}

a.link{
  color: rgba(255,180,77,.95);
  font-weight: 800;
  text-decoration: none;
}
a.link:hover{ text-decoration: underline; }

/* ---------- Grid ---------- */
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.pill{
  font-size: 12px;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.14);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}

/* ---------- Mint copy box ---------- */
.copybox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
  border-radius: var(--radius2);
  padding: 12px;
  margin: 10px 0 8px 0;
}

code, .mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  color: rgba(234,241,255,.90);
}

.break{ word-break: break-all; }

.row{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ---------- KV list ---------- */
.kv{
  list-style:none;
  padding: 0;
  margin: 0;
  display:grid;
  gap: 10px;
}

.kv li{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.kv li span{
  color: var(--muted2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- PDF ---------- */
.pdf-frame{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.18);
}

.pdf-frame iframe{
  width: 100%;
  height: 78vh;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer{
  text-align:center;
  padding: 10px 0 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Toast ---------- */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(10,27,61,.92);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Mobile */
@media (max-width: 860px){
  .grid2{ grid-template-columns: 1fr; }
  .kv li{ grid-template-columns: 1fr; }
  .hero h1{ font-size: 30px; }
}

/* ================================
   HERO LAYOUT (desktop)
================================ */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.hero-left {
  max-width: 680px;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HERO LOGO (desktop size) */
.hero-logo {
  width: 300px;            /* change this (64–96) if you want */
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 8px 24px rgba(0,0,0,0.35);
}

/* ================================
   MOBILE POLISH
================================ */
@media (max-width: 900px) {

  /* Overall spacing */
  .wrap { padding: 0 14px; }

  /* Nav wraps cleanly */
  .nav-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-left {
    min-width: unset;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  /* Hero stacks */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-right {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 28px;
  }

  /* Logo smaller on mobile */
  .hero-logo {
    width: 260px;
    max-width: 260px;
    margin-top: 10px;
  }

  /* Badges/pills align left */
  .badges, .pill-row {
    justify-content: flex-start;
  }

  /* Buttons become full-width */
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Copy box stacks */
  .copybox {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .copybox code {
    width: 100%;
    overflow-x: auto;
    display: block;
  }

  .copybox .btn,
  .copybox .iconbtn {
    width: 100%;
  }

  /* KV list becomes single column */
  .kv li {
    grid-template-columns: 1fr;
  }
}

#poolAmt {
  color: var(--accent);
  font-weight: 800;
}