/* GISBORNE — gaya bersama landing + app.
   Arah visual: "pelat besi & kulit kuda" — malam besi gelap, teks tulang, aksen merah darah,
   cokelat kulit kuda. Sengaja jauh dari krem-ungu apes.app, hitam-pink-lime HOODFUN,
   dan hitam-hijau-emas MERRYHOOD. */
:root {
  --night: #0b0e11;
  --iron-1: #12171b;
  --iron-2: #1a2126;
  --iron-3: #232c32;
  --line: #2b353c;
  --line-2: #3a464e;
  --bone: #ede6da;
  --bone-2: #cfc6b8;
  --muted: #8f999f;
  --dim: #5f6a71;
  --hide: #b5652f;
  --hide-2: #8a4a22;
  --blood: #c8242f;
  --blood-2: #9c1a23;
  --blood-deep: #731416;
  --up: #3ddc84;
  --down: #ff5a61;
  --amber: #e9a23b;
  --r: 14px;
  --display: 'Big Shoulders Display', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--bone); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--blood); color: #fff; }

.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1; }
.up { color: var(--up); }
.down { color: var(--down); }
.muted { color: var(--muted); }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 10px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-blood { background: var(--blood); color: #fff; box-shadow: 0 6px 24px rgba(200, 36, 47, .28), inset 0 -2px 0 rgba(0,0,0,.25); }
.btn-blood:hover { background: #d92c38; }
.btn-bone { background: var(--bone); color: var(--night); }
.btn-bone:hover { background: #fff; }
.btn-ghost { border-color: var(--line-2); background: rgba(11, 14, 17, .45); color: var(--bone); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--bone-2); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- label trader ---------- */
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-family: var(--mono);
  font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 1px solid; white-space: nowrap; }
.tag-sniper { color: #ff8b90; border-color: rgba(255, 90, 97, .45); background: rgba(255, 90, 97, .08); }
.tag-bot { color: var(--muted); border-color: var(--line-2); background: rgba(255,255,255,.03); }
.tag-dev { color: var(--amber); border-color: rgba(233, 162, 59, .45); background: rgba(233, 162, 59, .08); }
.tag-whale { color: #9fd3ff; border-color: rgba(120, 190, 255, .4); background: rgba(120, 190, 255, .07); }
.tag-hunter { color: var(--up); border-color: rgba(61, 220, 132, .4); background: rgba(61, 220, 132, .07); }

/* ---------- kartu CA (pelat besi berpaku) ---------- */
.plate { position: relative; background: linear-gradient(180deg, #1d252b, #141a1f); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 14px 16px; box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05); }
.plate::before, .plate::after { content: ''; position: absolute; top: 9px; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7d8a93, #2b343a 70%); }
.plate::before { left: 9px; } .plate::after { right: 9px; }
.ca-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-left: 10px; }
.ca-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.ca-addr { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; color: var(--bone); background: rgba(0,0,0,.35);
  border: 1px dashed var(--line-2); border-radius: 8px; padding: 10px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-count { font-family: var(--mono); font-size: 20px; font-weight: 600; letter-spacing: .02em; }
.ca-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; padding-left: 2px; }

/* ---------- logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 3px 10px rgba(0,0,0,.5)); }
.brand b { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- token kecil ---------- */
.tok { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.tok img, .tok .tok-ph { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--iron-3); }
.tok .tok-ph { display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--muted); }
.tok span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 90;
  background: var(--bone); color: var(--night); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 10px;
  transition: .2s; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.4); max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* chip CA di navigasi */
.ca-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(200,36,47,.55); background: rgba(200,36,47,.1); color: var(--bone); font-size: 12px; white-space: nowrap; }
.ca-chip:hover { background: rgba(200,36,47,.2); }
.ca-chip .ca-k { font-weight: 700; color: #ff7078; letter-spacing: .08em; }
.ca-chip .ca-c { color: var(--muted); }
.ca-chip[hidden] { display: none; }
