:root {
  color-scheme: dark;
  --acid: #b7ff00;
  --acid-soft: #d7ff3d;
  --ink: #040700;
  --ink-soft: rgba(4, 7, 0, 0.78);
  --paper: #f2ffd2;
  --cyan: #00e5ff;
  --pink: #ff2bbf;
  --line: rgba(4, 7, 0, 0.22);
  --glass: rgba(4, 7, 0, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(rgba(183, 255, 0, 0.82), rgba(183, 255, 0, 0.75)),
    url("./assets/acid-glitch-bg.jpg") center / cover fixed;
  overflow-x: hidden;
}

body::before,
body::after,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: -3;
  background:
    linear-gradient(104deg, rgba(255, 43, 191, 0.24) 0 10%, transparent 10% 28%, rgba(0, 229, 255, 0.2) 28% 36%, transparent 36% 100%),
    linear-gradient(151deg, transparent 0 42%, rgba(4, 7, 0, 0.18) 42% 47%, transparent 47% 100%),
    linear-gradient(130deg, rgba(4, 7, 0, 0.12), transparent 42%, rgba(4, 7, 0, 0.2));
}

body::after {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 7, 0, 0.08) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(rgba(4, 7, 0, 0.08) 1px, transparent 1px) 0 0 / 76px 76px;
  mask-image: linear-gradient(to bottom, black 12%, transparent 88%);
}

.noise {
  z-index: 3;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(0deg, rgba(4, 7, 0, 0.12) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.18) 34px 35px);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1rem, calc((100% - 1180px) / 2));
  color: var(--paper);
  background: rgba(4, 7, 0, 0.7);
  border-bottom: 1px solid rgba(183, 255, 0, 0.36);
  backdrop-filter: blur(18px);
}

.brand,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  min-width: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(183, 255, 0, 0.55);
}

.brand span {
  font-size: 0.95rem;
  white-space: nowrap;
}

.icon-link,
.buy-link,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0.33rem 0.33rem 0 var(--ink);
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.icon-link {
  width: 2.75rem;
}

.buy-link {
  padding: 0 1rem;
}

.icon-link:hover,
.buy-link:hover,
.cta:hover {
  transform: translate(-0.16rem, -0.16rem);
  box-shadow: 0.5rem 0.5rem 0 var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: calc(100svh - 4.9rem);
  padding: 4rem max(1rem, calc((100% - 1180px) / 2)) 3rem;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 45rem;
  padding: 1.25rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  width: fit-content;
  padding: 0.4rem 0.62rem;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 0.95rem;
  color: var(--ink);
  font-size: 7rem;
  line-height: 0.86;
  font-weight: 1000;
  text-transform: uppercase;
  text-shadow:
    0.06em 0.04em 0 var(--pink),
    -0.05em -0.03em 0 var(--cyan);
}

.lead {
  max-width: 35rem;
  margin-bottom: 1.65rem;
  color: rgba(4, 7, 0, 0.86);
  font-size: 1.2rem;
  line-height: 1.55;
  font-weight: 800;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.cta {
  min-width: 11rem;
  padding: 0 1.1rem;
  font-size: 0.95rem;
}

.cta.primary {
  background: var(--ink);
  color: var(--acid);
  border-color: var(--acid);
  box-shadow: 0.33rem 0.33rem 0 var(--pink);
}

.cta.secondary {
  background: var(--paper);
}

.troll-stage {
  position: absolute;
  right: max(-6rem, calc((100vw - 1180px) / 2 - 3rem));
  bottom: 0;
  z-index: 1;
  width: min(56rem, 72vw);
  aspect-ratio: 1 / 0.86;
  transform: translate3d(var(--move-x, 0), var(--move-y, 0), 0) rotate(-4deg);
  filter: drop-shadow(1.4rem 1.2rem 0 rgba(255, 43, 191, 0.75))
    drop-shadow(-0.8rem -0.8rem 0 rgba(0, 229, 255, 0.75));
}

.troll-symbol {
  position: absolute;
  inset: 10% 0 0;
  width: 100%;
  transform-origin: 50% 55%;
  animation: floatFace 5.8s ease-in-out infinite;
}

.halo {
  position: absolute;
  border: 0.35rem solid var(--ink);
  background: rgba(183, 255, 0, 0.18);
  transform: rotate(-12deg);
}

.halo-one {
  inset: 14% 4% 10% 2%;
}

.halo-two {
  inset: 23% 13% 20% 9%;
  border-color: rgba(4, 7, 0, 0.6);
}

.ticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0 0.85rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(183, 255, 0, 0.55);
  box-shadow: 0.24rem 0.24rem 0 var(--pink);
  font-size: 0.84rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.ticker-a {
  top: 16%;
  left: 5%;
  transform: rotate(8deg);
}

.ticker-b {
  right: 4%;
  top: 38%;
  transform: rotate(-8deg);
}

.ticker-c {
  right: 18%;
  bottom: 5%;
  transform: rotate(5deg);
}

.signal-strip {
  overflow: hidden;
  color: var(--acid);
  background: var(--ink);
  border-block: 2px solid rgba(183, 255, 0, 0.7);
}

.marquee {
  display: flex;
  gap: 2rem;
  min-width: max-content;
  padding: 0.8rem 1rem;
  animation: crawl 22s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.marquee span::before {
  width: 0.6rem;
  height: 0.6rem;
  background: var(--pink);
  content: "";
}

.asset-section {
  display: grid;
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1rem 4.5rem;
}

.section-heading {
  max-width: 42rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.asset-tile {
  display: grid;
  align-content: start;
  min-height: 25rem;
  padding: 1rem;
  color: var(--paper);
  background: var(--glass);
  border: 2px solid rgba(4, 7, 0, 0.82);
  box-shadow: 0.5rem 0.5rem 0 rgba(4, 7, 0, 0.86);
  backdrop-filter: blur(12px);
}

.asset-tile img {
  width: 100%;
  height: 15rem;
  object-fit: contain;
  margin-bottom: 1rem;
  background:
    linear-gradient(45deg, rgba(183, 255, 0, 0.18) 25%, transparent 25% 75%, rgba(183, 255, 0, 0.18) 75%),
    linear-gradient(45deg, rgba(183, 255, 0, 0.18) 25%, transparent 25% 75%, rgba(183, 255, 0, 0.18) 75%);
  background-position:
    0 0,
    1rem 1rem;
  background-size: 2rem 2rem;
  border: 1px solid rgba(183, 255, 0, 0.28);
}

.acid-tile img,
.favicon-tile img {
  object-fit: cover;
}

.favicon-tile img {
  padding: 3.5rem;
  object-fit: contain;
}

.asset-tile h3 {
  margin-bottom: 0.45rem;
  color: var(--acid);
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 1000;
  text-transform: uppercase;
}

.asset-tile p {
  margin-bottom: 0;
  color: rgba(242, 255, 210, 0.82);
  font-size: 1rem;
  line-height: 1.5;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1rem, calc((100% - 1180px) / 2));
  color: rgba(242, 255, 210, 0.8);
  background: var(--ink);
  border-top: 1px solid rgba(183, 255, 0, 0.45);
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  gap: 1rem;
  color: var(--acid);
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes floatFace {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-1.1rem) scale(1.015);
  }
}

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

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

@media (max-width: 920px) {
  .hero {
    align-items: start;
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 20rem;
  }

  h1 {
    font-size: 5rem;
  }

  .troll-stage {
    right: -8rem;
    bottom: -1rem;
    width: 43rem;
    max-width: none;
    opacity: 0.95;
  }

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

  .asset-tile {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding-inline: 0.85rem;
  }

  .brand span {
    display: none;
  }

  .hero {
    padding: 2.3rem 0.9rem 16rem;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    font-size: 3.55rem;
    line-height: 0.9;
  }

  .lead {
    max-width: 22rem;
    font-size: 1.02rem;
  }

  .cta {
    width: 100%;
  }

  .troll-stage {
    right: -7.8rem;
    width: 32rem;
    filter: drop-shadow(0.8rem 0.8rem 0 rgba(255, 43, 191, 0.72))
      drop-shadow(-0.45rem -0.45rem 0 rgba(0, 229, 255, 0.7));
  }

  .ticker {
    min-height: 2rem;
    font-size: 0.72rem;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .asset-section {
    padding-block: 3rem;
  }

  .asset-tile img {
    height: 12rem;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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