:root {
  --ink: #03040a;
  --deep: #020817;
  --blue: #0b3dff;
  --cyan: #14d9ff;
  --ice: #dffcff;
  --white: #ffffff;
  --acid: #a6ff00;
  --danger: #ff2d74;
  --shadow: 0 0 18px rgba(20, 217, 255, .72), 0 0 55px rgba(11, 61, 255, .4);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--deep);
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 22%, rgba(11, 61, 255, .28), transparent 28rem),
    radial-gradient(circle at 82% 60%, rgba(20, 217, 255, .18), transparent 30rem),
    linear-gradient(135deg, #01030a 0%, #020c28 45%, #000 100%);
  font-family: "Arial Black", Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: skewY(-3deg) scale(1.06);
  opacity: .45;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: radial-gradient(circle, #fff 0 1px, transparent 1.2px);
  background-size: 17px 17px;
  mix-blend-mode: screen;
  animation: jitterNoise .65s steps(2) infinite;
}

.energy-grid {
  position: fixed;
  width: 42vw;
  height: 120vh;
  left: -12vw;
  top: -10vh;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(20,217,255,.14) 23px 24px);
  transform: rotate(18deg);
  filter: blur(.2px);
  opacity: .55;
}

.topline {
  position: fixed;
  z-index: 30;
  inset: 18px 20px auto 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.ticker {
  pointer-events: auto;
  border: 3px solid var(--cyan);
  background: #02040b;
  color: var(--cyan);
  padding: 8px 14px 7px;
  letter-spacing: .08em;
  font-size: clamp(.72rem, 1.1vw, .95rem);
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--blue);
  transform: rotate(-2deg) skewX(-7deg);
}

.solana-mark {
  width: 54px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(20,241,149,.45));
  transform: rotate(6deg);
}

.stage {
  position: relative;
  width: min(1180px, calc(100% - 34px));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 105px 150px 84px;
}

.hero-card {
  position: relative;
  z-index: 5;
  width: min(760px, 100%);
  display: grid;
  gap: 26px;
  justify-items: center;
}

.hero-frame {
  position: relative;
  width: min(64vw, 660px);
  aspect-ratio: 1 / 1;
  background: #000;
  clip-path: polygon(4% 0, 100% 3%, 96% 97%, 0 100%);
  border: 0;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.hero-frame::before {
  inset: 12px;
  border: 3px solid rgba(255,255,255,.92);
  clip-path: polygon(0 2%, 98% 0, 100% 96%, 4% 100%);
  box-shadow: inset 0 0 18px rgba(20,217,255,.7);
}

.hero-frame::after {
  width: 32%;
  height: 12px;
  background: var(--acid);
  left: -6%;
  top: 17%;
  transform: rotate(-8deg);
  box-shadow: 0 26rem 0 var(--danger);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.015);
  filter: contrast(1.07) saturate(1.1);
}

.scan-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

.title-stack {
  width: min(850px, 100%);
  text-align: center;
  transform: rotate(.3deg);
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(.64rem, 1.4vw, .82rem);
  letter-spacing: .16em;
  font-weight: 800;
}

h1 {
  margin: 0;
  text-transform: none;
  font-size: clamp(1.8rem, 5.2vw, 4.7rem);
  line-height: .86;
  letter-spacing: -.055em;
  color: var(--white);
  text-shadow:
    4px 4px 0 var(--blue),
    -3px -3px 0 #000,
    0 0 18px rgba(20,217,255,.8);
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}

.ca-box {
  margin: 23px auto 0;
  width: min(600px, 100%);
  border: 3px solid var(--white);
  background: #03050d;
  color: var(--white);
  padding: 11px 13px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  cursor: pointer;
  transform: rotate(-.7deg) skewX(-4deg);
  box-shadow: 7px 7px 0 var(--cyan);
}

.ca-box:hover,
.ca-box:focus-visible {
  background: var(--white);
  color: #000;
  outline: none;
}

.ca-label {
  background: var(--acid);
  color: #000;
  padding: 4px 6px;
}

#ca-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.copy-state {
  color: var(--cyan);
}

.ca-box:hover .copy-state,
.ca-box:focus-visible .copy-state {
  color: var(--blue);
}

.orbit-links {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.orbit-btn {
  --r: -3deg;
  --tx: 0px;
  --ty: 0px;
  position: absolute;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 138px;
  justify-content: center;
  padding: 14px 18px;
  border: 4px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .08em;
  line-height: 1;
  clip-path: polygon(6% 0, 100% 7%, 95% 100%, 0 93%);
  background: #05070f;
  box-shadow: 8px 8px 0 #000, 0 0 24px rgba(20,217,255,.5);
  transform: translate(var(--tx), var(--ty)) rotate(var(--r));
  animation: drift 4.8s ease-in-out infinite alternate;
  will-change: transform;
}

.orbit-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  color: currentColor;
}

.orbit-btn:hover,
.orbit-btn:focus-visible {
  outline: none;
  color: #000;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--cyan), 0 0 34px rgba(20,217,255,.8);
  animation-play-state: paused;
  transform: scale(1.08) rotate(0deg);
}

.orbit-btn.buy {
  left: max(14px, calc(50vw - 590px));
  top: 25%;
  background: var(--acid);
  color: #000;
  border-color: #000;
  --r: -8deg;
  animation-duration: 4.2s;
}

.orbit-btn.dex {
  right: max(14px, calc(50vw - 590px));
  top: 35%;
  --r: 7deg;
  animation-duration: 5.4s;
  animation-delay: -.9s;
}

.orbit-btn.fomo {
  left: max(18px, calc(50vw - 555px));
  bottom: 19%;
  background: var(--danger);
  border-color: #000;
  --r: 6deg;
  animation-duration: 5.1s;
  animation-delay: -1.8s;
}

.orbit-btn.xlink {
  right: max(18px, calc(50vw - 555px));
  bottom: 17%;
  background: var(--cyan);
  color: #000;
  border-color: #000;
  --r: -6deg;
  animation-duration: 4.7s;
  animation-delay: -2.6s;
}

.footer-stamp {
  position: fixed;
  z-index: 11;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) rotate(-1deg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(.56rem, 1vw, .72rem);
  letter-spacing: .14em;
  color: rgba(255,255,255,.48);
  white-space: nowrap;
}

@keyframes drift {
  0%   { transform: translate(-9px, 5px) rotate(var(--r)); }
  35%  { transform: translate(7px, -11px) rotate(calc(var(--r) + 5deg)); }
  70%  { transform: translate(-4px, 10px) rotate(calc(var(--r) - 4deg)); }
  100% { transform: translate(10px, -3px) rotate(calc(var(--r) + 2deg)); }
}

@keyframes jitterNoise {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-3px, 2px); }
  100% { transform: translate(2px, -2px); }
}

@media (max-width: 980px) {
  .stage {
    padding-inline: 92px;
  }

  .hero-frame {
    width: min(72vw, 640px);
  }

  .orbit-btn {
    min-width: 114px;
    padding: 12px 13px;
    font-size: .86rem;
  }

  .orbit-btn img {
    width: 22px;
    height: 22px;
  }

  .orbit-btn.buy { left: 12px; top: 22%; }
  .orbit-btn.dex { right: 12px; top: 31%; }
  .orbit-btn.fomo { left: 12px; bottom: 18%; }
  .orbit-btn.xlink { right: 12px; bottom: 16%; }
}

@media (max-width: 720px) {
  .topline {
    inset: 12px 12px auto 12px;
  }

  .solana-mark {
    width: 42px;
  }

  .stage {
    min-height: auto;
    padding: 92px 14px 180px;
  }

  .hero-card {
    width: 100%;
    gap: 21px;
  }

  .hero-frame {
    width: min(92vw, 580px);
  }

  h1 {
    font-size: clamp(2.2rem, 11.8vw, 4.1rem);
  }

  .ca-box {
    width: min(92vw, 560px);
    font-size: .68rem;
    padding: 10px;
    box-shadow: 5px 5px 0 var(--cyan);
  }

  .orbit-links {
    position: fixed;
    inset: 0;
    display: block;
    padding: 0;
    pointer-events: none;
  }

  .orbit-btn {
    min-width: 92px;
    padding: 10px 9px;
    gap: 7px;
    font-size: .72rem;
    pointer-events: auto;
  }

  .orbit-btn img {
    width: 20px;
    height: 20px;
  }

  .orbit-btn.buy { left: 7px; top: 22%; }
  .orbit-btn.dex { right: 7px; top: 34%; }
  .orbit-btn.fomo { left: 8px; bottom: 11%; }
  .orbit-btn.xlink { right: 8px; bottom: 9%; }

  .footer-stamp {
    position: absolute;
    bottom: 4px;
  }
}

@media (max-width: 420px) {
  .ticker {
    padding-inline: 9px;
    box-shadow: 4px 4px 0 var(--blue);
  }

  .eyebrow {
    letter-spacing: .09em;
  }

  .orbit-links {
    gap: 10px;
  }

  .orbit-btn {
    gap: 7px;
    padding: 11px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
