/* 결정 스타일 진단 결과 페이지 공용 스타일 */

.result-header {
  background: var(--purple, #6c47ff);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.result-back {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  width: 80px;
}
.result-back:hover { color: #fff; }
.result-header-center { text-align: center; }
.result-title-h {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.result-subtitle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}
.result-spacer { width: 80px; }

.result-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  line-height: 1.8;
}

/* Hero */
.result-hero {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #f5f3ff 0%, #fff5f0 100%);
  border-radius: 20px;
  margin-bottom: 40px;
}
.result-code {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #6c47ff 0%, #ff6b9d 50%, #ffa94d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 8px;
}
.result-nickname {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text, #1a1a2e);
}
.result-oneliner {
  font-size: 1rem;
  color: var(--text-mid, #64748b);
  font-style: italic;
  margin-bottom: 18px;
}
.result-axes {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.axis-pill {
  background: #fff;
  color: var(--purple, #6c47ff);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1.5px solid rgba(108, 71, 255, 0.2);
}
.axis-pill-strong {
  background: var(--purple, #6c47ff);
  color: #fff;
  border-color: var(--purple, #6c47ff);
}

/* Sections */
.result-section {
  margin-bottom: 32px;
}
.result-section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text, #1a1a2e);
}
.result-section p { margin-bottom: 12px; }
.result-section ul, .result-section ol { margin: 8px 0 0 24px; }
.result-section li { margin-bottom: 8px; }
.result-section strong { color: var(--purple, #6c47ff); }

/* 강점 vs 약점 grid */
.result-strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.strength-good, .strength-bad {
  padding: 16px;
  border-radius: 14px;
}
.strength-good {
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
}
.strength-bad {
  background: #fff5f5;
  border: 1.5px solid #fca5a5;
}
.strength-good h3, .strength-bad h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.strength-good h3 { color: #065f46; }
.strength-bad h3 { color: #991b1b; }
.strength-good ul, .strength-bad ul {
  margin: 0 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.7;
}
.strength-good li, .strength-bad li {
  margin-bottom: 4px;
}

/* 도구 추천 */
.tool-rec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.tool-rec {
  display: block;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text, #1a1a2e);
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: all 0.15s;
}
.tool-rec:hover {
  background: #f5f3ff;
  border-color: var(--purple, #6c47ff);
  transform: translateY(-1px);
}
.tool-rec strong { color: var(--purple, #6c47ff); margin-right: 4px; }

/* 블로그 추천 */
.blog-rec {
  margin: 8px 0 0 0 !important;
  padding: 0;
  list-style: none;
}
.blog-rec li {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
  list-style: none;
}
.blog-rec li:last-child { border-bottom: none; }
.blog-rec a {
  color: var(--text, #1a1a2e);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.blog-rec a:hover { color: var(--purple, #6c47ff); }

/* CTA */
.result-cta {
  margin-top: 48px;
  padding: 28px 24px;
  background: linear-gradient(135deg, #f5f3ff 0%, #fff5f0 100%);
  border-radius: 18px;
  text-align: center;
}
.result-cta p {
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.result-share-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0 0 18px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  font-family: inherit;
}
.share-kakao {
  background: #FEE500;
  color: #3C1E1E;
}
.share-kakao:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(254, 229, 0, 0.5);
}
.share-link {
  background: #fff;
  color: var(--purple, #6c47ff);
  border: 1.5px solid var(--purple, #6c47ff);
}
.share-link:hover {
  background: var(--purple, #6c47ff);
  color: #fff;
}
.share-icon { font-size: 1rem; line-height: 1; }
.result-share-divider {
  border: none;
  border-top: 1px dashed rgba(108, 71, 255, 0.18);
  margin: 0 0 18px;
}

.share-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  background: #1a1a2e;
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  pointer-events: none;
}
.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.result-cta-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-primary, .cta-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
}
.cta-primary {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b9d 50%, #ffa94d 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.28);
}
.cta-secondary {
  background: #fff;
  color: var(--purple, #6c47ff);
  border: 2px solid var(--purple, #6c47ff);
}

/* Footer */
.result-footer {
  text-align: center;
  padding: 24px 20px;
  font-size: 0.82rem;
  color: var(--text-mid, #64748b);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.result-footer a {
  color: var(--purple, #6c47ff);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 480px) {
  .result-code { font-size: 2rem; }
  .result-nickname { font-size: 1.4rem; }
  .result-strength-grid { grid-template-columns: 1fr; }
}
