:root {
  --bg: #17263d;
  --bg-deep: #0e1728;
  --panel: #203452;
  --panel-dark: #122039;
  --red: #ff1d1d;
  --red-dark: #9e0e17;
  --green: #16b85a;
  --green-dark: #0c7f3c;
  --cream: #fff3df;
  --muted: #c7d0dc;
  --line: rgba(255, 243, 223, 0.22);
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at top left, rgba(255, 29, 29, 0.15), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  font-family: "Share Tech Mono", monospace;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

strong {
  color: #fff;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.16;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.06) 0,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: overlay;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 4px solid var(--red);
  background: rgba(14, 23, 40, 0.92);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Press Start 2P", system-ui;
  font-size: 16px;
  color: #fff;
  text-shadow: 3px 3px 0 #000;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 38px;
  object-fit: contain;
  image-rendering: pixelated;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-family: "Press Start 2P", system-ui;
  font-size: 9px;
  text-transform: uppercase;
}

.nav-links a {
  padding: 12px 8px;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  background: var(--red-dark);
  outline: 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 3px solid var(--cream);
  background: var(--panel);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px auto;
  background: var(--cream);
}

.section {
  position: relative;
  padding: 96px 0;
  scroll-margin-top: 92px;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.js .section-inner,
.js .section-media,
.js .poster,
.js .token-panel,
.js .roadmap-grid article,
.js #dexscreener-embed {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .section-inner.is-visible,
.js .section-media.is-visible,
.js .poster.is-visible,
.js .token-panel.is-visible,
.js .roadmap-grid article.is-visible,
.js #dexscreener-embed.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 132px 0 72px;
  background:
    radial-gradient(circle at 28% 42%, rgba(255, 29, 29, 0.13), transparent 30rem),
    linear-gradient(180deg, #101b2e, #0d1728);
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 45%, rgba(255, 29, 29, 0.13), transparent 32rem),
    radial-gradient(circle at 72% 60%, rgba(255, 243, 223, 0.06), transparent 24rem),
    linear-gradient(180deg, rgba(14, 23, 40, 0.84), rgba(14, 23, 40, 0.98));
}

.hero-marquee {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1;
  overflow: hidden;
  border-block: 4px solid rgba(255, 29, 29, 0.76);
  background: rgba(9, 15, 27, 0.58);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(255, 243, 223, 0.08);
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.hero-marquee span {
  flex: 0 0 auto;
  padding: 18px 44px 14px;
  color: var(--cream);
  font-family: "Press Start 2P", system-ui;
  font-size: clamp(18px, 3.4vw, 48px);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 #000;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.hero-copy {
  align-self: end;
}

.hero-copy,
.section-copy,
.token-panel,
.roadmap-grid article {
  min-width: 0;
  overflow-wrap: break-word;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-family: "Press Start 2P", system-ui;
  font-size: 11px;
  line-height: 1.7;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Press Start 2P", system-ui;
  line-height: 1.18;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 #000;
}

h1 {
  max-width: 10ch;
  font-size: clamp(42px, 6vw, 76px);
}

h2 {
  font-size: clamp(28px, 4.6vw, 58px);
}

h3 {
  font-size: 16px;
}

.hero blockquote {
  max-width: 720px;
  margin: 28px 0;
  padding: 0 0 0 22px;
  border-left: 6px solid var(--red);
  color: #fff;
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.35;
}

.hero blockquote p {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.button-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-copy .button-row {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px 12px;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  font-family: "Press Start 2P", system-ui;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.hero-copy .button {
  width: 100%;
}

.button:hover,
.button:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #000;
  outline: 0;
}

.primary {
  color: #fff;
  background: var(--red);
}

.buy-button {
  color: #fff;
  background: var(--green);
}

.buy-button:hover,
.buy-button:focus-visible {
  background: var(--green-dark);
}

.secondary {
  color: var(--cream);
  background: var(--panel);
}

.hero-community-actions {
  margin: 18px 0 22px;
}

.footer-links a {
  color: var(--muted);
  border-bottom: 2px solid var(--red);
}

.footer-links a:hover {
  color: #fff;
}

.contract-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: min(100%, 640px);
  padding: 12px;
  border: 4px solid var(--line);
  background: rgba(14, 23, 40, 0.78);
  box-shadow: inset 0 0 0 2px rgba(255, 29, 29, 0.35);
}

.market-cap-box {
  width: min(100%, 430px);
  margin: 0 auto 18px;
  padding: 14px 16px;
  border: 4px solid #000;
  background:
    linear-gradient(90deg, rgba(255, 29, 29, 0.22), rgba(32, 52, 82, 0.92)),
    var(--panel);
  box-shadow: 6px 6px 0 #000, inset 0 0 0 2px rgba(255, 243, 223, 0.16);
}

.market-cap-label {
  display: block;
  margin-bottom: 7px;
  color: #ffb1a6;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  line-height: 1.5;
  text-transform: uppercase;
}

.market-cap-box strong {
  display: block;
  color: #fff;
  font-family: "Press Start 2P", system-ui;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.15;
  text-shadow: 4px 4px 0 #000;
}

.contract-label {
  color: #ffb1a6;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  text-transform: uppercase;
}

.contract-box code {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-family: "Share Tech Mono", monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  width: 42px;
  height: 42px;
  padding: 7px;
  border: 3px solid #000;
  color: #fff;
  background: var(--red);
  box-shadow: 4px 4px 0 #000;
  cursor: pointer;
}

.copy-button svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
}

.copy-button.copied {
  background: #2abf57;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  justify-self: center;
  width: min(430px, calc(100vw - 72px));
}

.hero-pfp {
  width: 100%;
  padding: 12px;
  border: 8px solid #000;
  background: var(--red);
  box-shadow: 14px 14px 0 #000;
  transform: rotate(1deg);
}

.hero-pfp img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 5px solid var(--cream);
  image-rendering: pixelated;
}

.split .section-inner,
.poster-section .section-inner,
.token-section .section-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.split {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 243, 223, 0.06), transparent 24rem),
    #14233a;
}

.poster-section {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 29, 29, 0.1), transparent 26rem),
    #101b2e;
}

.token-section {
  background:
    radial-gradient(circle at 20% 78%, rgba(22, 184, 90, 0.08), transparent 26rem),
    #132139;
}

.poster-section .section-inner,
.token-section .section-inner {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
}

.token-section .section-inner {
  grid-template-columns: minmax(400px, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.section-media,
.poster,
.token-panel,
.roadmap-grid article,
#dexscreener-embed {
  border: 6px solid #000;
  background: var(--panel-dark);
  box-shadow: 10px 10px 0 #000;
}

.section-media img,
.poster img {
  width: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.section-media img {
  aspect-ratio: 1.5;
}

.portrait-media {
  justify-self: start;
  width: min(100%, 500px);
}

.portrait-media img {
  aspect-ratio: 832 / 1248;
}

.poster {
  justify-self: center;
  max-width: 430px;
}

.poster img {
  aspect-ratio: 784 / 1168;
}

.section-copy p {
  margin: 18px 0 0;
  color: var(--muted);
}

.section-copy > .eyebrow,
.token-panel > .eyebrow,
.community-inner > .eyebrow {
  margin-bottom: 18px;
}

.section-copy > h2,
.token-panel > h2,
.community-inner > h2 {
  margin-bottom: 28px;
}

.section-copy > h2 + p,
.token-panel > h2 + p,
.community-inner > h2 + p {
  max-width: 760px;
  color: #fff;
  font-size: 22px;
  line-height: 1.55;
}

.pixel-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.pixel-list li {
  position: relative;
  padding-left: 28px;
  color: #fff;
}

.pixel-list li::before {
  content: "";
  position: absolute;
  top: 0.63em;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--red);
  box-shadow: 4px 4px 0 #000;
}

.roadmap-section {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 29, 29, 0.08), transparent 24rem),
    #111d31;
}

.roadmap-section .section-copy {
  margin: 44px 0 28px;
}

.section-media.wide img {
  aspect-ratio: 3;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.roadmap-grid article {
  padding: 22px;
}

.roadmap-grid span {
  color: #ffb1a6;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
}

.roadmap-grid h3 {
  margin: 14px 0 8px;
  color: #fff;
}

.roadmap-grid p {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 700;
}

.roadmap-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 16px;
}

.section-note {
  max-width: 900px;
  margin: 36px auto 0;
  color: #fff;
  font-size: 22px;
  text-align: center;
}

.token-panel {
  padding: clamp(22px, 4vw, 42px);
}

.token-section .portrait-media {
  align-self: stretch;
  width: 100%;
  height: 100%;
}

.token-section .portrait-media img {
  height: 100%;
  object-fit: contain;
}

.token-panel dl {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.token-panel dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 2px solid var(--line);
}

.token-panel dt {
  color: #ffb1a6;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  text-transform: uppercase;
}

.token-panel dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #fff;
}

.token-panel p {
  color: var(--muted);
}

.chart-section .section-inner {
  display: grid;
  gap: 28px;
}

.chart-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 29, 29, 0.11), transparent 28rem),
    linear-gradient(180deg, #172740, #101a2d);
}

.centered {
  max-width: 760px;
  margin: 0;
  text-align: left;
}

.centered .button {
  margin-top: 22px;
}

.chart-button {
  justify-self: center;
  min-width: min(100%, 420px);
  min-height: 60px;
  padding-inline: 28px;
  font-size: 13px;
}

#dexscreener-embed {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  border-color: var(--red);
  box-shadow: 10px 10px 0 #000, inset 0 0 0 3px rgba(255, 243, 223, 0.16);
  overflow: hidden;
}

#dexscreener-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.community-section {
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(22, 184, 90, 0.11), transparent 28rem),
    linear-gradient(180deg, #13233a, #0d1728);
}

.community-inner {
  max-width: 760px;
  margin-left: max(16px, calc((100vw - 1180px) / 2));
}

.community-inner p {
  max-width: 690px;
  color: #fff;
  font-size: 22px;
}

.site-footer {
  padding: 40px 0;
  border-top: 4px solid var(--red);
  background: #090f1b;
  text-align: center;
}

.site-footer p {
  margin: 8px 0;
}

.footer-links {
  justify-content: center;
  margin-top: 20px;
}

@media (min-width: 1400px) {
  #dexscreener-embed {
    padding-bottom: 65%;
  }
}

@media (max-width: 980px) {
  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 68px);
    padding: 18px 16px 28px;
    border-bottom: 4px solid var(--red);
    background: rgba(14, 23, 40, 0.98);
    overflow-y: auto;
  }

  .nav-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 16px;
    border: 2px solid var(--line);
  }

  .hero-inner,
  .split .section-inner,
  .poster-section .section-inner,
  .token-section .section-inner {
    grid-template-columns: 1fr;
  }

  .hero-pfp {
    margin-top: 0;
  }

  .hero-pfp img {
    height: auto;
    aspect-ratio: 1;
  }

  .poster-section .poster {
    order: -1;
  }

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

  .hero-shade {
    background: rgba(14, 23, 40, 0.78);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-marquee {
    top: 28px;
  }

  .hero-marquee span {
    padding-inline: 28px;
  }

  .brand {
    font-size: 12px;
  }

  .hero blockquote {
    width: min(100%, calc(100vw - 110px));
    max-width: calc(100vw - 110px);
    padding-left: 14px;
    font-size: 15px;
    line-height: 1.45;
  }

  h1 {
    font-size: clamp(30px, 9vw, 36px);
  }

  .button-row {
    align-items: stretch;
  }

  .hero-copy .button-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: calc(100% - 6px);
    min-height: 50px;
    font-size: 10px;
  }

  .contract-box {
    grid-template-columns: 1fr auto;
  }

  .contract-label {
    grid-column: 1 / -1;
  }

  .market-cap-box {
    width: calc(100% - 6px);
  }

  .hero-visual {
    width: min(100%, calc(100vw - 72px));
  }

  .hero-pfp {
    box-shadow: 8px 8px 0 #000;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .token-panel dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .community-section {
    min-height: 620px;
  }

  .community-inner p {
    font-size: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .js .section-inner,
  .js .section-media,
  .js .poster,
  .js .token-panel,
  .js .roadmap-grid article,
  .js #dexscreener-embed {
    opacity: 1;
    transform: none;
  }
}
