:root {
  --ink: #07090c;
  --ink-2: #10141b;
  --paper: #f4e7c8;
  --paper-2: #ffe9a8;
  --emerald: #2ef2a4;
  --emerald-deep: #0a3d32;
  --caption: #ffd54a;
  --speech: #fffdf6;
  --hot: #ff4d6d;
  --line: #0a0a0a;
  --gutter: #050608;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "Comic Neue", "Trebuchet MS", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(46, 242, 164, 0.16), transparent 55%),
    radial-gradient(circle at 12% 80%, rgba(46, 242, 164, 0.07), transparent 32%),
    radial-gradient(circle at 88% 30%, rgba(255, 213, 74, 0.05), transparent 28%),
    linear-gradient(180deg, #05070a 0%, #0a1210 45%, #05070a 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(1px 1px at 8% 12%, #fff 100%, transparent),
    radial-gradient(1px 1px at 22% 40%, #c8ffe8 100%, transparent),
    radial-gradient(1.5px 1.5px at 70% 18%, #fff 100%, transparent),
    radial-gradient(1px 1px at 86% 62%, #fff 100%, transparent),
    radial-gradient(1px 1px at 40% 78%, #9fffd6 100%, transparent),
    radial-gradient(1.5px 1.5px at 58% 88%, #fff 100%, transparent),
    radial-gradient(1px 1px at 15% 60%, #fff 100%, transparent),
    radial-gradient(1px 1px at 93% 28%, #c8ffe8 100%, transparent);
}

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

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

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.issue {
  position: relative;
  margin: 28px auto 64px;
  width: min(1120px, calc(100% - 32px));
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.015) 3px,
      rgba(0, 0, 0, 0.015) 4px
    ),
    var(--paper);
  color: var(--ink);
  border: 6px solid #000;
  box-shadow:
    0 0 0 8px #141414,
    0 28px 60px rgba(0, 0, 0, 0.55);
}

.issue::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 18px;
  background: linear-gradient(90deg, #0b1f1a, #16362d 55%, #0b1f1a);
  border-right: 3px solid #000;
}

.page {
  padding: 28px 28px 36px 42px;
  border-bottom: 8px solid #000;
}

.page:last-child {
  border-bottom: 0;
}

.page-hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(46, 242, 164, 0.18), transparent 36%),
    linear-gradient(180deg, #0b1014 0%, #101820 100%);
  color: var(--paper);
}

.page-about {
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 242, 164, 0.12), transparent 28%),
    #f6e8c6;
}

.page-buy {
  background:
    repeating-linear-gradient(
      -45deg,
      #fff3c2,
      #fff3c2 12px,
      #ffe9a0 12px,
      #ffe9a0 24px
    );
}

.page-community {
  background:
    radial-gradient(circle at 20% 0%, rgba(46, 242, 164, 0.12), transparent 30%),
    #11161c;
  color: var(--paper);
}

.page-elon {
  background:
    radial-gradient(circle at 50% 0%, rgba(46, 242, 164, 0.14), transparent 40%),
    linear-gradient(180deg, #0e1620 0%, #1a2430 100%);
  color: var(--paper);
}

.embed-stage {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: start;
}

.tweet-frame {
  background: #fffef8;
  border: 5px solid #000;
  box-shadow: 6px 6px 0 #000;
  padding: 16px 12px 8px;
  overflow: visible;
  min-height: 280px;
}

.tweet-frame .twitter-tweet,
.tweet-frame iframe {
  margin: 0 auto !important;
}

.caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--caption);
  color: #111;
  border: 3px solid #000;
  padding: 6px 14px;
  font-family: "Bangers", Impact, sans-serif;
  letter-spacing: 0.08em;
  font-size: 18px;
  box-shadow: 4px 4px 0 #000;
}

.display {
  font-family: "Bangers", Impact, sans-serif;
  letter-spacing: 0.04em;
  line-height: 0.92;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 9, 12, 0.92);
  border-bottom: 4px solid #000;
  backdrop-filter: blur(10px);
}

.nav-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #fff;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #05070a;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 var(--emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-family: "Bangers", Impact, sans-serif;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  color: #f4e7c8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid #000;
  padding: 10px 16px;
  font-family: "Bangers", Impact, sans-serif;
  letter-spacing: 0.08em;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

.btn-emerald {
  background: var(--emerald);
  color: #052018;
}

.btn-paper {
  background: var(--paper);
  color: #111;
}

.btn-hot {
  background: var(--hot);
  color: #fff;
}

.btn-ink {
  background: #111;
  color: var(--emerald);
}

.frame {
  border: 5px solid #000;
  background: #05070a;
  padding: 14px;
  box-shadow: 6px 6px 0 #000;
}

.frame img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
}

.frame.paper {
  background: #fffef8;
}

.frame.mint {
  background: #07140f;
}

.speech {
  position: relative;
  background: var(--speech);
  color: #111;
  border: 4px solid #000;
  border-radius: 28px;
  padding: 18px 22px;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 5px 5px 0 #000;
}

.speech::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: -18px;
  width: 0;
  height: 0;
  border: 18px solid transparent;
  border-top-color: #000;
}

.speech::before {
  content: "";
  position: absolute;
  left: 46px;
  bottom: -10px;
  width: 0;
  height: 0;
  border: 14px solid transparent;
  border-top-color: var(--speech);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}

.symbol-chip {
  display: inline-block;
  background: var(--emerald);
  color: #052018;
  border: 3px solid #000;
  padding: 4px 10px;
  font-family: "Bangers", Impact, sans-serif;
  letter-spacing: 0.08em;
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #111;
  border: 3px solid #000;
  padding: 10px 12px;
  box-shadow: 4px 4px 0 #000;
}

.ca-box code {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.copy-btn {
  border: 3px solid #000;
  background: var(--caption);
  color: #111;
  width: 42px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 3px 3px 0 #000;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.story-copy h3 {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 42px;
  line-height: 0.95;
  margin: 0 0 12px;
}

.story-copy p {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 14px;
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  background: #fffef6;
  border: 4px solid #000;
  min-height: 100%;
  padding: 16px 14px 18px;
  box-shadow: 5px 5px 0 #000;
}

.step-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--hot);
  color: #fff;
  border: 3px solid #000;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 28px;
  margin-bottom: 12px;
}

.step h3 {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 28px;
  margin: 0 0 8px;
}

.step p {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}

.community-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}

.social-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  padding: 28px 0 40px;
  text-align: center;
}

.footer img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.footer strong {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.menu-btn {
  display: none;
  border: 3px solid #000;
  background: var(--emerald);
  color: #052018;
  width: 46px;
  height: 42px;
  box-shadow: 3px 3px 0 #000;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .community-grid,
  .buy-grid,
  .embed-stage {
    grid-template-columns: 1fr;
  }

  .issue::before {
    width: 10px;
  }

  .page {
    padding: 22px 16px 28px 24px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    background: #11161c;
    border: 4px solid #000;
    padding: 12px;
    box-shadow: 6px 6px 0 #000;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .display {
    font-size: 56px !important;
  }

  .ca-box {
    flex-wrap: wrap;
  }

  .ca-box code {
    width: 100%;
    white-space: normal;
    word-break: break-all;
  }
}
