:root {
  --cream: #f3ecd9;
  --ink: #171527;
  --purple: #5b2bd9;
  --purple-dark: #4520a9;
  --gold: #e0ad50;
  --pink: #ef8f9d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.035;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

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

.nav {
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4.5vw;
  border-bottom: 2px solid var(--ink);
  background: rgba(243, 236, 217, 0.94);
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Archivo Black", sans-serif;
  font-size: 20px;
  letter-spacing: -1px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 21px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--gold);
}

.nav-links {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--purple);
  transition: right 180ms ease;
}

.nav-links a:hover::after {
  right: 0;
}

.nav-buy {
  justify-self: end;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 16px 0 20px;
  background: var(--ink);
  color: white;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--gold);
  transition: 150ms ease;
}

.nav-buy:hover,
.button-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--gold);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 51% 49%;
  border-bottom: 2px solid var(--ink);
  position: relative;
}

.hero-copy {
  padding: 74px 4.5vw 66px;
  position: relative;
  z-index: 3;
}

.eyebrow,
.kicker {
  margin: 0 0 22px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(91, 43, 217, 0.12);
}

h1,
h2,
.footer-brand strong {
  font-family: "Archivo Black", sans-serif;
  margin: 0;
  letter-spacing: -5px;
  line-height: 0.82;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(78px, 8.2vw, 132px);
}

h1 em {
  color: var(--purple);
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--gold);
}

.hero-description {
  max-width: 460px;
  margin: 28px 0 28px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

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

.button {
  height: 56px;
  border: 2px solid var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 150ms ease;
}

.button-primary {
  width: 196px;
  justify-content: space-between;
  padding: 0 18px;
  background: var(--ink);
  color: white;
  box-shadow: 4px 4px 0 var(--gold);
}

.button-primary span {
  font-size: 18px;
}

.button-ghost {
  width: 112px;
  justify-content: space-between;
  padding: 0 14px;
  background: transparent;
  color: var(--ink);
}

.contract-copy {
  width: min(308px, 100%);
  height: 44px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: 40px 1fr 52px;
  align-items: center;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink);
  cursor: pointer;
  font-family: "DM Mono", monospace;
  text-align: left;
}

.contract-copy span,
.contract-copy b {
  font-size: 9px;
  letter-spacing: 1px;
  text-align: center;
}

.contract-copy strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  padding: 0 10px;
  font-size: 10px;
  white-space: nowrap;
}

.copy-icon {
  font-size: 14px;
}

.hero-art {
  position: relative;
  min-width: 0;
  background:
    radial-gradient(circle at 60% 58%, rgba(224, 173, 80, 0.38) 0 8%, transparent 8.5%),
    linear-gradient(135deg, #eee4c9 0%, #d7ceaf 100%);
  border-left: 2px solid var(--ink);
  overflow: hidden;
}

.cat-frame {
  position: absolute;
  width: 86%;
  height: 92%;
  left: 8%;
  bottom: -2%;
  z-index: 4;
}

.cat-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(14px 18px 12px rgba(23, 21, 39, 0.24));
}

.orbit {
  position: absolute;
  border: 2px solid rgba(23, 21, 39, 0.38);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit-one {
  width: 590px;
  height: 250px;
  right: -150px;
  top: 175px;
}

.orbit-two {
  width: 720px;
  height: 340px;
  right: -210px;
  top: 130px;
  border-style: dashed;
}

.ticker-card {
  position: absolute;
  z-index: 6;
  top: 36px;
  right: 32px;
  width: 112px;
  height: 82px;
  transform: rotate(5deg);
  background: var(--purple);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ticker-card span {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 2px;
}

.ticker-card strong {
  font-family: "Archivo Black", sans-serif;
  font-size: 38px;
  line-height: 1;
}

.chain-badge {
  position: absolute;
  z-index: 7;
  left: 24px;
  bottom: 38px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  background: white;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.chain-badge svg {
  width: 34px;
  height: 34px;
  fill: #8c65dd;
  padding: 5px;
  background: #1a1a29;
  border-radius: 50%;
}

.coin {
  position: absolute;
  z-index: 8;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid #6e501d;
  border-radius: 50%;
  background: var(--gold);
  color: #6e501d;
  font-family: "Archivo Black", sans-serif;
  box-shadow: inset 0 0 0 4px #edc976;
}

.coin-one {
  right: 7%;
  bottom: 18%;
  transform: rotate(12deg);
}

.coin-two {
  left: 18%;
  top: 18%;
  transform: rotate(-12deg) scale(0.72);
}

.ticker-tape {
  height: 66px;
  background: var(--purple);
  color: white;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-track {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: "Archivo Black", sans-serif;
  font-size: 21px;
  animation: marquee 24s linear infinite;
}

.ticker-track b {
  color: var(--gold);
  font-size: 16px;
}

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

.about {
  min-height: 520px;
  display: grid;
  grid-template-columns: 8% 47% 37%;
  gap: 4%;
  padding: 84px 4.5vw;
  border-bottom: 2px solid var(--ink);
}

.section-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.about h2,
.tokenomics h2,
.chart-heading h2,
.buy h2 {
  font-size: clamp(58px, 6vw, 92px);
}

.about h2 span {
  color: var(--purple);
}

.about-copy {
  align-self: end;
  padding-bottom: 8px;
  max-width: 430px;
}

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

.about-copy strong {
  color: var(--purple);
}

.signature {
  margin-top: 28px;
  font-family: Georgia, serif;
  font-size: 27px;
  font-style: italic;
  transform: rotate(-5deg);
}

.tokenomics {
  min-height: 540px;
  display: grid;
  grid-template-columns: 32% 68%;
  padding: 72px 4.5vw;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.tokenomics-head h2 {
  color: white;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}

.stat-card {
  min-width: 0;
  aspect-ratio: 0.78;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 rgba(243, 236, 217, 0.16);
  transform: rotate(-1deg);
}

.stat-card:nth-child(2) {
  transform: translateY(26px) rotate(2deg);
}

.stat-card:nth-child(3) {
  transform: rotate(-2deg);
}

.stat-purple {
  background: #7451d7;
  color: white;
}

.stat-gold {
  background: var(--gold);
}

.stat-cream {
  background: var(--cream);
}

.stat-label,
.stat-card small {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
}

.stat-card strong {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1;
  letter-spacing: -4px;
}

.live-chart {
  min-height: 650px;
  padding: 72px 4.5vw;
  background: #10101a;
  border-bottom: 2px solid var(--ink);
  color: var(--cream);
}

.chart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.chart-heading h2 {
  color: white;
  font-size: clamp(58px, 6vw, 92px);
}

.chart-heading h2 span {
  color: var(--pink);
}

.chart-heading > a {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  margin-bottom: 6px;
  border: 2px solid var(--cream);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  box-shadow: 4px 4px 0 var(--purple);
}

.chart-frame {
  height: 500px;
  border: 2px solid var(--cream);
  box-shadow: 8px 8px 0 var(--purple);
  overflow: hidden;
  background: #131320;
}

.chart-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.buy {
  min-height: 490px;
  display: grid;
  grid-template-columns: 42% 58%;
  grid-template-rows: 1fr auto;
  column-gap: 0;
  padding: 72px 4.5vw 52px;
  background: var(--pink);
  border-bottom: 2px solid var(--ink);
}

.buy-heading h2 span {
  color: var(--cream);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--ink);
}

.steps {
  grid-row: 1 / 3;
  grid-column: 2;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--ink);
}

.steps article {
  min-height: 116px;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}

.steps article:last-child {
  border-bottom: 0;
}

.steps article > span {
  height: 100%;
  display: grid;
  place-items: center;
  border-right: 2px solid var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  background: rgba(224, 173, 80, 0.25);
}

.steps article div {
  padding: 18px 24px;
}

.steps h3 {
  margin: 0 0 7px;
  font-family: "Archivo Black", sans-serif;
  font-size: 20px;
  letter-spacing: -1px;
}

.steps p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.buy-button {
  grid-column: 1;
  align-self: end;
  width: 230px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  margin-bottom: 2px;
  background: var(--ink);
  color: white;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--cream);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.buy-button span {
  font-size: 18px;
}

footer {
  height: 150px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 4.5vw;
  background: var(--cream);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  width: max-content;
  font-family: "Archivo Black", sans-serif;
  line-height: 0.82;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.footer-brand span {
  font-size: 15px;
}

.footer-brand strong {
  font-size: 35px;
  color: var(--purple);
  -webkit-text-stroke: 1px var(--ink);
  letter-spacing: -2px;
}

footer p {
  text-align: center;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.5px;
}

.socials {
  justify-self: end;
  display: flex;
  gap: 8px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  transition: 150ms ease;
}

.socials a:hover {
  background: var(--ink);
  color: white;
  transform: translateY(-3px);
}

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

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 55% 45%;
  }

  h1 {
    font-size: clamp(64px, 9vw, 92px);
  }

  .about {
    grid-template-columns: 8% 46% 38%;
  }

  .tokenomics {
    grid-template-columns: 28% 72%;
  }
}

@media (max-width: 720px) {
  .nav {
    height: 72px;
    padding: 0 20px;
  }

  .nav-buy {
    height: 40px;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    padding: 48px 20px 38px;
  }

  h1 {
    font-size: clamp(66px, 20vw, 96px);
  }

  .hero-description {
    max-width: 520px;
  }

  .hero-art {
    min-height: 500px;
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .cat-frame {
    width: 96%;
    left: 2%;
  }

  .ticker-card {
    right: 16px;
  }

  .ticker-track {
    font-size: 18px;
  }

  .about {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 64px 20px;
  }

  .about-heading {
    grid-column: 2;
  }

  .about-copy {
    grid-column: 2;
  }

  .about h2,
  .tokenomics h2,
  .buy h2 {
    font-size: clamp(50px, 14vw, 76px);
  }

  .tokenomics {
    grid-template-columns: 1fr;
    padding: 62px 20px 80px;
  }

  .stats {
    margin-top: 38px;
  }

  .live-chart {
    min-height: 560px;
    padding: 62px 20px;
  }

  .chart-heading {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }

  .chart-frame {
    height: 390px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-card strong {
    font-size: clamp(38px, 11vw, 58px);
  }

  .buy {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 30px;
    padding: 62px 20px 48px;
  }

  .steps {
    grid-column: 1;
    grid-row: 2;
  }

  .buy-button {
    grid-column: 1;
    grid-row: 3;
  }

  footer {
    height: auto;
    min-height: 170px;
    grid-template-columns: 1fr 1fr;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-buy {
    width: 44px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .nav-buy span {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
  }

  .button-primary {
    width: 62%;
  }

  .button-ghost {
    width: 34%;
  }

  .hero-art {
    min-height: 410px;
  }

  .ticker-card {
    width: 92px;
    height: 72px;
  }

  .ticker-card strong {
    font-size: 32px;
  }

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

  .stat-card {
    aspect-ratio: 1.8;
  }

  .stat-card:nth-child(2),
  .stat-card:nth-child(3) {
    transform: none;
  }

  .steps article {
    grid-template-columns: 58px 1fr;
  }

  .socials a {
    width: 38px;
    height: 38px;
  }
}
