:root {
  --ink: #101010;
  --paper: #f9f8f1;
  --acid: #d8ff00;
  --blue: #124cff;
  --pink: #ff39a6;
  --orange: #ff6d24;
  --line: 3px solid var(--ink);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Heavy", sans-serif;
  --hand: "Trebuchet MS", "Arial Rounded MT Bold", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(0deg, transparent 97%, rgba(16,16,16,.06) 97%),
    linear-gradient(90deg, transparent 97%, rgba(16,16,16,.05) 97%),
    radial-gradient(circle at 17% 24%, rgba(216,255,0,.28), transparent 21%),
    radial-gradient(circle at 83% 72%, rgba(255,57,166,.15), transparent 23%);
  background-size: 26px 26px, 26px 26px, auto, auto;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .08;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, #111 4px, transparent 5px);
  mix-blend-mode: multiply;
}
.paper-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .11;
  z-index: 19;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

.stage {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 20px 24px 54px;
  overflow: hidden;
}
.masthead {
  position: relative;
  z-index: 3;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  transform: rotate(-1.2deg);
}
.top-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 1px;
  padding: 6px 11px;
  border: var(--line);
  background: var(--acid);
  box-shadow: 5px 5px 0 var(--ink);
  font: 900 11px/1 var(--display);
  letter-spacing: .12em;
  transform: rotate(1.6deg);
}
.top-mark img { display: block; flex: 0 0 auto; }
h1 {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: .91;
  letter-spacing: -.045em;
  text-transform: lowercase;
  text-shadow: 4px 5px 0 var(--acid), 8px 8px 0 var(--ink);
  -webkit-text-stroke: 1px var(--ink);
}
.ticker-tag {
  position: absolute;
  right: -60px;
  bottom: -8px;
  z-index: 2;
  padding: 6px 10px 5px;
  border: var(--line);
  background: var(--pink);
  font: 900 17px/1 var(--display);
  transform: rotate(8deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.hero-frame {
  position: relative;
  z-index: 2;
  width: min(58vw, 735px);
  margin: clamp(22px, 4vh, 42px) auto 0;
  padding: 10px;
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: 13px 14px 0 var(--ink), 22px 24px 0 var(--acid);
  transform: translate3d(var(--mouse-x, 0px), var(--mouse-y, 0px), 0) rotate(.9deg);
  transform-origin: 50% 48%;
  animation: frame-bob 5.2s ease-in-out infinite, frame-jolt 8.5s steps(1, end) infinite;
  will-change: transform, filter;
}
.hero-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14px 14px 13px -13px;
  border: 3px solid var(--blue);
  background: var(--pink);
  transform: rotate(-2.8deg);
  clip-path: polygon(0 3%, 94% 0, 100% 91%, 7% 100%);
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 42%, rgba(216,255,0,.24) 48%, transparent 56% 100%);
  mix-blend-mode: screen;
  animation: scan-glint 4.8s ease-in-out infinite;
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  filter: saturate(1.12) contrast(1.06);
  animation: image-wobble 6s ease-in-out infinite;
}
.hero-topline, .hero-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 4px 8px;
  font: 900 clamp(9px, .95vw, 13px)/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-topline { border-bottom: 3px dashed var(--ink); }
.hero-bottomline { padding-bottom: 2px; }
.middle-mark { font-size: 23px; line-height: .8; filter: grayscale(1); }
.corner-mark {
  position: absolute;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 3px solid var(--ink);
  background: var(--acid);
  font: 900 28px/1 var(--display);
  box-shadow: 4px 4px 0 var(--ink);
}
.corner-mark--one { left: -28px; top: 37%; transform: rotate(-13deg); }
.corner-mark--two { right: -25px; bottom: 20%; background: var(--orange); transform: rotate(11deg); }

.edge-label {
  position: fixed;
  z-index: 1;
  top: 45%;
  font: 900 clamp(22px, 3vw, 43px)/.8 var(--display);
  letter-spacing: -.02em;
  color: var(--ink);
  text-align: center;
  opacity: .95;
  pointer-events: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.edge-label--left { left: 13px; transform: rotate(180deg); color: var(--blue); }
.edge-label--right { right: 13px; color: #db2457; }
.scribble {
  position: absolute;
  z-index: 1;
  color: var(--blue);
  font: 900 clamp(60px, 9vw, 125px)/1 var(--hand);
  pointer-events: none;
  text-shadow: 3px 3px 0 var(--acid);
  animation: scribble-bounce 3.8s ease-in-out infinite;
}
.scribble--left { left: 14%; top: 47%; transform: rotate(-17deg); }
.scribble--right { right: 13%; top: 30%; color: var(--pink); transform: rotate(13deg); animation-delay: -1.5s; }
.micro-note {
  position: absolute;
  z-index: 3;
  padding: 8px 10px;
  border: 3px solid var(--ink);
  background: var(--orange);
  font: 900 clamp(12px, 1.3vw, 17px)/.95 var(--display);
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--ink);
  pointer-events: none;
}
.micro-note--left { left: 17%; top: 33%; transform: rotate(-7deg); }
.micro-note--right { right: 17%; bottom: 19%; background: var(--acid); transform: rotate(6deg); }

.links-layer { display: contents; }
.floating-link {
  --dx: 12px;
  --dy: -10px;
  --turn: 9deg;
  --speed: 5.5s;
  --delay: 0s;
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  max-width: 205px;
  padding: 8px 11px;
  color: var(--ink);
  border: 3px solid var(--ink);
  background: var(--acid);
  box-shadow: 6px 6px 0 var(--ink);
  text-decoration: none;
  font: 900 13px/1 var(--display);
  letter-spacing: .035em;
  white-space: nowrap;
  transform-origin: center;
  animation: link-chaos var(--speed) ease-in-out var(--delay) infinite alternate;
  transition: background-color .16s steps(2), box-shadow .16s steps(2), filter .16s steps(2);
  will-change: transform;
}
.floating-link img { display: block; flex: 0 0 auto; object-fit: contain; }
.floating-link span { display: inline-block; }
.floating-link b { font: 900 18px/1 Arial, sans-serif; }
.floating-link:hover { z-index: 8; background: var(--pink); box-shadow: 2px 2px 0 var(--ink); filter: contrast(1.2); }
.floating-link:focus-visible { outline: 4px dashed var(--blue); outline-offset: 4px; }
.floating-link.is-disabled { opacity: .42; filter: grayscale(.6); cursor: not-allowed; }
.floating-link.is-disabled:hover { background: var(--acid); box-shadow: 6px 6px 0 var(--ink); }
.floating-link--pump { left: 2.4%; top: 20%; background: #fff34d; --dx: 10px; --dy: 13px; --turn: -7deg; --speed: 4.9s; }
.floating-link--dex { right: 2.1%; top: 28%; background: #fff; --dx: -13px; --dy: 11px; --turn: 6deg; --speed: 5.7s; --delay: -.8s; }
.floating-link--fomo { left: 3.3%; bottom: 22%; background: #fff; --dx: 12px; --dy: -12px; --turn: 11deg; --speed: 6.2s; --delay: -2s; }
.floating-link--twitter { right: 2.5%; top: 59%; background: #fff; --dx: -11px; --dy: -14px; --turn: -8deg; --speed: 5.2s; --delay: -1.3s; }
.floating-link--telegram { right: 9%; bottom: 7%; background: #56d9ff; --dx: -10px; --dy: 12px; --turn: 7deg; --speed: 4.6s; --delay: -2.4s; }
.footer-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 2px solid var(--ink);
  padding-top: 7px;
  font: 900 10px/1 var(--display);
  letter-spacing: .13em;
}
.ca-strip {
  position: relative;
  z-index: 7;
  width: min(680px, 90%);
  margin: 24px auto 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-.5deg);
}
.ca-strip[hidden] { display: none; }
.ca-label { padding: 5px 7px; background: var(--acid); border: 2px solid var(--ink); font: 900 13px/1 var(--display); }
.ca-strip code { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ca-strip button { border: 2px solid var(--ink); border-radius: 0; padding: 7px 10px; background: var(--pink); font: 900 12px/1 var(--display); cursor: pointer; }

@keyframes frame-bob {
  0%, 100% { transform: translate3d(var(--mouse-x, 0px), var(--mouse-y, 0px), 0) rotate(.9deg) scale(1); }
  50% { transform: translate3d(var(--mouse-x, 0px), calc(var(--mouse-y, 0px) - 8px), 0) rotate(-.7deg) scale(1.008); }
}
@keyframes frame-jolt {
  0%, 91%, 100% { filter: none; }
  92% { filter: saturate(1.7) hue-rotate(20deg); }
  93% { transform: translate(3px, -2px) rotate(1.8deg) skewX(-.6deg); }
  94% { transform: translate(-2px, 1px) rotate(.1deg); }
  95% { filter: none; }
}
@keyframes image-wobble {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.006) rotate(.15deg); }
}
@keyframes scan-glint {
  0%, 20% { transform: translateX(-110%); opacity: 0; }
  35% { opacity: .75; }
  65%, 100% { transform: translateX(110%); opacity: 0; }
}
@keyframes scribble-bounce {
  0%, 100% { translate: 0 0; rotate: -4deg; }
  50% { translate: 5px -12px; rotate: 5deg; }
}
@keyframes link-chaos {
  0% { transform: translate(0, 0) rotate(calc(var(--turn) * -1)) skewX(-1deg); }
  48% { transform: translate(var(--dx), var(--dy)) rotate(var(--turn)) skewX(2deg); }
  100% { transform: translate(calc(var(--dx) * -0.7), calc(var(--dy) * -0.8)) rotate(calc(var(--turn) * -0.65)) skewX(-2deg); }
}

@media (min-width: 1500px) {
  .hero-frame { width: min(53vw, 800px); }
}
@media (max-width: 1100px) {
  .stage { padding-inline: 16px; }
  .hero-frame { width: min(60vw, 670px); }
  .floating-link { gap: 6px; padding: 7px 8px; min-height: 42px; font-size: 11px; }
  .floating-link img { width: 24px; height: 24px; }
  .floating-link--pump { left: 1.5%; }
  .floating-link--dex { right: 1.5%; }
  .floating-link--fomo { left: 1.8%; }
  .floating-link--twitter { right: 1.7%; }
  .floating-link--telegram { right: 6%; }
  .micro-note--left { left: 10%; }
  .micro-note--right { right: 10%; }
  .scribble--left { left: 9%; }
  .scribble--right { right: 9%; }
}
@media (max-width: 760px) {
  .stage { min-height: 100svh; padding: 15px 13px 22px; overflow: hidden; }
  .masthead { max-width: 94%; }
  .top-mark { font-size: 9px; padding: 5px 7px; box-shadow: 3px 3px 0 var(--ink); }
  h1 { font-size: clamp(4.1rem, 20vw, 7.5rem); text-shadow: 3px 4px 0 var(--acid), 5px 6px 0 var(--ink); }
  .ticker-tag { right: -17px; bottom: -18px; font-size: 13px; padding: 5px 7px; }
  .hero-frame { width: min(91vw, 540px); margin-top: 27px; padding: 6px; border-width: 3px; box-shadow: 7px 8px 0 var(--ink), 13px 14px 0 var(--acid); }
  .hero-topline, .hero-bottomline { font-size: 9px; padding: 5px 2px; }
  .middle-mark { font-size: 17px; }
  .corner-mark { width: 29px; height: 29px; font-size: 20px; border-width: 2px; }
  .corner-mark--one { left: -16px; }
  .corner-mark--two { right: -15px; }
  .edge-label { display: none; }
  .scribble { font-size: 48px; }
  .scribble--left { left: 1%; top: 43%; }
  .scribble--right { right: 2%; top: 28%; }
  .micro-note { font-size: 10px; padding: 5px 6px; border-width: 2px; box-shadow: 3px 3px 0 var(--ink); }
  .micro-note--left { left: 2%; top: 34%; }
  .micro-note--right { right: 2%; bottom: auto; top: 54%; }
  .links-layer { position: relative; z-index: 6; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 560px; margin: 25px auto 20px; }
  .floating-link { position: relative; inset: auto !important; min-height: 40px; max-width: none; padding: 7px 9px; font-size: 11px; animation: mobile-link-wiggle 3.8s ease-in-out infinite alternate; }
  .floating-link:nth-child(even) { animation-delay: -1.4s; }
  .floating-link img { width: 22px; height: 22px; }
  .footer-note { position: relative; left: auto; right: auto; bottom: auto; margin-top: 15px; font-size: 8px; }
  .ca-strip { width: 100%; margin-top: 18px; }
  .ca-strip code { font-size: 10px; }
}
@keyframes mobile-link-wiggle {
  from { transform: rotate(-2deg) translateY(0); }
  to { transform: rotate(2deg) translateY(-3px); }
}
@media (max-width: 390px) {
  .top-mark { letter-spacing: .05em; }
  .hero-frame { width: 92vw; }
  .floating-link { gap: 5px; padding: 6px 7px; font-size: 10px; }
  .floating-link img { width: 19px; height: 19px; }
  .footer-note { letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
