/* ========== Cat Wif Hat / $Benny — Magical Solana Meme Site ========== */
:root {
  --bg: #0a0612;
  --bg-2: #120a1c;
  --surface: rgba(28, 16, 42, 0.72);
  --surface-2: rgba(40, 22, 58, 0.85);
  --border: rgba(255, 180, 120, 0.18);
  --text: #fff5eb;
  --muted: #c4a99a;
  --pink: #ff6b9d;
  --pink-2: #ff8fab;
  --orange: #ff9a4d;
  --gold: #ffd36a;
  --sol: #9945ff;
  --sol-2: #14f195;
  --cyan: #67e8f9;
  --fb: #1877f2;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Space Grotesk", var(--font);
  --cursor-size: 12px;
  --ring-size: 36px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

body.touch-device {
  cursor: auto;
}

body.touch-device .cursor-dot,
body.touch-device .cursor-ring {
  display: none !important;
}

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

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

button {
  font-family: inherit;
  cursor: none;
}

body.touch-device button {
  cursor: pointer;
}

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

/* ========== Custom Cursor ========== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.cursor-dot {
  width: var(--cursor-size);
  height: var(--cursor-size);
  background: radial-gradient(circle, #fff 0%, var(--pink) 60%, transparent 100%);
  box-shadow:
    0 0 12px var(--pink),
    0 0 28px var(--orange);
  transition: width 0.15s, height 0.15s, background 0.15s;
}

.cursor-ring {
  width: var(--ring-size);
  height: var(--ring-size);
  border: 2px solid rgba(255, 154, 77, 0.65);
  box-shadow: 0 0 20px rgba(153, 69, 255, 0.35);
  transition: width 0.2s, height 0.2s, border-color 0.2s, opacity 0.2s;
}

body.cursor-hover .cursor-dot {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, var(--gold) 0%, var(--pink) 70%, transparent 100%);
}

body.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--sol-2);
  opacity: 0.9;
}

body.cursor-click .cursor-dot {
  width: 8px;
  height: 8px;
}

/* Sparkle canvas + orbs */
#sparkle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orb-float 18s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: var(--sol);
  top: -10%;
  left: -5%;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: var(--pink);
  bottom: 10%;
  right: -8%;
  animation-delay: -6s;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: var(--orange);
  top: 40%;
  left: 50%;
  animation-delay: -12s;
}

.orb-4 {
  width: 220px;
  height: 220px;
  background: var(--sol-2);
  bottom: -5%;
  left: 15%;
  opacity: 0.2;
  animation-delay: -3s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.08);
  }
}

.floating-hats {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hat-particle {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.15;
  animation: hat-rise linear infinite;
  filter: drop-shadow(0 0 8px rgba(255, 154, 77, 0.4));
}

@keyframes hat-rise {
  0% {
    transform: translateY(110vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.2;
  }
  90% {
    opacity: 0.15;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

/* ========== Nav ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 4vw;
  background: rgba(10, 6, 18, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: -0.02em;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 154, 77, 0.5);
  box-shadow: 0 0 18px rgba(255, 107, 157, 0.4);
}

.nav-ticker {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #1a0a10;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  transition: width 0.25s;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.25s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--orange) 55%, var(--gold) 100%);
  color: #1a0a10;
  box-shadow: 0 8px 28px rgba(255, 107, 157, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(255, 154, 77, 0.5);
}

.btn-outline {
  border-color: rgba(255, 180, 120, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(255, 211, 106, 0.08);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--pink);
}

.btn-lg {
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
}

.btn-facebook {
  background: linear-gradient(135deg, #1877f2, #0d5dbf);
  color: #fff;
  box-shadow: 0 8px 28px rgba(24, 119, 242, 0.35);
}

.btn-facebook:hover {
  box-shadow: 0 12px 36px rgba(24, 119, 242, 0.55);
}

.mag-btn {
  position: relative;
  overflow: hidden;
}

.mag-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s;
}

.mag-btn:hover::before {
  transform: translateX(120%);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  z-index: 2;
  padding: 8.5rem 0 4rem;
  min-height: 100vh;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 500px;
  background: radial-gradient(ellipse, rgba(255, 107, 157, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-2);
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sol-2);
  box-shadow: 0 0 12px var(--sol-2);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.mag-text {
  text-shadow: 0 0 24px rgba(255, 107, 157, 0.4);
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.title-line {
  display: block;
}

.title-accent {
  display: block;
  background: linear-gradient(110deg, var(--pink), var(--orange), var(--gold), var(--sol-2));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
  filter: drop-shadow(0 0 30px rgba(255, 154, 77, 0.35));
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.contract-box {
  padding: 1rem 1.2rem;
  max-width: 420px;
}

.contract-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contract-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contract-row code,
.howto-ca code,
.mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.95rem;
  color: var(--gold);
  word-break: break-all;
}

.btn-copy {
  border: 1px solid rgba(255, 211, 106, 0.4);
  background: rgba(255, 211, 106, 0.1);
  color: var(--gold);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn-copy:hover {
  background: rgba(255, 211, 106, 0.22);
  transform: scale(1.04);
}

.btn-copy.copied {
  border-color: var(--sol-2);
  color: var(--sol-2);
}

.contract-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.45rem;
  opacity: 0.8;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-frame {
  position: relative;
  width: min(380px, 85vw);
  aspect-ratio: 1;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(255, 107, 157, 0.25), rgba(153, 69, 255, 0.2));
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hero-badge {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(10, 6, 18, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 211, 106, 0.4);
  font-weight: 800;
  font-family: var(--display);
  color: var(--gold);
  letter-spacing: 0.04em;
}

.ring-spin {
  position: absolute;
  inset: -8px;
  border-radius: 32px;
  border: 2px solid transparent;
  border-top-color: var(--pink);
  border-right-color: var(--sol);
  animation: spin 6s linear infinite;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.float-chip {
  position: absolute;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: chip-bob 4s ease-in-out infinite;
}

.chip-1 {
  top: 8%;
  left: -4%;
  animation-delay: 0s;
}

.chip-2 {
  top: 42%;
  right: -8%;
  animation-delay: -1.2s;
}

.chip-3 {
  bottom: 12%;
  left: 0;
  animation-delay: -2.4s;
}

@keyframes chip-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-banner {
  width: min(1180px, 92vw);
  margin: 3.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 60px rgba(153, 69, 255, 0.15);
}

.hero-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

/* ========== Magical cards ========== */
.mag-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, border-color 0.3s, box-shadow 0.35s;
}

.mag-card:hover {
  border-color: rgba(255, 154, 77, 0.45);
  box-shadow:
    var(--shadow),
    0 0 40px rgba(255, 107, 157, 0.12),
    inset 0 0 40px rgba(153, 69, 255, 0.05);
  transform: translateY(-4px);
}

/* ========== Sections ========== */
.section {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

.grad-text {
  background: linear-gradient(90deg, var(--pink), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* About */
.about {
  background: linear-gradient(180deg, transparent, rgba(153, 69, 255, 0.06), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about-story {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.about-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.about-body h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.about-body p {
  color: var(--muted);
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
}

.about-body .btn-facebook {
  margin-top: 0.5rem;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-card {
  padding: 1.25rem;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 0 10px rgba(255, 154, 77, 0.5));
}

.feature-card h4 {
  font-family: var(--display);
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

.lore-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lore-strip img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.4s, box-shadow 0.4s;
}

.lore-strip img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(255, 107, 157, 0.25);
}

/* Tokenomics */
.token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.token-card {
  padding: 1.4rem 1.5rem;
  text-align: center;
}

.token-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.token-card strong {
  font-family: var(--display);
  font-size: 1.25rem;
  background: linear-gradient(90deg, var(--text), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.token-bars {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 48px;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--gold));
  box-shadow: 0 0 16px rgba(255, 154, 77, 0.5);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar i.filled {
  width: var(--w);
}

/* Gallery — forced 3:2 */
.gallery {
  background: linear-gradient(180deg, transparent, rgba(255, 107, 157, 0.05), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  overflow: hidden;
  padding: 0;
  cursor: none;
}

body.touch-device .gallery-item {
  cursor: pointer;
}

.gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #1a1024;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.gallery-item:hover .gallery-frame img {
  transform: scale(1.08);
}

.gallery-item figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.gallery-item:hover figcaption {
  color: var(--gold);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(6, 3, 12, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(960px, 92vw);
  max-height: 75vh;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(255, 107, 157, 0.25);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2.5rem;
  line-height: 1;
  opacity: 0.8;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav.prev {
  left: 1.5rem;
}

.lightbox-nav.next {
  right: 1.5rem;
}

#lightbox-cap {
  color: var(--muted);
  font-weight: 600;
}

/* How to buy */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.step {
  padding: 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.step-num {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--sol));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
  display: block;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-family: var(--display);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

.howto-ca {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  max-width: 520px;
  margin: 0 auto;
}

.howto-ca span {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Community (last section) */
.community {
  padding-bottom: 5rem;
}

.community-inner {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(40, 18, 60, 0.9), rgba(20, 10, 30, 0.95));
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px rgba(153, 69, 255, 0.15);
}

.community-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 107, 157, 0.2), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(20, 241, 149, 0.1), transparent 50%);
  pointer-events: none;
}

.community-inner h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.85rem;
  position: relative;
}

.community-lead {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  position: relative;
}

.community-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
  margin-bottom: 1.5rem;
}

.community-meta {
  position: relative;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.community-meta .dot {
  opacity: 0.4;
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  background: rgba(6, 3, 12, 0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 154, 77, 0.4);
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
}

.footer-brand span {
  font-size: 0.8rem;
  color: var(--muted);
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.75;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Trail particles injected by JS */
.trail-spark {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  animation: trail-fade 0.7s ease-out forwards;
}

@keyframes trail-fade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) translateY(-20px);
  }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .contract-box {
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 6, 18, 0.96);
    padding: 1.25rem 4vw 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .nav.open .nav-actions {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 160px);
    left: 0;
    right: 0;
    background: rgba(10, 6, 18, 0.96);
    padding: 0 4vw 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: flex;
  }

  .token-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .lore-strip {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .float-chip {
    display: none;
  }

  .hero {
    padding-top: 6.5rem;
  }
}

@media (max-width: 480px) {
  .token-grid {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 80px 1fr 40px;
    font-size: 0.8rem;
  }
}
