
body {
  margin: 0;
  padding: 0;
  font-family: 'VT323', monospace;
  background-color: black;
  color: white;
  text-align: center;
  overflow-x: hidden;
}
#tofu {
  width: 100px;
  height: 100px;
  background-color: white;
  margin: 20px auto;
  position: relative;
  border-radius: 10px;
  transition: transform 0.3s;
}
.eye {
  width: 10px;
  height: 10px;
  background-color: black;
  border-radius: 50%;
  position: absolute;
  top: 30%;
}
.eye.left { left: 25%; }
.eye.right { right: 25%; }
.mouth {
  width: 20px;
  height: 5px;
  background-color: black;
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
}
#tofu[data-expression="smile"] .mouth {
  border-radius: 10px;
  transform: translateX(-50%) rotate(0deg);
}
#tofu[data-expression="sad"] .mouth {
  transform: translateX(-50%) rotate(180deg);
}
#tofu[data-expression="angry"] .eye.left {
  transform: rotate(15deg);
}
#tofu[data-expression="angry"] .eye.right {
  transform: rotate(-15deg);
}
.speech-bubble {
  display: inline-block;
  max-width: 80%;
  margin: 10px auto;
  padding: 10px 20px;
  background: white;
  color: black;
  border-radius: 10px;
  position: relative;
  font-size: 20px;
  min-height: 40px;
}
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  margin-left: -10px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: white transparent transparent transparent;
}
#surveyContainer {
  display: none;
  margin-top: 20px;
}
.question-box {
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  max-width: 90%;
  margin: 0 auto;
}
.question-box.active {
  opacity: 1;
}
#questionText {
  font-size: 22px;
  margin-bottom: 15px;
}
.option-button {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 10px auto;
  padding: 12px;
  background: #222;
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  font-size: 18px;
  transition: background 0.3s, transform 0.1s;
  cursor: pointer;
}
.option-button:hover { background: #444; }
.option-button:active { transform: scale(0.98); }
@keyframes bounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-20px); }
  60% { transform: translateY(10px); }
  100% { transform: translateY(-100vh); }
}
#tofu.jump-out {
  animation: bounce 2s ease-in forwards;
}
@media (max-width: 600px) {
  .option-button {
    font-size: 16px;
    padding: 10px;
  }
  #questionText {
    font-size: 18px;
  }
  .speech-bubble {
    font-size: 18px;
  }
}
