:root {
  --swamp: #1a3a1a;
  --leaf: #3d7a2a;
  --slime: #8fd14f;
  --cream: #f6efe4;
  --fur: #fff8ee;
  --brick: #8b3a2a;
  --ink: #12140f;
  --gold: #e8c547;
  --shadow: #0b1208;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 50% -10%, #4a7a28 0%, transparent 55%),
    radial-gradient(800px 500px at 100% 40%, #6b2a1e 0%, transparent 50%),
    linear-gradient(180deg, #142214 0%, #0d160c 40%, #1a1210 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.fly {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  pointer-events: none;
  font-size: 1.4rem;
  line-height: 1;
  width: 1.4rem;
  height: 1.4rem;
  margin: -0.7rem 0 0 -0.7rem;
  filter: drop-shadow(0 2px 0 #000);
  will-change: transform;
}

@media (pointer: fine) {
  html,
  body,
  a,
  button,
  input,
  label,
  select,
  textarea {
    cursor: none;
  }

  .fly {
    display: block;
  }
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ticker {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
  font-family: Bungee, Impact, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.ticker__track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  padding: 0.55rem 0;
  animation: marquee 26s linear infinite;
}

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

.hero {
  text-align: center;
  padding: 2.2rem 1.25rem 2.4rem;
}

.eyebrow {
  font-family: "Comic Neue", comic sans ms, cursive;
  font-size: 1.08rem;
  color: var(--slime);
}

.logo {
  font-family: Bungee, Impact, sans-serif;
  font-size: clamp(4.5rem, 18vw, 10rem);
  line-height: 0.85;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #c8f37a 0%, #8fd14f 35%, #fff 70%, #e8c547 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 0 #0b1208) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
  margin: 0.35rem 0 0.6rem;
  animation: wobble 3.2s ease-in-out infinite;
}

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

.tagline {
  max-width: 34rem;
  margin: 0 auto 1.15rem;
  font-size: 1.12rem;
  color: #d7e8c8;
  line-height: 1.45;
}

.cta-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 1.4rem;
}

.shill-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 2rem);
  font-family: Bungee, sans-serif;
  font-size: clamp(0.68rem, 2.1vw, 0.95rem);
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--shadow);
}

@media (max-width: 520px) {
  .shill-jump {
    white-space: normal;
    padding: 0.8rem 1rem;
  }
}

.stage {
  position: relative;
  display: inline-block;
}

.nobody,
.peow-says {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000;
}

.nobody {
  transform: rotate(-6deg);
  margin-bottom: 0.4rem;
  color: #fff;
}

.peow-says {
  margin-top: 0.55rem;
  color: var(--gold);
  transform: rotate(3deg);
}

.peow-btn {
  position: relative;
  display: inline-block;
  padding: 0;
  border: 6px solid var(--ink);
  border-radius: 1.35rem;
  overflow: hidden;
  background: none;
  box-shadow:
    0 0 0 6px var(--gold),
    0 22px 0 var(--shadow),
    0 40px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.12s ease, filter 0.3s ease;
}

.peow-btn:hover {
  transform: translateY(-4px) rotate(-0.6deg);
}

.peow-btn:active,
.peow-btn.peowing {
  transform: scale(0.97) rotate(1.5deg);
}

html.fried .peow-btn img,
html.fried .meme img,
html.fried .meme-card img:not(.reality) {
  filter: contrast(1.85) saturate(2.55) hue-rotate(22deg) blur(0.25px);
}

html.fried .reality {
  filter: contrast(2) saturate(0.35) brightness(0.8) hue-rotate(18deg);
}

.peow-btn img {
  display: block;
  width: min(88vw, 420px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.impact {
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(1.05rem, 4vw, 1.55rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000,
    0 3px 0 #000;
  line-height: 1.05;
  pointer-events: none;
}

.hero-top {
  top: 0.45rem;
}

.hero-bot {
  bottom: 2.4rem;
}

.ms-circle {
  position: absolute;
  top: 18%;
  left: 18%;
  width: 64%;
  height: 38%;
  border: 5px solid #e23d2a;
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-8deg);
  box-shadow: 0 0 0 2px #fff;
}

.ms-label {
  position: absolute;
  top: 12%;
  right: 4%;
  background: #e23d2a;
  color: #fff;
  font-family: "Comic Neue", cursive;
  font-size: 0.85rem;
  padding: 0.15rem 0.4rem;
  transform: rotate(12deg);
  border: 2px solid #000;
  pointer-events: none;
}

.speech {
  position: absolute;
  left: 4%;
  bottom: 18%;
  background: #fff;
  color: #000;
  font-family: Bungee, sans-serif;
  font-size: 0.85rem;
  padding: 0.35rem 0.5rem;
  border: 3px solid #000;
  border-radius: 0.7rem;
  transform: rotate(-8deg);
  pointer-events: none;
}

.speech::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -10px;
  border: 8px solid transparent;
  border-top-color: #000;
}

.stamp {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  background: #e23d2a;
  color: white;
  font-family: Bungee, sans-serif;
  font-size: 0.62rem;
  padding: 0.4rem 0.55rem;
  border: 3px solid var(--ink);
  transform: rotate(-8deg);
}

.reacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.reacts button {
  font: 700 0.92rem Outfit, sans-serif;
  background: #fff8ee;
  color: #12140f;
  border: 3px solid #000;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  box-shadow: 0 3px 0 #000;
}

.reacts button.pop {
  transform: scale(1.12);
}

.counter {
  margin-top: 1.1rem;
  font-size: 1.05rem;
}

.counter strong {
  font-family: Bungee, sans-serif;
  color: var(--gold);
  font-size: 1.4rem;
}

.hint {
  margin-top: 0.4rem;
  min-height: 1.5em;
  color: #b7c9a8;
  font-family: "Comic Neue", cursive;
  font-size: 1.1rem;
}

.fry-btn,
button[type="submit"],
.row button,
.win button {
  font-family: Bungee, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 0.9rem;
  border-radius: 0.7rem;
  border: 3px solid var(--ink);
  background: var(--slime);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--shadow);
}

.fry-btn {
  margin-top: 0.85rem;
  background: #ff8a3d;
}

.fry-note {
  margin-top: 0.55rem;
  font-family: "Comic Neue", cursive;
  font-size: 0.95rem;
  color: #b7c9a8;
}

section {
  padding: 2.2rem 1.25rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

h2 {
  font-family: Bungee, sans-serif;
  font-size: clamp(1.25rem, 4vw, 2rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 1rem;
}

.lede {
  text-align: center;
  color: #c9d8bc;
  margin-bottom: 1.5rem;
}

.bubbles {
  max-width: 420px;
  margin: 0 auto;
  display: grid;
  gap: 0.45rem;
}

.bubble {
  display: flex;
}

.bubble span {
  max-width: 85%;
  padding: 0.55rem 0.8rem;
  border-radius: 1.1rem;
  line-height: 1.35;
  font-size: 0.98rem;
}

.bubble.them {
  justify-content: flex-start;
}

.bubble.them span {
  background: #2a3324;
  border: 2px solid #4d5c40;
}

.bubble.me {
  justify-content: flex-end;
}

.bubble.me span {
  background: #3d7a2a;
  border: 2px solid #8fd14f;
}

.bubble.peow span {
  background: var(--gold);
  color: #000;
  font-family: Bungee, sans-serif;
  font-size: 0.78rem;
}

.bubble.scream span {
  background: #e23d2a;
  font-weight: 800;
}

.format-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.meme-card {
  background: #000;
  border: 4px solid var(--gold);
  padding: 0.6rem;
  text-align: center;
}

.meme-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.kicker,
.punch {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.2rem;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
}

.split span {
  display: block;
  font-size: 0.72rem;
  padding: 0.25rem 0 0;
  font-family: Impact, sans-serif;
  text-transform: uppercase;
}

.reality {
  filter: contrast(1.5) saturate(0.4) brightness(0.85);
}

.zoom-card img {
  object-position: 50% 18%;
  transform: scale(1.55);
}

.zoom-card {
  overflow: hidden;
}

.brain ol {
  list-style: none;
  max-width: 420px;
  margin: 0 auto;
  display: grid;
  gap: 0.55rem;
}

.brain li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.7rem 0.9rem;
  border: 3px solid #000;
  font-family: Bungee, sans-serif;
  font-size: 0.95rem;
}

.brain li:nth-child(1) {
  transform: scale(0.92);
  opacity: 0.75;
}
.brain li:nth-child(2) {
  transform: scale(0.97);
}
.brain li:nth-child(4) {
  background: linear-gradient(90deg, #5b2a86, #e8c547);
  color: #fff;
  font-size: 1.15rem;
}

.equation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: stretch;
}

.card {
  background: rgba(246, 239, 228, 0.08);
  border: 3px solid rgba(232, 197, 71, 0.35);
  border-radius: 1rem;
  padding: 1.1rem 1rem 1.2rem;
  width: min(100%, 240px);
}

.card--peow {
  background: linear-gradient(165deg, rgba(143, 209, 79, 0.22), rgba(139, 58, 42, 0.28));
  border-color: var(--gold);
  transform: rotate(1deg);
}

.card h3 {
  font-family: Bungee, sans-serif;
  font-size: 0.9rem;
  margin: 0.35rem 0 0.5rem;
  color: var(--slime);
}

.card p {
  font-size: 0.95rem;
  color: #dce8d2;
  line-height: 1.4;
}

.emoji {
  font-size: 2rem;
}

.plus {
  font-family: Bungee, sans-serif;
  font-size: 2.2rem;
  color: var(--gold);
  align-self: center;
}

.factory__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .factory__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.meme {
  position: relative;
  margin: 0 auto;
  width: min(100%, 420px);
  border: 6px solid var(--ink);
  box-shadow: 0 16px 0 var(--gold);
  background: #000;
  overflow: hidden;
}

.meme.fx-zoom img {
  animation: meme-zoom 2.6s ease-in-out infinite alternate;
  transform-origin: 50% 28%;
}

.meme.fx-shake img {
  animation: meme-shake 0.16s linear infinite;
}

.meme.fx-stare img {
  animation: meme-stare 2.8s ease-in-out infinite;
  transform-origin: 50% 26%;
}

.meme.fx-pulse img {
  animation: meme-pulse 1.1s ease-in-out infinite;
  transform-origin: 50% 40%;
}

@keyframes meme-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.42);
  }
}

@keyframes meme-shake {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-7px, 3px) rotate(-1.2deg);
  }
  50% {
    transform: translate(6px, -4px) rotate(1deg);
  }
  75% {
    transform: translate(-4px, -2px) rotate(0.6deg);
  }
}

@keyframes meme-stare {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.38);
  }
  55% {
    transform: scale(1.42);
  }
  80% {
    transform: scale(1.08);
  }
}

@keyframes meme-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.meme img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.caption {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0.45rem 0.6rem;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(1.15rem, 4.2vw, 1.85rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: white;
  text-align: center;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000,
    0 3px 0 #000;
  line-height: 1.1;
}

.caption.top {
  top: 0.35rem;
}

.caption.bottom {
  bottom: 1.55rem;
}

.watermark {
  position: absolute;
  right: 0.45rem;
  bottom: 0.35rem;
  font-family: Bungee, sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000;
}

.gif-btn {
  width: 100%;
  background: var(--gold);
}

.gif-btn:disabled {
  opacity: 0.65;
}

.x-btn {
  width: 100%;
  background: #111 !important;
  color: #fff !important;
  box-shadow: 0 5px 0 #000;
}

.controls {
  display: grid;
  gap: 0.85rem;
}

.controls label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

.controls input,
.controls select {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 0.6rem;
  border: 3px solid var(--ink);
  background: var(--fur);
  color: var(--ink);
}

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

.row button:nth-child(2) {
  background: var(--gold);
}

.copied {
  color: var(--slime);
  font-family: "Comic Neue", cursive;
}

.comments ul,
.facts ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.comments li,
.facts li {
  background: rgba(0, 0, 0, 0.28);
  border-left: 6px solid var(--brick);
  padding: 0.9rem 1rem;
  border-radius: 0 0.7rem 0.7rem 0;
  line-height: 1.45;
}

.comments li {
  border-left-color: var(--gold);
  font-size: 0.98rem;
}

.win {
  max-width: 360px;
  margin: 1rem auto 0;
  background: #c0c0c0;
  color: #000;
  border: 3px solid #fff;
  border-right-color: #404040;
  border-bottom-color: #404040;
  font-family: Tahoma, sans-serif;
  box-shadow: 4px 4px 0 #000;
}

.win-bar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  padding: 0.25rem 0.45rem;
  font-weight: 700;
}

.win p:not(.win-bar) {
  padding: 0.55rem 0.7rem 0;
}

.win button {
  margin: 0.7rem;
  background: #c0c0c0;
  box-shadow: 2px 2px 0 #000;
}

.quiz {
  position: relative;
  z-index: 3;
}

.quiz form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

fieldset {
  border: 3px dashed rgba(232, 197, 71, 0.45);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.45rem;
}

legend {
  font-weight: 800;
  padding: 0 0.4rem;
}

.quiz label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: none;
  padding: 0.65rem 0.45rem;
  border-radius: 0.5rem;
  min-height: 2.4rem;
}

.quiz label:hover {
  background: rgba(232, 197, 71, 0.12);
}

.quiz input[type="radio"] {
  margin-top: 0.15rem;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  pointer-events: auto;
  accent-color: #e8c547;
}

.quiz button[type="submit"] {
  cursor: pointer;
}

.result {
  text-align: center;
  margin-top: 1.1rem;
  font-family: Bungee, sans-serif;
  font-size: 1.05rem;
  color: var(--slime);
  line-height: 1.4;
}

footer {
  text-align: center;
  padding: 3rem 1rem 4rem;
  color: #b7c5aa;
}

footer strong {
  color: var(--gold);
  font-family: Bungee, sans-serif;
}

.tiny {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  opacity: 0.8;
}

.floater {
  position: fixed;
  z-index: 30;
  pointer-events: none;
  font-family: Bungee, sans-serif;
  font-size: 1.25rem;
  color: var(--gold);
  text-shadow: 2px 2px 0 #000;
  animation: rise 0.9s ease-out forwards;
}

@keyframes rise {
  to {
    transform: translateY(-90px) scale(1.3);
    opacity: 0;
  }
}


@media (prefers-reduced-motion: reduce) {
  .ticker__track,
  .logo,
  .floater,
  .meme img {
    animation: none;
  }
}
