/* ===== Sock & Pussy 500 — Magical Robinhood meme site ===== */
:root {
  --bg: #050a07;
  --bg-2: #0a1610;
  --card: rgba(12, 28, 18, 0.72);
  --green: #00c805;
  --green-bright: #39ff14;
  --green-dim: #00a304;
  --green-glow: rgba(0, 200, 5, 0.45);
  --gold: #d4ff5a;
  --text: #e8ffe9;
  --muted: #8fb89a;
  --border: rgba(0, 200, 5, 0.22);
  --radius: 18px;
  --font: "Space Grotesk", system-ui, sans-serif;
  --display: "Orbitron", "Space Grotesk", sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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;
}

a {
  color: var(--green-bright);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

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

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

/* ===== Magical background ===== */
#magic-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(0, 200, 5, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(57, 255, 20, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(0, 100, 40, 0.25), transparent 60%),
    linear-gradient(180deg, #030805 0%, #07140c 40%, #050a07 100%);
  animation: bg-breathe 12s ease-in-out infinite alternate;
}

@keyframes bg-breathe {
  from { filter: hue-rotate(0deg) brightness(1); }
  to { filter: hue-rotate(12deg) brightness(1.08); }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* Custom cursor */
#cursor-glow {
  position: fixed;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.9) 0%, rgba(0, 200, 5, 0.25) 45%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  opacity: 0;
}

#cursor-glow.active {
  opacity: 1;
}

#cursor-glow.hovering {
  width: 56px;
  height: 56px;
  background: radial-gradient(circle, rgba(212, 255, 90, 0.95) 0%, rgba(0, 200, 5, 0.35) 50%, transparent 70%);
}

#cursor-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.trail-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 12px var(--green-glow), 0 0 24px rgba(57, 255, 20, 0.4);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: trail-fade 0.7s var(--ease) forwards;
}

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

#spark-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  overflow: hidden;
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--green-bright);
  pointer-events: none;
  animation: spark-fly 0.85s var(--ease) forwards;
}

@keyframes spark-fly {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0); }
}

/* Floating orbs via pseudo on body layers */
#magic-bg::before,
#magic-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: float-orb 18s ease-in-out infinite;
}

#magic-bg::before {
  width: 320px;
  height: 320px;
  background: var(--green);
  top: 20%;
  left: 10%;
}

#magic-bg::after {
  width: 420px;
  height: 420px;
  background: #0f6;
  bottom: 10%;
  right: 5%;
  animation-delay: -7s;
  opacity: 0.2;
}

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

/* ===== 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;
  background: rgba(5, 10, 7, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
  box-shadow: 0 0 16px var(--green-glow);
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 0 12px var(--green-glow); }
  50% { box-shadow: 0 0 28px var(--green), 0 0 48px rgba(0, 200, 5, 0.25); }
}

.nav-title {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-ticker {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--green);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

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

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

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

.nav-socials {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--green-bright);
  background: rgba(0, 200, 5, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}

.btn-icon:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 20px var(--green-glow);
  background: rgba(0, 200, 5, 0.2);
  color: var(--gold);
}

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

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

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 200, 5, 0.35), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.magic-text {
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green-bright), var(--green));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

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

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  opacity: 0.8;
}

.glitch::before {
  color: #0f0;
  animation: glitch-1 3s infinite linear alternate-reverse;
  clip-path: inset(0 0 55% 0);
}

.glitch::after {
  color: #8f8;
  animation: glitch-2 2.5s infinite linear alternate-reverse;
  clip-path: inset(45% 0 0 0);
}

@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-3px, 1px); }
  94% { transform: translate(3px, -1px); }
}

@keyframes glitch-2 {
  0%, 90%, 100% { transform: translate(0); }
  93% { transform: translate(2px, -1px); }
  95% { transform: translate(-2px, 1px); }
}

.hero-symbol {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--green-bright);
  text-shadow: 0 0 24px var(--green-glow);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

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

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
  cursor: none;
  font-family: inherit;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--green-dim), var(--green-bright));
  color: #031006;
  box-shadow: 0 0 24px var(--green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--green), 0 8px 24px rgba(0, 0, 0, 0.4);
  color: #000;
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: shine 3.5s ease-in-out infinite;
}

@keyframes shine {
  0%, 60% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

.pulse-btn {
  animation: btn-pulse 2.5s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--green-glow); }
  50% { box-shadow: 0 0 36px var(--green), 0 0 60px rgba(57, 255, 20, 0.25); }
}

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

.btn-ghost:hover {
  border-color: var(--green);
  background: rgba(0, 200, 5, 0.1);
  color: var(--green-bright);
  transform: translateY(-2px);
}

.btn-copy {
  background: rgba(0, 200, 5, 0.08);
  border-color: var(--border);
  color: var(--muted);
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}

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

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  margin-top: 0.65rem;
  background: rgba(0, 200, 5, 0.15);
  border: 1px solid var(--border);
  color: var(--green-bright);
  border-radius: 999px;
  cursor: none;
  font-family: inherit;
  font-weight: 600;
}

.btn-sm:hover {
  background: var(--green);
  color: #031006;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  min-width: 110px;
  backdrop-filter: blur(10px);
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-value {
  font-weight: 700;
  color: var(--green-bright);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(0, 200, 5, 0.4);
  box-shadow:
    0 0 0 1px rgba(0, 200, 5, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(0, 200, 5, 0.2);
}

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

.frame-ring {
  position: absolute;
  inset: -6px;
  border-radius: 32px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--green), transparent, var(--gold), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-slow 10s linear infinite;
  pointer-events: none;
}

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

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

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

.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.75rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-hint span {
  width: 22px;
  height: 36px;
  border: 2px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.scroll-hint span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--green);
  border-radius: 2px;
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

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

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

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto;
}

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

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

.about-visual {
  display: flex;
  justify-content: center;
}

.logo-orb {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 1;
}

.logo-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--green);
  box-shadow: 0 0 40px var(--green-glow);
  position: relative;
  z-index: 2;
}

.orb-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 200, 5, 0.45);
  animation: spin-slow 20s linear infinite;
}

.orb-ring.delay {
  inset: -36px;
  border-style: solid;
  border-color: rgba(57, 255, 20, 0.15);
  animation-direction: reverse;
  animation-duration: 28s;
}

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

.about-text strong,
.accent {
  color: var(--green-bright);
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  background: rgba(0, 200, 5, 0.06);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.feature-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 10px var(--green);
  flex-shrink: 0;
}

/* Narrative */
.narrative {
  background: linear-gradient(180deg, transparent, rgba(0, 80, 30, 0.12), transparent);
}

.narrative-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.narrative-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.narrative-card {
  padding: 1.75rem;
}

.narrative-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--green-bright);
}

.narrative-card p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 200, 5, 0.12);
  border: 1px solid var(--border);
  color: var(--green-bright);
  font-weight: 600;
}

.narrative-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 2;
}

.narrative-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-bright);
}

.hover-lift {
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.hover-lift:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0, 200, 5, 0.2);
}

.tweet-section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.tweet-card {
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.25rem;
}

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

.tweet-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.tweet-avatar.sm {
  width: 32px;
  height: 32px;
}

.tweet-author {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.tweet-author strong {
  font-size: 0.95rem;
}

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

.tweet-link {
  color: var(--muted);
  padding: 6px;
  border-radius: 50%;
}

.tweet-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.tweet-body {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.tweet-quote {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  margin-bottom: 0.9rem;
}

.tweet-quote-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.tweet-quote-head strong {
  display: block;
  font-size: 0.85rem;
}

.tweet-quote-head span {
  font-size: 0.75rem;
  color: var(--muted);
}

.tweet-quote p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.tweet-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.narrative-side-art {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 2;
}

.narrative-side-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.token-card {
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.token-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 5, 0.5);
  box-shadow: 0 12px 40px rgba(0, 200, 5, 0.15);
}

.token-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.token-value {
  font-size: 1.15rem;
  font-weight: 700;
}

.token-value.highlight {
  color: var(--green-bright);
  text-shadow: 0 0 20px var(--green-glow);
  font-family: var(--display);
}

.token-value.mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 1rem;
  word-break: break-all;
  color: var(--gold);
}

.ca-card {
  grid-column: span 1;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: none;
  background: #0a1410;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.4s;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  color: var(--green-bright);
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 16px 48px rgba(0, 200, 5, 0.25);
  z-index: 2;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) saturate(1.15);
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 200, 5, 0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

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

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

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(0, 200, 5, 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;
  cursor: pointer;
  opacity: 0.7;
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 200, 5, 0.15);
  border: 1px solid var(--border);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(0, 200, 5, 0.35);
}

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

/* Community */
.community-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.2);
}

.community-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem;
}

.community-overlay h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px var(--green-glow);
}

.community-overlay p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  background: rgba(0, 0, 0, 0.35);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

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

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

.footer-brand strong {
  display: block;
  font-size: 0.95rem;
}

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

.disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 320px;
  text-align: center;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  font-weight: 600;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--green);
  color: #031006;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  z-index: 3000;
  box-shadow: 0 8px 32px rgba(0, 200, 5, 0.4);
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}

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

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

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

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

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

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

  .hero-ctas,
  .hero-stats {
    justify-content: center;
  }

  .hero-art {
    order: -1;
  }

  .hero-frame {
    width: min(100%, 320px);
  }

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

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

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

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

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

  .nav-toggle {
    display: flex;
  }

  .nav-title {
    display: none;
  }
}

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

  .nav-socials {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  body {
    cursor: auto;
  }

  #cursor-glow,
  #cursor-trail {
    display: none !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body {
    cursor: auto;
  }

  #cursor-glow,
  #cursor-trail {
    display: none !important;
  }
}
