/* ============================================================
   Magic Internet Cash ($CASH) — styles
   Hand-drawn / neo-brutalist meme energy (à la magicinternetmoney.party),
   recolored to Robinhood lime-green on near-black.
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-2: #0c0e08;

  --ink: #050505;            /* near-black ink: borders/text on light tiles */
  --paper: #f3f0e4;          /* warm cream "paper" cards */
  --paper-ink: #14120a;      /* dark text on paper */

  --accent: #b6f500;         /* Robinhood green */
  --accent-2: #c6f534;       /* lighter chartreuse */
  --accent-3: #9bdc00;       /* deeper green */
  --sh: #5f8a00;             /* hard-shadow green (the "sticker" drop) */
  --glitch-a: #d6ff4a;       /* glitch layer 1 (lime) */
  --glitch-b: #3fe3b6;       /* glitch layer 2 (mint) */

  --text: #f5f8ec;
  --muted: rgba(245, 248, 236, 0.66);
  --muted-2: rgba(245, 248, 236, 0.44);

  --surface: #15180e;        /* dark card surface (green-tinted) */
  --surface-2: #1c2113;
  --border-soft: rgba(255, 255, 255, 0.10);

  --font-display: "Gaegu", "Comic Sans MS", "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1140px;
  --header-h: 70px;
  --border-width: 3px;

  --shadow-card: 6px 6px 0 var(--sh);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; font-family: var(--font-display); }
p { margin: 0; }

.accent { color: var(--accent); }
.muted { color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(60px, 8.5vw, 116px) 0; position: relative; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  font-family: var(--font-display);
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Background FX (vortex + floating symbols)
   ============================================================ */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.vortex {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220vmax;
  height: 220vmax;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    var(--accent) 8deg,
    transparent 18deg
  );
  animation: vortex-spin 70s linear infinite;
  will-change: transform;
}
.floaters { position: absolute; inset: 0; }
.floater {
  position: absolute;
  top: 0;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--accent);
  opacity: 0.5;
  filter: drop-shadow(0 0 6px rgba(182, 245, 0, 0.5));
  animation: float-around linear infinite;
  will-change: transform;
}

/* Sit real content above the fx layer */
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ============================================================
   Section headings
   ============================================================ */
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(182, 245, 0, 0.10);
  border: 2px solid var(--accent);
  border-radius: 12px 4px 12px 4px;
  padding: 4px 14px;
  transform: rotate(-2deg);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.12rem;
}
.section-head--center .section-lead { margin-inline: auto; max-width: 46ch; }

/* Hard-offset "sticker" title shadow */
.title-shadow {
  color: var(--text);
  text-shadow: 3px 3px 0 var(--accent-3), 6px 6px 0 rgba(182, 245, 0, 0.22);
}

/* Highlighter marker behind text */
.hl {
  position: relative;
  z-index: 0;
  color: var(--ink);
  white-space: nowrap;
}
.hl::before {
  content: "";
  position: absolute;
  left: -0.14em; right: -0.14em;
  top: 0.14em; bottom: 0.10em;
  background: var(--accent);
  transform: rotate(-1.4deg) skewX(-7deg);
  border-radius: 4px;
  z-index: -1;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  border: var(--border-width) solid var(--ink);
  border-radius: 16px 5px 16px 5px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 1rem; border-radius: 12px 4px 12px 4px; }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--sh);
  transform: rotate(-2deg);
}
.btn-primary:hover { transform: rotate(2deg) scale(1.05); background: var(--accent-2); }
.btn-primary:active { transform: rotate(0) scale(0.98); }

.btn-hero {
  background: var(--accent);
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  padding: 18px 34px;
  border-width: 4px;
  border-radius: 22px 6px 22px 6px;
  transform: rotate(-2deg);
  animation: magic-glow 3s ease-in-out infinite;
}
.btn-hero:hover { transform: rotate(2deg) scale(1.06); background: var(--accent-2); }
.btn-hero:active { transform: rotate(0) scale(0.99); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 3px 3px 0 rgba(182, 245, 0, 0.28);
  transform: rotate(1.5deg);
}
.btn-ghost:hover { background: var(--accent); color: var(--ink); transform: rotate(-1.5deg) scale(1.05); }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 2px solid rgba(182, 245, 0, 0.28);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  flex-shrink: 0;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--accent);
  box-shadow: 2px 2px 0 var(--sh);
}
.brand-name { white-space: nowrap; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: auto;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  padding: 6px 13px;
  border: 2px solid transparent;
  border-radius: 12px 4px 12px 4px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-links a:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--ink);
  transform: rotate(-2deg);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.socials { display: inline-flex; align-items: center; gap: 8px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px 4px 12px 4px;
  color: var(--text);
  border: 2px solid var(--accent);
  background: var(--surface);
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.social-btn:hover {
  color: var(--ink);
  background: var(--accent);
  transform: rotate(-4deg) scale(1.06);
}
.social-btn .icon { width: 18px; height: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 9px;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 12px 4px 12px 4px;
  box-shadow: 2px 2px 0 var(--sh);
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  background: rgba(9, 10, 6, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--accent);
  padding: 20px 22px 28px;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-links { display: flex; flex-direction: column; gap: 8px; }
.mobile-links a {
  display: block;
  padding: 13px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  border: 2px solid var(--border-soft);
  border-radius: 14px 5px 14px 5px;
}
.mobile-links a:hover { color: var(--ink); background: var(--accent); border-color: var(--ink); }
.mobile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}
.mobile-actions .btn { flex: 1; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 76px) 0 clamp(46px, 7vw, 84px);
  text-align: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.ticker-sticker {
  position: absolute;
  top: 6px;
  left: 4px;
  z-index: 3;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  background: var(--accent);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 12px 4px 12px 4px;
  padding: 6px 16px;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-card);
  animation: wobble 6s ease-in-out infinite;
}

.hero-art {
  position: relative;
  width: min(84vw, 360px);
  margin-bottom: 26px;
}
.hero-art-frame {
  position: relative;
  z-index: 2;
  border: 4px solid var(--ink);
  border-radius: 34px 10px 34px 10px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--sh);
  animation: float 4.5s ease-in-out infinite;
}
.hero-art-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-spark {
  position: absolute;
  z-index: 3;
  font-size: 1.8rem;
  animation: sparkle 2.4s ease-in-out infinite;
}
.hero-spark--1 { top: -14px; right: -6px; }
.hero-spark--2 { bottom: 6px; left: -14px; animation-delay: 1.1s; }

/* Hero wordmark (bouncing letters + glitch + green glow) */
.hero-title {
  margin: 6px 0 14px;
  line-height: 0.98;
}
.ht {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 9.5vw, 6.2rem);
  color: var(--text);
  text-shadow: 1.5px 0 var(--glitch-a), -1.5px 0 var(--glitch-b),
    0 0 3px rgba(182, 245, 0, 0.5), 0 0 22px rgba(182, 245, 0, 0.35);
  animation: glitch-shadow 1.9s ease-in-out infinite;
}
.ht-w { display: inline-block; white-space: nowrap; }
.ht-w + .ht-w { margin-left: 0.3em; }
.ht-w--accent { color: var(--accent); }
.ht span {
  display: inline-block;
  animation: bounce-letter 2.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.08s);
}

.hero-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.4vw, 1.9rem);
  color: var(--text);
  max-width: 24ch;
  transform: rotate(-1.2deg);
  margin-bottom: 8px;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 26px;
}

/* CA pill */
.ca-wrap {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.ca-label {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.ca-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 11px 15px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 14px 5px 14px 5px;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  box-shadow: 3px 3px 0 var(--sh);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.ca-pill:hover { background: var(--surface-2); transform: rotate(-1deg); }
.ca-address {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca-copy { display: inline-flex; color: var(--accent); flex-shrink: 0; }
.ca-copy .icon { width: 18px; height: 18px; }
.icon-check { display: none; }
.ca-pill.copied .icon-copy { display: none; }
.ca-pill.copied .icon-check { display: block; }
.copied-toast {
  position: absolute;
  top: -36px;
  right: 0;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 4px 11px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.ca-pill.copied .copied-toast { opacity: 1; transform: translateY(0); }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  overflow: hidden;
  background: var(--accent);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 10px 0;
  transform: rotate(-1.6deg) scale(1.04);
  margin: 10px 0 6px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  color: var(--ink);
  white-space: nowrap;
  padding-right: 0.4em;
}
.marquee-track b { color: var(--ink); opacity: 0.7; }

/* ============================================================
   Story
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(26px, 4vw, 54px);
}
.paper-frame {
  border: 4px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--sh);
  transform: rotate(-1.5deg);
}
.paper-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-cards { display: flex; flex-direction: column; gap: 20px; }
.paper-card {
  background: var(--paper);
  color: var(--paper-ink);
  border: var(--border-width) solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  padding: 22px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease);
}
.paper-card--a { transform: rotate(-1.2deg); }
.paper-card--b { transform: rotate(1.2deg); }
.paper-card:hover { transform: rotate(0) translateY(-3px); }
.paper-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 6px;
  color: var(--paper-ink);
}
.paper-card p {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--paper-ink);
}

/* ============================================================
   Why grid (sticker cards)
   ============================================================ */
.sticker {
  position: relative;
  background: var(--surface);
  border: var(--border-width) solid var(--accent);
  border-radius: 20px 6px 20px 6px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
}
.sticker--green { background: var(--accent); color: var(--ink); border-color: var(--ink); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
.why-grid .sticker { padding: 28px 24px; text-align: center; }
.why-grid .sticker:nth-child(odd) { transform: rotate(-1.4deg); }
.why-grid .sticker:nth-child(even) { transform: rotate(1.4deg); }
.why-grid .sticker:hover {
  transform: rotate(0) translateY(-5px) scale(1.02);
  background: var(--accent);
  border-color: var(--ink);
}
.why-emoji { font-size: 2.6rem; display: block; margin-bottom: 12px; }
.why-grid h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--text); }
.why-grid p { color: var(--muted); font-size: 1rem; }
.why-grid .sticker:hover h3,
.why-grid .sticker:hover p { color: var(--ink); }

/* ============================================================
   Tokenomics — timeline + stat cards
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 26px 22px;
  margin-bottom: 34px;
}
.tl-card {
  position: relative;
  padding: 30px 26px 26px;
  border: 4px solid var(--ink);
  border-radius: 25px 10px 25px 10px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease);
}
.tl-card--green { background: var(--accent); color: var(--ink); }
.tl-card--dark { background: var(--surface); color: var(--text); border-color: var(--accent); }
.tl-card:nth-child(odd) { transform: rotate(-1.2deg); }
.tl-card:nth-child(even) { transform: rotate(1.2deg); }
.tl-card:hover { transform: rotate(0) translateY(-4px); }
.tl-card h3 { font-size: 1.55rem; margin-bottom: 8px; }
.tl-card p { font-family: var(--font-hand); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.tl-card--green p { color: var(--ink); }
.tl-badge {
  position: absolute;
  top: -16px;
  left: -8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--surface);
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 12px 4px 12px 4px;
  padding: 3px 12px;
  transform: rotate(-10deg);
}
.tl-badge--alt { background: var(--accent); color: var(--ink); border-color: var(--ink); left: auto; right: -8px; transform: rotate(10deg); }

.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}
.token-card { padding: 26px 24px; text-align: center; }
.token-card:nth-child(odd) { transform: rotate(-1.2deg); }
.token-card:nth-child(even) { transform: rotate(1.2deg); }
.token-card:hover { transform: rotate(0) translateY(-4px); }
.token-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.token-card.sticker--green .token-label { color: var(--ink); }
.token-value {
  display: block;
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--text);
}
.token-card.sticker--green .token-value { color: var(--ink); }
.token-note { font-size: 0.98rem; color: var(--muted); }
.token-card.sticker--green .token-note { color: rgba(5, 5, 5, 0.72); }

/* ============================================================
   Gallery / wizards
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 26px 22px;
}
.wizard-card { position: relative; margin: 0; padding-bottom: 30px; }
.wizard-frame {
  border: var(--border-width) solid var(--accent);
  border-radius: 22px 7px 22px 7px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wizard-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s var(--ease); }
.wizard-card:nth-child(odd) .wizard-frame { transform: rotate(-1.4deg); }
.wizard-card:nth-child(even) .wizard-frame { transform: rotate(1.4deg); }
.wizard-card:hover .wizard-frame { transform: rotate(0) translateY(-6px); box-shadow: 10px 12px 0 var(--sh); }
.wizard-card:hover .wizard-frame img { transform: scale(1.06); }
.wizard-card figcaption {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-2.5deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 10px 3px 10px 3px;
  padding: 4px 14px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 var(--sh);
}

/* ============================================================
   How to buy — steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 24px 20px;
}
.step { padding: 30px 24px 26px; }
.step:nth-child(odd) { transform: rotate(-1.2deg); }
.step:nth-child(even) { transform: rotate(1.2deg); }
.step:hover { transform: rotate(0) translateY(-4px); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px 5px 14px 5px;
  background: var(--accent);
  color: var(--ink);
  border: 3px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 3px 3px 0 var(--sh);
  margin-bottom: 18px;
}
.step-title { font-size: 1.4rem; margin-bottom: 8px; color: var(--text); }
.step p { color: var(--muted); font-size: 1rem; }

.buy-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: clamp(34px, 5vw, 52px);
}

/* ============================================================
   Community / join
   ============================================================ */
.community { position: relative; }
.community::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(700px 320px at 50% 0%, rgba(182, 245, 0, 0.10), transparent 70%);
}
.spark-tag { display: inline-block; animation: sparkle 2.4s ease-in-out infinite; }
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 22px;
  max-width: 940px;
  margin-inline: auto;
}
.join-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 20px;
  border: var(--border-width) solid var(--ink);
  border-radius: 20px 6px 20px 6px;
  box-shadow: var(--shadow-card);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}
.join-card:nth-child(odd) { transform: rotate(-2deg); }
.join-card:nth-child(even) { transform: rotate(2deg); }
.join-card:hover { transform: rotate(0) translateY(-5px) scale(1.03); filter: brightness(1.08); }
.join-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; font-size: 2.4rem; }
.join-icon svg { width: 42px; height: 42px; }
.join-card--x { background: #0a0a0a; border-color: var(--accent); }
.join-card--tg { background: #29a9ea; }
.join-card--buy { background: #ff5da2; }
.join-card--chart { background: var(--accent); color: var(--ink); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  border-top: 3px solid var(--accent);
  padding: clamp(48px, 6vw, 72px) 0 40px;
  background:
    radial-gradient(760px 320px at 50% 0%, rgba(182, 245, 0, 0.08), transparent 70%),
    var(--bg-2);
  overflow: hidden;
}
.footer-glyph {
  position: absolute;
  top: -30px;
  right: -20px;
  font-family: var(--font-display);
  font-size: 220px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.06;
  transform: rotate(-14deg);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.footer-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: var(--text);
  text-shadow: 2px 2px 0 var(--accent-3);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-logo { width: 52px; height: 52px; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-align: left; }
.footer-ticker { font-size: 0.9rem; color: var(--muted-2); text-align: left; }
.socials--footer .social-btn { width: 44px; height: 44px; }
.socials--footer .icon { width: 19px; height: 19px; }
.disclaimer { max-width: 52ch; font-size: 0.9rem; color: var(--muted-2); line-height: 1.55; }
.copyright { font-size: 0.85rem; color: var(--muted-2); font-family: var(--font-display); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.30s; }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes vortex-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
}

@keyframes float-around {
  0% { transform: translateY(105vh) translateX(0) rotate(0deg); }
  100% { transform: translateY(-15vh) translateX(60px) rotate(360deg); }
}

@keyframes bounce-letter {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-14px); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.35; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

@keyframes wobble {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(-2deg); }
}

@keyframes magic-glow {
  0%, 100% { box-shadow: 4px 4px 0 var(--sh), 0 0 16px rgba(182, 245, 0, 0.45), 0 0 34px rgba(182, 245, 0, 0.2); }
  50% { box-shadow: 4px 4px 0 var(--sh), 0 0 26px rgba(182, 245, 0, 0.85), 0 0 64px rgba(182, 245, 0, 0.4); }
}

@keyframes glitch-shadow {
  0%, 100% { text-shadow: 1.5px 0 var(--glitch-a), -1.5px 0 var(--glitch-b), 0 0 3px rgba(182, 245, 0, 0.5), 0 0 22px rgba(182, 245, 0, 0.35); }
  33% { text-shadow: -1.5px 1px var(--glitch-a), 1.5px -1px var(--glitch-b), 0 0 3px rgba(182, 245, 0, 0.5), 0 0 22px rgba(182, 245, 0, 0.35); }
  66% { text-shadow: 1.5px -1px var(--glitch-a), -1.5px 1px var(--glitch-b), 0 0 3px rgba(182, 245, 0, 0.5), 0 0 22px rgba(182, 245, 0, 0.35); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions .socials { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; }
  .paper-frame { order: -1; max-width: 460px; margin-inline: auto; }
  .ticker-sticker { display: none; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .brand-name { display: none; }
  .ca-address { font-size: 0.72rem; max-width: 62vw; }
  .footer-brand { flex-direction: column; }
  .footer-name, .footer-ticker { text-align: center; }
  .hero-cta { gap: 12px; }
  .btn { width: 100%; }
  .hero-cta .btn, .buy-cta .btn { width: auto; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .vortex, .floaters, .marquee-track { animation: none !important; }
  .floater { display: none; }
  .ht::before, .ht::after { display: none; }
}
