/* Font & reset */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Comic Neue', cursive;
  color: #fff;
  overflow: hidden;
}

/* Slide base */
.slide {
  display: none;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  /* 🎀 Pink mencolok yang lucu */
  background: linear-gradient(135deg, #ffb6c1, #ff69b4, #ff85c1);
  background-size: 200% 200%;
  animation: gradientShift 8s ease-in-out infinite alternate;
}
.slide.active { display: flex; }

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Judul & tombol mulai (slide 1) */
.title {
  font-family: 'Fredoka One', cursive;
  font-size: 2.6rem;
  margin-bottom: 18px;
  text-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.btnStart {
  padding: 14px 30px;
  font-size: 1.3rem;
  border: none;
  border-radius: 26px;
  background: #ffffff;
  color: #d81b60;
  cursor: pointer;
  font-weight: 700;
  transition: transform .15s, background .25s;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.btnStart:hover { transform: scale(1.07); background: #ffe4f1; }

/* Slide 2 content */
.character-area img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.25));
  margin: 10px 0 6px;
}
.buttons {
  display: flex;
  gap: 16px;
  margin: 10px 0 6px;
}
.btn {
  padding: 12px 26px;
  border: none;
  border-radius: 22px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: 700;
  transition: transform .12s, filter .12s;
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.sehat { background: #67e8a5; color: #123; }
.bebas { background: #fb7185; color: #fff; }

.result {
  margin-top: 14px;
  padding: 16px 18px;
  width: min(760px, 88vw);
  text-align: left;
  line-height: 1.65;
  font-size: 1.05rem;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  color: #fff;
  backdrop-filter: blur(2px);
}

/* Emoji rain dari atas */
.falling {
  position: fixed;
  top: -40px;
  left: 0;
  font-size: 24px;
  pointer-events: none;
  z-index: 999; /* di atas background, tidak menghalangi klik */
  animation: fall linear forwards;
}
@keyframes fall {
  to {
    transform: translateY(110vh);
    opacity: 0;
  }
}
