/* ==========================================================================
   $SNIPO — hand-drawn degen memecoin site
   ========================================================================== */

@font-face {
  font-family: "Bangers";
  src: url("../fonts/bangers-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #cba166;
  --gold-deep: #a9803f;
  --gold-dark: #7c5c2c;
  --cream: #f5ead4;
  --cream-2: #ecdcbc;
  --paper: #fbf3e4;
  --ink: #1c140d;
  --ink-soft: #2c2013;
  --red: #9c3b28;
  --red-bright: #d94a2f;
  --blue: #7fb2e0;
  --blue-dark: #4f86bd;
  --green: #4c9a5b;
  --white: #fffdf8;

  --font-display: "Bangers", "Luckiest Guy", cursive;
  --font-body: "Baloo 2", "Comic Sans MS", sans-serif;

  --radius: 22px;
  --border-thick: 4px;
  --shadow-comic: 8px 8px 0 var(--ink);
  --shadow-comic-sm: 5px 5px 0 var(--ink);

  --header-h: 84px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.05;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

::selection { background: var(--gold-deep); color: var(--white); }

/* Scrollbar flavor */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 10px; border: 2px solid var(--cream-2); }

/* ==========================================================================
   Utility: comic panel / paper texture
   ========================================================================== */

.comic-panel {
  border: var(--border-thick) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-comic);
  background: var(--paper);
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 18px;
  border-radius: 40px;
  transform: rotate(-2deg);
  border: 2px solid var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  padding: 14px 30px;
  border-radius: 50px;
  border: var(--border-thick) solid var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-comic-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: 9px 9px 0 var(--ink);
}
.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-primary { background: var(--red-bright); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-blue { background: var(--blue); color: var(--ink); }
.btn[disabled], .btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.3);
}
.btn[disabled]:hover, .btn.is-disabled:hover {
  transform: none;
  box-shadow: var(--shadow-comic-sm);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.section-kicker {
  font-family: var(--font-display);
  color: var(--red-bright);
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--ink);
}

.section-title {
  font-size: clamp(38px, 6vw, 64px);
  color: var(--ink);
  text-shadow: 4px 4px 0 var(--gold);
  margin: 6px 0 18px;
}

.section-title.on-dark { text-shadow: 4px 4px 0 var(--ink-soft); color: var(--cream); }

.section-lede {
  max-width: 620px;
  font-size: 19px;
  color: var(--ink-soft);
}

/* burst pattern background band */
.burst-bg {
  background-image: url("../img/bg2.webp");
  background-size: 900px;
  background-repeat: repeat;
  background-position: center;
}

.torn-divider {
  height: 46px;
  width: 100%;
  display: block;
  background: var(--cream);
  clip-path: polygon(0% 100%, 3% 20%, 7% 80%, 11% 10%, 15% 70%, 19% 15%, 23% 85%, 27% 25%, 31% 75%, 35% 5%, 39% 65%, 43% 20%, 47% 80%, 51% 10%, 55% 70%, 59% 15%, 63% 85%, 67% 25%, 71% 75%, 75% 5%, 79% 65%, 83% 20%, 87% 80%, 91% 10%, 95% 70%, 100% 30%, 100% 100%);
}

/* ==========================================================================
   Header
   ========================================================================== */

#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(203, 161, 102, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: var(--border-thick) solid var(--ink);
  transition: height 0.25s ease, background 0.25s ease;
}
#site-header.scrolled {
  height: 66px;
  background: rgba(245, 234, 212, 0.96);
}

.nav-inner {
  width: min(1250px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
}
.brand img {
  height: 56px;
  width: auto;
  transition: height 0.25s ease, transform 0.3s ease;
  filter: drop-shadow(2px 3px 0 rgba(0,0,0,0.25));
}
#site-header.scrolled .brand img { height: 44px; }
.brand:hover img { transform: rotate(-8deg); }
.brand-word {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: 1px;
  -webkit-text-stroke: 1px var(--ink);
  text-shadow: 3px 3px 0 var(--cream);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.5px;
}
.nav-links a {
  position: relative;
  padding: 4px 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;
  height: 3px;
  background: var(--red-bright);
  transition: right 0.2s ease;
}
.nav-links a:hover::after { right: 0; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .btn {
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 10px 20px;
  border-width: 3px;
  box-shadow: 4px 4px 0 var(--ink);
}
.nav-actions .btn:hover { box-shadow: 6px 6px 0 var(--ink); }
.nav-actions .btn svg { width: 16px; height: 16px; }

.icon-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.icon-btn:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

#home {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  background: url("../img/hero-bg-2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1250px, 94%);
  margin: 0 auto;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 36px 0;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 540px;
  text-align: left;
}

.hero-wordmark {
  width: clamp(340px, 28vw, 480px);
  filter: drop-shadow(5px 7px 0 rgba(28,20,13,0.18));
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.3vw, 28px);
  color: var(--red-bright);
  -webkit-text-stroke: 0.6px var(--ink);
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 0 var(--gold);
  margin: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.hero-live-btn .dex-icon-chart { display: none; }
.hero-live-btn .dex-icon-arrow { display: inline-flex; }
.hero-live-btn .dex-dot { display: inline-block; }
.hero-live-btn.is-live .dex-icon-chart { display: inline-flex; }
.hero-live-btn.is-live .dex-icon-arrow { display: none; }
.hero-live-btn.is-live .dex-dot { display: none; }

.ca-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: var(--border-thick) solid var(--ink);
  border-radius: 50px;
  padding: 10px 10px 10px 22px;
  box-shadow: var(--shadow-comic-sm);
  max-width: 560px;
}
.ca-box .ca-label {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--gold-dark);
  white-space: nowrap;
}
.ca-box .ca-value {
  flex: 1;
  min-width: 0;
  font-family: "Courier New", monospace;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca-box .ca-value.is-pending {
  color: var(--red-bright);
  font-family: var(--font-body);
  font-style: italic;
}
.ca-copy {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.ca-copy:hover { transform: scale(1.08) rotate(-6deg); }
.ca-copy svg { width: 20px; height: 20px; }
.ca-copy.copied { background: var(--green); }

.pending-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red-bright);
  margin-right: 8px;
  animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.hero-socials {
  display: flex;
  gap: 12px;
}

.hero-art {
  position: absolute;
  right: 13%;
  bottom: 0;
  z-index: 1;
  width: min(48%, 660px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.hero-art .contact-shadow {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: 46%;
  height: 32px;
  background: radial-gradient(ellipse at center, rgba(28,20,13,0.4), rgba(28,20,13,0) 72%);
  border-radius: 50%;
  animation: shadow-breathe 3.6s ease-in-out infinite;
}
.hero-art img {
  position: relative;
  width: 100%;
  filter: drop-shadow(6px 10px 0 rgba(28,20,13,0.15));
  animation: hero-breathe 3.6s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes hero-breathe {
  0%, 100% { transform: scale(1, 1); }
  50% { transform: scale(1.015, 1.03); }
}
@keyframes shadow-breathe {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.38; }
  50% { transform: translateX(-50%) scale(0.94); opacity: 0.28; }
}
.hero-art .sparkle {
  position: absolute;
  width: 24px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fffdf8' stroke='%231c140d' stroke-width='1' d='M12 0 L14.5 9.5 L24 12 L14.5 14.5 L12 24 L9.5 14.5 L0 12 L9.5 9.5 Z'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: sparkle-pop 3.4s ease-in-out infinite;
}
.hero-art .sparkle.s1 { top: 10%; right: 14%; animation-delay: 0s; }
.hero-art .sparkle.s2 { top: 44%; left: 4%; width: 16px; height: 16px; animation-delay: 1.1s; }
.hero-art .sparkle.s3 { bottom: 20%; right: 24%; width: 18px; height: 18px; animation-delay: 2.2s; }
@keyframes sparkle-pop {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 1; transform: scale(1.05); }
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--ink-soft);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ==========================================================================
   About
   ========================================================================== */

#about {
  position: relative;
  padding: 100px 0 110px;
  background: var(--paper);
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.about-text p b { color: var(--red-bright); }
.about-text .lead {
  font-size: 21px;
  font-weight: 700;
}
.about-video-wrap {
  position: relative;
}
.about-video-frame {
  position: relative;
  border: var(--border-thick) solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-comic);
  background: var(--ink);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1;
}
.about-video-frame:hover { transform: rotate(0deg) scale(1.02); }
.about-video-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-video-frame .tape {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 120px; height: 34px;
  background: rgba(245, 234, 212, 0.85);
  border: 2px solid rgba(28,20,13,0.3);
  z-index: 2;
}
.play-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--red-bright);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1px;
  padding: 10px 16px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  transform: rotate(8deg);
  animation: wiggle 3.2s ease-in-out infinite;
  box-shadow: 4px 4px 0 var(--ink);
}
@keyframes wiggle {
  0%, 100% { transform: rotate(8deg); }
  50% { transform: rotate(-4deg); }
}

.about-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.about-badges span {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  padding: 8px 16px;
  border: 3px solid var(--ink);
  border-radius: 40px;
  background: var(--cream-2);
  box-shadow: 3px 3px 0 var(--ink);
}

/* ==========================================================================
   Tokenomics
   ========================================================================== */

#tokenomics {
  position: relative;
  padding: 110px 0;
  background: var(--ink);
  color: var(--cream);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(203,161,102,0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(203,161,102,0.14), transparent 45%);
}
.tokenomics-head { text-align: center; margin: 0 auto 50px; }
.tokenomics-head .section-lede { margin: 0 auto; text-align: center; color: var(--cream-2); }

.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.token-card {
  background: var(--paper);
  color: var(--ink);
  border: var(--border-thick) solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-comic-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.token-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 8px 10px 0 rgba(0,0,0,0.5); }
.token-card .tk-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 50%;
  margin-bottom: 14px;
}
.token-card .tk-icon svg { width: 26px; height: 26px; }
.token-card h3 { font-size: 24px; margin-bottom: 6px; }
.token-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; font-weight: 600; }

.token-note {
  margin-top: 40px;
  text-align: center;
  color: var(--cream-2);
  font-size: 15px;
  font-style: italic;
}

/* ==========================================================================
   Roadmap
   ========================================================================== */

#roadmap {
  padding: 110px 0;
  background: var(--paper);
  position: relative;
}
.roadmap-head { text-align: center; margin: 0 auto 20px; }
.roadmap-head .section-lede { margin: 0 auto; text-align: center; }

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}
.roadmap-card {
  position: relative;
  background: var(--cream);
  border: var(--border-thick) solid var(--ink);
  border-radius: var(--radius);
  padding: 34px 22px 26px;
  box-shadow: var(--shadow-comic-sm);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.roadmap-card:nth-child(even) { transform: rotate(1.2deg); }
.roadmap-card:nth-child(odd) { transform: rotate(-1.2deg); }
.roadmap-card:hover { transform: translateY(-8px) rotate(0deg) scale(1.03); box-shadow: 8px 10px 0 rgba(0,0,0,0.35); }
.roadmap-card .rm-num {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red-bright);
  color: var(--white);
  border: 3px solid var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 3px 3px 0 var(--ink);
}
.roadmap-card .rm-logo {
  width: 56px; height: 56px;
  margin: 10px auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 50%;
}
.roadmap-card .rm-logo svg { width: 28px; height: 28px; }
.roadmap-card h3 { font-size: 23px; margin-bottom: 8px; }
.roadmap-card p { font-size: 15px; color: var(--ink-soft); margin: 0; font-weight: 600; }

/* ==========================================================================
   How to buy
   ========================================================================== */

#how-to-buy {
  padding: 110px 0;
  background: var(--gold);
  position: relative;
  overflow: hidden;
}
#how-to-buy::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/bg1.webp");
  background-size: 900px;
  opacity: 0.4;
  z-index: 0;
}
#how-to-buy .container { position: relative; z-index: 1; }
.htb-head { text-align: center; margin-bottom: 50px; }
.htb-head .section-lede { margin: 0 auto; text-align: center; }

.fomo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  color: var(--white);
  background: var(--red-bright);
  border: var(--border-thick) solid var(--ink);
  border-radius: 20px;
  padding: 16px 26px;
  max-width: 760px;
  margin: 0 auto 50px;
  box-shadow: var(--shadow-comic-sm);
  transform: rotate(-1deg);
  letter-spacing: 1px;
  text-align: center;
}
.fomo-banner .fomo-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--paper);
  border: var(--border-thick) solid var(--ink);
  border-radius: var(--radius);
  padding: 34px 22px 26px;
  box-shadow: var(--shadow-comic-sm);
  text-align: center;
  transition: transform 0.2s ease;
}
.step-card:nth-child(even) { transform: rotate(1.2deg); }
.step-card:nth-child(odd) { transform: rotate(-1.2deg); }
.step-card:hover { transform: translateY(-8px) rotate(0deg) scale(1.03); }
.step-num {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red-bright);
  color: var(--white);
  border: 3px solid var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 3px 3px 0 var(--ink);
}
.step-card .step-icon {
  width: 52px;
  height: 52px;
  margin: 10px auto 12px;
  color: var(--red-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card .step-icon svg { width: 100%; height: 100%; }
.step-card h3 { font-size: 21px; margin-bottom: 8px; }
.step-card p { font-size: 15px; color: var(--ink-soft); margin: 0; font-weight: 600; }
.step-card a.step-link { display: inline-block; margin-top: 12px; font-family: var(--font-display); color: var(--red-bright); letter-spacing: 1px; font-size: 14px; }

.htb-cta {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.fomo-family-box {
  margin: 50px auto 0;
  max-width: 760px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--ink);
  color: var(--cream);
  border: var(--border-thick) solid var(--ink);
  border-radius: var(--radius);
  padding: 24px 30px;
  box-shadow: var(--shadow-comic);
  text-align: left;
}
.ffb-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.ffb-icon svg { width: 26px; height: 26px; }
.ffb-text { flex: 1; min-width: 160px; }
.ffb-text h3 { font-size: 21px; margin-bottom: 4px; color: var(--cream); }
.ffb-text p { margin: 0; font-size: 14.5px; color: var(--cream-2); font-weight: 600; }
.ffb-btn { flex-shrink: 0; white-space: nowrap; }

/* ==========================================================================
   Gallery
   ========================================================================== */

#gallery {
  padding: 110px 0;
  background: var(--cream);
}
.gallery-head { text-align: center; margin-bottom: 50px; }
.gallery-head .section-lede { margin: 0 auto; text-align: center; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.gallery-item {
  position: relative;
  border: var(--border-thick) solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-comic-sm);
  aspect-ratio: 1 / 1;
  background: var(--gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease, z-index 0s;
}
.gallery-item:nth-child(4n+1) { transform: rotate(-2deg); }
.gallery-item:nth-child(4n+2) { transform: rotate(1.5deg); }
.gallery-item:nth-child(4n+3) { transform: rotate(-1deg); }
.gallery-item:nth-child(4n+4) { transform: rotate(2deg); }
.gallery-item:hover {
  transform: scale(1.06) rotate(0deg);
  box-shadow: 10px 10px 0 var(--ink);
  z-index: 5;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-item .gtag {
  position: absolute;
  bottom: 8px; left: 8px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.gallery-item:hover .gtag { opacity: 1; transform: translateY(0); }

.gallery-item.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, var(--cream-2), var(--cream-2) 10px, var(--paper) 10px, var(--paper) 20px);
  border-style: dashed;
  color: var(--gold-dark);
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  text-align: center;
  letter-spacing: 1px;
}
.gallery-item.placeholder .plus { font-size: 38px; line-height: 1; }
.gallery-item.placeholder:hover { transform: rotate(0deg) scale(1.03); box-shadow: var(--shadow-comic-sm); }

/* ==========================================================================
   Community / socials
   ========================================================================== */

#community {
  padding: 110px 0 130px;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#community::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/bg2.webp");
  background-size: 800px;
  opacity: 0.06;
}
#community .container { position: relative; z-index: 1; }
#community .section-title { margin-left: auto; margin-right: auto; }
#community .section-lede { margin: 0 auto 40px; text-align: center; color: var(--cream-2); }

.community-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.community-card {
  width: 260px;
  background: var(--paper);
  color: var(--ink);
  border: var(--border-thick) solid var(--ink);
  border-radius: var(--radius);
  padding: 30px 22px;
  box-shadow: var(--shadow-comic-sm);
  transition: transform 0.2s ease;
}
.community-card:hover { transform: translateY(-8px) rotate(-1deg); }
.community-card .cc-icon {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.community-card .cc-icon svg { width: 30px; height: 30px; }
.community-card h3 { font-size: 22px; margin-bottom: 6px; }
.community-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; font-weight: 600; }

.community-ca {
  max-width: 620px;
  margin: 0 auto;
}
.community-ca .ca-box { margin: 0 auto; background: var(--cream); }

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--cream-2);
  border-top: var(--border-thick) solid var(--ink);
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
}
.footer-brand img { height: 34px; }
.footer-links {
  display: flex;
  gap: 14px;
}
.footer-disclaimer {
  width: 100%;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--gold-dark);
  text-align: center;
  line-height: 1.6;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-1 { transition-delay: 0.05s; }
.reveal-2 { transition-delay: 0.15s; }
.reveal-3 { transition-delay: 0.25s; }
.reveal-4 { transition-delay: 0.35s; }

/* ==========================================================================
   Toast (copy confirmation)
   ========================================================================== */

#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  letter-spacing: 1px;
  padding: 14px 26px;
  border-radius: 40px;
  border: 3px solid var(--gold);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
#toast svg { flex-shrink: 0; color: var(--gold); }
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .token-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: repeat(1, 1fr); max-width: 460px; margin-left: auto; margin-right: auto; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .hero-inner {
    display: block;
    min-height: auto;
    padding: 26px 0 0;
  }
  .hero-stack {
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    gap: 18px;
  }
  .hero-wordmark { width: min(420px, 86vw); margin: 0 auto; }
  .hero-cta-row { justify-content: center; }
  .ca-box { margin: 0 auto; }
  .hero-art {
    position: static;
    width: min(460px, 92%);
    margin: 10px auto 0;
    pointer-events: auto;
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-video-wrap { order: -1; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions .icon-btn.desktop-only { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    padding: 28px 0;
    gap: 22px;
    border-bottom: var(--border-thick) solid var(--ink);
    font-size: 24px;
  }
}

@media (max-width: 720px) {
  .token-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .community-row { flex-direction: column; align-items: center; }
  .fomo-banner { flex-direction: column; }
  .fomo-family-box { flex-direction: column; text-align: center; }
  .ffb-text { min-width: 0; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  :root { --header-h: 64px; }
  #site-header.scrolled { height: 56px; }

  .nav-inner { gap: 6px; }
  .brand { gap: 6px; font-size: 19px; min-width: 0; }
  .brand img { height: 32px; }
  #site-header.scrolled .brand img { height: 28px; }
  .brand-word { white-space: nowrap; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn {
    padding: 8px 13px;
    font-size: 12.5px;
    letter-spacing: 0.3px;
  }
  .nav-toggle { width: 38px; height: 38px; border-radius: 10px; }
  .nav-toggle span { width: 18px; }

  .section-title { font-size: clamp(32px, 10vw, 44px); }
  .hero-wordmark { width: min(370px, 90vw); }
  .hero-tagline { font-size: 18px; }
  .stamp { font-size: 13px; padding: 7px 14px; }
  .ca-box { padding: 12px 12px 12px 18px; border-radius: 26px; }
  .hero-cta-row .btn { font-size: 16px; padding: 11px 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 360px) {
  .brand-word { display: none; }
  .nav-inner { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
