* {
  font-family: 'Nunito', sans-serif;
}

body {
  overflow-x: hidden;
  background: linear-gradient(135deg, #FFF5F7 0%, #FFF0F5 50%, #FFE4F1 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Section Management */
.section {
  display: none;
  position: relative;
  z-index: 1;
  animation: fadeSlideIn 0.45s ease;
  flex: 1;
}

.section.active {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Background Blobs */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.blob1 {
  width: 400px;
  height: 400px;
  background: #FF6B9D;
  top: -100px;
  left: -100px;
}

.blob2 {
  width: 500px;
  height: 500px;
  background: #9B72CF;
  bottom: -150px;
  right: -150px;
  animation-delay: -4s;
}

.blob3 {
  width: 350px;
  height: 350px;
  background: #5B9BD5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -2s;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(20px, 30px) scale(1.08);
  }
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8C42 100%);
  color: white;
  border: none;
  border-radius: 99px;
  padding: 14px 32px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 8px 28px rgba(255, 107, 157, 0.4);
  font-size: 1rem;
  white-space: nowrap;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 36px rgba(255, 107, 157, 0.5);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: white;
  color: #FF6B9D;
  border: 2px solid #FF6B9D;
  border-radius: 99px;
  padding: 12px 28px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: #FFF0F5;
  transform: translateY(-2px);
}

/* Question Option Cards */
.option-card {
  cursor: pointer;
  border-radius: 20px;
  padding: 20px;
  background: white;
  border: 3px solid transparent;
  transition: all 0.22s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.option-card.selected {
  border-color: #FF6B9D;
  background: linear-gradient(135deg, #FFF0F5 0%, #FFE4F1 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 107, 157, 0.25);
}

/* Progress Bar */
.progress-track {
  background: #FFE4F1;
  border-radius: 99px;
  height: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #FF6B9D, #FF8C42);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Result Bar */
.result-bar {
  height: 32px;
  border-radius: 99px;
  background: linear-gradient(90deg, #FF6B9D, #FF8C42);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Category Icons */
.category-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* Confetti */
.confetti-piece {
  position: fixed;
  opacity: 0;
  z-index: 9999;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(-20px) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(110vh) rotate(720deg);
  }
}

/* Inner content wrapper for all sections */
.section-inner {
  width: 100%;
  position: relative;
  z-index: 10;
}

/* Responsive blobs — smaller on mobile */
@media (max-width: 640px) {
  .blob1 { width: 200px; height: 200px; }
  .blob2 { width: 250px; height: 250px; }
  .blob3 { width: 180px; height: 180px; }
}

/* Responsive result bar text */
@media (max-width: 480px) {
  .result-bar {
    font-size: 0.75rem;
    padding: 0 8px;
  }
}
