:root {
  --bg-1: #fff4df;
  --bg-2: #e6f7ff;
  --ink: #202938;
  --muted: #5f6d84;
  --card: rgba(255, 255, 255, 0.78);
  --card-border: rgba(255, 255, 255, 0.62);
  --shadow: 0 18px 35px rgba(39, 51, 89, 0.12);
  --life: #1e9f63;
  --wealth: #e0a100;
  --mental: #1887a3;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 20%, #ffe7b8 0%, transparent 28%),
    radial-gradient(circle at 85% 8%, #c9f0ff 0%, transparent 24%),
    linear-gradient(140deg, var(--bg-1), var(--bg-2));
  overflow-x: hidden;
}

.app-wrap {
  max-width: 920px;
  position: relative;
  z-index: 2;
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow);
}

.meta-chip {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(12, 20, 34, 0.08);
  white-space: nowrap;
}

.progress-soft {
  height: 12px;
  background: #ebf1f7;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  transition: width 320ms ease;
}

.bg-life { background-color: var(--life); }
.bg-wealth { background-color: var(--wealth); }
.bg-mental { background-color: var(--mental); }

.option-btn {
  text-align: left;
  border: 1px solid rgba(18, 35, 68, 0.12);
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 500;
  color: #1b2a44;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.option-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.option-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.badge-soft {
  background: #edf3ff;
  color: #3d4b6a;
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 4px 8px;
  margin-left: 8px;
}

.result-chip {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(21, 34, 56, 0.08);
}

.pop-in {
  animation: popIn 360ms ease;
}

.pulse-once {
  animation: pulse 420ms ease;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.42;
  z-index: 1;
  animation: floaty 7s ease-in-out infinite;
}

.orb-a {
  width: 190px;
  height: 190px;
  top: -40px;
  left: -40px;
  background: #ffe2a2;
}

.orb-b {
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: 8%;
  background: #beeefe;
  animation-delay: 1.2s;
}

@keyframes popIn {
  0% { transform: translateY(10px) scale(0.985); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

@keyframes floaty {
  0% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-12px) translateX(8px); }
  100% { transform: translateY(0px) translateX(0px); }
}

@media (max-width: 767.98px) {
  .glass-card {
    border-radius: 18px;
  }
}
