:root {
  --bg: #050505;
  --neon: #33ff4e;         /* bright neon green accent */
  --neon-dark: #17c437;
  --gold: #d9a441;
  --text: #ffffff;
  --muted: #9aa09a;
  --mono-muted: #7f867f;
  --card: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.12);
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --display: "Archivo Black", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- FIXED CHUD BULL BACKGROUND ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #000 url("assets/chudbull.png") no-repeat center top;
  background-size: cover;
}
/* darkening + vignette so text stays readable over the bull */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(51, 255, 78, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.78) 45%, rgba(5, 5, 5, 0.94) 100%);
  pointer-events: none;
}

/* ---------- HEADER ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 12px 24px;
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 5, 0.55);
  border-bottom: 1px solid var(--border);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  letter-spacing: 0.5px;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.nav__brand span { color: var(--neon); }
.nav__logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.nav__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.nav__x:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.06); border-color: var(--neon); }

/* ---------- HERO ---------- */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 22px 80px;
  text-align: center;
}
.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border: 1px solid rgba(51, 255, 78, 0.5);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon);
  background: rgba(51, 255, 78, 0.06);
}
.pill-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero__title {
  margin: 26px 0 0;
  font-family: var(--display);
  line-height: 0.88;
  letter-spacing: -1px;
  font-size: clamp(58px, 13vw, 132px);
  text-transform: uppercase;
}
.hero__title .l1 {
  display: block;
  color: #f2f2f2;
  background: linear-gradient(180deg, #ffffff, #9a9a9a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .l2 {
  display: block;
  color: var(--neon);
  text-shadow: 0 0 34px rgba(51, 255, 78, 0.55);
}

.hero__lead {
  margin: 26px auto 0;
  max-width: 640px;
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(20px, 3.6vw, 30px);
  line-height: 1.25;
  color: #fff;
}
.hero__body {
  margin: 18px auto 0;
  max-width: 620px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.85;
  color: var(--mono-muted);
}

.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
/* Streamflow-style: clean sans-serif, sentence case, refined radius,
   one solid primary + consistent subtle-ghost secondaries, soft hovers. */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #eef1ee;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.cta svg { opacity: 0.85; }
.cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
}

/* primary — solid neon with a soft (not glowing) shadow */
.cta--copy {
  background: linear-gradient(180deg, #45ff60, #24d94a);
  color: #05170b;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(51, 255, 78, 0.22);
}
.cta--copy:hover {
  background: linear-gradient(180deg, #55ff6e, #2ae055);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(51, 255, 78, 0.3);
}
.cta--copy svg { opacity: 1; }

/* secondaries share one restrained look; accent shows only on hover */
.cta--chart:hover,
.cta--price:hover { border-color: rgba(51, 255, 78, 0.55); }
.cta--drop:hover { border-color: rgba(217, 164, 65, 0.6); }

.hero__cta--sub { margin-top: 12px; }

.hero__ca {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mono-muted);
  word-break: break-all;
}
.hero__ca span { color: var(--muted); }

.chevron {
  display: inline-flex;
  margin-top: 40px;
  color: var(--mono-muted);
  animation: bobv 2s ease-in-out infinite;
}
.chevron:hover { color: var(--neon); }
@keyframes bobv { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- SECTION TITLES ---------- */
.sec-title {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1;
}
.sec-title span { color: var(--neon); }
.sec-title.sm { font-size: clamp(24px, 5vw, 34px); }
.sec-sub {
  margin: 14px auto 0;
  max-width: 520px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mono-muted);
}
.sec-sub strong { color: var(--text); }

/* ---------- AIRDROP ---------- */
.drop {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 22px 24px;
  text-align: center;
}
.drop__total {
  margin: 28px auto 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drop__total-v {
  font-family: var(--display);
  font-size: clamp(48px, 13vw, 92px);
  line-height: 1;
  color: var(--neon);
  text-shadow: 0 0 40px rgba(51, 255, 78, 0.5);
}
.drop__total-u {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--mono-muted);
}

.drop__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 500px;
  margin: 22px auto 0;
}
.drop__stats--two { grid-template-columns: repeat(2, 1fr); max-width: 380px; }
.dstat {
  background: rgba(5, 5, 5, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dstat__v {
  font-family: var(--display);
  font-size: clamp(24px, 5vw, 32px);
  color: var(--neon);
}
.dstat__k { font-family: var(--mono); font-size: 10.5px; color: var(--mono-muted); text-transform: uppercase; letter-spacing: 1px; }
.drop__status { margin-top: 18px; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ---------- PRICE CHART ---------- */
.chart { max-width: 840px; margin: 0 auto; padding: 20px 22px 10px; }
.chart__box {
  position: relative;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(4px);
  overflow: hidden;
  height: 320px;
}
.chart__box canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }

/* timeframe toggle */
.chart__tools { display: flex; align-items: center; gap: 10px; }
.tf {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.5);
}
.tf__btn {
  border: none;
  background: none;
  color: var(--mono-muted);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.tf__btn:hover { color: var(--text); }
.tf__btn.is-active { background: var(--neon); color: #04140a; }
.tf__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.tf__btn:disabled:hover { color: var(--mono-muted); }

/* hover tooltip */
.chart__tip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.chart__tip b { color: var(--neon); font-weight: 700; }
.chart__tip small { color: var(--mono-muted); display: block; }
.chart__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mono-muted);
}
.chart__legend {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mono-muted);
  text-align: center;
}
.chart__dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--neon); vertical-align: middle; margin-right: 2px; }
.chart__flag { color: var(--gold); font-weight: 700; }

/* ---------- DEV TRANSPARENCY ---------- */
.dev { max-width: 840px; margin: 0 auto; padding: 30px 22px 10px; text-align: center; }
.center { text-align: center; }
.dev__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.dev__card {
  background: rgba(5, 5, 5, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(4px);
}
.dev__card--hl { border-color: rgba(51, 255, 78, 0.4); box-shadow: 0 0 30px rgba(51, 255, 78, 0.08) inset; }
.dev__v {
  font-family: var(--display);
  font-size: clamp(22px, 5vw, 32px);
  color: #fff;
  line-height: 1;
}
.dev__card--hl .dev__v { color: var(--neon); }
.dev__k { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.dev__sub { font-family: var(--mono); font-size: 11px; color: var(--mono-muted); }
.dev__note {
  margin-top: 22px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mono-muted);
}
.dev__link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px dotted rgba(51, 255, 78, 0.5);
}
.dev__link:hover { border-color: var(--neon); }

/* ---------- LEADERBOARD ---------- */
.board { max-width: 840px; margin: 0 auto; padding: 24px 22px 44px; }
.board__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.refresh {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.refresh:hover { border-color: var(--neon); transform: translateY(-1px); }

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(4px);
}
.ldr { width: 100%; border-collapse: collapse; font-size: 14px; }
.ldr thead th {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--mono-muted);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}
.ldr tbody td { padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.ldr tbody tr:last-child td { border-bottom: none; }
.ldr tbody tr.is-elig { background: rgba(51, 255, 78, 0.05); }
.ldr tbody tr.is-infra { opacity: 0.55; }
.ldr__empty { text-align: center; color: var(--mono-muted); font-family: var(--mono); padding: 34px 16px; }

.c-rank { width: 52px; font-weight: 700; font-family: var(--mono); }
.c-amt { font-family: var(--mono); white-space: nowrap; }
.addr {
  font-family: var(--mono);
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dotted var(--mono-muted);
}
.addr:hover { color: var(--neon); border-color: var(--neon); }
.copy {
  margin-left: 8px;
  background: none;
  border: none;
  color: var(--mono-muted);
  cursor: pointer;
  font-size: 14px;
}
.copy:hover { color: var(--neon); }

.share { display: flex; align-items: center; gap: 10px; min-width: 120px; }
.share__bar { flex: 1; height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; }
.share__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--neon), var(--neon-dark)); border-radius: 999px; }
.share__pct { font-family: var(--mono); color: var(--muted); font-size: 12px; min-width: 48px; text-align: right; }

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.pill--yes { background: rgba(51, 255, 78, 0.14); color: var(--neon); border: 1px solid rgba(51, 255, 78, 0.4); }
.pill--no { background: rgba(255, 255, 255, 0.04); color: var(--mono-muted); }
.pill--muted { background: rgba(217, 164, 65, 0.12); color: var(--gold); border: 1px solid rgba(217, 164, 65, 0.35); }

.board__more { text-align: center; margin-top: 18px; }
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(51, 255, 78, 0.45);
  background: rgba(51, 255, 78, 0.06);
  color: var(--neon);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-more:hover { transform: translateY(-2px); background: rgba(51, 255, 78, 0.12); border-color: var(--neon); }

.board__note { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--mono-muted); line-height: 1.7; text-align: center; }

/* ---------- FOOTER ---------- */
.foot {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding: 30px 20px 46px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  color: var(--mono-muted);
  font-size: 12px;
  letter-spacing: 1px;
}
.foot a { color: var(--mono-muted); text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--neon); }

/* ---------- AIRDROP MODAL ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}
.modal__card {
  position: relative;
  width: 100%;
  max-width: 380px;
  text-align: center;
  padding: 34px 28px 30px;
  border: 1px solid rgba(51, 255, 78, 0.35);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.98), rgba(6, 6, 6, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(51, 255, 78, 0.12);
  animation: pop 0.18s ease;
}
@keyframes pop { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal__x {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--mono-muted);
  font-size: 18px;
  cursor: pointer;
}
.modal__x:hover { color: var(--text); }
.modal__emoji { font-size: 40px; line-height: 1; }
.modal__title {
  margin-top: 10px;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-size: 22px;
}
.am__big {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(40px, 12vw, 56px);
  line-height: 1;
  color: var(--neon);
  text-shadow: 0 0 30px rgba(51, 255, 78, 0.4);
}
.am__unit { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--mono-muted); margin-top: 6px; }
.am__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.am__cell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.am__cell span { font-family: var(--display); font-size: 22px; color: #fff; }
.am__cell small { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--mono-muted); }
.am__note {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--mono-muted);
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 40px);
  background: var(--neon);
  color: #04140a;
  font-family: var(--mono);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 560px) {
  .cta { min-width: 100%; }
  .c-amt { display: none; }
  .drop__stats { max-width: 100%; }
  .share { min-width: 84px; }
  .nav__x span { display: none; }
}
