/* ============================================================
   SITE — everything from ponke.xyz's captured system:
   Poppins everywhere (Slackey for the wordmark), Tailwind-style
   300ms cubic-bezier(.4,0,.2,1) transitions, 24px-radius cards with
   2px red outlines or solid colour blocks, no gradients, no shadows,
   uppercase 12px-radius buttons with the text-roll hover, black
   eyebrow pills, red MENU button + full-screen red menu, gray-100 footer.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--line); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overscroll-behavior-y: none;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--bg-glow); pointer-events: none; }   /* the glow is fixed to the viewport, so it never scrolls */
body.menu-open, body.intro-open { overflow: hidden; }
body::-webkit-scrollbar { display: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--green); color: #fff; }

/* ---------- type ---------------------------------------------- */
.h-xl { font-size: clamp(48px, 6.6vw, 96px); font-weight: 700; line-height: 1; letter-spacing: -0.05em; }
.h-lg { font-family: var(--font-display); font-size: clamp(44px, 5.6vw, 84px); font-weight: 400; line-height: 1; letter-spacing: 0.01em; }
.h-md { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; line-height: 1.1; letter-spacing: 0.01em; }
.h-sm { font-family: var(--font-display); font-size: 25px; font-weight: 400; line-height: 1.3; letter-spacing: 0.01em; }
/* the big ones get the Slerf treatment: white letters, brown outline, brown extrude */
/* the same lettering inside a sentence, at the sentence's size: thinner outline, smaller extrude */
.pop-inline { display: block; margin: 0 0 2px; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.55vw, 37px); line-height: 1.15; letter-spacing: 0.01em; color: #fff; -webkit-text-stroke: 1.5px var(--pop-line); paint-order: stroke fill; text-shadow: 0.06em 0.06em 0 var(--pop-line); }
.h-lg, .pop, .brand-name, .token-panel .big, .placeholder-panel .big, .menu-links a { color: #fff; -webkit-text-stroke: 2px var(--pop-line); paint-order: stroke fill; text-shadow: 0.06em 0.06em 0 var(--pop-line); }
.h-xs { font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -0.05em; }
.lead { font-size: 18px; font-weight: 500; line-height: 1.65; }
.copy { font-size: 14px; font-weight: 400; line-height: 1.45; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; }
.eyebrow-lg { font-size: 14px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; }
.muted { color: var(--ink-50); }
/* inside a card or panel the background is light, so muted text has to use the card's ink */
.card .muted, .panel .muted, .card small, .proof-box .muted { color: var(--card-ink-50); }
.center { text-align: center; }

/* ---------- layout ---------------------------------------------- */
.container { width: min(1400px, 100% - 40px); margin-inline: auto; }
.section { padding: 96px 0; }
.section-head { display: grid; justify-items: center; text-align: center; gap: 16px; margin-bottom: 48px; }
.section-head .lead { max-width: 560px; }
.page { padding-top: calc(80px + 64px); }

/* ---------- nav (Ponke: fixed, transparent over the hero, solid once scrolled) ------ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; padding: 16px 0; transition: background-color 300ms var(--ease), padding 300ms var(--ease), border-color 300ms var(--ease); background: transparent; border-bottom: 1px solid transparent; }
.nav.is-solid { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); padding: 10px 0; }
.nav-inner { width: min(1400px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; transition: transform 300ms var(--ease); }
.brand:hover { transform: rotate(-5deg) scale(1.05); }
.brand-ball { width: 44px; height: 48px; }
.brand-name { font-family: var(--font-display); font-size: 30px; letter-spacing: 0.02em; line-height: 0.9; }
.brand-line { display: block; }   /* MILLIONS sits under MEGA, same face, same size */
.links { display: flex; align-items: center; gap: 32px; }
/* Slerf nav text: chunky white display face with a soft shadow; on hover a
   hand-drawn "marker" underline grows out from the middle of the word */
.links a { position: relative; display: inline-block; font-family: var(--font-display); font-size: 22px; font-weight: 400; letter-spacing: 0.55px; color: #fff; text-shadow: 1.5px 1.5px 0 rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3); -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.2); transition: transform 200ms cubic-bezier(0, 0, 0.2, 1); }
.links a .marker { position: absolute; left: 50%; bottom: -6px; width: 0; height: 5px; border-radius: 9999px; background: #fff; opacity: 0; transform: translateX(-50%) rotate(-2deg); box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2); pointer-events: none; transition: width 300ms ease-out, opacity 300ms ease-out; }
.links a:hover .marker, .links a.is-active .marker { width: 110%; opacity: 1; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.socials { display: flex; align-items: center; gap: 14px; }
.socials a { width: 22px; height: 22px; color: var(--ink); transition: transform 300ms var(--ease); }
.socials a:hover { transform: scale(1.1); }
.socials svg { width: 100%; height: 100%; }
.menu-btn { background: var(--green); color: #fff; border-radius: 8px; padding: 8px 16px; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.menu-btn:hover { background: var(--black); color: #fff; }

/* Ponke MENU overlay: full-screen red, big white links, socials, full-width white button */
.menu { position: fixed; inset: 0; z-index: 110; height: 100dvh; background: var(--green); color: #fff; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 300ms; }
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.menu-top .brand-name { color: #fff; }
.menu-close { width: 44px; height: 44px; display: grid; place-items: center; }
.menu-close svg { width: 28px; height: 28px; }
.menu-links { flex: 1; display: grid; place-content: center; text-align: center; gap: 4px; }
.menu-links a { font-family: var(--font-display); font-size: clamp(40px, 6.5vw, 56px); font-weight: 400; line-height: 1.2; letter-spacing: 0.02em; }
.menu-links a.is-active { color: var(--orange); }
.menu-social { display: flex; justify-content: center; gap: 22px; padding: 10px 0 20px; opacity: 0.9; }
.menu-social a { width: 26px; height: 26px; }
.menu-cta { margin: 0 20px 24px; background: #fff; color: var(--black); text-align: center; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; padding: 16px; border-radius: 12px; }

/* ---------- buttons (Ponke: uppercase, bold, radius 12px, icon, text-roll hover) ------ */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.025em; white-space: nowrap; font-size: 20px; padding: 14px 40px 14px 48px; transition: all 300ms var(--ease); isolation: isolate; }
.btn-sm { font-size: 14px; padding: 12px 24px 12px 28px; border-radius: 12px; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 300ms var(--ease); }
.btn-sm svg { width: 16px; height: 16px; }
.btn .roll { display: inline-grid; overflow: hidden; }
.btn .roll span { grid-area: 1 / 1; transition: transform 300ms var(--ease); }
.btn .roll span:last-child { transform: translateY(110%); }
.btn:hover .roll span:first-child { transform: translateY(-110%); }
.btn:hover .roll span:last-child { transform: translateY(0); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: scale(0.98); }
.btn-green, .btn-yellow { background: var(--green); color: #fff; }
.btn-green:hover, .btn-yellow:hover { background: var(--black); color: #fff; }
.btn-red { background: var(--black); color: #fff; }
.btn-red:hover { background: var(--green); color: #fff; }
.btn-black { background: var(--black); color: #fff; }
.btn-black:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--black); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:disabled:hover { background: var(--green); color: #fff; }
.btn:disabled:hover svg { transform: none; }
.btn:disabled:hover .roll span:first-child { transform: none; }
.btn:disabled:hover .roll span:last-child { transform: translateY(110%); }
.link { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 700; color: var(--ink-50); transition: color 150ms var(--ease); }
.link svg { width: 14px; height: 14px; }
.link:hover { color: var(--ink); }
.round-btn { width: 40px; height: 40px; border-radius: 9999px; border: 1.5px solid var(--ink); display: grid; place-items: center; color: var(--ink); transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease); }
.round-btn:hover { background: var(--ink); color: var(--bg); }
.round-btn svg { width: 18px; height: 18px; }
.round-btn:disabled { opacity: 0.35; }

/* ---------- pills & tiles ------------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 9999px; padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; background: var(--green); color: #fff; line-height: 1; }
.pill-black { background: var(--black); color: #fff; }
.pill-yellow { background: var(--white); color: var(--black); }
.pill-green { background: var(--green); color: #fff; }
.pill-white { background: #fff; color: var(--black); }
.pill-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.pill-sm { font-size: 10px; padding: 5px 10px; letter-spacing: 0.5px; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse-scale 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* ---------- cards (Ponke) ------------------------------------------------ */
.card { border-radius: 24px; background: var(--card); color: var(--card-ink); border: 3px solid var(--line); padding: 20px; transition: transform 300ms var(--ease), border-color 300ms var(--ease); }
.card:hover { border-color: var(--green); }
.card-solid { border-radius: 24px; padding: 24px; border: 0; color: var(--on-solid); transition: transform 300ms var(--ease); }
.card-solid.is-yellow { background: var(--card); color: var(--card-ink); border: 3px solid var(--line); }
.card-solid.is-green { background: var(--green); color: #fff; border: 3px solid var(--black); }
.card-solid.is-blue { background: var(--green-deep); color: #fff; border: 3px solid var(--black); }
.card-solid.is-black { background: var(--ink); color: var(--bg); }
.card-solid.is-red { background: var(--green); color: #fff; }
.card-16 { border-radius: 16px; }
.panel { border-radius: 24px; background: var(--card); color: var(--card-ink); border: 3px solid var(--line); padding: 32px; }
.tile { border-radius: 16px; background: var(--card); color: var(--card-ink); border: 2px solid var(--line); padding: 24px; display: grid; place-items: center; transition: transform 300ms var(--ease); }
.tile:hover { transform: scale(1.05); }
.chain-card { display: flex; align-items: center; gap: 12px; border-radius: 16px; background: var(--card); color: var(--card-ink); padding: 20px; border: 2px solid var(--line); transition: transform 300ms var(--ease), border-color 300ms var(--ease); }
.chain-card:hover { transform: scale(1.02); border-color: var(--green); }
.chain-card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.chain-card .t { font-size: 16px; font-weight: 700; }
.chain-card .s { font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--card-ink-50); }
.chain-card .arrow { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--card-ink-05); display: grid; place-items: center; }
.chain-card .arrow svg { width: 14px; height: 14px; }
.stat-tile { border-radius: 24px; padding: 28px 20px; display: grid; place-items: center; gap: 4px; text-align: center; }
.stat-tile .n { font-family: var(--font-display); font-size: clamp(44px, 4.4vw, 60px); font-weight: 400; line-height: 1; letter-spacing: 0.01em; }
.stat-tile .l { font-size: 12px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; }
.stat-tile.is-white, .stat-tile.is-yellow { background: var(--card); color: var(--card-ink); border: 3px solid var(--line); }
.stat-tile.is-white .n, .stat-tile.is-yellow .n { color: var(--green); }
.stat-tile.is-green { background: var(--green); color: #fff; border: 3px solid var(--black); }
.stat-tile.is-green .n { color: #fff; }
.stat-tile.is-black { background: var(--black); color: #fff; border: 3px solid var(--black); }
.stat-tile.is-black .n { color: var(--orange); }

/* ---------- Ponke keyframes ------------------------------------------------ */
.animate-bounce { animation: bounce 1s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); } 50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); } }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.animate-pulse { animation: pulse-scale 1s linear infinite; }
@keyframes pulse-scale { 0%, 60%, 100% { transform: scale(1); } 80% { transform: scale(1.2); } }
.pulse-once { animation: pulse-scale 1s linear 1; }
.animate-spin-slower { animation: spin 7s linear infinite; }
@keyframes spin { 100% { transform: rotate(1turn); } }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }
.loader { position: relative; width: 48px; height: 48px; border: 5px solid var(--ink); border-radius: 50%; display: inline-block; animation: pulse-scale 1s linear infinite; }
.loader::after { content: ""; position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; border: 5px solid var(--ink); border-radius: 50%; transform: translate(-50%, -50%); animation: scaleUp 1s linear infinite; }
@keyframes scaleUp { 0% { transform: translate(-50%, -50%) scale(0); } 60%, 100% { transform: translate(-50%, -50%) scale(1); } }
.skeleton { height: 12px; border-radius: 6px; background: var(--card-ink-10); }
.skeleton.w-90 { width: 90%; } .skeleton.w-80 { width: 80%; } .skeleton.w-60 { width: 60%; } .skeleton.w-45 { width: 45%; }
.skeletons { display: grid; gap: 10px; }

/* ---------- dock (bottom-left: theme · info · sound) — Ponke black buttons ------ */
.dock { position: fixed; left: 20px; bottom: 20px; z-index: 80; display: flex; gap: 8px; }
.dock-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--black); color: #fff; border-radius: 12px; padding: 10px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease); }
.dock-btn:hover { background: var(--green); color: #fff; transform: scale(1.05); }
.dock-btn.is-active { background: var(--green); color: #fff; }
.dock-btn svg { width: 16px; height: 16px; }
body.intro-open .dock, body.intro-open .nav { opacity: 0; pointer-events: none; }
.dock, .nav { transition: opacity 300ms var(--ease); }

/* ---------- footer (Ponke: gray-100, thin black top rule) --------------------- */
.footer { background: var(--footer); border-top: 1px solid var(--ink); padding: 96px 0 48px; margin-top: 96px; }
.footer-inner { width: min(1400px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-ball { width: 60px; height: 66px; margin-bottom: 14px; }
.footer-brand .brand-name { font-size: 28px; margin-bottom: 12px; }
.footer-tag { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 20px; font-weight: 500; padding: 4px 0; transition: color 150ms var(--ease); }
.footer-col a:hover { color: var(--green-deep); }
.footer-bottom { width: min(1400px, 100% - 40px); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--ink-10); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.footer-bottom a { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom a svg { width: 14px; height: 14px; }

/* ---------- the 7 ball (cartoon: flat fills, black outlines) --------------------- */
.sb { overflow: visible; }
.sb .sb-sphere { transform-origin: 120px 160px; transform-box: view-box; }
.sb .sb-hat { transform-origin: 120px 96px; transform-box: view-box; transform: rotate(-7deg); animation: hat-wobble 3.4s ease-in-out infinite; }
.sb .sb-feather { transform-origin: 66px 94px; transform-box: view-box; animation: feather-sway 2.6s ease-in-out infinite; }
.sb--mini .sb-hat, .sb--mini .sb-feather { animation: none; }
.sb--mini .sb-hat { transform: rotate(-7deg); }
@keyframes hat-wobble { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-3.5deg) translateY(-2px); } }
@keyframes feather-sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(7deg); } }

/* ---------- address --------------------------------------------------------- */
.addr { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.addr .identicon { border-radius: 8px; flex-shrink: 0; }
.copy-btn { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-40); transition: color 150ms, background-color 150ms; }
.copy-btn:hover { color: var(--ink); background: var(--ink-05); }
.copy-btn svg { width: 13px; height: 13px; }

/* ---------- responsive ------------------------------------------------------- */
@media (max-width: 1279px) {
  .links, .socials { display: none; }
  .nav { background: transparent; border-bottom: 0; padding: 12px 0; }
  .nav.is-solid { background: var(--nav-bg); padding: 8px 0; }
  .menu-btn { font-size: 14px; padding: 8px 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .btn { font-size: 16px; padding: 12px 24px 12px 28px; }
  .dock { left: 12px; bottom: 12px; gap: 6px; }
  .dock-btn span { display: none; }
  .dock-btn { padding: 10px 12px; }
  .footer { padding: 64px 0 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
:root[data-theme="dark"] .dock-btn { background: #111111; border: 2px solid var(--orange); }
:root[data-theme="dark"] .dock-btn:hover { background: var(--green); border-color: var(--green); }
