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

:root {
  --navy: #0e1189;
  --ink: #000;
  --paper: #fff;
  --muted: #e6e6e6;
  --font-display: "Knewave", cursive;
  --font-body: "Pangolin", cursive;
}

html,
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.ca-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  text-align: center;
  padding: 0.55rem 1rem;
}

.ca-btn {
  background: none;
  border: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 2.1vw, 1.375rem);
  cursor: pointer;
  word-break: break-all;
  max-width: 100%;
}

.ca-btn:hover,
.ca-btn:focus-visible {
  color: var(--paper);
}

.stage {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.longcat {
  width: 100%;
  animation:
    bob 0.4s ease-in-out infinite alternate,
    hue-blink 0.4s ease-in-out infinite alternate;
}

.hero {
  position: absolute;
  top: 1.5%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}

.hero h1,
.hero .ticker,
.hero .socials {
  pointer-events: auto;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 10vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 0 #000, 0 8px 18px rgba(0, 0, 0, 0.45);
}

.ticker {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 6.5vw, 4.8rem);
  margin-top: 0.15em;
  text-shadow: 0 3px 0 #000, 0 6px 14px rgba(0, 0, 0, 0.4);
}

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

.socials a {
  width: clamp(1.4rem, 3vw, 2.2rem);
  height: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.socials a:hover,
.socials a:focus-visible {
  transform: scale(1.12);
  opacity: 0.85;
}

.socials svg,
.socials img {
  width: 100%;
  height: 100%;
  fill: var(--paper);
}

.copy {
  position: absolute;
  z-index: 6;
  width: min(34%, 28rem);
  font-size: clamp(0.72rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.copy p + p {
  margin-top: 0.85em;
}

.copy-left {
  top: 10%;
  left: 2.5%;
}

.copy-right {
  top: 10%;
  right: 2.5%;
}

.buy {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.55em 1.4em;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 0 4px 0 #111;
  transition: transform 0.15s ease;
}

.buy:hover,
.buy:focus-visible {
  transform: translateY(-2px);
}

.tokenomics {
  position: absolute;
  z-index: 6;
  top: 32%;
  right: 4%;
  width: min(24%, 16rem);
  padding: 1.1rem 0.9rem 1.2rem;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  border: 3px solid var(--ink);
  border-radius: 50px;
  font-weight: 900;
  font-size: clamp(0.8rem, 1.3vw, 1.15rem);
  line-height: 1.35;
  animation: wobble 2.4s ease-in-out infinite;
}

.tokenomics h2 {
  font-size: 1.15em;
  margin-bottom: 0.25em;
}

.float {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  user-select: none;
}

.float-cat {
  width: min(29%, 22rem);
  top: 22%;
  left: -8%;
  animation: drift 2s ease-in-out infinite alternate;
}

.float-andy {
  width: min(22%, 18rem);
  top: 38%;
  left: 0;
}

.float-brett {
  width: min(24%, 20rem);
  top: 52%;
  right: 2%;
}

.float-trump {
  width: min(20%, 16rem);
  top: 60%;
  left: 1%;
}

.float-moon {
  width: min(72%, 56rem);
  top: 78%;
  left: 50%;
  transform: translateX(-50%);
  animation: tada 1.6s ease-in-out infinite;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  z-index: 50;
}

.toast[hidden] {
  display: none;
}

@keyframes bob {
  from {
    transform: translateY(-7px);
  }
  to {
    transform: translateY(11px);
  }
}

@keyframes hue-blink {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(9px, 16px);
  }
}

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

@keyframes tada {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  25% {
    transform: translateX(-50%) scale(1.03) rotate(-1deg);
  }
  75% {
    transform: translateX(-50%) scale(1.03) rotate(1deg);
  }
}

@media (max-width: 767px) {
  .ca-bar {
    padding: 0.4rem 0.6rem;
  }

  .hero {
    top: 0.5%;
  }

  .copy {
    width: 44%;
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .copy-left {
    top: 8.2%;
    left: 2%;
  }

  .copy-right {
    top: 8.2%;
    right: 2%;
  }

  .buy {
    margin-top: 0.55rem;
    font-size: 0.75rem;
    padding: 0.4em 0.9em;
  }

  .tokenomics {
    width: 34%;
    top: 29%;
    right: 3%;
    padding: 0.65rem 0.45rem 0.7rem;
    border-width: 2px;
    border-radius: 18px;
    font-size: 0.68rem;
  }

  .float-cat {
    width: 30%;
    top: 19%;
    left: -8%;
  }

  .float-andy {
    width: 24%;
    top: 36%;
  }

  .float-brett {
    width: 26%;
    top: 50%;
  }

  .float-trump {
    width: 22%;
    top: 60%;
  }

  .float-moon {
    width: 90%;
    top: 77%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .longcat,
  .float-cat,
  .float-moon,
  .tokenomics {
    animation: none;
  }
}
