* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: Georgia, serif;
  background: linear-gradient(160deg, #ffe3ec, #fff0f5);
  color: #c2185b;
  min-height: 100vh;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Each "screen" fills the whole viewport; only one is visible at a time. */
.screen {
  position: fixed; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; padding: 32px 26px;
  transition: opacity .35s ease;
}
.hidden { opacity: 0; pointer-events: none; }

.emoji { font-size: 40px; }
.hero-gif { width: min(56vw, 220px); height: min(56vw, 220px); object-fit: cover; border-radius: 20px; }
.end-monkey { width: min(82vw, 340px); height: min(82vw, 340px); object-fit: cover; border-radius: 14px; }
.question { font-size: clamp(24px, 7vw, 30px); color: #c2185b; font-weight: 600; text-align: center; line-height: 1.3; }
.title { font-size: clamp(20px, 6vw, 24px); color: #c2185b; font-weight: 600; text-align: center; line-height: 1.3; }
.sub { font-size: 15px; color: #b06; font-weight: 400; }
.final {
  font-family: 'Arial Black', system-ui, sans-serif; font-size: clamp(28px, 9vw, 38px);
  font-weight: 900; color: #1a0008; text-align: center; letter-spacing: .5px;
}

.btns { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.yes {
  background: #ff4f8b; color: #fff; border: none; padding: 15px 50px; border-radius: 999px;
  font-weight: 700; font-size: 18px; cursor: pointer; font-family: Georgia, serif;
  box-shadow: 0 8px 18px rgba(255,79,139,.45); transition: transform .15s ease;
}
.yes:active { transform: scale(.96); }
.no-wrap { position: relative; display: inline-block; }
.no {
  position: relative; background: #fff; color: #e792ab; border: 1px solid #f3c6d5;
  padding: 12px 42px; border-radius: 999px; font-size: 16px; cursor: pointer; font-family: Georgia, serif;
}

/* "Nem" cracks + shatter */
.crack-svg { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 5; }
.crack-svg path { stroke: #6a1030; stroke-width: 1.4; fill: none; opacity: .7; }
.shard {
  position: absolute; z-index: 6; background: linear-gradient(135deg, #fff, #ffd9e6);
  border: 1px solid #f3c6d5; clip-path: polygon(0 0, 100% 35%, 40% 100%);
  transition: transform .8s cubic-bezier(.2,.6,.3,1), opacity .8s ease; pointer-events: none;
}
@keyframes shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-4px)} 60%{transform:translateX(4px)} }
.shake { animation: shake .22s ease; }

/* Choice chips */
.chips {
  display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 340px;
  font-family: system-ui, sans-serif; font-size: 15px;
}
.chip {
  background: #fff; color: #c2185b; padding: 13px 14px; border-radius: 13px; text-align: center;
  border: 1px solid #f3c6d5; cursor: pointer; width: 100%;
  font-family: system-ui, sans-serif; font-size: 15px; transition: transform .12s ease;
}
.chip:active { transform: scale(.97); }
.small { font-size: 14px; color: #b06; text-align: center; font-family: system-ui, sans-serif; line-height: 1.4; }

/* Nem-flow chicken screen: vibrating hot-pink background.
   inset:-12px overscans the viewport so the jitter never reveals the body behind it. */
#chicken {
  inset: -12px; gap: 16px; padding: 44px 32px; background: #ff4f8b;
  animation: chickVibe .085s steps(2,end) infinite, chickPulse .5s ease-in-out infinite;
}
@keyframes chickVibe { 0%{transform:translate(3px,-2px)} 33%{transform:translate(-3px,2px)} 66%{transform:translate(2px,3px)} 100%{transform:translate(-2px,-3px)} }
@keyframes chickPulse { 0%,100%{background:#ff4f8b} 50%{background:#ffb3cd} }
.chickvid {
  width: 100%; max-width: 460px; max-height: 60vh; border-radius: 12px; background: #000;
  object-fit: contain; box-shadow: 0 8px 22px rgba(0,0,0,.4); z-index: 2;
}
.pities { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.pity {
  position: absolute; font-family: 'Arial Black', sans-serif; font-weight: 900; color: #fff;
  text-shadow: 2px 2px 0 #6a1030; font-size: clamp(20px, 6vw, 26px); animation: jump .6s ease-in-out infinite;
}
@keyframes jump { 0%,100%{transform:translateY(0) rotate(-6deg)} 50%{transform:translateY(-18px) rotate(6deg)} }

/* Top banner after the Nem-gag returns to landing */
.banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 25; background: #c2185b; color: #fff;
  text-align: center; padding: 16px 12px; font-size: 16px; font-weight: 600;
  font-family: Georgia, serif; transition: transform .4s ease; transform: translateY(0);
}
.banner.hidden { transform: translateY(-100%); opacity: 1; pointer-events: none; }

/* Rolling eyes on the double-random easter egg */
.eyes { font-size: 64px; animation: roll 1.4s ease-in-out infinite; }
@keyframes roll { 0%,100%{transform:rotate(-12deg)} 50%{transform:rotate(12deg)} }
.btn {
  background: #ff4f8b; color: #fff; border: none; padding: 13px 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px; cursor: pointer; font-family: Georgia, serif;
  box-shadow: 0 6px 14px rgba(255,79,139,.4);
}

/* Calm down the motion for users who ask for it; the flow still works. */
@media (prefers-reduced-motion: reduce) {
  #chicken { animation: none; background: #ff6ba0; }
  .pity  { animation: none; }
  .shake { animation: none; }
  .eyes  { animation: none; }
  .shard { transition: opacity .5s ease; }
}
