body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #f4f7fb;
  text-align: center;
  color: #0f1e40;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.owl {
  width: 140px;
  margin-bottom: 10px;
}

h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.mission {
  font-size: 20px;
  margin-bottom: 30px;
  color: #555;
}

.number {
  font-size: 64px;
  font-weight: bold;
  margin: 30px 0;
  letter-spacing: 6px;
}

.boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.box {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  width: 150px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.box h3 {
  margin-bottom: 10px;
}

input {
  width: 60px;
  font-size: 24px;
  text-align: center;
  padding: 6px;
}

button {
  margin-top: 20px;
  background: #2e7d32;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

.result {
  margin-top: 30px;
  font-size: 22px;
  font-weight: bold;
}

.complete {
  margin-top: 40px;
  font-size: 20px;
  color: #2e7d32;
}

/* Sprout Owl idle wiggle */
.owl {
  width: 130px;
  transform-origin: 50% 80%;
  animation: wiggle 2.4s ease-in-out infinite;
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg) translateY(0px);
  }
  15% {
    transform: rotate(-4deg) translateY(-2px);
  }
  30% {
    transform: rotate(4deg) translateY(0px);
  }
  45% {
    transform: rotate(-3deg) translateY(-1px);
  }
  60% {
    transform: rotate(3deg) translateY(0px);
  }
  75% {
    transform: rotate(-2deg) translateY(-1px);
  }
  90% {
    transform: rotate(2deg) translateY(0px);
  }
  100% {
    transform: rotate(0deg) translateY(0px);
  }
}

/* Stop the wiggle when owl is focused */
.owl.pause {
  animation-play-state: paused;
}

.blocks-area {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 60px;
  justify-content: center;
}

.block {
  border-radius: 4px;
}

.hundred {
  width: 40px;
  height: 40px;
  background: #4caf50;
}

.ten {
  width: 30px;
  height: 30px;
  background: #2196f3;
}

.one {
  width: 20px;
  height: 20px;
  background: #ffc107;
}

#answer {
  font-size: 24px;
  padding: 8px;
  width: 200px;
  text-align: center;
  margin-top: 20px;
}
