:root {
  --bg-grad: linear-gradient(180deg, #ffeaf1, #fff5f7);
  --card: #ffffff;
  --accent: #ff7aa2;
  --accent-2: #ff4d78;
  --text: #2b2126;
  --muted: #816975;
  --border: #f3c9d9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-grad);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 16px 48px;
  min-height: 100vh;
}

.landing {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.tag-pill {
  background: #ffe0ea;
  color: #d05078;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

.landing-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.landing-subtitle {
  margin: 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.info-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  width: 100%;
  text-align: left;
}

.info-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.info-card-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.star-icon {
  color: var(--accent-2);
  margin-right: 6px;
}

.privacy-card { width: 100%; }
.privacy-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  text-align: left;
}

.primary-btn {
  width: 100%;
  max-width: 480px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 122, 162, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-btn:active { transform: scale(0.98); box-shadow: 0 6px 18px rgba(255, 77, 120, 0.25); }

.hidden { display: none; }

.app-shell {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.card-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  margin-top: 16px;
}

.question-title { text-align: center; margin: 8px 0 12px; }
.question-meta { text-align: center; color: var(--muted); font-size: 14px; }

.btn {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 12px;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  background: #fff;
  border-color: var(--border);
}
.btn:active {
  transform: none;
  background: #fff;
  border-color: var(--border);
}
.btn:focus,
.btn:focus-visible {
  outline: none;
  background: #fff;
  border-color: var(--border);
}
.btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }
.btn-inline { width: auto; display: inline-block; min-width: 120px; text-align: center; margin-right: 12px; }

.option-label { font-weight: 600; margin-right: 6px; color: var(--text); }

.progress-container {
  width: 100%;
  height: 8px;
  background: #ffe0ea;
  border-radius: 999px;
  margin: 12px 0 8px;
  overflow: hidden;
}
.progress-inner {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.2s ease;
}

.controls { text-align: center; margin-top: 8px; }

.tag {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--text);
  display: inline-block;
  margin-bottom: 6px;
}
.result-label {
  font-size: 24px;
  margin: 0 0 10px;
  color: var(--text);
  text-align: center;
}

.result-type-card {
  background: #fff0f5;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  margin: 0 auto 18px;
  text-align: center;
  display: inline-block;
}
.result-type-wrapper { text-align: center; width: 100%; }
.result-type-big {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--accent-2);
  text-align: center;
}
.result-sub {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.8;
}

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fffafc;
  margin-bottom: 18px;
}
.card strong {
  color: var(--accent-2);
  font-size: 18px;
  font-weight: 700;
}
.card-text {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.7;
}

.card strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-2);
}

@media (min-width: 700px) {
  body { padding: 36px 24px 64px; }
}
