:root {
  --cash: #1faa4a;
  --cash-deep: #0d6b2c;
  --gold: #f5c518;
  --gold-hot: #ffe566;
  --ink: #1a1208;
  --cream: #fff8e7;
  --sky: #7ec8ff;
  --paper: #fffdf5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Comic Neue", cursive, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, #ffe56655, transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 10%, #1faa4a33, transparent 50%),
    linear-gradient(180deg, #b8ecff 0%, #fff8e7 28%, #e8ffe8 70%, #fff3b0 100%);
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: inherit;
}

.money-rain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.money-rain span {
  position: absolute;
  top: -2rem;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  color: var(--cash-deep);
  opacity: 0.35;
  animation: fall linear infinite;
  font-family: "Bangers", system-ui;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(360deg);
  }
}

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(180deg, #fff8e7ee, #fff8e700);
}

.brand-mini {
  font-family: "Bangers", system-ui;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--cash-deep);
  text-shadow: 2px 2px 0 var(--gold);
}

.top nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.top nav a {
  font-family: "Press Start 2P", monospace;
  font-size: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}

.top nav a:hover {
  color: var(--cash-deep);
}

.x-link {
  background: var(--ink);
  color: var(--gold-hot) !important;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: start center;
  padding: 5.5rem 1rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 70%, #f5c51866 0%, transparent 45%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      #1faa4a0f 18px,
      #1faa4a0f 36px
    );
  z-index: 0;
}

.hero-dog {
  position: absolute;
  bottom: -2%;
  left: 50%;
  transform: translateX(-50%);
  height: min(78vh, 760px);
  width: auto;
  max-width: min(100vw, 720px);
  object-fit: contain;
  object-position: bottom center;
  z-index: 1;
  filter: drop-shadow(0 18px 0 #0d6b2c33);
  animation: flex-pulse 2.8s ease-in-out infinite;
}

@keyframes flex-pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.03);
  }
}

.hero-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  width: min(100%, 42rem);
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ticker {
  display: inline-block;
  margin: 0 0 0.35rem;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.55rem, 1.6vw, 0.7rem);
  background: var(--ink);
  color: var(--gold);
  padding: 0.55rem 0.75rem;
  transform: rotate(-2deg);
}

.logo {
  margin: 0;
  font-family: "Bangers", system-ui;
  font-size: clamp(4.2rem, 18vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--cash);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow:
    6px 6px 0 var(--gold),
    10px 10px 0 var(--ink);
  animation: wobble 3.5s ease-in-out infinite;
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(-1.5deg);
  }
  50% {
    transform: rotate(1.5deg);
  }
}

.tagline {
  margin: 0.75rem auto 0.85rem;
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  font-weight: 700;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.55rem 0.95rem;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  width: fit-content;
  max-width: 100%;
}

.tagline span {
  display: block;
  line-height: 1.25;
}

.ca {
  margin: 0 auto 1.15rem;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.45rem, 1.4vw, 0.58rem);
  line-height: 1.6;
  word-break: break-all;
  background: var(--ink);
  color: var(--gold-hot);
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  font-family: "Bangers", system-ui;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  border: 3px solid var(--ink);
  padding: 0.65rem 1.35rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-primary {
  background: var(--cash);
  color: var(--paper);
}

.btn-ghost {
  background: var(--gold);
  color: var(--ink);
}

.float-cheems {
  position: absolute;
  z-index: 2;
  width: clamp(72px, 14vw, 140px);
  image-rendering: pixelated;
  filter: drop-shadow(3px 3px 0 #0003);
  animation: floaty 4s ease-in-out infinite;
}

.cheems-1 {
  top: 18%;
  left: 4%;
  animation-delay: 0s;
}

.cheems-2 {
  top: 28%;
  right: 5%;
  width: clamp(56px, 11vw, 110px);
  animation-delay: -1.2s;
  transform: scaleX(-1);
}

.cheems-3 {
  bottom: 22%;
  left: 8%;
  width: clamp(48px, 9vw, 90px);
  animation-delay: -2.4s;
  opacity: 0.9;
}

@keyframes floaty {
  0%,
  100% {
    translate: 0 0;
    rotate: -6deg;
  }
  50% {
    translate: 0 -18px;
    rotate: 6deg;
  }
}

.how,
.why,
.meme-wall {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.how h2,
.why h2,
.meme-wall h2 {
  margin: 0;
  font-family: "Bangers", system-ui;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  color: var(--cash-deep);
  text-align: center;
  text-shadow: 3px 3px 0 var(--gold);
}

.section-line {
  text-align: center;
  margin: 0.5rem 0 2rem;
  font-size: 1.2rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  font-family: "Bangers", system-ui;
  font-size: 1.5rem;
  padding: 1rem 0.5rem;
}

.steps img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  image-rendering: pixelated;
  transition: transform 0.25s ease;
}

.steps li:hover img {
  transform: scale(1.12) rotate(-6deg);
}

.steps li:nth-child(2) img {
  image-rendering: auto;
}

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1000px;
}

.why-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.why-visual > img {
  width: min(100%, 340px);
  animation: flex-pulse 2.8s ease-in-out infinite;
  filter: drop-shadow(0 12px 0 #0d6b2c22);
}

.speech {
  position: absolute;
  top: 8%;
  right: 0;
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: 0.75rem 1rem;
  font-family: "Press Start 2P", monospace;
  font-size: 0.55rem;
  line-height: 1.7;
  box-shadow: 4px 4px 0 var(--ink);
  animation: pop 2s ease-in-out infinite;
}

.speech p {
  margin: 0;
}

@keyframes pop {
  0%,
  100% {
    transform: scale(1) rotate(3deg);
  }
  50% {
    transform: scale(1.05) rotate(3deg);
  }
}

.why-copy p {
  font-size: 1.2rem;
  margin: 0.75rem 0 1.25rem;
}

.reasons {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.reasons li {
  font-size: 1.15rem;
  padding-left: 1.75rem;
  position: relative;
}

.reasons li::before {
  content: "$";
  position: absolute;
  left: 0;
  font-family: "Bangers", system-ui;
  color: var(--cash);
  font-size: 1.35rem;
}

.meme-wall {
  padding-bottom: 3rem;
}

.wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.meme-btn {
  appearance: none;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.85rem 0.5rem 0.65rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.meme-btn img {
  width: 100%;
  max-width: 140px;
  height: 120px;
  object-fit: contain;
  image-rendering: pixelated;
}

.meme-btn:nth-child(odd) img {
  image-rendering: auto;
}

.meme-btn span {
  font-family: "Bangers", system-ui;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

.meme-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.meme-btn.bounce img {
  animation: bounce-hit 0.45s ease;
}

@keyframes bounce-hit {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.25) rotate(-8deg);
  }
  70% {
    transform: scale(0.92) rotate(6deg);
  }
  100% {
    transform: scale(1);
  }
}

.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1.25rem 3rem;
  background: linear-gradient(180deg, transparent, #0d6b2c18);
  border-top: 3px dashed var(--ink);
}

.foot-dog {
  width: 64px;
  margin: 0 auto 0.75rem;
  image-rendering: pixelated;
  animation: floaty 3s ease-in-out infinite;
}

.foot p {
  margin: 0.25rem 0;
}

.fine {
  opacity: 0.7;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 0.85rem;
}

.socials a {
  font-family: "Bangers", system-ui;
  font-size: 1.2rem;
  color: var(--cash-deep);
  text-decoration: none;
}

.socials a:hover {
  color: var(--cash);
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: var(--ink);
  color: var(--gold);
  font-family: "Press Start 2P", monospace;
  font-size: 0.55rem;
  padding: 0.85rem 1rem;
  border: 3px solid var(--gold);
  box-shadow: 4px 4px 0 var(--cash);
}

.toast[hidden] {
  display: none;
}

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

  .why {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .speech {
    right: 4%;
    left: auto;
  }

  .reasons li {
    text-align: left;
  }

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

  .cheems-3 {
    display: none;
  }

  .hero-dog {
    height: min(58vh, 480px);
  }

  .logo {
    -webkit-text-stroke: 2px var(--ink);
    text-shadow:
      4px 4px 0 var(--gold),
      7px 7px 0 var(--ink);
  }

  .ctas {
    margin-bottom: 0.5rem;
  }
}
