:root {
  --ink: #120726;
  --night: #1b0b3f;
  --night-2: #2a1160;
  --violet: #6b2fd6;
  --hoodie: #8b5cf6;
  --magenta: #d946ef;
  --pink: #ff5fb4;
  --orange: #ff9f2e;
  --cream: #fff3d1;
  --lantern: #ffcf5c;
  --mint: #3ef0a6;
  --cyan: #4fd8ff;
  --border: 4px solid var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Comic Neue", "Comic Sans MS", cursive;
  font-weight: 700;
  color: var(--cream);
  background: var(--night);
  overflow-x: hidden;
}

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

/* ============ NAV ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 11, 63, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: var(--border);
  box-shadow: 0 4px 0 var(--magenta);
}

.nav-logo {
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--orange);
}

.brand {
  font-family: "Bangers", cursive;
  font-size: 1.7rem;
  letter-spacing: 1.5px;
  color: var(--lantern);
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 3px 3px 0 var(--ink);
}

.nav-links a,
.mobile-menu a {
  font-family: "Bangers", cursive;
  font-size: 1.25rem;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 3px solid transparent;
  transition: all 0.15s ease;
}
.nav-links a:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; }

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.icon-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }

/* ============ BUTTONS ============ */
.pow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Bangers", cursive;
  font-size: 1.5rem;
  letter-spacing: 1.2px;
  padding: 12px 26px;
  color: var(--ink);
  background: var(--lantern);
  border: var(--border);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.pow-btn:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); background: var(--orange); }
.pow-btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }

.pow-btn--ghost { background: var(--pink); }
.pow-btn--ghost:hover { background: var(--magenta); }
.pow-btn--dark { background: var(--cream); }
.pow-btn--dark:hover { background: #fff; }
.pow-btn--sm { font-size: 1.15rem; padding: 8px 18px; box-shadow: 4px 4px 0 var(--ink); border-width: 3px; border-radius: 12px; }
.pow-btn--sm:hover { box-shadow: 6px 6px 0 var(--ink); }

/* ============ PAGES ============ */
.page {
  position: relative;
  padding: 110px 0 90px;
  border-bottom: var(--border);
  overflow: hidden;
}

.page--cover {
  padding-top: 60px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 95, 180, 0.35), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 159, 46, 0.22), transparent 50%),
    linear-gradient(180deg, #2b0f63 0%, #4a1784 55%, #7a2394 100%);
}

.page--about {
  background:
    radial-gradient(ellipse at 15% 30%, rgba(79, 216, 255, 0.18), transparent 50%),
    linear-gradient(180deg, #1a0a3d 0%, #24104f 100%);
}

.page--sighting {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 70, 239, 0.4), transparent 60%),
    linear-gradient(180deg, #3b1473 0%, #1e0b45 100%);
}

.page--buy {
  background:
    radial-gradient(ellipse at 85% 80%, rgba(62, 240, 166, 0.14), transparent 50%),
    linear-gradient(180deg, #1a0a3d 0%, #2a0f5a 100%);
}

.page--community {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 207, 92, 0.2), transparent 50%),
    linear-gradient(180deg, #3a1470 0%, #6a1f8f 60%, #a02c96 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}
.glow--a { width: 380px; height: 380px; background: var(--magenta); top: -120px; right: -80px; }
.glow--b { width: 300px; height: 300px; background: var(--orange); bottom: -140px; left: -80px; opacity: 0.35; }
.glow--c { width: 420px; height: 420px; background: var(--violet); top: 30%; left: -160px; }

.page-number {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Press Start 2P", monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: rgba(255, 243, 209, 0.5);
}

/* ============ COVER ============ */
.issue-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 20px;
  font-family: "Press Start 2P", monospace;
  font-size: 0.7rem;
  color: var(--ink);
  background: var(--cream);
  border: var(--border);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
}
.issue-strip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); }

.caption-box {
  display: inline-block;
  padding: 10px 18px;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  background: var(--lantern);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.caption-box--wide { display: block; font-size: 1.2rem; line-height: 1.5; font-style: normal; }

.cover-title {
  margin-top: 22px;
  font-family: "Bangers", cursive;
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 3px;
  display: flex;
  flex-wrap: wrap;
}
.cover-title .word {
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 6px 6px 0 var(--ink);
}
.word--1 { color: var(--lantern); }
.word--2 { color: var(--pink); }
.word--3 { color: var(--orange); }

.bubble {
  position: relative;
  max-width: 560px;
  padding: 20px 26px;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  border: var(--border);
  border-radius: 28px;
  box-shadow: 6px 6px 0 var(--ink);
}
.bubble::after {
  content: "";
  position: absolute;
  left: 44px;
  bottom: -24px;
  width: 30px;
  height: 30px;
  background: #fff;
  border-right: var(--border);
  border-bottom: var(--border);
  transform: skewX(35deg) rotate(20deg);
}
.bubble--big { font-family: "Bangers", cursive; font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: 1.2px; }

.ca-card {
  max-width: 580px;
  padding: 18px 20px;
  background: var(--night);
  border: var(--border);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--magenta);
}
.ca-label {
  display: block;
  margin-bottom: 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  color: var(--mint);
}
.ca-row { display: flex; align-items: stretch; gap: 10px; }
.ca-text {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  border: 2px dashed rgba(255, 243, 209, 0.4);
  border-radius: 10px;
  overflow-wrap: anywhere;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  font-family: "Bangers", cursive;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--ink);
  background: var(--mint);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease;
}
.copy-btn:hover { transform: translate(-2px, -2px); }
.copy-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ============ PANELS (images) ============ */
.panel {
  margin: 0;
  padding: 12px;
  background: var(--cream);
  border: 5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 12px 12px 0 var(--ink);
}
.panel img {
  width: 100%;
  height: auto;
  border: 4px solid var(--ink);
  border-radius: 12px;
}
.panel--hero { box-shadow: 12px 12px 0 var(--ink), 20px 20px 0 var(--pink); }
.panel--about { background: var(--cyan); }
.panel--logo { background: var(--lantern); }
.panel--banner { background: var(--pink); box-shadow: 12px 12px 0 var(--ink), 20px 20px 0 var(--lantern); }

.panel-caption {
  margin-top: 26px;
  font-family: "Press Start 2P", monospace;
  font-size: 0.62rem;
  letter-spacing: 1px;
  color: rgba(255, 243, 209, 0.75);
  text-align: right;
}

/* ============ CHAPTER HEADINGS ============ */
.chapter-head { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.chapter-head--center { align-items: center; text-align: center; }

.chapter-no {
  font-family: "Press Start 2P", monospace;
  font-size: 0.72rem;
  letter-spacing: 2px;
  padding: 8px 14px;
  color: var(--ink);
  background: var(--mint);
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
}
.chapter-title {
  font-family: "Bangers", cursive;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 2.5px;
  color: var(--cream);
  -webkit-text-stroke: 2.5px var(--ink);
  text-shadow: 5px 5px 0 var(--magenta), 8px 8px 0 var(--ink);
}
.chapter-sub { max-width: 620px; font-size: 1.2rem; color: rgba(255, 243, 209, 0.85); }

/* ============ ABOUT ============ */
.story-card {
  position: relative;
  padding: 22px 24px 22px 76px;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  border: var(--border);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
}
.story-card--pink { background: #ffd1ea; }
.story-card--orange { background: #ffe0b8; }
.story-step {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bangers", cursive;
  font-size: 1.6rem;
  color: var(--cream);
  background: var(--violet);
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  text-align: center;
  background: var(--night-2);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--orange);
}
.stat-k { font-family: "Press Start 2P", monospace; font-size: 0.55rem; color: var(--mint); }
.stat-v { font-family: "Bangers", cursive; font-size: 1.35rem; letter-spacing: 1px; color: var(--lantern); overflow-wrap: anywhere; }

/* ============ SIGHTING / TWEET ============ */
.tweet-frame {
  background: var(--cream);
  border: 5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 12px 12px 0 var(--ink), 20px 20px 0 var(--mint);
  overflow: hidden;
}
.tweet-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--lantern);
  border-bottom: var(--border);
}
.tweet-frame__bar span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--pink); }
.tweet-frame__bar span:nth-child(2) { background: var(--orange); }
.tweet-frame__bar span:nth-child(3) { background: var(--mint); }
.tweet-frame__bar em { margin-left: 10px; font-family: "Press Start 2P", monospace; font-size: 0.6rem; font-style: normal; color: var(--ink); }
.tweet-frame__body {
  display: flex;
  justify-content: center;
  padding: 20px;
  min-height: 260px;
  background: var(--night);
}
.tweet-frame__body .twitter-tweet { margin: 0 auto !important; }
.tweet-frame__body blockquote.twitter-tweet {
  max-width: 520px;
  padding: 20px;
  color: var(--cream);
  font-size: 1.1rem;
  border-left: 4px solid var(--magenta);
}
.tweet-frame__body blockquote.twitter-tweet a { color: var(--cyan); }

/* ============ HOW TO BUY ============ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }

.step {
  display: flex;
  gap: 18px;
  padding: 22px;
  color: var(--ink);
  background: var(--cream);
  border: var(--border);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.step:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.step h3 { font-family: "Bangers", cursive; font-size: 1.8rem; letter-spacing: 1.2px; line-height: 1.1; }
.step p { margin-top: 6px; font-size: 1.05rem; line-height: 1.5; }

.step-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--ink);
  background: var(--hoodie);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
}
.step-icon--pink { background: var(--pink); }
.step-icon--orange { background: var(--orange); }
.step-icon--green { background: var(--mint); }

.step--ca { padding: 0; background: transparent; border: none; box-shadow: none; }
.step--ca:hover { transform: none; box-shadow: none; }
@media (min-width: 768px) { .step--ca { grid-column: 1 / -1; } }
.step--ca .ca-card { max-width: none; }

/* ============ COMMUNITY ============ */
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
  color: var(--ink);
  background: var(--cream);
  border: var(--border);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.social-card:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--ink); }
.social-card i { font-size: 2.6rem; }
.social-card--orange { background: var(--lantern); }
.social-card--pink { background: var(--pink); }
.social-name { font-family: "Bangers", cursive; font-size: 1.9rem; letter-spacing: 1.2px; }
.social-sub { font-size: 1rem; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); border-top: 4px solid var(--magenta); }
.footer-sub { font-size: 0.95rem; color: rgba(255, 243, 209, 0.7); }
.footer-note { max-width: 420px; font-size: 0.9rem; text-align: center; color: rgba(255, 243, 209, 0.55); }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 100;
  padding: 12px 24px;
  font-family: "Bangers", cursive;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--ink);
  background: var(--mint);
  border: var(--border);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: all 0.25s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ============ REVEAL ============ */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal:not(.in) { opacity: 0; transform: translateY(30px); }

@media (max-width: 640px) {
  .page { padding: 80px 0 70px; }
  .panel { box-shadow: 8px 8px 0 var(--ink); }
  .panel--hero, .panel--banner, .tweet-frame { box-shadow: 8px 8px 0 var(--ink), 13px 13px 0 var(--pink); }
  .ca-row { flex-direction: column; }
  .copy-btn { justify-content: center; padding: 10px; }
  .pow-btn { font-size: 1.3rem; padding: 10px 20px; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal:not(.in) { opacity: 1; transform: none; transition: none; }
}
