/* ===========================
   ROOT & DESIGN TOKENS
=========================== */
:root {
  --cream: #FFF8F0;
  --cream-2: #FFF3E8;
  --peach: #FFBFA0;
  --peach-light: #FFD9C8;
  --peach-dark: #F09070;
  --rose: #F5A0A0;
  --rose-light: #FFD0D0;
  --mauve: #E8A0C8;
  --mauve-light: #F5D0E8;
  --warm-brown: #8B5E52;
  --warm-brown-light: #C4907E;
  --text-dark: #3D2B20;
  --text-mid: #7A5448;
  --text-light: #B8897A;
  --text-muted: #D4B0A5;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 12px rgba(180, 100, 80, 0.08);
  --shadow-md: 0 6px 24px rgba(180, 100, 80, 0.14);
  --shadow-lg: 0 16px 48px rgba(180, 100, 80, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --font-main: 'Noto Sans KR', sans-serif;
  --font-accent: 'Gowun Dodum', sans-serif;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ===========================
   PAGE SYSTEM
=========================== */
#app {
  position: relative;
  min-height: 100dvh;
}

.page {
  display: none;
  min-height: 100dvh;
  animation: fadeInUp 0.5s ease both;
}
.page.active { display: flex; flex-direction: column; }

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

/* ===========================
   BLOBS (Background Deco)
=========================== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 280px; height: 280px;
  background: var(--peach-light);
  top: -60px; right: -80px;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.blob-2 {
  width: 220px; height: 220px;
  background: var(--mauve-light);
  bottom: 60px; left: -60px;
  animation: blobFloat 10s ease-in-out infinite alternate-reverse;
}
.blob-3 {
  width: 160px; height: 160px;
  background: var(--rose-light);
  top: 50%; right: 20px;
  animation: blobFloat 7s ease-in-out infinite alternate;
}
@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(15px, 20px) scale(1.08); }
}

/* ===========================
   INTRO PAGE
=========================== */
#page-intro {
  position: relative;
  justify-content: center;
  align-items: center;
  padding: 48px 24px 40px;
  background: linear-gradient(160deg, #FFF8F0 0%, #FFF0E6 50%, #FFE8DC 100%);
  overflow: hidden;
}

.intro-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 400px;
  width: 100%;
}

.intro-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--peach-light), var(--mauve-light));
  color: var(--warm-brown);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  animation: fadeInUp 0.4s 0.1s both;
}

.intro-title {
  font-family: var(--font-accent);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-dark);
  animation: fadeInUp 0.4s 0.2s both;
}

.intro-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--warm-brown-light);
  letter-spacing: 1px;
  animation: fadeInUp 0.4s 0.25s both;
}

.intro-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-mid);
  font-weight: 400;
  animation: fadeInUp 0.4s 0.3s both;
}

.needs-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  animation: fadeInUp 0.4s 0.35s both;
}

.need-chip {
  background: var(--white);
  color: var(--text-mid);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(240, 144, 112, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.need-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--peach-dark) 0%, var(--rose) 100%);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(240, 144, 112, 0.4);
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
  animation: fadeInUp 0.4s 0.45s both;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(240, 144, 112, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.intro-time {
  font-size: 13px;
  color: var(--text-muted);
  animation: fadeInUp 0.4s 0.5s both;
}

/* ===========================
   QUESTION PAGE
=========================== */
#page-question {
  background: var(--cream);
  padding: 0;
  justify-content: flex-start;
}

.question-header {
  background: var(--white);
  padding: 14px 20px 14px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 10;
}

.question-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--text-light);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  min-height: 36px;
}
.btn-back:hover {
  background: var(--cream-2);
  color: var(--peach-dark);
}
.btn-back:disabled {
  opacity: 0.28;
  pointer-events: none;
}

.progress-info {
  display: flex;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}
.progress-info span:first-child {
  color: var(--peach-dark);
  font-size: 18px;
  font-weight: 700;
}

.progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: var(--peach-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--peach-dark), var(--rose));
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 5%;
}

.question-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 36px 24px 40px;
  gap: 28px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.question-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--peach-dark);
  letter-spacing: 1.5px;
  opacity: 0.8;
}

.question-text {
  font-family: var(--font-accent);
  font-size: clamp(17px, 5vw, 21px);
  line-height: 1.65;
  color: var(--text-dark);
  word-break: keep-all;
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.choice-btn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.choice-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--peach-light), var(--mauve-light));
  opacity: 0;
  transition: opacity 0.22s ease;
}
.choice-btn:hover {
  border-color: var(--peach-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.choice-btn:hover::before { opacity: 0.4; }
.choice-btn:active { transform: translateY(0); }

.choice-btn.selected {
  border-color: var(--peach-dark);
  box-shadow: 0 4px 20px rgba(240, 144, 112, 0.3);
}
.choice-btn.selected::before { opacity: 0.6; }

.choice-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: linear-gradient(135deg, var(--peach-light), var(--rose-light));
  color: var(--peach-dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.22s ease;
}
.choice-btn.selected .choice-label {
  background: linear-gradient(135deg, var(--peach-dark), var(--rose));
  color: var(--white);
}

.choice-text {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-mid);
  word-break: keep-all;
  font-weight: 400;
  padding-top: 5px;
}

/* ===========================
   LOADING PAGE
=========================== */
#page-loading {
  background: linear-gradient(160deg, #FFF8F0 0%, #FFE8DC 100%);
  justify-content: center;
  align-items: center;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loading-heart {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--peach-dark), var(--rose));
  position: relative;
  transform: rotate(-45deg);
  border-radius: 4px;
  animation: heartBeat 1.2s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(240, 144, 112, 0.4);
}
.heart::before, .heart::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background: inherit;
  border-radius: 50%;
}
.heart::before { top: -25px; left: 0; }
.heart::after  { left: 25px; top: 0; }

@keyframes heartBeat {
  0%, 100% { transform: rotate(-45deg) scale(1); }
  30% { transform: rotate(-45deg) scale(1.15); }
  60% { transform: rotate(-45deg) scale(0.95); }
}

.loading-text {
  font-family: var(--font-accent);
  font-size: 20px;
  color: var(--text-mid);
  text-align: center;
  line-height: 1.6;
}

.loading-dots {
  display: flex;
  gap: 8px;
}
.loading-dots span {
  width: 8px; height: 8px;
  background: var(--peach-dark);
  border-radius: 50%;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ===========================
   RESULT PAGE
=========================== */
#page-result {
  background: var(--cream);
  flex-direction: column;
  align-items: stretch;
}

.result-header {
  position: relative;
  background: linear-gradient(160deg, #FFE8D8 0%, #FFD0C0 50%, #FFBCB0 100%);
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  overflow: hidden;
}

.result-header-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.result-top-badge {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--peach-dark);
  background: rgba(255, 255, 255, 0.5);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.result-main-need {
  position: relative;
  z-index: 1;
  font-size: 64px;
  line-height: 1;
  animation: emojiPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes emojiPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.result-main-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-accent);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 400;
  color: var(--text-dark);
}

.result-tagline {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 300px;
  word-break: keep-all;
}

/* Result Body */
.result-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 20px 60px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

/* Chart */

.chart-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  max-width: 340px;
  margin: 0 auto;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-mid);
  background: var(--white);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

/* Need Card */
.need-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(240, 144, 112, 0.1);
}

.card-rank-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
}
.rank-1 { background: linear-gradient(90deg, var(--peach-dark), var(--rose)); }
.rank-2 { background: linear-gradient(90deg, var(--mauve), var(--rose-light)); }

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--cream-2);
}

.card-emoji {
  font-size: 38px;
  line-height: 1;
}


.card-need-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}
.card-metaphor {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 3px;
  line-height: 1.5;
  word-break: keep-all;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.card-section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--peach-dark);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.card-section-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  word-break: keep-all;
}

.card-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-mid);
  background: var(--cream);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.5;
  word-break: keep-all;
}
.card-tag::before {
  content: '✦';
  font-size: 10px;
  color: var(--peach-dark);
  flex-shrink: 0;
}

.match-clash-grid {
  display: grid;
  gap: 10px;
}
.match-item {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-mid);
  word-break: keep-all;
}
.match-item.match {
  background: linear-gradient(135deg, #FFF0E8, #FFE0D0);
  border-left: 3px solid var(--peach-dark);
}
.match-item.clash {
  background: linear-gradient(135deg, #F5F0FF, #EDE5F5);
  border-left: 3px solid var(--mauve);
}
.match-item-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.match { .match-item-label { color: var(--peach-dark); } }
.clash { .match-item-label { color: var(--mauve); } }

.growth-box {
  background: linear-gradient(135deg, var(--cream), var(--cream-2));
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px dashed var(--peach-light);
}
.growth-box p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-mid);
  word-break: keep-all;
  white-space: pre-line;
}

.comfort-box {
  background: linear-gradient(135deg, #FFF0F5, #FFE5EF);
  border-radius: var(--radius-md);
  padding: 18px;
  border-left: 4px solid var(--rose);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  font-style: italic;
  word-break: keep-all;
}

/* Share Section */
.share-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.share-invite {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.share-invite-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.share-invite-sub {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-light);
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--peach-dark), var(--rose));
  color: var(--white);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  padding: 16px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(240, 144, 112, 0.4);
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}
.btn-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(240, 144, 112, 0.5);
}

.btn-review {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  color: var(--text-mid);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  padding: 14px;
  border: 1.5px solid var(--peach-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-review:hover {
  background: var(--cream-2);
  border-color: var(--peach-dark);
  color: var(--peach-dark);
  transform: translateY(-1px);
}

.btn-restart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  color: var(--text-mid);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  padding: 14px;
  border: 1.5px solid var(--peach-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-restart:hover {
  background: var(--cream-2);
  transform: translateY(-1px);
}

/* Instagram CTA */
.instagram-cta {
  background: linear-gradient(135deg, #F5E8FF, #EDD5F5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.insta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  gap: 14px;
  text-align: center;
}

.insta-icon { font-size: 36px; }

.insta-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.insta-sub {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
}

.insta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #C879D8, #A855C4);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(200, 121, 216, 0.35);
}
.insta-btn span {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  opacity: 0.88;
  margin-top: 2px;
}
.insta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 121, 216, 0.45);
}

/* ===========================
   ANSWER REVIEW MODAL
=========================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61, 43, 32, 0.45);
  z-index: 1000;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease both;
}
.modal-overlay.open {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 85dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.35s cubic-bezier(0.34, 1.2, 0.64, 1) both;
  box-shadow: 0 -8px 40px rgba(180, 100, 80, 0.18);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--cream-2);
  flex-shrink: 0;
}

.modal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-close {
  background: var(--cream);
  border: none;
  color: var(--text-light);
  font-size: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: var(--cream-2);
  color: var(--text-dark);
}

.modal-body {
  overflow-y: auto;
  padding: 16px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-overflow-scrolling: touch;
}

/* 개별 답변 아이템 */
.review-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 16px;
  border-left: 3px solid var(--peach-light);
}
.review-item-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--peach-dark);
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}
.review-item-q {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.55;
  margin-bottom: 10px;
  word-break: keep-all;
}
.review-choices {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--white);
  word-break: keep-all;
}
.review-choice.selected {
  background: linear-gradient(135deg, var(--peach-light), var(--rose-light));
  color: var(--text-dark);
  font-weight: 600;
  border: 1.5px solid var(--peach-dark);
}
.review-choice-label {
  font-weight: 700;
  color: var(--peach-dark);
  min-width: 18px;
  font-size: 12px;
  padding-top: 1px;
}
.review-choice.selected .review-choice-label {
  color: var(--peach-dark);
}

/* ===========================
   GUIDE PAGE
=========================== */
#page-guide {
  position: relative;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  background: linear-gradient(160deg, #FFF0E8 0%, #FFE4D5 40%, #F5D5C8 100%);
  overflow: hidden;
  padding: 48px 32px;
}

.guide-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.guide-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  max-width: 360px;
  width: 100%;
}

.guide-deco {
  font-size: 52px;
  line-height: 1;
  animation: emojiPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.guide-text {
  font-family: var(--font-accent);
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-dark);
  word-break: keep-all;
  animation: fadeInUp 0.5s 0.15s both;
}

.guide-sub {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 400;
  word-break: keep-all;
  animation: fadeInUp 0.5s 0.28s both;
}

.guide-btn {
  animation: fadeInUp 0.5s 0.42s both;
  width: 100%;
  max-width: 260px;
  justify-content: center;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (min-width: 480px) {
  .intro-title { font-size: 34px; }
  .guide-text  { font-size: 34px; }
  .question-body { padding: 40px 32px; }
  .result-body { padding: 36px 28px 60px; }
  .insta-inner { flex-direction: row; text-align: left; }
  .insta-text { flex: 1; }
}

@media (min-width: 640px) {
  #page-intro  { padding: 60px 40px; }
  #page-guide  { padding: 60px 40px; }
  .result-header { padding: 60px 40px 48px; }
  .match-clash-grid { grid-template-columns: 1fr 1fr; }
}

