/* ========== Apple Cat ($AAPLCAT) — Magical Meme Site ========== */
:root {
  --lime: #b8ff00;
  --lime-dim: #8fcc00;
  --apple-red: #e53935;
  --apple-deep: #c62828;
  --green-dark: #0a1a08;
  --green-mid: #122410;
  --green-card: rgba(20, 45, 18, 0.72);
  --gold: #ffd54f;
  --text: #f4ffe8;
  --muted: #a8c89a;
  --glow: 0 0 40px rgba(184, 255, 0, 0.35);
  --glow-red: 0 0 30px rgba(229, 57, 53, 0.4);
  --radius: 20px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Custom cursor only on fine pointers */
@media (hover: none), (pointer: coarse) {
  body {
    cursor: auto;
  }
  #cursor-glow,
  #cursor-trail {
    display: none !important;
  }
}

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

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

code,
.mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.92em;
}

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

/* ========== Magical layers ========== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 0, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
  mix-blend-mode: screen;
}

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

.cursor-dot {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime), 0 0 24px rgba(184, 255, 0, 0.6);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(184, 255, 0, 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;
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--apple-red);
  box-shadow: 0 0 20px rgba(229, 57, 53, 0.4);
}

.trail-particle {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: trail-fade 0.7s ease-out forwards;
}

.trail-particle.apple {
  background: var(--apple-red);
  box-shadow: 0 0 8px var(--apple-red);
  border-radius: 40% 60% 50% 50%;
}

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

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

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

.orb-1 {
  width: 320px;
  height: 320px;
  background: var(--lime);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}
.orb-2 {
  width: 240px;
  height: 240px;
  background: var(--apple-red);
  top: 50%;
  right: -8%;
  animation-delay: -4s;
}
.orb-3 {
  width: 180px;
  height: 180px;
  background: var(--gold);
  bottom: 15%;
  left: 20%;
  animation-delay: -8s;
}
.orb-4 {
  width: 200px;
  height: 200px;
  background: #00e676;
  top: 30%;
  left: 50%;
  animation-delay: -12s;
  opacity: 0.2;
}
.orb-5 {
  width: 140px;
  height: 140px;
  background: #ff6d00;
  bottom: 30%;
  right: 25%;
  animation-delay: -6s;
}

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

/* ========== Nav ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: rgba(10, 26, 8, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 255, 0, 0.12);
}

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

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

.ticker {
  font-size: 0.75rem;
  color: var(--lime);
  background: rgba(184, 255, 0, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 255, 0, 0.3);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
  color: var(--lime);
  text-shadow: 0 0 12px rgba(184, 255, 0, 0.5);
}

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

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 99;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: rgba(10, 26, 8, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 255, 0, 0.15);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: var(--text);
  font-weight: 500;
}

.mobile-menu a:hover {
  background: rgba(184, 255, 0, 0.1);
  color: var(--lime);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-primary,
.btn-buy {
  background: linear-gradient(135deg, var(--lime) 0%, #d4ff4a 50%, var(--lime-dim) 100%);
  color: #0a1a08;
  box-shadow: var(--glow);
}

.btn-primary:hover,
.btn-buy:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 50px rgba(184, 255, 0, 0.55);
}

.btn-ghost {
  background: rgba(184, 255, 0, 0.08);
  border-color: rgba(184, 255, 0, 0.35);
  color: var(--lime);
}

.btn-ghost:hover {
  background: rgba(184, 255, 0, 0.15);
  transform: translateY(-2px);
}

.pulse-glow {
  animation: pulse-glow 2.4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(184, 255, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(184, 255, 0, 0.75), 0 0 60px rgba(184, 255, 0, 0.3);
  }
}

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

.mag-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: none;
}

.mag-btn:hover::after {
  animation: shine 0.7s ease;
}

@keyframes shine {
  to {
    transform: translateX(100%);
  }
}

/* ========== Glass / cards ========== */
.glass-card {
  background: var(--green-card);
  border: 1px solid rgba(184, 255, 0, 0.15);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.tilt-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  transform-style: preserve-3d;
}

.tilt-card:hover {
  border-color: rgba(184, 255, 0, 0.4);
  box-shadow: var(--glow), 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 4rem;
  z-index: 1;
  text-align: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 26, 8, 0.5) 0%,
    rgba(10, 26, 8, 0.85) 55%,
    var(--green-dark) 100%
  );
}

.hero-content {
  max-width: 720px;
  animation: fade-up 0.9s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(184, 255, 0, 0.1);
  border: 1px solid rgba(184, 255, 0, 0.3);
  font-size: 0.85rem;
  color: var(--lime);
  margin-bottom: 1.5rem;
}

.mag-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero-mascot-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
}

.hero-mascot {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--lime);
  box-shadow: var(--glow), var(--glow-red);
  position: relative;
  z-index: 2;
  margin: 10px auto;
}

.mascot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(184, 255, 0, 0.4);
  animation: ring-pulse 2.5s ease-out infinite;
}

.mascot-ring.ring-2 {
  animation-delay: 1.25s;
  border-color: rgba(229, 57, 53, 0.4);
}

@keyframes ring-pulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.float-bob {
  animation: bob 3.5s ease-in-out infinite;
}

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

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--lime);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: sparkle 2s ease-in-out infinite;
  z-index: 3;
}

.s1 {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}
.s2 {
  bottom: 20%;
  left: 0;
  background: var(--gold);
  animation-delay: 0.6s;
}
.s3 {
  top: 40%;
  right: -5%;
  background: var(--apple-red);
  animation-delay: 1.2s;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 12vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.title-line {
  display: block;
  background: linear-gradient(180deg, #fff 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(184, 255, 0, 0.35));
}

.title-line.accent {
  background: linear-gradient(180deg, #ff8a80 0%, var(--apple-red) 45%, #ffd54f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(229, 57, 53, 0.4));
}

.hero-ticker {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(184, 255, 0, 0.5);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.contract-box {
  padding: 1rem 1.25rem;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

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

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

.contract-row code {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  color: var(--lime);
  word-break: break-all;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(184, 255, 0, 0.35);
  background: rgba(184, 255, 0, 0.1);
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-copy:hover {
  background: rgba(184, 255, 0, 0.2);
  transform: scale(1.05);
}

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

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(45deg);
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.5;
  }
  50% {
    transform: rotate(45deg) translate(4px, 4px);
    opacity: 1;
  }
}

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

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

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

.mag-text {
  text-shadow: 0 0 20px rgba(184, 255, 0, 0.5);
  animation: mag-shimmer 3s ease-in-out infinite;
}

@keyframes mag-shimmer {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.35);
  }
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

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

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

.about-visual {
  position: relative;
  padding: 1.25rem;
  overflow: hidden;
}

.about-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(184, 255, 0, 0.25);
}

.about-glow {
  position: absolute;
  inset: 20%;
  background: radial-gradient(circle, rgba(184, 255, 0, 0.25), transparent 70%);
  pointer-events: none;
  animation: glow-pulse 3s ease-in-out infinite;
}

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

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

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

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

.lore-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lore-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: rgba(184, 255, 0, 0.06);
  border: 1px solid rgba(184, 255, 0, 0.12);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

.lore-points .icon {
  font-size: 1.2rem;
}

/* ========== Stats ========== */
.stats-strip {
  position: relative;
  z-index: 1;
  padding: 1rem 0 3rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--lime);
  text-shadow: 0 0 20px rgba(184, 255, 0, 0.4);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime);
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

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

.token-card {
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.token-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 8px rgba(184, 255, 0, 0.3));
}

.token-card h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.token-card p {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

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

.gallery-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: none;
  cursor: pointer;
  background: var(--green-card);
  aspect-ratio: 3 / 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  transition: transform 0.45s ease, filter 0.3s;
}

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

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
  border-color: rgba(184, 255, 0, 0.45);
}

.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}

.gallery-item:hover .gallery-cap {
  opacity: 1;
  transform: translateY(0);
}

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

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 75vh;
  width: auto;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 16px;
  border: 2px solid rgba(184, 255, 0, 0.3);
  box-shadow: var(--glow);
  animation: fade-up 0.3s ease;
}

.lightbox-cap {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--lime);
}

.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;
  transition: color 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  color: var(--lime);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(184, 255, 0, 0.12);
  border: 1px solid rgba(184, 255, 0, 0.3);
  color: var(--lime);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(184, 255, 0, 0.25);
}

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

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

.step {
  padding: 1.75rem 1.25rem;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(184, 255, 0, 0.25);
  line-height: 1;
  margin-bottom: 0.75rem;
}

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

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

.step code {
  color: var(--gold);
}

/* ========== Community ========== */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow);
  border-color: rgba(184, 255, 0, 0.4);
}

.social-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(184, 255, 0, 0.1);
  border: 1px solid rgba(184, 255, 0, 0.25);
}

.social-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.social-card p {
  color: var(--lime);
  font-weight: 500;
}

.cta-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(
    135deg,
    rgba(184, 255, 0, 0.12) 0%,
    rgba(229, 57, 53, 0.1) 100%
  );
  border-color: rgba(184, 255, 0, 0.25);
}

.cta-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--lime);
  object-fit: cover;
  box-shadow: var(--glow);
}

.cta-banner h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.cta-banner p {
  color: var(--muted);
}

/* ========== Footer ========== */
.footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(184, 255, 0, 0.1);
  background: rgba(5, 12, 4, 0.6);
}

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

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

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

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

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

.disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 560px;
  opacity: 0.8;
}

.copy {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.6;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  padding: 0.75rem 1.5rem;
  background: var(--lime);
  color: #0a1a08;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  box-shadow: var(--glow);
  animation: fade-up 0.3s ease;
}

.toast[hidden] {
  display: none;
}

/* ========== Reveal on scroll ========== */
.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: 960px) {
  .nav-links {
    display: none;
  }
  .nav .btn-buy {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

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

  .about-visual {
    max-width: 360px;
    margin: 0 auto;
  }

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

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

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

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

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

@media (max-width: 560px) {
  .hero-mascot-wrap {
    width: 160px;
    height: 160px;
  }
  .hero-mascot {
    width: 140px;
    height: 140px;
  }

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

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

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

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

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-nav.prev {
    left: 0.5rem;
  }
  .lightbox-nav.next {
    right: 0.5rem;
  }
}
