:root {
  --ink: #0a0612;
  --navy: #0b1024;
  --paper: #f4ead2;
  --paper-deep: #e7d7b3;
  --cyan: #2ef6ff;
  --magenta: #d14bff;
  --lime: #7dff6a;
  --gold: #ffd24a;
  --sol-a: #14f195;
  --sol-b: #9945ff;
  --gutter: 14px;
  --bind: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  font-family: "Comic Neue", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(153, 69, 255, 0.28), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(20, 241, 149, 0.16), transparent 50%),
    radial-gradient(800px 500px at 50% 110%, rgba(46, 246, 255, 0.12), transparent 55%),
    var(--navy);
  overflow-x: hidden;
}

.city-floor {
  position: fixed;
  inset: auto 0 0 0;
  height: 42vh;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(to top, rgba(5, 8, 18, 0.92), transparent),
    repeating-linear-gradient(
      to right,
      transparent 0 46px,
      rgba(46, 246, 255, 0.12) 46px 48px
    );
  transform: perspective(700px) rotateX(62deg) scale(1.35);
  transform-origin: center bottom;
  opacity: 0.55;
}

.halftone {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
  background-image: radial-gradient(circle, #fff 1.1px, transparent 1.4px);
  background-size: 10px 10px;
}

.binding {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--bind);
  height: 100vh;
  z-index: 4;
  background:
    repeating-linear-gradient(
      to bottom,
      #1a1228 0 28px,
      #120c1c 28px 56px
    );
  border-right: 6px solid #000;
  box-shadow: 10px 0 0 rgba(46, 246, 255, 0.18);
}

.binding::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 8%, #2a2038 0 7px, transparent 8px),
    radial-gradient(circle at 50% 24%, #2a2038 0 7px, transparent 8px),
    radial-gradient(circle at 50% 40%, #2a2038 0 7px, transparent 8px),
    radial-gradient(circle at 50% 56%, #2a2038 0 7px, transparent 8px),
    radial-gradient(circle at 50% 72%, #2a2038 0 7px, transparent 8px),
    radial-gradient(circle at 50% 88%, #2a2038 0 7px, transparent 8px);
}

.site {
  position: relative;
  z-index: 2;
  padding-left: calc(var(--bind) + 18px);
  padding-right: 18px;
  padding-bottom: 40px;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 20px;
  padding: 10px 14px;
  background: var(--gold);
  color: #111;
  border: 5px solid #000;
  box-shadow:
    6px 6px 0 #000,
    -4px 0 0 var(--cyan),
    10px 4px 0 var(--magenta);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #0b1024;
  border: 3px solid #000;
}

.brand-copy {
  line-height: 0.95;
}

.brand-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.brand-name {
  font-family: Bangers, Impact, sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

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

.nav-links a {
  color: #111;
  text-decoration: none;
  font-weight: 800;
  padding: 6px 10px;
  border: 3px solid transparent;
}

.nav-links a:hover {
  border-color: #000;
  background: #fff;
}

.issue-tag {
  font-family: Bangers, Impact, sans-serif;
  background: #111;
  color: var(--gold);
  border: 3px solid #000;
  padding: 4px 10px;
  letter-spacing: 0.08em;
}

.page {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: grid;
  gap: var(--gutter);
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  color: var(--gold);
  font-family: Bangers, Impact, sans-serif;
  letter-spacing: 0.08em;
  text-shadow: 3px 3px 0 #000;
}

.page-head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.page-head span {
  font-size: 0.95rem;
  color: var(--cyan);
}

.panel {
  border: 5px solid #000;
  background: var(--paper);
  color: #16110c;
  box-shadow:
    8px 8px 0 #000,
    -5px 0 0 var(--cyan),
    12px 5px 0 var(--magenta);
  min-width: 0;
}

.panel-dark {
  background:
    linear-gradient(180deg, rgba(20, 241, 149, 0.08), transparent 30%),
    #10162c;
  color: var(--paper);
}

.caption {
  background: #fff8e4;
  color: #111;
  border-bottom: 4px solid #000;
  padding: 8px 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel-dark .caption {
  background: var(--gold);
}

.panel-body {
  padding: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--gutter);
}

.burst-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px;
}

.burst {
  position: absolute;
  inset: 8% 10%;
  background:
    conic-gradient(
      from 90deg,
      var(--gold),
      var(--cyan),
      var(--magenta),
      var(--gold)
    );
  clip-path: polygon(
    50% 0%,
    57% 28%,
    88% 18%,
    68% 42%,
    100% 50%,
    68% 58%,
    88% 82%,
    57% 72%,
    50% 100%,
    43% 72%,
    12% 82%,
    32% 58%,
    0% 50%,
    32% 42%,
    12% 18%,
    43% 28%
  );
  opacity: 0.9;
  filter: saturate(1.2);
  z-index: 0;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  height: auto;
  display: block;
  object-fit: contain;
  border: 4px solid #000;
  background: #070b18;
  box-shadow: 0 0 0 6px var(--paper);
}

.pow {
  position: absolute;
  right: 8%;
  top: 6%;
  z-index: 2;
  font-family: Bangers, Impact, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  background: #ff2d55;
  border: 4px solid #000;
  padding: 4px 14px;
  text-shadow: 3px 3px 0 #000;
}

.kicker {
  display: inline-block;
  background: var(--cyan);
  color: #041018;
  font-weight: 800;
  padding: 4px 10px;
  border: 3px solid #000;
  margin-bottom: 10px;
}

h1 {
  font-family: Bangers, Impact, sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.9;
  margin: 0 0 8px;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow:
    4px 4px 0 #000,
    -2px 0 0 var(--cyan),
    6px 2px 0 var(--magenta);
}

.ticker {
  font-family: Bangers, Impact, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.lead {
  font-size: 1.2rem;
  font-weight: 700;
  max-width: 38ch;
}

.speech {
  position: relative;
  background: #fff;
  color: #111;
  border: 4px solid #000;
  border-radius: 28px;
  padding: 14px 18px;
  margin: 18px 0;
  font-weight: 800;
  width: fit-content;
  max-width: 100%;
}

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

.speech::before {
  content: "";
  position: absolute;
  left: 32px;
  bottom: -12px;
  border-width: 0 12px 14px 0;
  border-style: solid;
  border-color: transparent #fff;
  z-index: 1;
}

.ca-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: #070b18;
  color: var(--cyan);
  border: 4px solid #000;
  padding: 10px;
  margin: 16px 0;
}

.ca-box code {
  font-family: "Courier New", monospace;
  font-size: 0.92rem;
  word-break: break-all;
  flex: 1;
  min-width: 180px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-comic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 4px solid #000 !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 4px 4px 0 #000;
  color: #111 !important;
}

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

.btn-buy {
  background: var(--lime) !important;
}

.btn-x {
  background: #fff !important;
}

.btn-dex {
  background: var(--cyan) !important;
}

.btn-copy {
  background: var(--gold) !important;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--gutter);
}

.portrait {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #1a1320;
}

.story p {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

.banner-panel img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #050816;
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}

.step-num {
  font-family: Bangers, Impact, sans-serif;
  font-size: 2.4rem;
  color: #ff2d55;
  text-shadow: 2px 2px 0 #000;
  line-height: 1;
}

.howto-grid h3 {
  font-family: Bangers, Impact, sans-serif;
  letter-spacing: 0.04em;
  margin: 6px 0 8px;
}

.crew {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: var(--gutter);
  align-items: center;
}

.logo-badge {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 4px solid #000;
  background: #070b18;
}

.site-foot {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
  text-align: center;
  border: 5px solid #000;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  box-shadow: 6px 6px 0 #000;
}

.toast-copy {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  display: none;
  background: var(--lime);
  color: #111;
  border: 4px solid #000;
  padding: 10px 16px;
  font-weight: 800;
  box-shadow: 4px 4px 0 #000;
}

.toast-copy.show {
  display: block;
}

@media (max-width: 1080px) {
  .howto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --bind: 0px;
  }

  .binding {
    display: none;
  }

  .site {
    padding-left: 12px;
    padding-right: 12px;
  }

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

  .mast {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: center;
  }

  .pow {
    font-size: 1.6rem;
  }
}

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

  h1 {
    font-size: 2.5rem;
  }
}
