:root {
  --green: #00c805;
  --green-hot: #7cff6a;
  --gold: #ffd84d;
  --ink: #050b08;
  --ink-2: #0a1610;
  --fog: #c8f5d0;
  --pink: #ff6b9d;
  --violet: #a78bfa;
  --white: #f3fff6;
  --muted: #7fa88a;
  --display: "Bangers", system-ui, sans-serif;
  --body: "Fredoka", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Magic canvas + runes */
#magic-canvas {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
}

.rune-rain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.rune {
  position: absolute;
  font-size: 1.1rem;
  color: var(--green);
  opacity: 0.25;
  animation: rune-fall linear infinite;
  text-shadow: 0 0 12px var(--green);
}

@keyframes rune-fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.35;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(180deg, rgba(5, 11, 8, 0.92), rgba(5, 11, 8, 0.55) 70%, transparent);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--green);
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  background: transparent;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 12px rgba(0, 200, 5, 0.55));
  transition: transform 0.25s ease;
}

.logo:hover .logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.logo-ticker {
  font-size: 0.75rem;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255, 216, 77, 0.45);
  border-radius: 999px;
  text-shadow: none;
}

.nav {
  margin-left: auto;
  margin-right: 0.75rem;
  display: flex;
  gap: 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}

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

@media (max-width: 800px) {
  .nav {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  background: var(--green);
  color: #041008;
  box-shadow:
    0 0 0 0 rgba(0, 200, 5, 0.4),
    0 6px 0 #007a03,
    0 0 24px rgba(0, 200, 5, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-3px) rotate(-1deg) scale(1.03);
  background: var(--gold);
  box-shadow: 0 8px 0 #b8860b, 0 0 28px rgba(255, 216, 77, 0.45);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-sm {
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
}

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

.btn-ghost {
  background: rgba(5, 11, 8, 0.45);
  color: var(--white);
  border-color: rgba(124, 255, 106, 0.45);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(0, 200, 5, 0.15);
  color: var(--green-hot);
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(0, 200, 5, 0.25);
}

/* ========== FULLSCREEN CINEMA ========== */
.cinema {
  position: relative;
  z-index: 4;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
}

.cinema-stage {
  position: absolute;
  inset: 0;
}

.cinema-video,
.cinema-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinema-video {
  z-index: 1;
  background: #000;
}

.cinema-video.is-live {
  z-index: 2;
}

.cinema-slideshow {
  z-index: 1;
}

.cinema-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s ease;
  filter: saturate(1.15) contrast(1.05);
}

.cinema-slideshow .slide.active {
  opacity: 1;
  transform: scale(1);
}

.cinema-fx {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.portal-ring {
  position: absolute;
  left: 50%;
  top: 45%;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  border: 3px solid rgba(0, 200, 5, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 40px rgba(0, 200, 5, 0.35),
    inset 0 0 60px rgba(0, 200, 5, 0.15);
  animation: portal-pulse 4s ease-in-out infinite;
}

.portal-ring.delay {
  width: min(90vw, 700px);
  height: min(90vw, 700px);
  border-color: rgba(167, 139, 250, 0.3);
  animation-delay: 1s;
  box-shadow: 0 0 50px rgba(167, 139, 250, 0.25);
}

@keyframes portal-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.92) rotate(0deg);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08) rotate(180deg);
    opacity: 1;
  }
}

.spark-burst {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 216, 77, 0.25), transparent 25%),
    radial-gradient(circle at 80% 60%, rgba(0, 200, 5, 0.2), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(255, 107, 157, 0.15), transparent 35%);
  animation: spark-shift 8s ease-in-out infinite alternate;
}

@keyframes spark-shift {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.15) translateY(-3%);
  }
}

.flying-loot span {
  position: absolute;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  animation: loot-fly linear infinite;
  filter: drop-shadow(0 0 8px rgba(255, 216, 77, 0.6));
}

@keyframes loot-fly {
  0% {
    transform: translate(-10vw, 110vh) rotate(0deg) scale(0.6);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate(110vw, -20vh) rotate(720deg) scale(1.2);
    opacity: 0;
  }
}

.cinema-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(180deg, rgba(5, 11, 8, 0.55) 0%, transparent 28%, transparent 45%, rgba(5, 11, 8, 0.85) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(5, 11, 8, 0.65) 100%);
  pointer-events: none;
}

.cinema-ui {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 1.25rem 5.5rem;
}

.cinema-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-hot);
  text-shadow: 0 0 16px rgba(0, 200, 5, 0.6);
  margin-bottom: 0.75rem;
  animation: fade-up 0.8s ease both;
}

.blink {
  color: #ff4d6d;
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.cinema-title {
  margin-bottom: 0.6rem;
  animation: title-slam 0.9s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}

.hero-logo {
  width: min(92vw, 520px);
  height: auto;
  display: block;
  margin: 0 auto;
  background: transparent;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 28px rgba(0, 200, 5, 0.55));
  animation: logo-float 3.2s ease-in-out infinite;
}

@keyframes title-slam {
  0% {
    opacity: 0;
    transform: scale(1.45) rotate(-4deg);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}

.cinema-joke {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  margin-bottom: 1.4rem;
  min-height: 3.2em;
  animation: fade-up 0.8s 0.15s ease both;
}

.cinema-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0.85rem;
  animation: fade-up 0.8s 0.25s ease both;
}

.cinema-ticker-badge {
  font-size: 1rem;
  color: var(--fog);
  margin-bottom: 0.75rem;
  animation: fade-up 0.8s 0.1s ease both;
}

.cinema-ticker-badge strong {
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: 0.06em;
  font-size: 1.25rem;
}

.ca-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 1.25rem;
  padding: 0.55rem 0.85rem;
  background: rgba(5, 11, 8, 0.7);
  border: 1px solid rgba(0, 200, 5, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  max-width: 100%;
  animation: fade-up 0.8s 0.2s ease both;
}

.ca-label {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--green-hot);
}

.ca-value,
.js-ca-text,
.js-pair-text {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: clamp(0.75rem, 2.2vw, 0.92rem);
  color: var(--white);
  word-break: break-all;
}

.ca-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 216, 77, 0.1);
  border: 1px solid rgba(255, 216, 77, 0.35);
  transition: transform 0.15s ease, background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.ca-copy:hover {
  background: rgba(255, 216, 77, 0.25);
  transform: scale(1.08);
}

.ca-copy.copied {
  color: var(--green-hot);
  border-color: var(--green);
  background: rgba(0, 200, 5, 0.2);
}

.ca-toast {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-hot);
}

.cinema-meta {
  font-size: 0.85rem;
  color: var(--fog);
  opacity: 0.8;
  animation: fade-up 0.8s 0.35s ease both;
}

/* Token section */
.token-section {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 216, 77, 0.08), transparent),
    var(--ink-2);
}

.token-grid {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.token-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(0, 200, 5, 0.25);
}

.token-key {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.token-val {
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
}

.token-val.mono {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-weight: 500;
}

.token-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 520px) {
  .token-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .logo-ticker {
    display: none;
  }
}

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

.scroll-cue {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(124, 255, 106, 0.5);
  border-radius: 14px;
}

.scroll-cue span {
  display: block;
  width: 6px;
  height: 6px;
  margin: 8px auto 0;
  background: var(--green);
  border-radius: 50%;
  animation: cue-drop 1.4s ease-in-out infinite;
}

@keyframes cue-drop {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 4;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
  color: #041008;
  overflow: hidden;
  padding: 0.75rem 0;
  border-top: 3px solid #004d02;
  border-bottom: 3px solid #004d02;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

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

/* Sections */
.section {
  position: relative;
  z-index: 4;
  padding: clamp(3.5rem, 9vh, 6.5rem) clamp(1rem, 4vw, 2rem);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.65rem;
}

.eyebrow.wobble {
  display: inline-block;
  animation: wobble 2.5s ease-in-out infinite;
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.slam {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 0 rgba(0, 61, 2, 0.5);
}

.section-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.joke-hero {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 200, 5, 0.12), transparent),
    var(--ink);
}

.big-joke {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: 40rem;
}

.highlight {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 216, 77, 0.35);
}

.sub-joke {
  color: var(--fog);
  opacity: 0.9;
  max-width: 40rem;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.spell-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.spell {
  padding: 1.25rem 0.25rem 1.5rem;
  border-top: 3px solid var(--green);
  background: linear-gradient(180deg, rgba(0, 200, 5, 0.08), transparent);
  transition: transform 0.25s ease;
}

.spell:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.spell-icon {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
  display: inline-block;
  filter: drop-shadow(0 0 12px rgba(0, 200, 5, 0.5));
}

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

.float-y.d2 {
  animation-delay: 0.4s;
}
.float-y.d3 {
  animation-delay: 0.8s;
}
.float-y.d4 {
  animation-delay: 1.2s;
}

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

.spell h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--green-hot);
}

.spell p {
  font-size: 0.95rem;
  color: var(--fog);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .spell-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .spell-cards {
    grid-template-columns: 1fr;
  }
}

/* Gallery */
.gallery-section {
  background: var(--ink-2);
}

.gallery-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 0.85rem;
}

.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid rgba(0, 200, 5, 0.25);
  padding: 0;
  cursor: zoom-in;
  isolation: isolate;
}

.gal-item.tall {
  grid-row: span 2;
}

.gal-item.wide {
  grid-column: span 2;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gal-item:hover img {
  transform: scale(1.08) rotate(1deg);
  filter: saturate(1.3) brightness(1.05);
}

.gal-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 0.85rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--gold);
  transform: translateY(8px);
  opacity: 0.85;
  transition: 0.25s ease;
}

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

@media (max-width: 900px) {
  .gallery-main {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
}

@media (max-width: 520px) {
  .gallery-main {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gal-item.wide,
  .gal-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Stats */
.proof {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(167, 139, 250, 0.12), transparent 50%),
    var(--ink);
}

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

.stat {
  border-top: 3px solid var(--gold);
  padding: 1.25rem 0;
}

.stat-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.35rem;
  animation: float-y 2.8s ease-in-out infinite;
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(3.2rem, 8vw, 5rem);
  color: var(--gold);
  line-height: 1;
}

.stat-plus {
  font-family: var(--display);
  font-size: 2.5rem;
  color: var(--green);
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-weight: 600;
}

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

/* Film strip gallery */
.strip-section {
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
  background: #06100a;
}

.strip-section .section-inner {
  padding: 0 clamp(1rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
}

.film-strip {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.film-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: film-scroll 40s linear infinite;
  padding: 0.5rem 0 1rem;
}

.film-track:hover {
  animation-play-state: paused;
}

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

.film-frame {
  width: min(70vw, 340px);
  flex-shrink: 0;
  border: 3px solid #1a2e20;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  cursor: zoom-in;
  transition: transform 0.25s ease, border-color 0.25s;
}

.film-frame:hover {
  transform: scale(1.04) rotate(-1deg);
  border-color: var(--green);
}

.film-frame img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.film-frame figcaption {
  padding: 0.55rem 0.75rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  color: var(--green-hot);
  background: #0a1810;
}

/* Lore */
.lore {
  background:
    radial-gradient(ellipse 50% 60% at 85% 40%, rgba(0, 200, 5, 0.15), transparent),
    var(--ink);
}

.lore-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.lore-text {
  color: var(--fog);
  margin-bottom: 1.25rem;
  max-width: 36rem;
  font-size: 1.05rem;
}

.lore-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: grid;
  gap: 0.7rem;
}

.lore-list li {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-weight: 600;
  color: var(--white);
}

.lore-list span {
  font-size: 1.35rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.mascot-tower {
  position: relative;
  height: 360px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 5, 0.35), transparent 70%);
  animation: orb-pulse 3s ease-in-out infinite;
  filter: blur(4px);
}

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

.tower-poop {
  position: relative;
  z-index: 2;
  animation: bounce-hero 2.4s ease-in-out infinite;
}

@keyframes bounce-hero {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.tower-poop .face {
  font-size: 8rem;
  line-height: 1;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 2;
}

.tower-poop .bow {
  position: absolute;
  top: 0;
  left: 55%;
  font-size: 2.4rem;
  animation: aim 2.5s ease-in-out infinite;
}

@keyframes aim {
  0%,
  100% {
    transform: rotate(-12deg);
  }
  50% {
    transform: rotate(14deg);
  }
}

.tower-poop .cape {
  position: absolute;
  width: 64px;
  height: 100px;
  background: linear-gradient(180deg, var(--green), #005c02);
  border-radius: 40% 40% 15% 15%;
  left: -20px;
  top: 70px;
  z-index: 1;
  transform: rotate(-20deg);
  animation: cape 1.2s ease-in-out infinite;
}

@keyframes cape {
  0%,
  100% {
    transform: rotate(-20deg) skewX(0);
  }
  50% {
    transform: rotate(-32deg) skewX(-10deg);
  }
}

.tower-poop .bubble {
  position: absolute;
  top: -8px;
  right: -90px;
  background: var(--gold);
  color: #1a1200;
  font-family: var(--display);
  font-size: 1.15rem;
  padding: 0.4rem 0.7rem;
  border-radius: 14px 14px 14px 2px;
  box-shadow: 3px 3px 0 #000;
  animation: pop 4s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes pop {
  0%,
  65%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  72%,
  88% {
    opacity: 1;
    transform: scale(1) rotate(2deg);
  }
}

.orbit {
  position: absolute;
  font-size: 1.8rem;
  animation: orbit 8s linear infinite;
  filter: drop-shadow(0 0 8px rgba(255, 216, 77, 0.5));
}

.orbit.o1 {
  offset-path: path("M180,180 m-120,0 a120,120 0 1,1 240,0 a120,120 0 1,1 -240,0");
  animation-duration: 7s;
}

.orbit.o2 {
  offset-path: path("M180,180 m-90,0 a90,90 0 1,0 180,0 a90,90 0 1,0 -180,0");
  animation-duration: 5s;
  font-size: 1.4rem;
}

.orbit.o3 {
  offset-path: path("M180,180 m-140,0 a140,100 0 1,1 280,0 a140,100 0 1,1 -280,0");
  animation-duration: 9s;
}

.orbit.o4 {
  offset-path: path("M180,180 m-70,0 a70,70 0 1,0 140,0 a70,70 0 1,0 -140,0");
  animation-duration: 4.5s;
  font-size: 1.3rem;
}

@keyframes orbit {
  to {
    offset-distance: 100%;
  }
}

/* Fallback orbit if offset-path weak */
@supports not (offset-path: path("M0,0")) {
  .orbit.o1 {
    top: 10%;
    left: 15%;
    animation: float-y 3s infinite;
  }
  .orbit.o2 {
    top: 20%;
    right: 10%;
    animation: float-y 2.5s 0.3s infinite;
  }
  .orbit.o3 {
    bottom: 15%;
    left: 20%;
    animation: float-y 3.2s 0.6s infinite;
  }
  .orbit.o4 {
    bottom: 25%;
    right: 18%;
    animation: float-y 2.8s 0.9s infinite;
  }
}

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

  .mascot-tower {
    height: 300px;
  }

  .tower-poop .bubble {
    right: -40px;
  }
}

/* Join */
.join {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 200, 5, 0.22), transparent 60%),
    var(--ink);
}

.join-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.dyor {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.dyor a {
  color: var(--green-hot);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.footer {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(0, 200, 5, 0.2);
  padding: 2rem 1rem;
  background: #030805;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.footer-logo {
  height: 56px;
  width: auto;
  background: transparent;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 10px rgba(0, 200, 5, 0.45));
}

.footer-disc {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 0.75rem;
}

.footer-disc a {
  color: var(--green-hot);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  font-weight: 700;
}

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

.footer-copy {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

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

.lightbox[hidden] {
  display: none;
}

.lb-figure {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  text-align: center;
}

.lb-figure img {
  max-height: 78vh;
  width: auto;
  margin: 0 auto;
  border-radius: 10px;
  border: 3px solid rgba(0, 200, 5, 0.4);
  box-shadow: 0 0 60px rgba(0, 200, 5, 0.25);
  animation: lb-in 0.35s ease;
}

@keyframes lb-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lb-figure figcaption {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--gold);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
  z-index: 2;
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--green-hot);
  padding: 0.5rem 0.75rem;
  z-index: 2;
}

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

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  color: var(--gold);
}

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

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