/* ═══════════════════════════════════════════════
   $ANSEM — Dark + Green Leaf, Professional
═══════════════════════════════════════════════ */

:root {
  --bg:          #080c09;
  --bg-2:        #0d1210;
  --bg-card:     #111915;
  --bg-card2:    #162019;
  --border:      rgba(34, 197, 94, 0.12);
  --border-2:    rgba(34, 197, 94, 0.22);
  --green:       #22c55e;
  --green-light: #4ade80;
  --green-dark:  #16a34a;
  --green-dim:   rgba(34, 197, 94, 0.08);
  --green-glow:  rgba(34, 197, 94, 0.18);
  --red:         #f87171;
  --text:        #f0fdf4;
  --text-2:      #d1fae5;
  --muted:       #6b7280;
  --muted-2:     #9ca3af;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --radius:      12px;
  --radius-lg:   18px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-green:0 0 40px rgba(34, 197, 94, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a   { color: inherit; text-decoration: none; }

/* ── HEADER ─────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8, 12, 9, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header-left  { flex-shrink: 0; }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; flex-shrink: 0; }

.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-icon { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
.brand-text { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.brand-accent { color: var(--green); }

.bullpen-logo { height: 28px; width: auto; object-fit: contain; }

.price-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
#h-price { color: var(--text); }
.price-badge {
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}
.badge-up   { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.badge-down { background: rgba(248, 113, 113, 0.15); color: var(--red); }
.badge-flat { background: rgba(107, 114, 128, 0.2); color: var(--muted-2); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  background: var(--green);
  color: #000;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}
.btn-icon { width: 14px; height: 14px; }

/* ── HERO ────────────────────────────────────────── */
#hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 800px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.4rem;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.accent { color: var(--green); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted-2);
  font-weight: 400;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Holder block */
.holder-block {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow), var(--shadow-green);
  margin-bottom: 2rem;
}
.holder-numbers {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  gap: 1rem;
}
.holder-stat { display: flex; flex-direction: column; gap: 0.3rem; }
.holder-stat.right { text-align: right; align-items: flex-end; }
.holder-big {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.holder-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.holder-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin-top: 0.2rem;
}

.progress-wrap { display: flex; flex-direction: column; gap: 0.7rem; }
.progress-track {
  width: 100%;
  height: 16px;
  background: rgba(34, 197, 94, 0.08);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-dark), var(--green), var(--green-light));
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25));
  border-radius: inherit;
  animation: shimmer-right 1.8s linear infinite;
}
@keyframes shimmer-right {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0; }
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-2);
}
.progress-meta span:first-child { color: var(--green); }

.config-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 0.9rem;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #fbbf24;
}
.config-note code {
  font-family: 'Courier New', monospace;
  background: rgba(251, 191, 36, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
}
.helius-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  flex-wrap: wrap;
}
.helius-cta-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted-2);
}
.helius-cta-text strong { color: var(--text); }
.helius-cta-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 6px;
  padding: 0.35rem 0.8rem;
  white-space: nowrap;
  transition: all 0.15s;
}
.helius-cta-btn:hover { background: var(--green); color: #000; }
.hidden { display: none !important; }

.ansem-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0.9;
}

/* ── STATS STRIP ─────────────────────────────────── */
.stats-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.stats-strip::-webkit-scrollbar { display: none; }
.stats-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
  min-width: 700px;
}
.sstat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 1.2rem;
  transition: background 0.2s;
}
.sstat:hover { background: var(--green-dim); }
.sstat-icon { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.sstat-label { font-size: 0.73rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.sstat-val   { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-top: 1px; font-variant-numeric: tabular-nums; }
.sstat-sep   { width: 1px; background: var(--border); align-self: stretch; margin: 0.8rem 0; }

/* ── SECTIONS ────────────────────────────────────── */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--bg-2); }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.9rem;
}
.section-label-icon { width: 14px; height: 14px; }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted-2);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

/* ── CALCULATOR ──────────────────────────────────── */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.calc-inputs {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.6rem; }
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted-2);
}
.input-row {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.input-row:focus-within { border-color: var(--green); }
.input-prefix {
  padding: 0 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-dim);
  align-self: stretch;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
}
input[type="number"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
input[type="number"]::placeholder { color: var(--muted); }

.period-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.period-btn {
  padding: 0.55rem 0.5rem;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-2);
  cursor: pointer;
  transition: all 0.18s;
}
.period-btn:hover { border-color: var(--green); color: var(--green); }
.period-btn.active {
  background: var(--green-dim);
  border-color: var(--green);
  color: var(--green);
  font-weight: 700;
}

.custom-days-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.6rem;
}
.custom-days-label {
  font-size: 0.83rem;
  color: var(--muted-2);
  font-weight: 600;
  white-space: nowrap;
}
.custom-days-input {
  width: 72px;
  padding: 0.42rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: border-color 0.15s;
}
.custom-days-input:focus { outline: none; border-color: var(--green); }
.custom-days-suffix { font-size: 0.78rem; color: var(--muted); }

.btn-calc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem;
  background: var(--green);
  color: #000;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.18s;
}
.btn-calc:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(34,197,94,0.3); }
.btn-calc .btn-icon { width: 16px; height: 16px; }

/* Calc result */
.calc-result {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-placeholder {
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.result-icon-big { width: 36px; height: 36px; opacity: 0.4; }
.result-placeholder p { font-size: 0.95rem; }

.result-content { width: 100%; display: flex; flex-direction: column; gap: 1.2rem; }
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.result-row:last-of-type { border-bottom: none; }
.result-key { font-size: 0.88rem; color: var(--muted-2); font-weight: 500; }
.result-val { font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.result-val.up   { color: var(--green); }
.result-val.down { color: var(--red); }
.result-val.neutral { color: var(--text); }

.signal-box {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.signal-box.early    { background: rgba(34,197,94,0.07);  border-color: rgba(34,197,94,0.3); }
.signal-box.late     { background: rgba(248,113,113,0.07); border-color: rgba(248,113,113,0.3); }
.signal-box.neutral  { background: rgba(251,191,36,0.07);  border-color: rgba(251,191,36,0.3); }
.signal-tag  { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.signal-desc { font-size: 0.9rem; color: var(--muted-2); line-height: 1.5; }
.signal-box.early  .signal-tag  { color: var(--green); }
.signal-box.late   .signal-tag  { color: var(--red); }
.signal-box.neutral .signal-tag { color: #fbbf24; }

/* ── TRANSACTIONS ─────────────────────────────────── */
.tx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.tx-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.tx-period {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.tx-bars { display: flex; flex-direction: column; gap: 0.5rem; }
.tx-bar-row { display: flex; flex-direction: column; gap: 0.25rem; }
.tx-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
}
.tx-bar-label .buy-label  { color: var(--green); }
.tx-bar-label .sell-label { color: var(--red); }
.tx-bar-track {
  height: 5px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  overflow: hidden;
}
.tx-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1s ease;
}
.tx-bar-fill.buy  { background: var(--green); }
.tx-bar-fill.sell { background: var(--red); }
.tx-total { font-size: 0.88rem; color: var(--muted-2); margin-top: 0.3rem; }
.tx-total strong { color: var(--text); }

.tx-helius-card {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tx-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr auto;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s;
}
.tx-row:last-child { border-bottom: none; }
.tx-row:hover { background: var(--green-dim); }
.tx-row.buy-row  { border-left: 2px solid var(--green); }
.tx-row.sell-row { border-left: 2px solid var(--red); }
.tx-badge {
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.tx-badge.buy  { background: rgba(34,197,94,0.12); color: var(--green); }
.tx-badge.sell { background: rgba(248,113,113,0.12); color: var(--red); }
.tx-sig  { font-family: monospace; color: var(--muted-2); }
.tx-time { color: var(--muted); font-size: 0.8rem; }
.tx-loading {
  grid-column: 1/-1;
  padding: 3rem;
  text-align: center;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

/* ── TOP HOLDERS TABLE ────────────────────────────── */
.table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table-head {
  display: grid;
  grid-template-columns: 60px 1fr 180px 120px;
  padding: 0.85rem 1.4rem;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.table-head .right, .table-row .right { text-align: right; }
.table-row {
  display: grid;
  grid-template-columns: 60px 1fr 180px 120px;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s;
  font-size: 0.9rem;
}
.table-row:last-child { border-bottom: none; }
.table-row:hover { background: var(--green-dim); }
.t-rank {
  font-weight: 800;
  font-size: 1rem;
}
.t-rank.r1 { color: #f59e0b; }
.t-rank.r2 { color: var(--muted-2); }
.t-rank.r3 { color: #cd7f32; }
.t-rank.rx { color: var(--muted); }
.t-addr { font-family: 'Courier New', monospace; font-size: 0.85rem; color: var(--muted-2); }
.t-amount { font-weight: 700; color: var(--green); text-align: right; font-variant-numeric: tabular-nums; }
.t-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: flex-end;
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.15s;
  cursor: pointer;
}
.t-link:hover { color: var(--green); }
.t-link svg { width: 12px; height: 12px; }
.demo-badge {
  font-size: 0.68rem;
  background: rgba(107,114,128,0.15);
  color: var(--muted);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 600;
}
.table-loading {
  padding: 3rem;
  text-align: center;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

/* ── POST GENERATOR ──────────────────────────────── */
.gen-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.gen-controls {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.type-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.type-btn {
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-2);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}
.type-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-dim); }
.type-btn.active {
  background: var(--green-dim);
  border-color: var(--green);
  color: var(--green);
}
.btn-generate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem;
  background: var(--green);
  color: #000;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.18s;
}
.btn-generate:hover { background: var(--green-light); box-shadow: 0 4px 20px rgba(34,197,94,0.3); }
.btn-generate .btn-icon { width: 16px; height: 16px; }

.gen-output {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.output-placeholder {
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.output-placeholder p { font-size: 0.95rem; }

.post-output { width: 100%; display: flex; flex-direction: column; gap: 1.2rem; }
.post-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
}
.post-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.btn-copy, .btn-regen {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-copy {
  background: var(--green);
  border: none;
  color: #000;
}
.btn-copy:hover { background: var(--green-light); }
.btn-regen {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--muted-2);
}
.btn-regen:hover { border-color: var(--green); color: var(--green); }
.btn-copy svg, .btn-regen svg { width: 14px; height: 14px; }

/* ── CTA ─────────────────────────────────────────── */
#join { background: var(--bg); }
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
}
.cta-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.3rem;
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.cta-sub { font-size: 1rem; color: var(--muted-2); max-width: 460px; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: var(--green);
  color: #000;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.18s;
  margin-top: 0.4rem;
}
.btn-cta:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(34,197,94,0.3);
}
.btn-icon-right { width: 16px; height: 16px; }
.cta-nfa { font-size: 0.78rem; color: var(--muted); max-width: 440px; line-height: 1.5; }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 1.8rem 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.footer-icon { width: 22px; height: 22px; object-fit: contain; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--green); }
.footer-right { font-size: 0.8rem; color: var(--muted); }

/* ── SPIN ANIMATION ──────────────────────────────── */
.spin { animation: spin 1s linear infinite; }
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── COUNTING PULSE (holder count loading state) ─── */
.counting {
  animation: countPulse 1.4s ease-in-out infinite;
  color: var(--muted-2);
}
@keyframes countPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── NAV LINKS ───────────────────────────────────── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-2);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--green-dim); }
.nav-tour {
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-weight: 600;
}
.nav-tour:hover { background: rgba(34, 197, 94, 0.12); }

/* ── HERO CTA BUTTONS ────────────────────────────── */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--green);
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-hero-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.35);
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: transparent;
  color: var(--muted-2);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-hero-ghost:hover {
  color: var(--text);
  border-color: var(--green);
  background: var(--green-dim);
}
.btn-hero-icon { width: 16px; height: 16px; }

/* ── HOLDER MINI-STATS ───────────────────────────── */
.holder-mini-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 1.4rem;
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.hms {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem 0.5rem;
  gap: 0.2rem;
  transition: background 0.15s;
}
.hms:hover { background: var(--green-dim); }
.hms-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hms-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hms-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0.6rem 0;
}
.hms-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}
#hms-today:empty::after,
#hms-week:empty::after { content: '—'; }
.hms-val[data-collecting] {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── NIGERIA TOUR BANNER ─────────────────────────── */
.tour-banner {
  background: linear-gradient(90deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.04) 100%);
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
  padding: 0.7rem 2rem;
}
.tour-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  justify-content: center;
}
.tour-flag { font-size: 1.2rem; flex-shrink: 0; }
.tour-text {
  font-size: 0.88rem;
  color: var(--muted-2);
  line-height: 1.4;
}
.tour-text strong { color: var(--text); }
.tour-sub { color: var(--muted); }
.tour-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s;
}
.tour-cta-link:hover { background: var(--green); color: #000; }
.tour-arrow { width: 13px; height: 13px; }

/* ── POST TYPE GRID IMPROVEMENTS ─────────────────── */
.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.type-emoji { font-size: 0.9rem; }

/* ── SHARE TO X BUTTON ───────────────────────────── */
.btn-share-x {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  background: #000;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  transition: all 0.18s;
}
.btn-share-x:hover { background: #1a1a1a; border-color: rgba(255,255,255,0.3); }
.btn-share-x svg { width: 14px; height: 14px; }

/* ── CHARACTER COUNTER ───────────────────────────── */
.char-counter {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  margin-top: -0.5rem;
}
.char-counter.warn { color: #fbbf24; }
.char-counter.over { color: var(--red); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
  .gen-grid  { grid-template-columns: 1fr; }
  .table-head,
  .table-row { grid-template-columns: 50px 1fr 140px; }
  .table-head span:last-child,
  .table-row .t-link { display: none; }
}

/* ── HAMBURGER ───────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.hamburger:hover { border-color: var(--green); }
.hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.22s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ───────────────────────────── */
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: rgba(8, 12, 9, 0.97);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.mobile-nav.open { max-height: 320px; }
.mobile-nav-link {
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-2);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.mobile-nav-link:hover { background: var(--green-dim); color: var(--text); }
.mobile-nav-tour { color: var(--green); }

/* Tablet — hide nav, keep price chip in header-right */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .hamburger  { display: flex; }
  .mobile-nav { display: flex; }
  header { overflow: visible; }
}
@media (max-width: 720px) {
  .header-inner  { gap: 0.75rem; padding: 0 1rem; }
  .price-chip    { display: none; }
}

/* Mobile — hide Bullpen logo, compact button */
@media (max-width: 540px) {
  .bullpen-logo { display: none; }
  .btn-primary  { padding: 0.45rem 0.85rem; font-size: 0.82rem; gap: 0.3rem; }
  .btn-primary .btn-icon { width: 13px; height: 13px; }
}

/* Small phones — drop button icon, keep text only */
@media (max-width: 380px) {
  .brand-text   { font-size: 0.95rem; }
  .brand-icon   { width: 26px; height: 26px; }
  .btn-primary  { padding: 0.4rem 0.7rem; font-size: 0.78rem; }
  .btn-primary .btn-icon { display: none; }
}

@media (max-width: 680px) {
  .hero-inner    { padding: 0 0.5rem; }
  .holder-numbers { flex-direction: column; align-items: center; text-align: center; }
  .holder-stat.right { align-items: center; }
  .holder-divider { width: 100%; height: 1px; align-self: auto; margin: 0; }
  .stats-strip-inner { padding: 0 0.5rem; }
  .section { padding: 3.5rem 1rem; }
  .period-grid { grid-template-columns: repeat(2, 1fr); }
  .table-head,
  .table-row { grid-template-columns: 46px 1fr 120px; }
}
