:root {
  --ink: #070a06;
  --ink-2: #10160c;
  --lime: #c8ff00;
  --lime-deep: #8fd400;
  --paper: #f3ead0;
  --paper-2: #e7d7a8;
  --magenta: #ff2ec4;
  --sky: #1a4d9c;
  --stroke: #050505;
  --glow: rgba(200, 255, 0, 0.45);
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  font-family: "Karla", system-ui, sans-serif;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(200, 255, 0, 0.16), transparent 55%),
    radial-gradient(900px 600px at 10% 20%, rgba(26, 77, 156, 0.35), transparent 50%),
    radial-gradient(800px 500px at 50% 110%, rgba(255, 46, 196, 0.12), transparent 45%),
    var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, #c8ff00 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 63% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 81% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 86%, #8fd400 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 91% 78%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 90%, #fff 50%, transparent 51%);
  opacity: 0.55;
}

.halftone {
  position: relative;
}

.halftone::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.28) 0.9px, transparent 1.1px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
  opacity: 0.35;
  z-index: 1;
}

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

a {
  color: inherit;
}

.world {
  position: relative;
  z-index: 1;
  perspective: 1600px;
  perspective-origin: 50% 18%;
}

.nav-dock {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1180px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 8px 12px 8px 8px;
  background: rgba(7, 10, 6, 0.78);
  border: 3px solid var(--stroke);
  box-shadow: 7px 7px 0 var(--lime);
  transform: rotate(-0.4deg);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 3px solid var(--stroke);
  box-shadow: 3px 3px 0 var(--lime);
}

.brand-name {
  font-family: "Bangers", cursive;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  line-height: 1;
}

.brand-name span {
  display: block;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--lime);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border: 2px solid transparent;
  color: var(--paper);
}

.nav-links a.active,
.nav-links a:hover {
  border-color: var(--stroke);
  background: var(--lime);
  color: var(--ink);
}

.nav-cta {
  display: flex;
  gap: 8px;
}

.icon-sticker {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 3px solid var(--stroke);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--magenta);
  transform: rotate(-3deg);
}

.icon-sticker.buy {
  background: #ff007a;
  color: #fff;
  transform: rotate(2deg);
}

.icon-sticker.dex {
  background: #a6ff00;
  transform: rotate(-1deg);
}

.icon-sticker:hover {
  transform: translate(-2px, -2px) rotate(0deg);
}

.icon-sticker svg,
.icon-sticker i {
  width: 18px;
  height: 18px;
  font-size: 1.05rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 40px);
  margin: 18px 12px 0;
  border: 4px solid var(--stroke);
  box-shadow: 12px 12px 0 #000, 0 0 0 8px var(--lime);
  background:
    linear-gradient(90deg, rgba(7, 10, 6, 0.28) 0%, rgba(7, 10, 6, 0.18) 38%, rgba(8, 18, 40, 0.22) 100%),
    url("3.png") right center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.hero-speed {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(
      108deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.035) 18px 19px
    );
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-stage {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 20px;
  padding: 48px 6vw 72px;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.18s ease-out;
}

.rock-wrap {
  position: relative;
  width: min(420px, 100%);
  transform: rotateY(18deg) rotateX(6deg) translateZ(40px);
  filter: drop-shadow(0 30px 24px rgba(0, 0, 0, 0.55));
}

.rock-wrap img {
  width: 100%;
  border-radius: 42% 58% 47% 53% / 48% 43% 57% 52%;
  border: 5px solid var(--stroke);
  box-shadow:
    0 0 0 10px var(--lime),
    18px 22px 0 var(--stroke);
  animation: float-rock 6.5s ease-in-out infinite;
}

.stamp {
  position: absolute;
  right: -8%;
  bottom: 6%;
  width: 110px;
  height: 110px;
  border: 4px solid #9a1209;
  color: #9a1209;
  background: rgba(243, 234, 208, 0.86);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: "Bangers", cursive;
  letter-spacing: 0.04em;
  transform: rotate(14deg);
  box-shadow: 4px 4px 0 var(--stroke);
}

.stamp small {
  display: block;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.58rem;
}

.stamp b {
  font-size: 1.35rem;
}

.mast {
  transform: perspective(520px) rotateY(-9deg) skewX(-3deg) translateZ(28px);
  max-width: 640px;
  margin-left: auto;
}

.kicker {
  display: inline-block;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  background: var(--lime);
  color: var(--ink);
  border: 3px solid var(--stroke);
  padding: 6px 10px;
  box-shadow: 4px 4px 0 var(--stroke);
}

.mast h1 {
  margin: 14px 0 8px;
  font-family: "Bangers", cursive;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow:
    4px 4px 0 var(--stroke),
    8px 8px 0 var(--lime),
    0 0 28px rgba(200, 255, 0, 0.35);
}

.mast h1 em {
  font-style: normal;
  display: block;
  color: var(--lime);
}

.lede {
  margin: 0 0 22px;
  max-width: 34rem;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--stroke);
  padding: 14px 16px 16px;
  box-shadow: 8px 8px 0 var(--magenta);
  font-size: 1.05rem;
  position: relative;
}

.lede::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -16px;
  border-width: 16px 12px 0 0;
  border-style: solid;
  border-color: var(--stroke) transparent transparent transparent;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.boom,
.ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Bangers", cursive;
  letter-spacing: 0.08em;
  font-size: 1.25rem;
  padding: 10px 18px;
  border: 3px solid var(--stroke);
}

.boom {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--stroke);
}

.ghost {
  background: rgba(7, 10, 6, 0.72);
  color: var(--paper);
  box-shadow: 6px 6px 0 var(--magenta);
}

.boom:hover,
.ghost:hover {
  transform: translate(-2px, -2px);
}

.ca-strip {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: rgba(7, 10, 6, 0.82);
  border: 3px dashed var(--lime);
  padding: 10px 12px;
  max-width: 540px;
}

.ca-strip code {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.82rem;
  word-break: break-all;
  color: var(--lime);
}

.ca-strip button {
  border: 3px solid var(--stroke);
  background: var(--paper);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  cursor: pointer;
}

.issue-tab {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--stroke);
  padding: 8px 12px;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  transform: rotate(3deg);
  box-shadow: 5px 5px 0 var(--stroke);
}

.rip {
  height: 42px;
  margin: -2px 12px 0;
  background: var(--ink);
  clip-path: polygon(
    0 40%,
    4% 100%,
    9% 30%,
    14% 90%,
    19% 20%,
    25% 100%,
    31% 35%,
    38% 95%,
    45% 18%,
    52% 88%,
    59% 28%,
    66% 100%,
    73% 22%,
    80% 92%,
    87% 34%,
    93% 100%,
    100% 42%,
    100% 100%,
    0 100%
  );
}

.section {
  position: relative;
  margin: 0 12px;
  border: 4px solid var(--stroke);
  min-height: 86vh;
  overflow: hidden;
  isolation: isolate;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
}

.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 6, 0.55), rgba(7, 10, 6, 0.78)),
    radial-gradient(circle at 20% 20%, rgba(200, 255, 0, 0.16), transparent 42%);
}

.about .section-bg {
  background-image: url("1.png");
}

.howto .section-bg {
  background-image: url("2.png");
}

.community .section-bg {
  background-image: url("banner.png");
  background-position: 70% center;
}

.section::before {
  content: "18932";
  position: absolute;
  right: 4%;
  top: 8%;
  z-index: 1;
  font-family: "Bangers", cursive;
  font-size: clamp(5rem, 18vw, 12rem);
  letter-spacing: 0.04em;
  color: rgba(200, 255, 0, 0.08);
  transform: rotate(-18deg);
  pointer-events: none;
  line-height: 1;
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.plate {
  opacity: 0;
  transform: translateZ(-180px) rotateX(10deg) translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.plate.is-in {
  opacity: 1;
  transform: none;
}

.sec-kicker {
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  color: var(--lime);
  margin: 0 0 8px;
}

.sec-title {
  font-family: "Bangers", cursive;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
  margin: 0 0 22px;
  text-shadow: 3px 3px 0 var(--stroke), 6px 6px 0 var(--lime);
}

.dossier {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: left center;
}

.file-card {
  background: var(--paper);
  color: var(--ink);
  border: 4px solid var(--stroke);
  padding: 22px 22px 26px;
  box-shadow: 14px 14px 0 var(--lime);
  position: relative;
}

.file-card h3 {
  font-family: "Bangers", cursive;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.file-card p {
  margin: 0 0 12px;
  line-height: 1.45;
}

.file-card p:last-child {
  margin-bottom: 0;
}

.paperclip {
  position: absolute;
  top: -16px;
  right: 28px;
  width: 18px;
  height: 42px;
  border: 4px solid #8a9098;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  transform: rotate(8deg);
}

.crater-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.crater {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  color: #fff;
  border: 4px solid var(--stroke);
  background:
    radial-gradient(circle at 32% 28%, #4d5348, #141714 62%, #050505);
  box-shadow: inset 10px 12px 0 rgba(0, 0, 0, 0.35), 6px 6px 0 var(--lime);
}

.crater:nth-child(1) {
  border-radius: 48% 52% 44% 56% / 46% 42% 58% 54%;
  transform: rotate(-4deg);
}
.crater:nth-child(2) {
  border-radius: 56% 44% 53% 47% / 40% 58% 42% 60%;
  transform: rotate(5deg);
}
.crater:nth-child(3) {
  border-radius: 42% 58% 49% 51% / 55% 38% 62% 45%;
  transform: rotate(-2deg);
}
.crater:nth-child(4) {
  border-radius: 60% 40% 47% 53% / 48% 52% 48% 52%;
  transform: rotate(6deg);
}
.crater:nth-child(5) {
  border-radius: 45% 55% 58% 42% / 52% 46% 54% 48%;
  transform: rotate(-7deg);
}
.crater:nth-child(6) {
  border-radius: 50% 50% 42% 58% / 44% 56% 44% 56%;
  transform: rotate(3deg);
}

.crater strong {
  display: block;
  font-family: "Bangers", cursive;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--lime);
  line-height: 1;
}

.crater span {
  display: block;
  margin-top: 6px;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.orbit-board {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  align-items: center;
}

.orbit-stage {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  transform: rotateX(18deg) rotateZ(-8deg);
  transform-style: preserve-3d;
}

.orbit-ring {
  position: absolute;
  inset: 11%;
  border: 3px dashed var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 24px var(--glow);
  animation: spin-ring 28s linear infinite;
}

.orbit-core {
  position: absolute;
  inset: 34%;
  border-radius: 46% 54% 48% 52% / 50% 44% 56% 50%;
  border: 4px solid var(--stroke);
  object-fit: cover;
  box-shadow: 0 0 0 8px var(--lime), 10px 14px 0 #000;
  z-index: 2;
}

.sat {
  position: absolute;
  width: min(210px, 46%);
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--stroke);
  padding: 10px 12px;
  box-shadow: 5px 5px 0 var(--magenta);
  z-index: 3;
}

.sat b {
  display: block;
  font-family: "Bangers", cursive;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.sat span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.3;
}

.sat-1 { top: 0; left: 50%; transform: translate(-50%, 0) rotate(-6deg); }
.sat-2 { top: 50%; right: -2%; transform: translateY(-50%) rotate(4deg); }
.sat-3 { bottom: 0; left: 50%; transform: translate(-50%, 0) rotate(-3deg); }
.sat-4 { top: 50%; left: -2%; transform: translateY(-50%) rotate(5deg); }

.chain-slab {
  background: rgba(7, 10, 6, 0.78);
  border: 3px solid var(--lime);
  padding: 18px;
  box-shadow: 10px 10px 0 var(--stroke);
}

.chain-slab h3 {
  font-family: "Bangers", cursive;
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.meta-row {
  display: grid;
  gap: 8px;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.82rem;
}

.meta-row div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed rgba(200, 255, 0, 0.35);
  padding-bottom: 6px;
}

.meta-row b {
  color: var(--lime);
  font-weight: 400;
}

.burst {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
}

.burst-copy h2 {
  max-width: 12ch;
}

.radio {
  display: grid;
  gap: 16px;
}

.bubble {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  background: var(--paper);
  color: var(--ink);
  border: 4px solid var(--stroke);
  padding: 14px 16px;
  position: relative;
  box-shadow: 8px 8px 0 var(--lime);
}

.bubble:nth-child(1) { transform: rotate(-2deg) translateX(18px); }
.bubble:nth-child(2) { transform: rotate(2deg) translateX(-8px); }
.bubble:nth-child(3) { transform: rotate(-1.5deg) translateX(28px); }

.bubble::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -18px;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border-right: 4px solid var(--stroke);
  border-bottom: 4px solid var(--stroke);
  transform: rotate(45deg);
}

.bubble:hover {
  transform: translate(-3px, -3px) rotate(0deg);
}

.bubble .mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border: 3px solid var(--stroke);
}

.bubble .mark.x { background: #111; color: #fff; }
.bubble .mark.uni { background: #ff007a; color: #fff; }
.bubble .mark.dex { background: #b6ff00; color: #111; }

.bubble .mark i,
.bubble .mark svg {
  font-size: 1.4rem;
  width: 26px;
  height: 26px;
}

.bubble strong {
  display: block;
  font-family: "Bangers", cursive;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.bubble small {
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.06em;
}

.site-foot {
  margin: 0 12px 18px;
  padding: 18px 20px 22px;
  background: var(--ink-2);
  border: 4px solid var(--stroke);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.78rem;
  box-shadow: 8px 8px 0 var(--lime);
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--lime);
  color: var(--ink);
  border: 3px solid var(--stroke);
  padding: 10px 14px;
  font-family: "Bangers", cursive;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  box-shadow: 5px 5px 0 var(--stroke);
}

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

@keyframes float-rock {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

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

@media (max-width: 980px) {
  .hero-stage,
  .dossier,
  .orbit-board,
  .burst {
    grid-template-columns: 1fr;
  }

  .mast {
    transform: none;
    margin-left: 0;
  }

  .rock-wrap {
    margin: 0 auto;
    transform: none;
  }

  .nav-links {
    display: none;
  }

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

  .orbit-stage {
    transform: none;
    aspect-ratio: auto;
    height: auto;
    display: grid;
    gap: 12px;
    width: 100%;
  }

  .orbit-ring {
    display: none;
  }

  .orbit-core {
    position: relative;
    inset: auto;
    width: 140px;
    height: 140px;
    margin: 0 auto 8px;
  }

  .sat {
    position: relative;
    width: 100%;
    inset: auto;
    transform: none !important;
  }

  .hero {
    background-position: center 20%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rock-wrap img,
  .orbit-ring,
  .plate {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}
