﻿:root {
  --ink: #111111;
  --paper: #ffffff;
  --line: #eeeeee;
  --acid: #d7ff35;
  --danger: #ff4d4d;
  --bnb: #f3ba2f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  overflow: auto;
}

.site {
  position: relative;
  width: 7200px;
  height: 9000px;
  min-width: 7200px;
  min-height: 9000px;
  padding: 120px;
  background: var(--paper);
  overflow: hidden;
}

.scratch-cloth {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 7200px;
  height: 9000px;
  display: block;
  pointer-events: none;
}

.stage-title {
  position: fixed;
  left: 24px;
  top: 20px;
  z-index: 12;
  min-width: 136px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 900;
}

.stage-riddle {
  position: absolute;
  left: var(--riddle-x, 860px);
  top: var(--riddle-y, 260px);
  z-index: 1;
  width: 650px;
  min-width: 0;
  max-width: 650px;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  align-content: center;
  gap: 2px;
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.12);
  pointer-events: none;
}

.stage-riddle span {
  font-size: 14px;
  line-height: 1.05;
  font-weight: 950;
}

.stage-riddle em {
  color: rgba(17, 17, 17, 0.58);
  font-size: 10px;
  line-height: 1;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.timer-hud {
  position: fixed;
  left: 24px;
  top: 68px;
  z-index: 12;
  min-width: 112px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 2px;
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.12);
}

.timer-hud span {
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.timer-hud strong {
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.timer-hud.danger {
  background: var(--danger);
  color: white;
  animation: timerPulse 480ms steps(2, end) infinite;
}

.gold-hud {
  position: fixed;
  left: 24px;
  top: 144px;
  z-index: 12;
  min-width: 176px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--bnb);
  color: var(--ink);
  display: grid;
  gap: 2px;
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.14);
}

.gold-hud span,
.gold-hud em {
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.gold-hud em {
  color: rgba(17, 17, 17, 0.62);
  font-style: normal;
}

.gold-hud strong {
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.gold-hud.bump {
  animation: goldBump 260ms ease both;
}

.wallet-button,
.dividend-button {
  min-height: 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.wallet-button {
  background: var(--paper);
  color: var(--ink);
}

.wallet-button.connected {
  background: #d7ff35;
}

.dividend-button:disabled {
  opacity: 0.48;
  cursor: default;
}

.dividend-toast {
  position: fixed;
  left: 50%;
  top: 24px;
  z-index: 31;
  min-width: 230px;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  background: var(--bnb);
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
}

.dividend-toast.show {
  opacity: 1;
  animation: dividendToast 1.4s ease both;
}

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.42);
  opacity: 0;
  pointer-events: none;
}

.wallet-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.wallet-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 22px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 10px 0 rgba(17, 17, 17, 0.22);
}

.wallet-panel h2,
.wallet-panel p {
  margin: 0;
}

.wallet-panel h2 {
  font-size: 24px;
  font-weight: 950;
}

.wallet-panel p {
  margin-top: 6px;
  color: #777777;
  font-size: 12px;
  font-weight: 900;
}

.wallet-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
}

.wallet-options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.wallet-options button {
  min-height: 58px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font: inherit;
  cursor: pointer;
}

.wallet-options button:hover,
.wallet-options button.installed {
  background: var(--bnb);
}

.wallet-options strong {
  font-size: 16px;
  font-weight: 950;
}

.wallet-options span {
  color: #777777;
  font-size: 11px;
  font-weight: 900;
}

w3m-modal,
wcm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.boom-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 30;
  min-width: 220px;
  min-height: 96px;
  padding: 18px 22px;
  border: 2px solid var(--ink);
  background: var(--danger);
  color: white;
  display: grid;
  place-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

.boom-toast strong {
  font-size: 28px;
  line-height: 1;
}

.boom-toast span {
  font-size: 12px;
  font-weight: 950;
}

.boom-toast.show {
  opacity: 1;
  animation: boomPop 640ms ease both;
}

.explosion-fx {
  position: absolute;
  left: var(--boom-x, 0px);
  top: var(--boom-y, 0px);
  z-index: 25;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
}

.explosion-fx::before,
.explosion-fx::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.explosion-fx::before {
  width: 30px;
  height: 30px;
  background: var(--danger);
  border: 4px solid var(--ink);
}

.explosion-fx::after {
  width: 38px;
  height: 38px;
  border: 5px solid var(--bnb);
}

.explosion-fx i {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--bnb);
  border: 3px solid var(--ink);
  transform: translate(-50%, -50%);
}

.explosion-fx i:nth-child(1) { --dx: -78px; --dy: -42px; }
.explosion-fx i:nth-child(2) { --dx: 72px; --dy: -52px; background: var(--danger); }
.explosion-fx i:nth-child(3) { --dx: -62px; --dy: 56px; background: var(--paper); }
.explosion-fx i:nth-child(4) { --dx: 86px; --dy: 46px; }
.explosion-fx i:nth-child(5) { --dx: 4px; --dy: -92px; background: var(--paper); }
.explosion-fx i:nth-child(6) { --dx: 12px; --dy: 88px; background: var(--danger); }

.explosion-fx.show {
  opacity: 1;
}

.explosion-fx.show::before {
  animation: blastCore 720ms ease-out both;
}

.explosion-fx.show::after {
  animation: blastRing 720ms ease-out both;
}

.explosion-fx.show i {
  animation: blastShard 720ms ease-out both;
}

.meme-core {
  position: absolute;
  z-index: 5;
  left: var(--core-x, 120px);
  top: var(--core-y, 120px);
  width: 720px;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.copy-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  text-align: center;
  animation: floaty 4.8s ease-in-out infinite;
}

.copy-stack p {
  margin: 0;
  display: grid;
  gap: 4px;
  line-height: 1.12;
}

.copy-stack span {
  font-size: clamp(15px, 1.55vw, 24px);
  font-weight: 850;
}

.copy-stack em {
  font-style: normal;
  font-size: clamp(10px, 1vw, 14px);
  font-weight: 800;
  text-transform: uppercase;
  color: #777777;
}

.bnb-snake {
  position: absolute;
  z-index: 3;
  left: var(--snake-x, -20px);
  top: var(--snake-y, 18px);
  width: 210px;
  height: 120px;
  user-select: none;
  touch-action: none;
  cursor: grab;
  --cat-stretch: 1;
}

.bnb-snake.dragging {
  cursor: grabbing;
}

.bnb-snake.body-stretch {
  --cat-stretch: 1.55;
}

.snake-coin,
.snake-head,
.snake-tail {
  position: absolute;
  display: block;
  will-change: left, top, transform;
}

.snake-coin {
  z-index: 1;
  width: 82px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 48% 42% 44% 46%;
  background:
    radial-gradient(circle at 78% 28%, var(--bnb) 0 12%, transparent 13%),
    linear-gradient(90deg, var(--paper) 0 64%, #ffd95a 65% 100%);
  box-shadow: 3px 4px 0 rgba(17, 17, 17, 0.14);
}

.snake-coin::before {
  content: "";
  position: absolute;
  left: 8px;
  bottom: -9px;
  width: 8px;
  height: 11px;
  border: 2px solid var(--ink);
  border-radius: 0 0 50% 50%;
  background: var(--paper);
  box-shadow:
    18px 0 0 -2px var(--paper),
    18px 0 0 0 var(--ink),
    52px 0 0 -2px #ffd95a,
    52px 0 0 0 var(--ink),
    68px 0 0 -2px #ffd95a,
    68px 0 0 0 var(--ink);
}

.snake-coin::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 5px;
  width: 42px;
  height: 8px;
  border-top: 2px solid rgba(17, 17, 17, 0.42);
  border-radius: 50%;
}

.snake-tail {
  z-index: 0;
  width: 50px;
  height: 32px;
  border: 4px solid var(--ink);
  border-right: 0;
  border-bottom: 0;
  border-radius: 80% 0 0 0;
  background: transparent;
  transform-origin: right center;
  box-shadow: -2px -2px 0 rgba(243, 186, 47, 0.95);
}

.snake-tail::after {
  content: "";
  position: absolute;
  left: -7px;
  top: -5px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--bnb);
}

.snake-head {
  z-index: 2;
  width: 82px;
  height: 68px;
  background: url("assets/lucky-cat-head.svg") center / contain no-repeat;
  filter: drop-shadow(3px 4px 0 rgba(17, 17, 17, 0.14));
  animation: luckyHeadBob 1.8s ease-in-out infinite;
}

.snake-head::before {
  content: none;
}

.snake-head::after {
  content: none;
}

.eye {
  display: none;
}

.eye::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 20px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(-4deg);
}

.eye::after {
  display: none;
}

.eye-left {
  left: 13px;
  transform: rotate(8deg);
  animation: catHappyLeft 3.2s ease-in-out infinite;
}

.eye-right {
  right: 13px;
  transform: rotate(-8deg);
  animation: catHappyRight 3.2s ease-in-out infinite;
}

.mouth {
  display: none;
}

.mouth::before,
.mouth::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 18px;
  height: 14px;
  border: 0;
  border-bottom: 3px solid var(--ink);
  border-radius: 0 0 70% 70%;
}

.mouth::before {
  right: 5px;
  transform: rotate(-6deg);
}

.mouth::after {
  left: 5px;
  transform: rotate(6deg);
}

.tongue {
  display: none;
}

.whiskers {
  display: none;
}

.whiskers::before,
.whiskers::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 4px;
  border-top: 3px solid var(--ink);
  border-radius: 50%;
}

.whiskers::before {
  top: 0;
}

.whiskers::after {
  top: 9px;
}

.whiskers-left {
  left: 3px;
  transform: rotate(10deg);
}

.whiskers-right {
  right: 3px;
  transform: rotate(170deg);
}

.meme-orbit span {
  position: absolute;
  z-index: 1;
  min-width: 58px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 950;
  animation: blink 1.8s steps(2, end) infinite;
}

.meme-orbit span[data-token="a"] {
  left: var(--a-x, 10%);
  top: var(--a-y, 22%);
  background: var(--acid);
  animation-delay: 0.1s;
}

.meme-orbit span[data-token="b"] {
  left: var(--b-x, auto);
  right: var(--b-r, 12%);
  top: var(--b-y, 28%);
  animation-delay: 0.5s;
}

.meme-orbit span[data-token="c"] {
  left: var(--c-x, 16%);
  bottom: var(--c-b, 22%);
  background: var(--danger);
  color: white;
  border-color: var(--danger);
  border-radius: 999px;
  animation-delay: 0.9s;
}

.meme-orbit span[data-token="d"] {
  left: var(--d-x, auto);
  right: var(--d-r, 18%);
  bottom: var(--d-b, 20%);
  background: var(--ink);
  color: white;
  animation-delay: 1.3s;
}

.meme-core::before,
.meme-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid var(--line);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.meme-core::before {
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: pulse 3.2s ease-in-out infinite;
}

.meme-core::after {
  width: 340px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(8deg);
}

.level-secret {
  position: absolute;
  z-index: 1;
  left: var(--key-x, 1120px);
  top: var(--key-y, 860px);
  display: grid;
  gap: 8px;
  min-width: 320px;
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.level-secret:disabled {
  opacity: 1;
  color: var(--ink);
  cursor: default;
}

.level-secret.unlocked {
  z-index: 3;
  box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.16);
}

.level-secret.claimed {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

.level-secret span {
  color: #777777;
  font-size: 11px;
  font-weight: 900;
}

.level-secret strong {
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.level-secret em {
  color: #777777;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.powerups {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.uploaded-memes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.meme-coins {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.coin-popups {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.bombs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.meme-coin {
  position: absolute;
  width: var(--coin-size, 86px);
  height: var(--coin-size, 86px);
  opacity: 0.96;
  transform: rotate(var(--coin-rotate, 0deg));
  filter: drop-shadow(5px 6px 0 rgba(17, 17, 17, 0.22));
}

.meme-coin.used {
  opacity: 0.36;
  transform: rotate(var(--coin-rotate, 0deg)) scale(0.94);
  filter: grayscale(1) brightness(0.48) drop-shadow(2px 3px 0 rgba(17, 17, 17, 0.18));
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.meme-coin.collecting {
  animation: coinCollectUnder 420ms ease-out both;
}

.coin-collect-fx {
  position: absolute;
  width: var(--coin-size, 64px);
  height: var(--coin-size, 64px);
  transform: translate(-50%, -50%) rotate(var(--coin-rotate, 0deg));
  filter: drop-shadow(6px 7px 0 rgba(17, 17, 17, 0.2));
  animation: coinCollectFx 680ms ease-out both;
}

.coin-popup {
  position: absolute;
  min-width: 54px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--bnb);
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  transform: translate(-50%, -50%);
  animation: coinPop 760ms ease-out both;
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.15);
}

.uploaded-meme {
  position: absolute;
  width: var(--uploaded-width, 260px);
  height: auto;
  opacity: var(--uploaded-opacity, 0.22);
  transform: rotate(var(--uploaded-rotate, 0deg));
  filter: saturate(0.82) contrast(0.92);
  mix-blend-mode: multiply;
  animation: posterBlink 2.8s steps(2, end) var(--uploaded-delay, 0ms) infinite;
}

.bomb {
  position: absolute;
  width: 72px;
  height: 72px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--danger);
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 6px 7px 0 rgba(17, 17, 17, 0.16);
}

.bomb::before {
  content: "";
  position: absolute;
  right: 5px;
  top: -17px;
  width: 25px;
  height: 22px;
  border-top: 4px solid var(--ink);
  border-right: 4px solid var(--ink);
  border-radius: 0 80% 0 0;
  transform: rotate(18deg);
}

.bomb::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -22px;
  width: 10px;
  height: 10px;
  background: var(--bnb);
  border: 3px solid var(--ink);
  transform: rotate(45deg);
}

.site.exploded {
  animation: levelShake 260ms linear 2;
}

.powerup {
  position: absolute;
  min-width: 82px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.12);
}

.powerup strong {
  font-size: 14px;
  line-height: 1;
}

.powerup span {
  color: #777777;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.powerup.speed {
  background: var(--acid);
}

.powerup.slow {
  background: #eeeeee;
}

.powerup.grow {
  background: var(--bnb);
}

.powerup.used {
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 160ms ease, transform 160ms ease;
}

.level-picker {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.level-menu-trigger,
.level-menu button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.level-menu-trigger:hover,
.level-menu button:hover,
.level-menu button.active {
  background: var(--ink);
  color: white;
}

.level-menu {
  position: absolute;
  right: 0;
  bottom: 50px;
  display: grid;
  gap: 8px;
  min-width: 190px;
  max-height: calc(100vh - 96px);
  overflow: auto;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.level-picker:hover .level-menu,
.level-picker:focus-within .level-menu,
.level-picker.open .level-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.level-menu button {
  justify-content: space-between;
  gap: 16px;
}

.level-menu button span {
  color: #777777;
  font-size: 11px;
}

.level-menu button:hover span,
.level-menu button.active span {
  color: #dddddd;
}

.level-menu button.claimed span {
  color: var(--danger);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes snakeWiggle {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  35% { transform: translate(9px, -6px) rotate(2deg); }
  70% { transform: translate(-4px, 5px) rotate(-1deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}

@keyframes posterBlink {
  0%, 100% { opacity: var(--uploaded-opacity, 0.22); }
  50% { opacity: calc(var(--uploaded-opacity, 0.22) + 0.08); }
}

@keyframes goldBump {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.12) rotate(-1deg); }
}

@keyframes timerPulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

@keyframes luckyHeadBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -2px; }
}

@keyframes leftEarWiggle {
  0%, 100% { transform: rotate(-18deg); }
  50% { transform: rotate(-25deg) translateY(-1px); }
}

@keyframes rightEarWiggle {
  0%, 100% { transform: rotate(18deg); }
  50% { transform: rotate(25deg) translateY(-1px); }
}

@keyframes catHappyLeft {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-1px); }
}

@keyframes catHappyRight {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-1px); }
}

@keyframes foreheadBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(2px); }
}

@keyframes dividendToast {
  0% { opacity: 0; transform: translate(-50%, -12px); }
  18%, 78% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -8px); }
}

@keyframes coinCollectUnder {
  0% { opacity: 1; transform: rotate(var(--coin-rotate, 0deg)) scale(1); }
  48% { opacity: 1; transform: rotate(var(--coin-rotate, 0deg)) scale(1.24); }
  100% { opacity: 0.36; transform: rotate(var(--coin-rotate, 0deg)) scale(0.94); }
}

@keyframes coinCollectFx {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--coin-rotate, 0deg)) scale(0.72); }
  18% { opacity: 1; transform: translate(-50%, -72%) rotate(var(--coin-rotate, 0deg)) scale(1.18); }
  100% { opacity: 0; transform: translate(-50%, -170%) rotate(calc(var(--coin-rotate, 0deg) + 18deg)) scale(0.55); }
}

@keyframes coinPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  22% { opacity: 1; transform: translate(-50%, -80%) scale(1.12); }
  100% { opacity: 0; transform: translate(-50%, -160%) scale(0.86); }
}

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

@keyframes levelShake {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-8px, 0); }
  75% { transform: translate(8px, 0); }
}

@keyframes boomPop {
  0% { transform: translate(-50%, -50%) scale(0.8) rotate(-2deg); }
  35% { transform: translate(-50%, -50%) scale(1.08) rotate(2deg); }
  70% { transform: translate(-50%, -50%) scale(1) rotate(-1deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}

@keyframes blastCore {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(2.4); opacity: 0.92; }
  100% { transform: translate(-50%, -50%) scale(3.3); opacity: 0; }
}

@keyframes blastRing {
  0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(5); opacity: 0; }
}

@keyframes blastShard {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(160deg) scale(0.7); opacity: 0; }
}

@media (max-width: 620px) {
  .site {
    width: 7200px;
    height: 9000px;
    min-width: 7200px;
    min-height: 9000px;
    padding: 56px;
  }

  .meme-core {
    width: 620px;
    min-height: 460px;
  }

  .copy-stack p:nth-child(3),
  .copy-stack p:nth-child(4) {
    transform: none;
  }
}
