/* ===== Data Bear — Magical Meme Token Site ===== */
:root {
  --bg: #020a05;
  --bg-elevated: #06140c;
  --green: #00e676;
  --green-bright: #39ff14;
  --green-soft: #00c853;
  --green-dim: #0a3d22;
  --green-glow: rgba(0, 230, 118, 0.45);
  --text: #e8fff0;
  --text-muted: #8fbf9f;
  --border: rgba(0, 230, 118, 0.25);
  --card: rgba(6, 28, 16, 0.72);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --radius: 20px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  cursor: none;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 230, 118, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 60%, rgba(0, 200, 83, 0.08), transparent 50%),
    radial-gradient(ellipse 35% 35% at 10% 80%, rgba(57, 255, 20, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a, button, .gallery-item, .copy-btn, .nav-toggle, .tweet-card {
  cursor: none;
}

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

/* Hide default cursor on interactive; keep custom */
@media (pointer: coarse) {
  html, body, a, button, .gallery-item, .copy-btn {
    cursor: auto;
  }
  .cursor-dot, .cursor-ring, #cursorCanvas {
    display: none !important;
  }
}

/* ===== Custom Cursor ===== */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--green-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--green), 0 0 24px var(--green-glow);
  transition: width 0.15s, height 0.15s, background 0.15s;
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 230, 118, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, background 0.2s;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
}

.cursor-dot.hover {
  width: 14px;
  height: 14px;
  background: #fff;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--green-bright);
  background: rgba(0, 230, 118, 0.08);
}

#cursorCanvas,
#bgParticles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

#bgParticles {
  z-index: 1;
  opacity: 0.7;
}

/* ===== Floating Orbs ===== */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 18s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(0, 230, 118, 0.15);
  top: 10%;
  left: -5%;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: rgba(57, 255, 20, 0.1);
  top: 50%;
  right: -8%;
  animation-delay: -6s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(0, 200, 83, 0.12);
  bottom: 15%;
  left: 30%;
  animation-delay: -12s;
}

.orb-4 {
  width: 160px;
  height: 160px;
  background: rgba(0, 230, 118, 0.1);
  top: 30%;
  left: 55%;
  animation-delay: -3s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

/* ===== Magic utilities ===== */
.magic-border {
  position: relative;
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  overflow: hidden;
}

.magic-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    transparent 20%,
    rgba(0, 230, 118, 0.5) 45%,
    rgba(57, 255, 20, 0.8) 50%,
    rgba(0, 230, 118, 0.5) 55%,
    transparent 80%
  );
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderShine 4s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes borderShine {
  0% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.accent { color: var(--green); }
.glow-text {
  text-shadow:
    0 0 20px var(--green-glow),
    0 0 40px rgba(0, 230, 118, 0.35),
    0 0 80px rgba(0, 230, 118, 0.2);
}

.float-anim {
  animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.mono { font-family: ui-monospace, monospace; font-size: 0.9em; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(2, 10, 5, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
  box-shadow: 0 0 16px var(--green-glow);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.nav-cta { display: none; }

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--green-soft), var(--green-bright));
  color: #021208;
  box-shadow: 0 0 24px var(--green-glow), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0, 230, 118, 0.55), 0 8px 24px rgba(0, 0, 0, 0.35);
}

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

.magic-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 100% { left: -60%; }
  50% { left: 120%; }
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding: calc(var(--nav-h) + 2rem) 4vw 4rem;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.2) brightness(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 10, 5, 0.5) 0%, rgba(2, 10, 5, 0.85) 60%, var(--bg) 100%),
    linear-gradient(90deg, rgba(2, 10, 5, 0.9) 0%, transparent 50%, rgba(2, 10, 5, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
  overflow: visible;
}

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

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

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.title-line { display: block; }

.hero-symbol {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 28ch;
}

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

.contract-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  max-width: 100%;
}

.contract-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}

.contract-addr {
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  color: var(--green-bright);
  word-break: break-all;
}

.copy-btn {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid var(--border);
  color: var(--green);
  border-radius: 8px;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  transition: background 0.2s, transform 0.2s;
}

.copy-btn:hover {
  background: rgba(0, 230, 118, 0.25);
  transform: scale(1.05);
}

.hero-mascot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.45), transparent 70%);
  filter: blur(30px);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.mascot-img {
  width: min(420px, 90%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(0, 230, 118, 0.5);
  box-shadow:
    0 0 40px var(--green-glow),
    0 0 80px rgba(0, 230, 118, 0.2),
    inset 0 0 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.mascot-ring {
  position: absolute;
  width: min(460px, 98%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(0, 230, 118, 0.35);
  animation: spinSlow 24s linear infinite;
  z-index: 0;
}

.mascot-ring::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
  transform: translateX(-50%);
}

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

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ===== Marquee ===== */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(0, 40, 20, 0.4);
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--green);
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

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

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

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.section-sub {
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 40ch;
  margin-inline: auto;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.about-frame {
  padding: 0;
  aspect-ratio: 3 / 2;
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(0, 230, 118, 0.12) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shineSweep 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes shineSweep {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

.about-copy .lead {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-copy strong { color: var(--text); }

.about-copy a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 230, 118, 0.4);
  transition: color 0.2s, border-color 0.2s;
}

.about-copy a:hover {
  color: var(--green-bright);
  border-color: var(--green-bright);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 1rem 0.5rem;
}

.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-bright);
  text-shadow: 0 0 16px var(--green-glow);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem 1.35rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 230, 118, 0.15);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px var(--green-glow));
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  color: var(--green);
}

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

/* ===== Tokenomics ===== */
.token-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.token-main {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.token-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
  box-shadow: 0 0 28px var(--green-glow);
  margin-bottom: 0.5rem;
}

.token-main h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-bright);
}

.token-name {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.token-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(0, 230, 118, 0.12);
  font-size: 0.9rem;
}

.token-row span { color: var(--text-muted); }
.token-row strong { color: var(--text); }

.token-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 1rem 0;
}

.bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.bar-head span:last-child {
  color: var(--green);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.bar-track {
  height: 10px;
  background: rgba(0, 40, 20, 0.8);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(0, 230, 118, 0.15);
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-soft), var(--green-bright));
  box-shadow: 0 0 12px var(--green-glow);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-fill.animated {
  width: var(--w);
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: none;
  background: none;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 10, 5, 0.9) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--green-bright);
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(2, 10, 5, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] { display: none; }

.lightbox-figure {
  max-width: min(1000px, 90vw);
  text-align: center;
}

.lightbox-figure img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(0, 230, 118, 0.25);
}

.lightbox-figure figcaption {
  margin-top: 1rem;
  font-family: var(--font-display);
  color: var(--green);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2.5rem;
  line-height: 1;
  z-index: 2;
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--green); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 40, 20, 0.7);
  border: 1px solid var(--border);
  color: var(--green);
  font-size: 2.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 2;
}

.lightbox-nav:hover {
  background: rgba(0, 80, 40, 0.9);
  box-shadow: 0 0 20px var(--green-glow);
}

.lightbox-nav.prev { left: 1.25rem; }
.lightbox-nav.next { right: 1.25rem; }

/* ===== X Proofs / Tweets ===== */
.tweets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.tweet-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem 1.15rem;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tweet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 230, 118, 0.12);
}

.tweet-link {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 3;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
  line-height: 0;
}

.tweet-link:hover {
  color: var(--green-bright);
  transform: scale(1.08);
}

.tweet-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding-right: 1.75rem;
}

.tweet-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
  box-shadow: 0 0 12px var(--green-glow);
  flex-shrink: 0;
}

.tweet-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tweet-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tweet-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tweet-body {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 0.55rem;
}

.tweet-tag {
  color: var(--green);
  font-weight: 600;
}

.tweet-mention,
.tweet-cashtag {
  color: var(--green-bright);
  font-weight: 600;
}

.tweet-ca {
  font-family: ui-monospace, monospace;
  font-size: 0.78em;
  color: var(--green-bright);
  word-break: break-all;
}

.tweet-ext {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 230, 118, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.tweet-ext:hover {
  color: var(--green-bright);
  border-color: var(--green-bright);
}

.tweet-media {
  margin-top: 0.65rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 230, 118, 0.2);
  background: rgba(0, 20, 10, 0.5);
}

.tweet-media img,
.tweet-media video {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
  background: #031208;
}

.tweet-media video {
  max-height: 380px;
  object-fit: contain;
  background: #000;
}

.tweet-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 230, 118, 0.12);
  display: flex;
  justify-content: flex-end;
}

.tweet-view {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.tweet-view:hover {
  color: var(--green-bright);
}

/* ===== Join ===== */
.join-card {
  text-align: center;
  padding: 3.5rem 2rem;
  position: relative;
}

.join-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.join-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
  box-shadow: 0 0 32px var(--green-glow);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.join-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.join-card > p {
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 1.75rem;
  position: relative;
  z-index: 1;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.social-btn:hover {
  background: rgba(0, 230, 118, 0.2);
  border-color: var(--green);
  box-shadow: 0 0 24px var(--green-glow);
  transform: translateY(-2px);
  color: var(--green-bright);
}

.join-contract {
  display: inline-flex;
  position: relative;
  z-index: 1;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

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

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--green);
}

.footer-note,
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--green);
  color: #021208;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  z-index: 6000;
  opacity: 0;
  transition: transform 0.35s, opacity 0.35s;
  pointer-events: none;
  box-shadow: 0 0 24px var(--green-glow);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tweets-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 1.5rem);
  }

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  .hero-tagline {
    margin-inline: auto;
  }

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

  .hero-mascot {
    order: 1;
    margin-bottom: 1rem;
  }

  .mascot-img {
    width: min(280px, 70vw);
  }

  .mascot-ring {
    width: min(310px, 78vw);
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(2, 10, 5, 0.96);
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }

  .nav-cta { display: none; }
}

@media (max-width: 600px) {
  .features-grid,
  .gallery-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 4rem 0;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }

  .lightbox-nav.prev { left: 0.5rem; }
  .lightbox-nav.next { right: 0.5rem; }
}
