/* AUREA Tools — dark theme matched to aureaswap.com / the staking app.
   Same palette as ~/workspace/aurea-staking/frontend/styles.css:
     bg #0a0f1e, card #121626, gold #ffd700, violet #8a2be2,
     brand gradient linear-gradient(45deg, #ffd700 6.62%, #8a2be2 86.5%),
     font 'Manrope', sans-serif.                                       */
:root {
  --bg: #0a0f1e;
  --bg-deep: #020616;
  --card: #121626;
  --card-2: #141828;
  --panel: #0f1423;
  --border: #282d3c;
  --text: #ffffff;
  --muted: #848388;
  --muted-2: #626066;
  --gold: #ffd700;
  --gold-light: #ffeb50;
  --gold-dark: #c8aa00;
  --gold-soft: rgba(255, 215, 0, 0.1);
  --violet: #8a2be2;
  --violet-soft: rgba(138, 43, 226, 0.16);
  --violet-text: #c9a7f5;
  --green: #02b589;
  --red: #e94d7a;
  --warning: #d9ab52;
  --input-bg: #0e1222;
  --gradient-brand: linear-gradient(45deg, #ffd700 6.62%, #8a2be2 86.5%);
  --on-primary: #141828;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "PingFang SC", "Noto Sans CJK SC", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  padding-bottom: 110px; /* room for the floating bottom nav */
}

a { color: var(--gold); }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; word-break: break-all; }
.small { font-size: 12.5px; }

/* --- header ------------------------------------------------------------ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gradient-brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; color: var(--on-primary);
  flex: none;
}
.page-title { font-size: 19px; font-weight: 800; color: var(--text); white-space: nowrap; }
.page-subtitle { font-size: 12px; color: var(--muted); white-space: nowrap; }
.topbar-right { display: flex; align-items: center; gap: 10px; }

.badge {
  display: inline-flex; align-items: center;
  border-radius: 999px; padding: 4px 10px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.badge-muted { background: var(--input-bg); color: var(--muted); }
.badge-ok { background: rgba(2, 181, 137, 0.15); color: #2fd3a7; }
.badge-warn { background: rgba(217, 171, 82, 0.15); color: var(--warning); }
.badge-violet { background: var(--violet-soft); color: var(--violet-text); }
.network-badge { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; }

select.network-select {
  background: var(--input-bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 7px 8px; font: inherit; font-size: 13px; font-weight: 700;
  max-width: 38vw;
}

select.lang-select {
  background: var(--input-bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 7px 8px; font: inherit; font-size: 13px; font-weight: 700;
  max-width: 30vw;
}

@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; }
  .topbar-right { flex-wrap: wrap; justify-content: flex-end; }
  .network-badge { display: none; }
}

/* --- alerts / status ---------------------------------------------------- */
.alert {
  margin: 12px 16px 0; padding: 12px 14px; border-radius: 12px;
  font-size: 14px; line-height: 1.5;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.alert-warn { background: rgba(217, 171, 82, 0.12); border: 1px solid rgba(217, 171, 82, 0.45); color: #f3d9a4; }
.alert-error { background: rgba(233, 77, 122, 0.12); border: 1px solid rgba(233, 77, 122, 0.45); color: #f6b8cb; }
.alert-ok { background: rgba(2, 181, 137, 0.12); border: 1px solid rgba(2, 181, 137, 0.45); color: #a9e9d8; }
.alert-info { background: var(--violet-soft); border: 1px solid rgba(138, 43, 226, 0.5); color: #e2d2fb; }

/* --- layout / cards ------------------------------------------------------ */
main { max-width: 860px; margin: 0 auto; padding: 18px 16px 8px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-bottom: 16px;
}
.card h2 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.card h3 { margin: 18px 0 8px; font-size: 15px; font-weight: 800; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  font: inherit; font-weight: 700; font-size: 14.5px;
  border-radius: 8px; border: 1px solid var(--border);
  background: var(--card-2); color: var(--text);
  padding: 11px 18px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.btn:hover:not(:disabled) { border-color: var(--muted-2); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary {
  background: var(--gold); color: var(--on-primary);
  border: none; font-weight: 800;
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.07); }
.btn-connect { padding: 9px 16px; font-size: 14px; }
.btn-small { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; margin-top: 14px; }
.btn-ghost { background: transparent; }

/* --- forms ----------------------------------------------------------------- */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--muted); margin-bottom: 6px;
}
.field input[type="text"], .field input[type="number"], .field textarea {
  width: 100%; background: var(--input-bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 11px 12px; font: inherit; font-size: 15px;
}
.field textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; line-height: 1.6; min-height: 170px; resize: vertical;
}
.field input:focus, .field textarea:focus, select:focus {
  outline: 2px solid rgba(255, 215, 0, 0.55); outline-offset: 0; border-color: var(--gold-dark);
}
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.check-row input[type="checkbox"], .check-row input[type="radio"] { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--gold); flex: none; }
.check-row .check-text { font-size: 14.5px; font-weight: 700; }
.check-row .check-sub { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.5; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

/* --- mode tabs (BNB / Token) ------------------------------------------------ */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tab {
  flex: 1; font: inherit; font-weight: 800; font-size: 15px;
  padding: 11px 10px; border-radius: 12px; cursor: pointer;
  background: var(--input-bg); color: var(--muted);
  border: 1px solid var(--border);
}
.tab.active { background: var(--gold-soft); color: var(--gold); border-color: var(--gold-dark); }

/* --- summary / rows ------------------------------------------------------------ */
.rows { margin-top: 6px; }
.row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.row:last-child { border-bottom: none; }
.row .k { color: var(--muted); font-weight: 600; flex: none; }
.row .v { font-weight: 800; text-align: right; word-break: break-all; }
.row .v.ok { color: #2fd3a7; }
.row .v.bad { color: var(--red); }
.row .v.warn { color: var(--warning); }

/* --- steps (approve -> disperse) ------------------------------------------------ */
.steps { display: flex; gap: 8px; margin: 14px 0 4px; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 150px; border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 12px; background: var(--panel); font-size: 13.5px;
}
.step .step-title { font-weight: 800; font-size: 14px; margin-bottom: 3px; }
.step .step-state { color: var(--muted); }
.step.done { border-color: rgba(2, 181, 137, 0.55); }
.step.done .step-state { color: #2fd3a7; }
.step.current { border-color: var(--gold-dark); }
.step.current .step-state { color: var(--gold); }

/* --- lists / tables -------------------------------------------------------------- */
.list { display: flex; flex-direction: column; }
.list-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.list-item:last-child { border-bottom: none; }
.list-item .li-main { min-width: 0; }
.list-item .li-title { font-weight: 800; font-size: 15px; }
.list-item .li-sub { color: var(--muted); font-size: 12.5px; word-break: break-all; }
.error-list { margin: 8px 0 0; padding-left: 18px; color: #f6b8cb; font-size: 13px; line-height: 1.6; }

/* --- bottom nav --------------------------------------------------------------------- */
.bottom-nav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px;
  z-index: 30; display: flex; gap: 4px;
  max-width: 96vw; overflow-x: auto; scrollbar-width: none;
  background: rgba(18, 22, 38, 0.95); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.bottom-nav::-webkit-scrollbar { display: none; }
.nav-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px;
  color: var(--muted); text-decoration: none;
  font-size: 13.5px; font-weight: 800; white-space: nowrap;
}
.nav-item svg { width: 18px; height: 18px; }
.nav-item.active { background: var(--gold-soft); color: var(--gold); }

/* --- brand unification with aureaswap.com (2026-11-27) --- */
.brand-logo { height: 34px; width: auto; aspect-ratio: 886 / 320; display: block; flex: none; }

/* --- mobile optimization (2026-11-27, layout only) -------------------------
   Goals at 360-430px: no horizontal overflow, tap targets >= 44px,
   form controls at 16px (prevents iOS auto-zoom), wide tables scroll
   inside their own box, card grids stack to one column.
   Selectors that must beat per-page inline <style> blocks carry a
   `body` prefix for extra specificity. */
html, body { overflow-x: clip; }
img, video, canvas, svg { max-width: 100%; }

@media (max-width: 640px) {
  /* tap targets >= 44px */
  .btn { min-height: 44px; }
  .btn-small { min-height: 44px; padding: 10px 14px; }
  .btn-connect { min-height: 44px; }
  .tab { min-height: 48px; }
  .nav-item { min-height: 44px; }
  body .intel-chip { display: inline-flex; align-items: center; min-height: 44px; }
  body .copy-btn { min-height: 44px; padding: 10px 14px; font-size: 13px; }
  /* header selects: readable size, no iOS focus zoom, tall enough to tap */
  select.network-select, select.lang-select { font-size: 16px; min-height: 44px; }
  body .watch-period { font-size: 16px; min-height: 44px; }
  /* form controls at 16px stop iOS auto-zoom; fields are already full width */
  .field input[type="text"], .field input[type="number"], .field textarea { font-size: 16px; }
  body input:not([type="checkbox"]):not([type="radio"]), body select, body textarea { font-size: 16px; }
  /* unwrapped data tables scroll horizontally inside their own box
     (holders/anomaly/report/lpstress/tokenomics tables already have
     overflow-x wrappers and are intentionally left alone) */
  body table.adv-table, body table.util-table, body table.holder-table,
  body table.syb-table, body table.tre-table, body table.unl-table {
    display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  /* label/value rows: let long labels shrink and wrap instead of
     pushing the value off-screen (seen on tokenomics summary rows) */
  .row { flex-wrap: wrap; row-gap: 2px; }
  .row .k { flex: 1 1 160px; min-width: 0; }
  /* roomier layout on phones */
  main { padding: 16px 12px 8px; }
  .card { padding: 16px; }
  .bottom-nav { max-width: 97vw; -webkit-overflow-scrolling: touch; }
  .steps .step { min-width: 132px; }
}

@media (max-width: 560px) {
  body .token-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .brand-logo { height: 28px; }
  .page-title { font-size: 17px; }
  .page-subtitle { white-space: normal; }
  body .hs-score-num { font-size: 42px; }
}

/* --- UI/UX polish: 3D depth system (2026-11-27) ----------------------------
   Promotes the marketing page's depth treatment to the shared design
   language: layered shadows + gradient sheen + glass panels, CSS-only
   (no WebGL, no constant animation). Hover motion is gated behind
   (hover: hover) and disabled for prefers-reduced-motion.            */

/* ambient background: soft gold/violet glows over the base navy */
body {
  background:
    radial-gradient(760px 420px at 50% -60px, rgba(255, 190, 0, 0.10), transparent 65%),
    radial-gradient(900px 620px at 112% 22%, rgba(138, 43, 226, 0.10), transparent 60%),
    radial-gradient(720px 520px at -12% 74%, rgba(0, 120, 255, 0.05), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

/* header: glass with a soft drop shadow */
.topbar {
  background: rgba(10, 15, 30, 0.82);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}
.brand-mark {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 4px rgba(0, 0, 0, 0.25);
}

/* cards: gradient sheen + layered shadows + top highlight */
.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014) 55%), var(--card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.40), 0 6px 16px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
@media (hover: hover) and (pointer: fine) {
  .card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 56px rgba(0, 0, 0, 0.46), 0 10px 22px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  }
}

/* buttons: raised, tactile */
.btn {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.btn:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, #f5c400);
  box-shadow: 0 10px 22px rgba(255, 170, 0, 0.26), 0 3px 8px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 4px rgba(146, 96, 0, 0.35);
}
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 14px 28px rgba(255, 170, 0, 0.32), 0 5px 12px rgba(0, 0, 0, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 4px rgba(146, 96, 0, 0.35);
}
.btn-primary:active:not(:disabled) {
  box-shadow: 0 5px 12px rgba(255, 170, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 3px rgba(146, 96, 0, 0.3);
}

/* form controls: inset depth, glowing focus */
.field input[type="text"], .field input[type="number"], .field input[type="url"],
.field textarea, select.network-select, select.lang-select,
.field select, input[type="text"].mono, input[type="url"] {
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.38), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}
.field input:focus, .field textarea:focus, .field select:focus {
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.38), 0 0 0 3px rgba(255, 215, 0, 0.16);
}

/* mode tabs: segmented 3D control */
.tabs {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}
.tab { border-color: transparent; background: transparent; box-shadow: none; }
.tab.active {
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.22), rgba(255, 215, 0, 0.10));
  border-color: var(--gold-dark);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* option rows become selectable panels (creator form, toggles) */
.check-row {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 55%), var(--panel);
  padding: 12px 14px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .check-row:hover { transform: translateY(-1px); border-color: var(--muted-2); }
}
.check-row:has(> input:checked) {
  border-color: var(--gold-dark);
  background: linear-gradient(165deg, rgba(255, 215, 0, 0.13), rgba(255, 215, 0, 0.04) 55%), var(--panel);
}

/* fee-mode cards: color-coded even before selection (gold = pay the
   fee in BNB, violet = create for free / supply fee). The checked
   state thickens the frame and adds a glow so the choice is obvious. */
.check-row.fee-card-bnb { border-color: rgba(255, 215, 0, 0.45); }
.check-row.fee-card-free { border-color: rgba(138, 43, 226, 0.65); }
.check-row.fee-card-bnb:has(> input:checked) {
  border: 2px solid var(--gold);
  background: linear-gradient(165deg, rgba(255, 215, 0, 0.17), rgba(255, 215, 0, 0.05) 55%), var(--panel);
  box-shadow: 0 0 0 1px var(--gold), 0 10px 22px rgba(0, 0, 0, 0.30);
}
.check-row.fee-card-free:has(> input:checked) {
  border: 2px solid var(--violet);
  background: linear-gradient(165deg, rgba(138, 43, 226, 0.24), rgba(138, 43, 226, 0.08) 55%), var(--panel);
  box-shadow: 0 0 0 1px var(--violet), 0 10px 22px rgba(0, 0, 0, 0.30);
}
.check-row.fee-card-free input[type="radio"] { accent-color: var(--violet); }
.check-sub s { color: var(--muted-2); }

/* steps: depth + numbered medallions */
.steps { counter-reset: stepnum; }
.step {
  counter-increment: stepnum;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 55%), var(--panel);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  padding: 12px 14px;
}
.step .step-title { display: flex; align-items: center; gap: 9px; }
.step .step-title::before {
  content: counter(stepnum);
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gradient-brand); color: var(--on-primary);
  font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.step.current { box-shadow: 0 12px 24px rgba(0, 0, 0, 0.30), 0 0 0 1px var(--gold-dark), 0 0 18px rgba(255, 215, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.step.done { box-shadow: 0 12px 24px rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(2, 181, 137, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07); }

/* badges & alerts: subtle gradient depth */
.badge { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 4px 10px rgba(0, 0, 0, 0.25); }
.alert { box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07); }

/* bottom nav: floating glass dock */
.bottom-nav {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 55%), rgba(18, 22, 38, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 6px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.nav-item { transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.nav-item.active {
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.24), rgba(255, 215, 0, 0.10));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* page hero: generated premium Web3 banner visual, one per page
   group (create / intel / growth), purely decorative */
.page-hero {
  position: relative;
  display: flex; justify-content: center;
  padding: 14px 0 6px;
  perspective: 700px;
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(28px); pointer-events: none;
}
.page-hero::before { width: 190px; height: 90px; top: 2px; left: 50%; margin-left: -150px; background: rgba(255, 190, 0, 0.16); }
.page-hero::after { width: 150px; height: 80px; top: 12px; left: 50%; margin-left: 30px; background: rgba(138, 43, 226, 0.16); }
.hero-art {
  position: relative; z-index: 1;
  width: min(430px, 92%);
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 215, 0, 0.22);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.55), 0 0 42px rgba(138, 43, 226, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* home tool directory (index.html) */
.quick-strip {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px;
}
.quick-chip {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: 13px; font-weight: 800; color: var(--text);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 55%), var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.quick-chip:hover { border-color: var(--gold-dark); color: var(--gold); }
.tool-group-title {
  margin: 20px 0 10px; font-size: 15px; font-weight: 800; color: var(--gold);
  scroll-margin-top: 92px; display: flex; align-items: center; gap: 10px;
}
.tool-group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.tool-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 12px;
}
.tool-card {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px; border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014) 55%), var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .tool-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-dark);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.44), 0 0 18px rgba(255, 215, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  }
}
.tool-ic {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: radial-gradient(circle at 32% 28%, #fff3b0 0%, #ffd700 38%, #e8a100 68%, #9a6a00 100%);
  box-shadow: inset 0 0 0 2px rgba(122, 82, 0, 0.45), inset 0 -6px 10px rgba(90, 55, 0, 0.5), inset 0 5px 9px rgba(255, 255, 255, 0.5), 0 10px 18px rgba(0, 0, 0, 0.42);
  display: inline-flex; align-items: center; justify-content: center;
}
.tool-ic svg { width: 23px; height: 23px; color: #5c3d00; }
.tool-tx { min-width: 0; }
.tool-name { display: block; font-weight: 800; font-size: 15px; margin-bottom: 3px; }
.tool-desc { display: block; font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* page-scoped cards on tokens / intel hubs pick up the same depth */
body .token-card, body .intel-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014) 55%), var(--card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  body .token-card:hover, body .intel-card:hover {
    transform: translateY(-3px); border-color: var(--gold-dark);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  }
}
body .tc-avatar {
  box-shadow: inset 0 0 0 2px rgba(122, 82, 0, 0.4), inset 0 -6px 10px rgba(90, 55, 0, 0.45), inset 0 5px 9px rgba(255, 255, 255, 0.45), 0 8px 16px rgba(0, 0, 0, 0.4);
}
body .intel-chip, body .copy-btn {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* progress bars: glossy fill */
body .lock-progress > div, body .tc-progress > div, body .hold-progress > div,
body .scan-progress > div {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 3px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3);
}
body .lock-progress, body .tc-progress, body .hold-progress, body .scan-progress {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.45);
}

/* data tables: gentle row hover */
body table.adv-table tbody tr, body table.util-table tbody tr,
body table.holder-table tbody tr, body table.hold-table tbody tr {
  transition: background 0.12s ease;
}
body table.adv-table tbody tr:hover, body table.util-table tbody tr:hover,
body table.holder-table tbody tr:hover, body table.hold-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
  .card, .btn, .tool-card, body .token-card, body .intel-card, .check-row { transition: none; }
}

@media (max-width: 640px) {
  .page-hero { padding: 10px 0 4px; }
  .tool-grid { grid-template-columns: 1fr; }
}
