* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffdde1, #ee9ca7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: 'Poppins', system-ui, sans-serif;
}

/* Main Card */
.app {
  background: white;
  width: 100%;
  max-width: 420px;
  padding: 24px 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

/* Title */
#title {
  font-size: 1.3rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

/* Progress Bar */
#progress {
  width: 100%;
  height: 8px;
  background: #f0f0f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 22px;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: #ff5f7e;
  transition: width 0.35s ease;
}

/* Question */
#question {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 22px;
  padding: 0 4px;
}

/* Answers */
#answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  background: #ff5f7e;
  color: white;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

button:active {
  transform: scale(0.96);
}

/* Prevent "No" button from breaking layout on mobile */
button.runaway {
  position: fixed;
  width: auto;
  padding: 12px 18px;
  z-index: 999;
}

/* Larger screens */
@media (min-width: 600px) {
  #title {
    font-size: 1.5rem;
  }

  #question {
    font-size: 1.2rem;
  }

  button {
    font-size: 1.05rem;
  }
}
