/* ================= $JUGGS — Big Heart. Big Cause. ================= */

:root {
  --pink: #f0248c;
  --pink-deep: #c9106e;
  --pink-soft: #ffd9ec;
  --pink-bg: #fff5fa;
  --ink: #241019;
  --ink-soft: #6b4a5a;
  --white: #ffffff;
  --black: #1a1a1a;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(240, 36, 140, 0.16);
  --font-head: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--pink-bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-deep); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; }
code { font-family: ui-monospace, monospace; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  border: 3px solid var(--black);
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0,0,0,0.25); }
.btn-solid { background: var(--black); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); }
.btn-small { padding: 0.55rem 1.2rem; font-size: 0.95rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.7rem 1.5rem;
  background: rgba(255, 245, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--pink);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  color: var(--ink); text-decoration: none;
}
.nav-logo { width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--black); object-fit: cover; }
.nav-links { display: flex; gap: 1.1rem; margin-left: auto; flex-wrap: wrap; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--ink-soft); }
.nav-links a:hover { color: var(--pink-deep); }
.nav-cta { white-space: nowrap; }

/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 12px;
  border: 3px solid var(--black); background: var(--white); cursor: pointer;
  padding: 0; flex-shrink: 0;
}
.nav-toggle span { width: 20px; height: 3px; background: var(--black); margin: 0 auto; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-scrim { position: fixed; inset: 0; background: rgba(20,6,14,0.45); z-index: 45; }

/* ---------- Hero ---------- */
.hero { background: var(--pink); color: var(--white); overflow: hidden; }
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem;
  align-items: center; padding: 4rem 1.5rem 3rem;
}
.pill {
  display: inline-block; background: rgba(0,0,0,0.25);
  padding: 0.35rem 1rem; border-radius: 999px;
  font-weight: 800; font-size: 0.9rem; letter-spacing: 0.03em;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800;
  margin: 0.8rem 0;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.85);
  -webkit-text-stroke: 2px var(--black);
}
.hero-sub { font-size: 1.2rem; max-width: 34rem; font-weight: 600; }
.hero-sub strong, .hero-sub em { color: #ffe3f1; }
.hero-actions { display: flex; gap: 0.9rem; margin: 1.6rem 0 1.2rem; flex-wrap: wrap; }
.hero .btn-outline { border-color: var(--white); background: transparent; color: var(--white); }
.hero-art img {
  border-radius: var(--radius);
  border: 4px solid var(--black);
  box-shadow: 10px 10px 0 rgba(0,0,0,0.35);
  transform: rotate(2deg);
}

.ca-box {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: rgba(0,0,0,0.3); border: 2px dashed rgba(255,255,255,0.6);
  border-radius: 14px; padding: 0.6rem 1rem; font-size: 0.95rem;
  max-width: 100%; overflow: hidden;
}
.ca-label { font-weight: 800; }
.ca-box code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy {
  border: 2px solid var(--white); background: transparent; color: var(--white);
  border-radius: 8px; padding: 0.2rem 0.7rem; font-weight: 700; cursor: pointer;
}
.ca-copy:hover { background: var(--white); color: var(--pink-deep); }

/* ---------- Ticker ---------- */
.ticker { background: var(--black); color: var(--pink-soft); overflow: hidden; padding: 0.55rem 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker-track span { font-family: var(--font-head); font-weight: 700; white-space: nowrap; padding-right: 2rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: 1100px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.section h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--pink-deep); }
.section-lead { font-size: 1.15rem; max-width: 46rem; margin: 0.8rem 0 2.2rem; color: var(--ink-soft); font-weight: 600; }
.section-alt { max-width: none; background: var(--pink-soft); }
.section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section-alt .section-lead, .section-alt h2 { margin-left: auto; margin-right: auto; }
.section-alt { padding-left: 1.5rem; padding-right: 1.5rem; }
.section-pinker { max-width: none; background: var(--pink); color: var(--white); }
.section-pinker > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section-pinker h2 { color: var(--white); text-shadow: 3px 3px 0 rgba(0,0,0,0.6); }
.section-pinker .section-lead { color: #ffe3f1; }
.section-pinker .card { background: rgba(255,255,255,0.96); }
.muted { color: var(--ink-soft); }
.mini { font-size: 0.85rem; }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card {
  background: var(--white); border: 3px solid var(--black);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--pink-deep); }
.card-emoji { font-size: 2.2rem; margin-bottom: 0.4rem; }
.card .btn { margin-top: 0.9rem; }

/* ---------- Tokenomics ---------- */
.tax-visual { margin: 0 auto 2rem; }
.tax-bar {
  display: flex; height: 92px; border: 3px solid var(--black);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.tax-seg { display: flex; align-items: center; justify-content: center; color: var(--white); }
.tax-seg span { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; text-align: center; line-height: 1; }
.tax-seg small { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; }
.tax-charity { background: var(--pink-deep); }
.tax-rewards { background: var(--pink); }
.tax-dev { background: var(--black); }
.chain-facts {
  margin-top: 2rem; background: var(--white); border: 3px solid var(--black);
  border-radius: var(--radius); padding: 1.2rem 1.5rem;
}
.chain-facts summary {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--pink-deep); cursor: pointer; list-style: none;
}
.chain-facts summary::-webkit-details-marker { display: none; }
.chain-facts summary::after { content: "▾"; float: right; transition: transform 0.2s ease; }
.chain-facts[open] summary::after { transform: rotate(180deg); }
.chain-facts-hint { color: var(--ink-soft); font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; }
.chain-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem; }
.chain-facts-grid div { display: flex; flex-direction: column; font-size: 0.95rem; min-width: 0; }
.chain-facts-grid strong { color: var(--pink-deep); font-family: var(--font-head); }
.chain-facts-grid a { white-space: nowrap; }

/* ---------- Trackers ---------- */
.tracker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.tracker-card, .donations-panel {
  background: var(--white); border: 3px solid var(--black);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
}
.tracker-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tracker-head h3 { font-size: 1.3rem; color: var(--pink-deep); }
.mini-link { font-size: 0.85rem; font-weight: 700; }
.stat-big { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; margin: 0.6rem 0 0.1rem; }
.stat-sub { color: var(--ink-soft); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.9rem; }
.stat-inline { font-size: 1rem; }
.stat-inline strong { color: var(--pink-deep); font-size: 1.2rem; }
.tracker-feed { border-top: 2px dashed var(--pink-soft); padding-top: 0.8rem; max-height: 260px; overflow-y: auto; }
.feed-row {
  display: flex; justify-content: space-between; gap: 0.8rem;
  padding: 0.45rem 0; border-bottom: 1px solid #ffeaf5; font-size: 0.92rem;
}
.feed-row .amt { font-weight: 800; color: var(--pink-deep); white-space: nowrap; }
.feed-row a { text-decoration: none; font-weight: 700; }
.placeholder { color: var(--ink-soft); font-style: italic; }
.donations-panel { margin-top: 1.3rem; }
.donations-list { margin-top: 1rem; display: grid; gap: 0.8rem; }
.donation-row {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--pink-bg); border: 2px solid var(--pink-soft);
  border-radius: 14px; padding: 0.8rem 1.1rem; font-size: 0.98rem;
}
.donation-row .amt { font-family: var(--font-head); font-weight: 800; color: var(--pink-deep); font-size: 1.15rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.step {
  background: var(--white); border: 3px solid var(--black);
  border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--pink); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--black); margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; }
.step .btn { margin: 0.6rem 0 0.4rem; }

/* ---------- Onboarding platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: start; }
.platform-card {
  background: var(--white); border: 3px solid var(--black);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 0.9rem; position: relative;
}
.badge {
  position: absolute; top: -16px; left: 18px;
  background: var(--black); color: var(--pink-soft);
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  padding: 0.25rem 0.9rem; border-radius: 999px; border: 2px solid var(--pink);
}
.platform-head { display: flex; align-items: center; gap: 0.9rem; }
.platform-logo {
  width: 64px; height: 64px; border-radius: 16px;
  border: 3px solid var(--black); object-fit: cover; flex-shrink: 0;
}
.platform-head h3 { font-size: 1.35rem; color: var(--pink-deep); }
.platform-tag { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; line-height: 1.3; }
.platform-steps { padding-left: 1.2rem; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.platform-steps li::marker { font-family: var(--font-head); font-weight: 800; color: var(--pink); }
.platform-card .btn { align-self: flex-start; }
.platform-bonus { background: var(--pink-bg); border-radius: 10px; padding: 0.5rem 0.8rem; }

/* ---------- Self-custody subroute ---------- */
.subroute { margin-top: 2.6rem; }
.subroute > h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--pink-deep); margin-bottom: 1.2rem; }

/* ---------- Referrals ---------- */
.referrals { margin-top: 2.2rem; }
.referrals h3 { font-size: 1.3rem; color: var(--pink-deep); margin-bottom: 1rem; }
.referrals-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.referral-card {
  display: block; background: var(--white); border: 3px solid var(--black);
  border-radius: 16px; padding: 1rem 1.2rem; text-decoration: none; color: var(--ink);
  transition: transform 0.12s ease; box-shadow: var(--shadow);
}
.referral-card:hover { transform: translateY(-3px); }
.referral-card strong { font-family: var(--font-head); color: var(--pink-deep); }
.referral-card span { display: block; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Notice / FAQ ---------- */
.notice {
  margin-top: 2rem; background: var(--white);
  border: 3px dashed var(--pink); border-radius: var(--radius);
  padding: 1.3rem 1.6rem; font-size: 0.98rem;
}
.faq-list { display: grid; gap: 0.9rem; max-width: 800px; }
.faq-list details {
  background: var(--white); border: 3px solid var(--black);
  border-radius: 16px; padding: 1rem 1.3rem; box-shadow: var(--shadow);
}
.faq-list summary { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; cursor: pointer; color: var(--pink-deep); }
.faq-list details p { margin-top: 0.6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #f3cfe2; padding: 3rem 1.5rem 2rem; text-align: center; }
.footer-banner { max-width: 720px; margin: 0 auto 1.6rem; border-radius: var(--radius); border: 3px solid var(--pink); }
.footer-links { display: flex; justify-content: center; gap: 1.2rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.footer-links a { color: var(--pink-soft); font-weight: 800; text-decoration: none; font-family: var(--font-head); font-size: 1.05rem; }
.footer-links a:hover { color: var(--white); }
.footer-disclaimer { max-width: 760px; margin: 0 auto 1rem; font-size: 0.8rem; opacity: 0.75; }
.footer-love { font-family: var(--font-head); font-weight: 700; color: var(--pink-soft); }

/* ---------- Bottom quick-nav (mobile only) ---------- */
.bottom-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255, 245, 250, 0.96); backdrop-filter: blur(12px);
  border-top: 3px solid var(--pink);
  padding: 0.4rem 0.4rem calc(0.4rem + env(safe-area-inset-bottom));
  justify-content: space-between; align-items: flex-end;
}
.bn-item {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  text-decoration: none; color: var(--ink-soft); font-size: 0.62rem; font-weight: 800;
  font-family: var(--font-head); padding: 0.3rem 0.1rem; border-radius: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bn-icon { font-size: 1.2rem; line-height: 1; }
.bn-item.active { color: var(--pink-deep); background: var(--pink-soft); }
.bn-fab {
  transform: translateY(-14px);
}
.bn-fab .bn-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--pink); color: var(--white); border-radius: 50%;
  border: 3px solid var(--black); font-size: 1.5rem; box-shadow: 0 6px 0 rgba(0,0,0,0.25);
}
.bn-fab span:last-child { margin-top: 0.15rem; }
.bn-fab.active .bn-icon { background: var(--pink-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 2rem; }
  .hero-sub { margin: 0 auto; }
  .hero-actions, .pill { justify-content: center; }
  .ca-box { margin: 0 auto; }
  .hero-art { max-width: 300px; margin: 0 auto; order: -1; }
  .cards-3, .steps, .tracker-grid, .platforms { grid-template-columns: 1fr; }
  .chain-facts-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 3rem 1.2rem; }

  .nav-links {
    display: flex; flex-direction: column; gap: 0; position: fixed;
    top: 64px; left: 0.7rem; right: 0.7rem; z-index: 50;
    background: var(--white); border: 3px solid var(--black); border-radius: 18px;
    box-shadow: var(--shadow); padding: 0.5rem;
    transform: translateY(-12px) scale(0.98); opacity: 0; pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .nav-links.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.85rem 0.9rem; border-radius: 12px; font-size: 1.05rem; }
  .nav-links a:active, .nav-links a:hover { background: var(--pink-bg); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .bottom-nav { display: flex; }
  body { padding-bottom: 78px; }
  .footer { padding-bottom: calc(2rem + 78px); }
  html { scroll-padding-top: 78px; }
  section[id] { scroll-margin-top: 70px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.6rem; -webkit-text-stroke: 1.5px var(--black); }
  .hero-sub { font-size: 1.05rem; }
  .section h2 { font-size: 1.7rem; }
  .platform-logo { width: 52px; height: 52px; }
  .btn { padding: 0.75rem 1.5rem; }
}
