:root {
  --ink: #07090c;
  --navy: #10151c;
  --panel: #171d28;
  --cream: #f3e6c8;
  --paper: #efe0b8;
  --mute: #c9b896;
  --green: #c6ff3a;
  --green-deep: #7adf00;
  --orange: #e8943a;
  --red: #ff4b4b;
  --line: #050505;
  --gutter: #d9c79a;
  --shadow: 14px 18px 0 var(--line);
  --font-display: "Bungee", system-ui, sans-serif;
  --font-caption: "Special Elite", ui-monospace, monospace;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-body);
  background: var(--ink);
  overflow-x: hidden;
}

::selection {
  background: var(--green);
  color: var(--ink);
}

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

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

.pit {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 18% -10%, rgba(198, 255, 58, 0.14), transparent 55%),
    radial-gradient(900px 600px at 92% 8%, rgba(232, 148, 58, 0.16), transparent 50%),
    radial-gradient(800px 500px at 50% 110%, rgba(198, 255, 58, 0.08), transparent 55%),
    linear-gradient(180deg, #0b0e13 0%, #141a24 42%, #0a0d12 100%);
}

.pit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(243, 230, 200, 0.09) 1.1px, transparent 1.2px);
  background-size: 7px 7px;
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.vanishing-floor {
  position: absolute;
  left: -18%;
  right: -18%;
  top: 42%;
  height: 130%;
  background:
    linear-gradient(to right, transparent, rgba(198, 255, 58, 0.14) 50%, transparent),
    repeating-linear-gradient(
      90deg,
      transparent 0 84px,
      rgba(198, 255, 58, 0.11) 84px 85px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 84px,
      rgba(198, 255, 58, 0.08) 84px 85px
    );
  transform: perspective(900px) rotateX(64deg);
  transform-origin: top center;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

.speed-lines {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    from 0deg at 50% 18%,
    transparent 0 8deg,
    rgba(243, 230, 200, 0.035) 8deg 9deg
  );
  mask-image: radial-gradient(circle at 50% 18%, black 0 8%, transparent 62%);
  opacity: 0.55;
}

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

.art {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 28%;
}

.art-logo {
  background-image: url("logo.png");
  background-position: 58% 12%;
}

.art-banner {
  background-image: url("banner.png");
  background-position: center 42%;
}

.art-1 {
  background-image: url("1.png");
  background-position: center 18%;
}

.art-2 {
  background-image: url("2.png");
  background-position: 50% 8%;
}

.art-3 {
  background-image: url("3.png");
  background-size: auto 112%;
  background-position: 8% 16%;
}

.art-4 {
  background-image: url("4.png");
  background-position: 50% 16%;
}

.ink-wash {
  position: relative;
  isolation: isolate;
}

.ink-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0.04), rgba(7, 9, 12, 0.18)),
    radial-gradient(circle at 50% 32%, transparent 46%, rgba(7, 9, 12, 0.28));
  z-index: 1;
}

.panel {
  border: 5px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(243, 230, 200, 0.14);
  pointer-events: none;
  z-index: 2;
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 18px 0;
}

.nav-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  background: #f4e7c4;
  color: var(--ink);
  border: 4px solid var(--line);
  box-shadow: 8px 10px 0 var(--line);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 18px) 100%, 0 100%, 0 14px);
  transform: rotateX(8deg) rotateZ(-0.4deg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 3px solid var(--line);
  background-image: url("logo.png");
  background-size: cover;
  background-position: 55% 18%;
  box-shadow: 3px 3px 0 var(--line);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand-copy span {
  font-family: var(--font-caption);
  font-size: 11px;
  color: #5c4d32;
}

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

.nav-links a {
  font-family: var(--font-caption);
  font-size: 13px;
  padding: 6px 10px;
  border: 2px solid transparent;
}

.nav-links a:hover {
  border-color: var(--line);
  background: var(--green);
}

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

.btn-lever {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 3px solid var(--line);
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.03em;
  box-shadow: 4px 5px 0 var(--line);
  transform: rotate(-1deg);
  white-space: nowrap;
}

.btn-lever.ghost {
  background: #11161f;
  color: var(--cream);
}

.btn-lever.x {
  background: #0f0f0f;
  color: #fff;
}

.btn-lever.dex {
  background: #1b2433;
  color: var(--green);
}

.btn-lever:hover {
  transform: rotate(0deg) translate(-1px, -1px);
  box-shadow: 6px 7px 0 var(--line);
}

.icon-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero {
  min-height: 100vh;
  padding: 28px 18px 72px;
  display: grid;
  place-items: center;
}

.hero-board {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  transform: rotateX(7deg) rotateY(-8deg);
  transform-style: preserve-3d;
}

.hero-copy {
  overflow: visible;
  background:
    linear-gradient(160deg, rgba(23, 29, 40, 0.92), rgba(12, 16, 22, 0.88));
  padding: 36px 32px 28px;
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.kicker {
  display: inline-block;
  font-family: var(--font-caption);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(198, 255, 58, 0.08);
  border: 2px dashed rgba(198, 255, 58, 0.45);
  padding: 6px 10px;
  margin-bottom: 18px;
}

.display {
  font-family: var(--font-display);
  line-height: 0.86;
  font-size: clamp(54px, 8vw, 108px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow:
    2px 2px 0 #000,
    4px 4px 0 #000,
    6px 6px 0 #4b7a00,
    8px 8px 0 var(--green);
  margin: 0 0 8px;
}

.display em {
  font-style: normal;
  color: var(--green);
}

.ticker {
  font-family: var(--font-caption);
  color: var(--orange);
  margin: 10px 0 18px;
  font-size: 18px;
}

.bio {
  font-size: 22px;
  max-width: 16ch;
  line-height: 1.25;
  margin: 0 0 24px;
}

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

.ca-stamp {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #0c1016;
  border: 3px dashed var(--green);
  padding: 10px 12px;
}

.ca-stamp code {
  font-family: var(--font-caption);
  font-size: 13px;
  word-break: break-all;
  color: var(--green);
}

.ca-stamp button {
  border: 2px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-caption);
  padding: 6px 10px;
}

.burst {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 118px;
  height: 118px;
  background: var(--orange);
  color: var(--ink);
  border: 4px solid var(--line);
  clip-path: polygon(
    50% 0%,
    63% 22%,
    88% 12%,
    78% 38%,
    100% 50%,
    78% 62%,
    88% 88%,
    63% 78%,
    50% 100%,
    37% 78%,
    12% 88%,
    22% 62%,
    0 50%,
    22% 38%,
    12% 12%,
    37% 22%
  );
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  transform: rotate(12deg);
  z-index: 3;
}

.hero-art {
  min-height: 72vh;
  transform: rotateY(14deg) rotateX(3deg) translateZ(40px);
}

.caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-caption);
  font-size: 14px;
  padding: 8px 12px;
  border: 3px solid var(--line);
  max-width: min(280px, 80%);
}

.section {
  padding: 28px 18px 64px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.issue-label {
  font-family: var(--font-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 12px;
}

.about-stage {
  transform: rotateX(4deg) rotateY(7deg);
  transform-style: preserve-3d;
}

.billboard {
  height: clamp(220px, 32vw, 340px);
  margin-bottom: 22px;
  transform: rotateX(8deg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
}

.about-art {
  min-height: 560px;
}

.about-copy {
  background: #f6ead0;
  color: var(--ink);
  padding: 28px 26px;
  clip-path: polygon(0 18px, 18px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 0.95;
  margin: 0 0 12px;
}

.about-copy p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 18px;
}

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

.stamp {
  border: 3px solid var(--line);
  padding: 8px 10px;
  font-family: var(--font-caption);
  font-size: 13px;
  background: var(--green);
  transform: rotate(-2deg);
}

.stamp:nth-child(2) {
  background: #ffd36b;
  transform: rotate(1.5deg);
}

.stamp:nth-child(3) {
  background: #ff8a6b;
  transform: rotate(-1deg);
}

.howto {
  transform: rotateX(9deg);
}

.howto-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.howto-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 68px);
  line-height: 0.9;
  margin: 0 0 8px;
  text-shadow: 4px 4px 0 #000, 7px 7px 0 var(--green);
}

.howto-head p {
  color: var(--mute);
  max-width: 46ch;
}

.machine {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  min-height: 720px;
}

.machine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 9, 12, 0.08) 0%,
    rgba(7, 9, 12, 0.28) 34%,
    rgba(7, 9, 12, 0.86) 68%
  );
  pointer-events: none;
  z-index: 1;
}

.lever-col {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 28px 0;
}

.lever-shaft {
  width: 28px;
  background: linear-gradient(90deg, #8d93a0, #eceff4 40%, #5c6370);
  border: 4px solid var(--line);
  border-radius: 20px;
  position: relative;
  box-shadow: inset 0 0 0 3px #2b3038, 8px 0 0 rgba(0, 0, 0, 0.35);
}

.lever-knob {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 72px;
  margin-left: -36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff7c2, var(--red) 42%, #7a1010);
  border: 4px solid var(--line);
  box-shadow: 4px 6px 0 var(--line);
  z-index: 2;
}

.lever-base {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 84px;
  height: 34px;
  margin-left: -42px;
  background: #2a303a;
  border: 4px solid var(--line);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}

.notch {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 10px;
  background: var(--green);
  border: 3px solid var(--line);
  transform: translateX(-50%);
}

.steps {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px 22px;
}

.step {
  background: #f3e6c8;
  color: var(--ink);
  padding: 16px 16px 14px;
  border: 4px solid var(--line);
  box-shadow: 7px 8px 0 var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  transform: rotateY(-12deg);
}

.step:nth-child(even) {
  transform: rotateY(10deg) translateX(18px);
  background: #fff4d4;
}

.step-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  background: var(--green);
  border: 3px solid var(--line);
}

.step h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 18px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: #4e4330;
}

.copy-btn {
  margin-top: 8px;
  border: 2px solid var(--line);
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-caption);
  padding: 6px 10px;
}

.community {
  transform: rotateX(3deg);
}

.community h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.92;
  margin: 0 0 18px;
}

.dual-monitors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  transform-style: preserve-3d;
}

.monitor {
  min-height: 560px;
}

.monitor.left {
  transform: rotateY(16deg) rotateX(4deg);
}

.monitor.right {
  transform: rotateY(-16deg) rotateX(4deg);
}

.monitor-copy {
  position: absolute;
  inset: auto 16px 16px 16px;
  z-index: 4;
  background: rgba(7, 9, 12, 0.82);
  border: 3px solid var(--line);
  padding: 16px;
}

.monitor-copy h3 {
  font-family: var(--font-display);
  margin: 0 0 6px;
}

.monitor-copy p {
  margin: 0 0 12px;
  color: var(--mute);
}

.bezel {
  position: absolute;
  inset: 0;
  border: 14px solid #12151b;
  box-shadow: inset 0 0 0 4px #3a414d;
  pointer-events: none;
  z-index: 3;
}

.site-foot {
  padding: 28px 18px 40px;
}

.foot-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  background: #0d1118;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.foot-card small {
  color: var(--mute);
}

.toast {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 80;
  background: var(--green);
  color: var(--ink);
  border: 3px solid var(--line);
  padding: 10px 14px;
  font-family: var(--font-caption);
  box-shadow: 5px 6px 0 var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 991px) {
  .hero-board,
  .about-stage,
  .howto,
  .community,
  .nav-ticket,
  .hero-art,
  .billboard,
  .step,
  .step:nth-child(even),
  .monitor.left,
  .monitor.right {
    transform: none;
  }

  .hero-board,
  .about-grid,
  .dual-monitors,
  .machine {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .about-art,
  .monitor {
    min-height: 68vh;
  }

  .machine {
    min-height: auto;
  }

  .art-3 {
    background-size: cover;
    background-position: center 16%;
  }

  .machine::after {
    background: linear-gradient(180deg, rgba(7, 9, 12, 0.12) 0%, rgba(7, 9, 12, 0.8) 46%);
  }

  .lever-col {
    min-height: 160px;
  }

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

  .nav-links,
  .nav-actions {
    justify-content: flex-start;
  }

  .bio {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-board,
  .about-stage,
  .howto,
  .community,
  .hero-art,
  .billboard,
  .step,
  .monitor.left,
  .monitor.right {
    transform: none;
  }
}
