/* ==========================================
   퍼스널 컬러 테스트 사이트 - 메인 스타일시트
   ========================================== */

/* ---------- CSS 변수 (컬러 팔레트) ---------- */
:root {
  /* 메인 컬러 */
  --primary: #e8a0bf;
  --primary-rgb: 232, 160, 191;
  --primary-dark: #d4789e;
  --primary-light: #f5d5e5;
  --secondary: #b088c9;
  --accent: #f9c5d1;
  --accent-light: #f5eef3;

  /* 배경 */
  --bg-main: #fef7fa;
  --bg-card: #ffffff;
  --bg-gradient: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 50%, #e8eaf6 100%);

  /* 텍스트 */
  --text-primary: #2d2d3f;
  --text-secondary: #6b6b80;
  --text-light: #9e9eb0;

  /* 시즌 컬러 */
  --spring: #ffb74d;
  --summer: #90caf9;
  --autumn: #a1887f;
  --winter: #7986cb;

  /* 톤 컬러 */
  --warm: #ff8a65;
  --cool: #80deea;

  /* 유틸 */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 68px;
}

@font-face {
  font-family: 'YeogiOttaeJalnan';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
  font-weight: normal;
  font-display: swap;
}


/* ---------- 리셋 & 기본 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h2,
h3 {
  font-family: 'YeogiOttaeJalnan';
}

/* ---------- 공통 레이아웃 ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 브레드크럼 */
.breadcrumb {
  padding: 10px 0 12px;
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(232, 160, 191, 0.15);
  font-size: 0.875rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  margin-left: 4px;
  color: var(--text-light);
  font-weight: 600;
}

.breadcrumb-list a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.breadcrumb-list a:hover {
  color: var(--primary);
}

.breadcrumb-list li[aria-current="page"] {
  color: var(--text-primary);
  font-weight: 500;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
  /* 헤더 고정 시 본문이 헤더 아래부터 시작 */
}

/* ---------- 헤더 / 네비게이션 (고정) ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 160, 191, 0.15);
  z-index: 1000;
  transition: var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
  z-index: 2;
}

/* 모바일 메뉴 열릴 때 body에 동적 삽입됨 → 콘텐츠 완전 가림 */
.nav-overlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 68px;
  z-index: 999;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(3px);
  pointer-events: auto;
  animation: nav-overlay-fade 0.2s ease;
}

@keyframes nav-overlay-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 로고를 감싸는 h1 (계층 구조용) */
.header h1 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.header h1 .logo {
  display: inline-flex;
}

.header h1 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

.header h1 .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-dark);
  font-family: 'YeogiOttaeJalnan';
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-list>li {
  position: relative;
}

.nav-list>li>a {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* 드롭다운 트리거 */
.nav-item-dropdown .nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.nav-item-dropdown .nav-dropdown-trigger:hover,
.nav-item-dropdown.open .nav-dropdown-trigger,
.nav-item-dropdown.has-active .nav-dropdown-trigger {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.nav-dropdown-trigger::after {
  content: '▾';
  font-size: 1.3rem;
  opacity: 0.8;
  display: inline-block;
  transition: transform 0.25s ease;
}

/* 닫힌 상태: 화살표 아래 방향 */
.nav-item-dropdown:not(.open) .nav-dropdown-trigger::after {
  transform: rotate(0deg);
}

/* 열린 상태: 화살표 위 방향 */
.nav-item-dropdown.open .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}

/* 드롭다운 패널 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin-top: 2px;
  padding: 14px 0 8px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(232, 160, 191, 0.2);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1001;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-primary);
  border-radius: 0;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
}

.nav-dropdown a.active {
  background: var(--accent-light);
  color: var(--primary-dark);
  font-weight: 600;
}

/* 모바일 메뉴 */
.mobile-menu-btn {
  display: none;
  background: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  padding: 8px;
}

/* ---------- 히어로 섹션 ---------- */
.hero {
  background: var(--bg-gradient);
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 160, 191, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(176, 136, 201, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* 히어로 메인 박스 (가독성) */
.hero-box {
  position: relative;
  z-index: 1;
  /* max-width: 640px; */
  margin: 0 auto;
  /* background: rgba(255, 255, 255, 0.95); */
  border-radius: 24px;
  /* box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(232, 160, 191, 0.12); */
  text-align: center;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-direction: column;
}

.hero-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(176, 136, 201, 0.2) 100%);
  border-radius: 12px;
  font-size: 1.35rem;
  box-shadow: 0 2px 10px rgba(232, 160, 191, 0.25);
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(232, 160, 191, 0.2) 0%, rgba(176, 136, 201, 0.15) 100%);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  border: 1px solid rgba(232, 160, 191, 0.35);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 24px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc-box {
  background: linear-gradient(180deg, #fef9fb 0%, #faf5f8 100%);
  border-radius: 16px;
  padding: 24px 28px 26px;
  margin-bottom: 30px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 14px rgba(var(--primary-rgb), 0.06);
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
}

.hero-desc-box .hero-desc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(var(--primary-rgb), 0.35);
  display: none;
}

.hero-desc-box .hero-desc-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.hero-desc {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #2d2d35;
  /* font-weight: 600; */
  margin: 0;
}

.hero-desc strong {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(var(--primary-rgb), 0.5);
  text-underline-offset: 3px;
}

.hero-cta-icon {
  font-size: 1.1em;
  opacity: 0.95;
}

.hero-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  /* background: rgba(248, 248, 250, 0.9);
  border-radius: 12px;
  padding: 14px 18px;
  border-left: 4px solid var(--text-light); */
  margin-top: 50px;
  justify-content: center;
}

.hero-notice-icon {
  font-size: 1rem;
  flex-shrink: 0;
  opacity: 0.8;
}

.hero-notice {
  color: var(--text-light);
  margin: 0;
  line-height: 1.65;
}

/* 서비스 소개 페이지 상단 */
.intro-hero {
  background: var(--bg-gradient);
  padding: 48px 0 56px;
  text-align: center;
}

.intro-hero .container {
  max-width: 720px;
  margin: 0 auto;
}

.intro-hero .hero-badge {
  margin-bottom: 16px;
}

.intro-hero h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.intro-hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 서비스 소개 페이지 - 사이트 소개·기능 요약 */
.intro-about-section .section-header {
  margin-bottom: 24px;
}

.intro-about-box {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fef9fb 0%, #faf5f8 100%);
  border-radius: 16px;
  padding: 28px 32px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 12px rgba(var(--primary-rgb), 0.06);
}

.intro-about-box .intro-about-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.03em;
  margin-bottom: 14px !important;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.15);
}

.intro-about-box .intro-about-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.intro-about-box p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin: 0;
}

.intro-about-box p:not(.intro-about-label) {
  color: var(--text-primary);
  font-weight: 500;
}

.intro-about-box strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.intro-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.intro-feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--primary);
}

.intro-feature-card--ai {
  border-left-width: 4px;
  border-left-color: var(--secondary);
  background: linear-gradient(135deg, #fff 0%, rgba(232, 160, 191, 0.06) 100%);
}

.intro-feature-card--makeup {
  border-left-color: #e8b4b8;
}

.intro-feature-card--skincare {
  border-left-color: #81d4fa;
}

.intro-feature-card--hair {
  border-left-color: #c9b896;
}

.intro-feature-card--fashion {
  border-left-color: #a5d6a7;
}

.intro-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.intro-feature-card--ai .intro-feature-icon {
  background: linear-gradient(135deg, rgba(232, 160, 191, 0.35) 0%, rgba(176, 136, 201, 0.3) 100%);
}

.intro-feature-card--makeup .intro-feature-icon {
  background: rgba(232, 180, 184, 0.35);
}

.intro-feature-card--skincare .intro-feature-icon {
  background: rgba(129, 212, 250, 0.35);
}

.intro-feature-card--hair .intro-feature-icon {
  background: rgba(201, 184, 150, 0.35);
}

.intro-feature-card--fashion .intro-feature-icon {
  background: rgba(165, 214, 167, 0.4);
}

.intro-feature-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.4;
}

.intro-feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin: 0 0 14px;
  flex: 1;
}

.intro-feature-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: auto;
  transition: color 0.2s;
}

.intro-feature-link:hover {
  color: var(--secondary);
}

.intro-features-notice {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  border: 1px solid rgba(232, 160, 191, 0.3);
}

.hero h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-secondary);
  text-align: center;
  /* max-width: 900px; */
  /* margin: 0 auto; */
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(232, 160, 191, 0.4);
  overflow: hidden;
  isolation: isolate;
}

.hero-cta::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: -50%;
  left: -120%;
  width: 70%;
  height: 200%;
  background: linear-gradient(100deg, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.45) 55%, transparent 70%, transparent 100%);
  transform: skewX(-18deg);
  animation: btn-shine-repeat 3.2s ease-in-out 0.6s infinite;
  pointer-events: none;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 160, 191, 0.5);
}

.hero-cta:hover::after {
  animation: none;
  opacity: 0;
}

.index-cta-wrap {
  text-align: center;
  margin-top: 32px;
}

.hero-cta-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 2px solid rgba(232, 160, 191, 0.5);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.hero-cta-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 4px 16px rgba(232, 160, 191, 0.25);
}

.hero-cta-secondary::after {
  display: none;
}

/* ---------- 섹션 공통 ---------- */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2,
.section-header h3 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-family: 'YeogiOttaeJalnan';
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ---------- 정책/소개 페이지 (개인정보처리방침, 이용약관, 사이트 소개) ---------- */
.policy-page {
  padding: 40px 0 80px;
}

.policy-page:has(.about-content) {
  background: linear-gradient(180deg, #fdfbfc 0%, #faf5f8 40%, #fff 100%);
}

.policy-content {
  max-width: 720px;
  margin: 0 auto;
}

.policy-content h2:first-of-type {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.policy-updated {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.policy-content section {
  margin-bottom: 28px;
}

.policy-content section h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-family: inherit;
}

.policy-content section p,
.policy-content section ul {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

.policy-content section ul {
  padding-left: 1.25rem;
  margin-top: 6px;
}

.policy-content section a {
  color: var(--primary);
  text-decoration: underline;
}

.policy-content section a:hover {
  color: var(--primary-dark);
}

/* 문의하기 폼 (Netlify Forms) */
.contact-form-section {
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 28px;
}

.contact-form-success {
  max-width: 480px;
  margin: 0 0 20px;
  padding: 20px 24px;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: rgba(34, 139, 34, 0.1);
  border: 1px solid rgba(34, 139, 34, 0.35);
  border-radius: var(--radius-sm);

  border: 1px solid var(--primary-light);
  background-color: var(--accent-light);
}

.contact-form-success[hidden] {
  display: none !important;
}

.contact-form-success-text {
  margin: 0;
  font-weight: 600;
  line-height: 1.5;
}

.contact-form-notice {
  /* max-width: 480px; */
  margin: 0 0 16px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: rgba(var(--primary-rgb, 232, 160, 191), 0.12);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
}

.contact-form {
  /* max-width: 480px; */
  margin-top: 16px;
}

.contact-form .required {
  color: #c00;
  font-weight: 600;
}

.contact-form p {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.contact-form select {
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: menulist;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 232, 160, 191), 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button[type="submit"] {
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.contact-form button[type="submit"]:hover {
  background: var(--primary-dark);
}

.contact-form button[type="submit"]:active {
  transform: scale(0.98);
}

.contact-form-honey {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* 자주 묻는 질문 토글(아코디언) */
.faq-section {
  margin-bottom: 2rem;
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-details {
  padding: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
  display: none;
}

.faq-question::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.2s ease;
}

.faq-details[open] .faq-question::after {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 0 0 16px;
}

.faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-answer a {
  color: var(--primary);
  text-decoration: underline;
}

/* 문의하기 하단 영역 구분(문의 방법 · 자주 묻는 질문 · 관련 페이지) */
.contact-block {
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-block>h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(var(--primary-rgb, 232, 160, 191), 0.25);
}

.contact-method-section p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.contact-method-section p:last-child {
  margin-bottom: 0;
}

.contact-method-section strong {
  color: var(--text-primary);
  margin-right: 6px;
}

.faq-section.contact-block {
  padding: 24px 28px 8px;
}

.faq-section.contact-block>h3 {
  margin-bottom: 8px;
}

.faq-section .faq-item:first-child {
  border-top: none;
}

.related-pages-section p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.related-pages-section a {
  display: inline-block;
  margin-right: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb, 232, 160, 191), 0.1);
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.related-pages-section a:hover {
  background: rgba(var(--primary-rgb, 232, 160, 191), 0.2);
  color: var(--primary-dark);
}

.related-pages-section a:not(:last-child) {
  margin-bottom: 8px;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 28px;
  padding: 16px 20px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.about-content .about-content-section {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.about-content .about-content-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.15);
}

.about-content .about-section-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.about-content .about-content-section p,
.about-content .about-content-section ul {
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.about-content .about-content-section ul li {
  margin-bottom: 8px;
}

.about-content .about-content-section strong {
  color: var(--text-primary);
  font-weight: 700;
}

.about-content section ul li {
  margin-bottom: 6px;
}

/* ---------- 블로그 (목록·글) ---------- */
.blog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.blog-card-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.blog-card-link:hover {
  background: rgba(var(--primary-rgb), 0.04);
  box-shadow: var(--shadow-hover);
}

.blog-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, #f5eef3 100%);
}

.blog-card-text {
  flex: 1;
  min-width: 0;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.blog-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.blog-card-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.blog-meta-category {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(var(--primary-rgb), 0.12);
  border-radius: 20px;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  letter-spacing: 0.02em;
}

.blog-meta-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.blog-card-arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
}

.blog-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.blog-pagination-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-pagination-btn {
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.blog-pagination-btn:hover:not(:disabled) {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

.blog-pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.blog-pagination-pages {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-pagination-num {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.blog-pagination-num:hover {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

.blog-pagination-num.is-current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.blog-pagination-num.is-current:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.blog-notice {
  margin-top: 28px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-light);
}

.blog-article-actions {
  margin-bottom: 20px;
}

.blog-article-actions--bottom {
  margin-bottom: 0;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-list-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-list-btn:hover {
  background: var(--primary);
  color: #fff;
}

.blog-list-btn-icon {
  font-size: 1rem;
  line-height: 1;
}

.blog-article-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-article-header h2 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.blog-article-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

.blog-article-meta .blog-meta-category {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(var(--primary-rgb), 0.12);
  border-radius: 20px;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  letter-spacing: 0.02em;
}

.blog-article-date-icon {
  font-size: 1rem;
  line-height: 1;
}

.blog-article-meta time {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.blog-article-body h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 24px 0 10px 0;
  padding-left: 1.1em;
  position: relative;
  font-family: inherit;
}

.blog-article-body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 6px;
  height: 1em;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.2);
}

.blog-article-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.blog-article-body a {
  color: var(--primary);
  text-decoration: underline;
}

.blog-article-body a:hover {
  color: var(--primary-dark);
}

.blog-article-hashtags {
  margin-top: 28px;
  margin-bottom: 0;
  padding: 14px 18px 16px;
  font-size: 0.9rem;
  line-height: 1.75;
  word-break: break-word;
  color: var(--text-primary);
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius);
  letter-spacing: 0.01em;
}

.blog-article-hashtags::before {
  content: '태그';
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-article-footer {
  margin-top: 32px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-light);
}

/* ---------- 메인 가이드 섹션 (퍼스널 컬러 & 메이크업 가이드) ---------- */
.guide-section {
  background: linear-gradient(180deg, #fef8fa 0%, #f8f2f6 50%, #f5eef5 100%);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.guide-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* 카드별 색상 구분: 왼쪽 보더 + 헤더 배경 */
.guide-card--color {
  border-left: 4px solid var(--primary);
}

.guide-card--color .guide-card-header {
  background: linear-gradient(135deg, rgba(232, 160, 191, 0.15) 0%, rgba(176, 136, 201, 0.1) 100%);
}

.guide-card--season {
  border-left: 4px solid var(--secondary);
}

.guide-card--season .guide-card-header {
  background: linear-gradient(90deg, rgba(255, 183, 77, 0.12) 0%, rgba(144, 202, 249, 0.1) 25%, rgba(161, 136, 127, 0.12) 50%, rgba(121, 134, 203, 0.12) 100%);
}

.guide-card--makeup {
  border-left: 4px solid #e8b4b8;
}

.guide-card--makeup .guide-card-header {
  background: linear-gradient(135deg, rgba(232, 180, 184, 0.2) 0%, rgba(249, 197, 209, 0.15) 100%);
}

.guide-card-header {
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-direction: column;
  font-weight: 700;
}

.guide-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.guide-card-icon--season {
  width: auto;
  min-width: auto;
  padding: 0 8px;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.guide-card-header h4 {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
  font-weight: 700;
}

.guide-card-body {
  padding: 30px 24px;
}

.guide-card-body p {
  font-size: 0.96rem;
  color: #2d2d35;
  line-height: 1.88;
  margin-bottom: 18px;
  /* font-weight: 600; */
  padding-left: 14px;
  border-left: 3px solid rgba(var(--primary-rgb), 0.3);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.guide-card-body p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.guide-card-body p:first-of-type {
  border-left-color: var(--primary);
  /* font-weight: 700; */
  color: #1a1a22;
}

.guide-card strong,
.guide-card-body strong {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(var(--primary-rgb), 0.45);
  text-underline-offset: 2px;
}

.guide-author-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(232, 160, 191, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.guide-author {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  text-align: center;
  margin: 0;
}

/* ---------- 사이트 소개 페이지: 간단 테스트 목록 (메인과 다른 스타일) ---------- */
.about-test-section {
  --about-list-border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-test-section .section-header {
  margin-bottom: 1rem;
}

.about-test-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  border: var(--about-list-border);
  background: #fff;
  overflow: hidden;
}

.about-test-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: var(--about-list-border);
  transition: background 0.2s ease;
}

.about-test-item:last-child {
  border-bottom: none;
}

.about-test-item:hover {
  background: rgba(var(--primary-rgb), 0.06);
}

.about-test-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-test-text {
  flex: 1;
  min-width: 0;
}

.about-test-title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 2px;
}

.about-test-title:hover {
  color: var(--primary);
  text-decoration: underline;
}

.about-test-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.about-test-link {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.1);
  transition: background 0.2s ease, color 0.2s ease;
}

.about-test-link:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- 테스트 카드 그리드 ---------- */
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.test-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.test-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.test-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.test-card:hover::before {
  opacity: 1;
}

.test-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.test-card-icon.spring {
  background: linear-gradient(135deg, #fff8e1, #ffecb3);
}

.test-card-icon.cool {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.test-card-icon.warm {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}

.test-card-icon.tone {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
}

.test-card-icon.lip {
  background: linear-gradient(135deg, #fce4ec, #ef9a9a);
}

.test-card-icon.blush {
  background: linear-gradient(135deg, #fce4ec, #f48fb1);
}

.test-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.test-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.test-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.test-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 25px;
  transition: var(--transition);
}

.card-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 160, 191, 0.4);
}

/* ---------- 테스트 페이지 공통 ---------- */
.test-page-hero {
  background: var(--bg-gradient);
  padding: 50px 0 40px;
  text-align: center;
}

.test-page-hero h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.test-page-hero p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* 프로그레스 바 */
.progress-section {
  padding: 24px 0 8px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.progress-bar-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #f0e6ee;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  transition: width 0.5s ease;
  width: 0%;
}

.progress-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
}

/* 질문 영역 */
.quiz-section {
  padding: 48px 0 80px;
  flex: 1;
}

/* 퀴즈 영역 메타 박스 (소요시간·질문 수·결과) */
.quiz-meta {
  font-size: 0.93rem;
  color: var(--text-secondary);
  padding: 14px 20px;
  background: linear-gradient(135deg, #fff8f0 0%, #fff0f5 100%);
  border: 1px solid rgba(232, 160, 191, 0.2);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  box-shadow: 0 2px 8px rgba(232, 160, 191, 0.08);
  white-space: nowrap;
  max-width: 700px;
  margin: 0 auto 24px;
}

.quiz-meta span {
  font-weight: 700;
  color: var(--text-primary);
}

/* 퀴즈 영역 메타 박스 (소요시간·질문 수·결과) */
.quiz-meta {
  font-size: 0.93rem;
  color: var(--text-secondary);
  padding: 14px 20px;
  background: linear-gradient(135deg, #fff8f0 0%, #fff0f5 100%);
  border: 1px solid rgba(232, 160, 191, 0.2);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  box-shadow: 0 2px 8px rgba(232, 160, 191, 0.08);
  white-space: nowrap;
  max-width: 700px;
  margin: 0 auto 24px;
}

.quiz-meta span {
  font-weight: 700;
  color: var(--text-primary);
}

.quiz-container {
  max-width: 700px;
  margin: 0 auto;
}

.question-card {
  display: none;
  animation: fadeInUp 0.5s ease forwards;
}

.question-card.active {
  display: block;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-number {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.question-text {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* 질문 카테고리 배지 */
.question-category-badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #f3e5f5 100%);
  border: 1px solid rgba(232, 160, 191, 0.4);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* 질문 힌트(설명) 한 줄 */
.question-hint {
  margin: -8px 0 24px 0;
  padding: 10px 16px;
  background: #f8f5f9;
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 선택지 */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 2px solid #f0e6ee;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-primary);
  text-align: left;
  transition: var(--transition);
}

.option-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateX(4px);
}

.option-btn.selected {
  border-color: var(--primary-dark);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(232, 160, 191, 0.2);
}

.option-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-dark);
  flex-shrink: 0;
  transition: var(--transition);
}

.option-btn.selected .option-marker,
.option-btn:hover .option-marker {
  background: var(--primary-dark);
  color: #fff;
}

.option-chip-wrap {
  flex-shrink: 0;
}

.option-chip,
.option-chips .option-chip {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  vertical-align: middle;
}

.option-chips {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.option-chips .option-chip {
  width: 16px;
  height: 16px;
}

.option-btn .option-label {
  flex: 1;
}

/* 잘 모르겠어요: 이모지 위 · 글자 아래 세로 배치 */
.option-btn--dont-know .option-dont-know-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.option-dont-know-emoji {
  display: block;
  margin-bottom: 6px;
  line-height: 1;
  font-size: 1.4rem;
}

.option-visual-btn--dont-know .option-dont-know-emoji,
.option-illustrated-btn--dont-know .option-dont-know-emoji {
  margin: -12px 0 12px;
  font-size: 30px;
}

/* 이 질문 왜 물어보나요? 토글 (가독성 강화) */
.quiz-why-wrap {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 160, 191, 0.2);
}

.quiz-why-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(252, 228, 236, 0.5) 0%, rgba(243, 229, 245, 0.4) 100%);
  border: 1px solid rgba(232, 160, 191, 0.3);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.2s ease;
  text-align: left;
}

.quiz-why-trigger:hover {
  background: linear-gradient(135deg, rgba(248, 212, 228, 0.6) 0%, rgba(235, 210, 242, 0.5) 100%);
  border-color: rgba(232, 160, 191, 0.5);
  color: var(--text-primary);
}

.quiz-why-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.quiz-why-arrow {
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--secondary);
  transition: color 0.2s ease;
}

.quiz-why-content {
  margin-top: 12px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(232, 160, 191, 0.2);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.75;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.quiz-why-content p {
  margin: 0 0 0.75em 0;
}

.quiz-why-content p:last-child {
  margin-bottom: 0;
}

/* 컬러 비교형 옵션 */
.options-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.option-visual-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 2px solid #f0e6ee;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.option-visual-btn:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.option-visual-btn.selected {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(232, 160, 191, 0.2);
}

.color-swatch-group {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.option-visual-btn span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* 일러스트 옵션 (눈 모양 등) */
.options-illustrated {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.option-illustrated-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 16px;
  background: var(--bg-card);
  border: 2px solid #f0e6ee;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  min-height: 140px;
}

.option-illustrated-btn--dont-know {
  justify-content: center;
}

.option-illustrated-btn:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.option-illustrated-btn.selected {
  border-color: var(--primary-dark);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(232, 160, 191, 0.25);
}

.option-illustration {
  width: 80px;
  height: 60px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-illustration svg {
  width: 100%;
  height: 100%;
}

.option-illustrated-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
}

.option-illustrated-btn.selected .option-illustrated-label {
  color: var(--primary-dark);
}

/* 네비게이션 버튼 */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 12px;
}

.btn-prev,
.btn-next {
  padding: 12px 32px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-prev {
  background: var(--accent-light);
  color: var(--text-secondary);
}

.btn-prev:hover {
  background: #ede4eb;
}

.btn-next {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(232, 160, 191, 0.3);
}

.btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 160, 191, 0.4);
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-submit {
  position: relative;
  padding: 14px 40px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 120, 158, 0.4);
  transition: var(--transition);
  overflow: hidden;
  isolation: isolate;
}

.btn-submit::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: -50%;
  left: -120%;
  width: 70%;
  height: 200%;
  background: linear-gradient(100deg, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.45) 55%, transparent 70%, transparent 100%);
  transform: skewX(-18deg);
  animation: btn-shine-repeat 3.2s ease-in-out 0.6s infinite;
  pointer-events: none;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 120, 158, 0.5);
}

.btn-submit:hover::after {
  animation: none;
  opacity: 0;
}

/* 퀴즈 안내 문구 (옵션 선택 / 결과보기 유도) */
.quiz-message {
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  min-height: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quiz-message.visible {
  opacity: 1;
  visibility: visible;
  background: linear-gradient(135deg, #fff5f8 0%, #fce4ec 100%);
  border: 1px solid var(--primary-light);
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  animation: btn-start-glow 2.5s ease-in-out infinite;

}

/* ---------- 결과 화면 ---------- */
.result-section {
  display: none;
  padding: 60px 0 80px;
  text-align: center;
}

.result-section.active {
  display: block;
  animation: fadeInUp 0.6s ease forwards;
}

.result-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.result-header {
  padding: 40px 32px 24px;
  background: var(--bg-gradient);
}

.result-season-badge {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.result-season-badge.spring {
  background: linear-gradient(135deg, #ff9800, #ffb74d);
}

.result-season-badge.summer {
  background: linear-gradient(135deg, #42a5f5, #90caf9);
}

.result-season-badge.autumn {
  background: linear-gradient(135deg, #8d6e63, #a1887f);
}

.result-season-badge.winter {
  background: linear-gradient(135deg, #5c6bc0, #7986cb);
}

.result-season-badge.warm {
  background: linear-gradient(135deg, #ff7043, #ff8a65);
}

.result-season-badge.cool {
  background: linear-gradient(135deg, #26c6da, #80deea);
}

.result-season-badge.light {
  background: linear-gradient(135deg, #f48fb1, #f8bbd0);
}

.result-season-badge.mute {
  background: linear-gradient(135deg, #a1887f, #bcaaa4);
}

.result-season-badge.deep {
  background: linear-gradient(135deg, #7b1fa2, #9c27b0);
}

.result-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.result-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* 결과 얼굴 일러스트 */
.result-face-illustration {
  display: flex;
  justify-content: center;
  padding: 24px 32px 8px;
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
}

.result-face-illustration svg {
  width: 200px;
  height: 240px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.result-body {
  padding: 32px;
}

.result-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
  text-align: left;
  padding: 14px 16px;
  background: #faf8fb;
  border: 1px solid #e8e0ec;
  border-radius: 12px;
}

/* 추천 컬러 팔레트 */
.palette-section {
  margin-bottom: 28px;
}

.palette-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: left;
}

.palette-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.palette-color {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.palette-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 2px solid #fff;
}

.palette-name {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* 추천 제품 컬러 */
.product-recommend {
  margin-bottom: 28px;
  text-align: left;
}

.product-recommend h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.product-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-color-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #faf5f8;
  padding: 10px 16px;
  border-radius: 10px;
}

.product-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.product-color-name {
  font-size: 0.85rem;
  font-weight: 600;
}

/* 결과 하단 버튼 */
.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 32px;
  border-top: 1px dashed #e0e0e0;
}

.btn-retry {
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--text-secondary);
  transition: var(--transition);
}

.btn-retry:hover {
  background: #ede4eb;
}

.btn-share {
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  transition: var(--transition);
}

.btn-share:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 160, 191, 0.4);
}

.btn-save-image {
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(232, 160, 191, 0.5);
  transition: var(--transition);
}

.btn-save-image:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 160, 191, 0.25);
  border-color: var(--primary);
}

.btn-home {
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bg-gradient);
  color: var(--primary-dark);
  border: 1px solid rgba(232, 160, 191, 0.3);
  transition: var(--transition);
}

.btn-home:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* ---------- 푸터 ---------- */
.footer {
  background: #2d2d3f;
  color: #a0a0b5;
  padding: 40px 0 24px;
  margin-top: auto;
}

.footer .container {
  max-width: 1100px;
}

.footer-top {
  text-align: center;
  margin-bottom: 32px;
}

.footer-logo {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  transition: opacity 0.2s;
  font-family: 'YeogiOttaeJalnan';
}

.footer-logo:hover {
  opacity: 0.9;
}

.footer-text {
  font-size: 0.85rem;
  margin: 0 0 8px 0;
  color: var(--primary-dark);
}

.footer-purpose {
  font-size: 0.8rem;
  color: #8a8aa0;
  margin: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* 푸터 전체 메뉴 (사이트맵) */
.footer-menu {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 16px;
  margin-bottom: 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-menu-col {
  min-width: 0;
}

.footer-menu-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 6px;
}

.footer-menu a {
  font-size: 0.8rem;
  color: #a0a0b5;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--primary);
}

.footer-menu a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.footer-menu a.is-active:hover {
  color: var(--primary-dark);
}

/* 소셜 링크 (SEO용, 화면 비표시) */
.footer-social-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.footer-social-seo a {
  display: inline;
}

/* 법적 고지·정책 링크 (AdSense 승인용) */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 20px;
  font-size: 0.8rem;
}

.footer-legal a {
  color: #a0a0b5;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary);
}

.footer-legal a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.footer-legal a.is-active:hover {
  color: var(--primary-dark);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

.footer-copy {
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
}

/* ---------- 플로팅 메뉴 (공유·즐겨찾기·탑) ---------- */
.floating-menu-wrap {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  pointer-events: none;
}

.floating-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
}

.floating-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.floating-menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.floating-menu-btn .floating-menu-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.floating-menu-btn .floating-menu-label {
  display: none;
}

@media (min-width: 768px) {
  .floating-menu-btn {
    width: auto;
    height: auto;
    min-width: 48px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 24px;
  }

  .floating-menu-btn .floating-menu-label {
    display: inline;
  }
}

/* ---------- 로딩 애니메이션 ---------- */
.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(254, 247, 250, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--accent-light);
  border-top-color: var(--primary-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* ---------- 소개 카드 ---------- */
.section-features .section-header {
  margin-bottom: 40px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 160, 191, 0.08);
}

.info-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.info-card h3,
.info-card h4 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.info-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- 시작 화면 (테스트 인트로) ---------- */
/* 테스트 인트로: result-card 스타일 공통 영역 */
.test-intro {
  text-align: center;
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--bg-main) 0%, #fff 100%);
  background: var(--accent-light);
}

.test-intro .container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.test-intro .container>* {
  grid-column: 1 / -1;
  min-width: 0;
}

.test-intro-icon {
  font-size: 4rem;
}

.test-intro h2,
.test-intro h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.test-intro h3 {
  font-size: 1.4rem;
}

.test-intro .container>p:not(.test-intro-desc-extra):first-of-type {
  margin-bottom: 0;
  width: 400px;
  margin: 0 auto;
}

/* 인트로 본문: 가로 여백 유지, 내용 적은 박스는 1열에 2개 */
.test-intro .container>.test-intro-desc-extra {
  /* padding-top: 0; */
}

.test-intro .container>.btn-start {
  padding-bottom: 0;
}

/* 전체 너비 행 */
.test-intro .container>.test-intro-desc-extra,
.test-intro .container>.test-intro-recommended,
.test-intro .container>.test-intro-guide {
  box-sizing: border-box;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* 소요시간: 1줄 전체 */
.test-intro .container>.test-intro-meta {
  grid-column: 1 / -1;
}

/* 이런 결과가 나와요: 한 줄 전체, 타입 카드 한 줄로 */
.test-intro .container>.test-result-preview {
  order: 98;
}

/* 본 테스트 문구: 제일 아래, 한 줄 (order로 맨 뒤로) */
.test-intro .container>.test-intro-privacy {
  grid-column: 1 / -1;
  order: 100;
  white-space: nowrap;
  overflow-x: auto;
}

/* 링크복사·즐겨찾기·테스트 시작하기: 한 영역으로 묶어 가운데 배치 (공유하기 타이틀 없음) */
.test-intro .container>.test-intro-share {
  /* order: 98; */
  justify-content: center;
  padding: 30px 0;
}

.test-intro .container>.test-intro-recommended {
  margin-top: 4px;
  order: 99;
}

.test-intro p {
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* 테스트 인트로 내 시작 버튼: 결과 페이지 .btn-share 와 동일 스타일 + 빛나는 효과 */
.test-intro .btn-start {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow:
    0 6px 20px rgba(232, 160, 191, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 4px 14px rgba(212, 120, 158, 0.35);
  animation: btn-start-glow 2.5s ease-in-out infinite;
  overflow: hidden;
  isolation: isolate;
}

.test-intro .btn-start::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: -50%;
  left: -120%;
  width: 70%;
  height: 200%;
  background: linear-gradient(100deg, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.45) 55%, transparent 70%, transparent 100%);
  transform: skewX(-18deg);
  animation: btn-shine-repeat 3.2s ease-in-out 0.6s infinite;
  pointer-events: none;
}

.test-intro .btn-start:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 28px rgba(232, 160, 191, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 6px 20px rgba(212, 120, 158, 0.45);
  border-color: rgba(255, 255, 255, 0.6);
}

.test-intro .btn-start:hover::after {
  animation: none;
  opacity: 0;
}

.test-intro .btn-start:active {
  transform: translateY(-1px) scale(1);
}

@keyframes btn-start-glow {

  0%,
  100% {
    box-shadow: 0 6px 20px rgba(232, 160, 191, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 4px 14px rgba(212, 120, 158, 0.35);
  }

  50% {
    box-shadow: 0 8px 24px rgba(232, 160, 191, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 6px 18px rgba(212, 120, 158, 0.4);
  }
}

/* 버튼 빛나는(shimmer) 효과 - 테스트 시작하기·결과보기 등 공통 */
@keyframes btn-shine-repeat {

  0%,
  15% {
    left: -120%;
  }

  45% {
    left: 150%;
  }

  55%,
  100% {
    left: 150%;
  }
}

/* 인트로 외(퀴즈 등)에서 쓰는 .btn-start 기본 스타일 유지 + 빛나는 효과 */
.btn-start {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 160, 191, 0.4);
  overflow: hidden;
  isolation: isolate;
  font-family: 'YeogiOttaeJalnan';
}

.btn-start::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: -50%;
  left: -120%;
  width: 70%;
  height: 200%;
  background: linear-gradient(100deg, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.45) 55%, transparent 70%, transparent 100%);
  transform: skewX(-18deg);
  animation: btn-shine-repeat 3.2s ease-in-out 0.6s infinite;
  pointer-events: none;
}

.btn-start:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(232, 160, 191, 0.5);
}

.btn-start:hover::after {
  animation: none;
  opacity: 0;
}

/* 테스트 인트로: 소요시간·문항 수·결과 수 (1줄로 표시) */
.test-intro-meta {
  font-size: 0.93rem;
  color: var(--text-secondary);
  padding: 14px 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e8f4fd 100%);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-sm);
  border-left: 4px solid #2196F3;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.08);
  white-space: nowrap;
  background: linear-gradient(135deg, #fff8f0 0%, #fff0f5 100%);
  border-left: 4px solid var(--primary);
}

.test-intro-meta span {
  font-weight: 700;
  color: var(--text-primary);
}

/* 개인정보 안내 (제일 아래 배치, 한 줄) */
.test-intro-privacy {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 14px 20px 0;
  /* background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08); */
}

/* 테스트 설명 추가 문단 (📌 CSS ::before) */
.test-intro-desc-extra {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 16px 150px;
  /* background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: var(--radius-sm);
  line-height: 1.65;  
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.08); */
}

.test-intro-desc-extra::before {
  content: "📌 ";
  font-size: 1rem;
}

/* 결과 타입 미리보기 카드 (한 줄로 표시) */
.test-result-preview {
  padding: 20px;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  background: linear-gradient(135deg, #fff8f0 0%, #fff0f5 100%);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(236, 72, 153, 0.08);
}

.test-result-preview h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-preview-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.result-preview-card {
  padding: 10px 18px;
  background: linear-gradient(135deg, #fff8fb 0%, #fce4ec 100%);
  border: 1px solid var(--primary-light);
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.result-preview-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  /* transform: translateY(-2px); */
}

/* 인트로 공유·시작 버튼 (본 테스트 문구 바로 위, 결과 페이지 .result-actions 와 동일 스타일) */
.test-intro-share {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 24px 0 0;
  margin-top: 4px;
  border-top: 1px dashed #e0e0e0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.test-intro-share .btn-share-link,
.test-intro-share .btn-bookmark {
  margin: 0;
}

/* 인트로 내 링크복사·즐겨찾기: 결과 페이지 .btn-retry 와 동일 */
.test-intro .btn-share-link,
.test-intro .btn-bookmark {
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  background: var(--accent-light);
  color: var(--text-secondary);
  transition: var(--transition);
}

.test-intro .btn-share-link:hover,
.test-intro .btn-bookmark:hover {
  background: #ede4eb;
}

/* 인트로 외(기타) 링크/즐겨찾기 버튼 기본 스타일 */
.btn-share-link,
.btn-bookmark {
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: var(--text-primary);
  transition: var(--transition);
}

.btn-share-link:hover,
.btn-bookmark:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* 추천 테스트 미니 카드 */
.test-intro-recommended {
  padding: 24px 20px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.08);
}

.test-intro-recommended h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 6px;
}

.recommended-mini-grid {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  gap: 10px;
}

.recommended-mini-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 24px 18px;
  background: var(--bg-gradient);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  text-align: center;
  transition: var(--transition);
}

.recommended-mini-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.recommended-mini-card::after {
  content: " →";
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 2px;
}

/* 인트로 하단 가이드 문단 */
.test-intro-guide {
  margin-top: 0;
  padding: 20px 24px 32px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(100, 116, 139, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.75;
  text-align: left;
  box-shadow: 0 2px 10px rgba(100, 116, 139, 0.06);
}

.test-intro-guide::before {
  content: "⭐ 가이드";
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* ========== 반응형: 미디어쿼리 통합 (동일 치수별 일괄 관리) ==========
   앞으로 추가/수정되는 미디어쿼리는 이 블록 안에서만 작성하세요.
 - max-width: 1024px
   - max-width: 900px  
   - max-width: 640px
   - max-width: 600px
   - max-width: 480px
   - min-width: 480px
   - min-width: 600px
================================================================= */



@media (max-width: 1024px) {
  body.menu-open {
    overflow: hidden;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-box {
    padding: 32px 28px 28px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    align-items: stretch;
  }

  .nav-list.open {
    display: flex;
    height: 100svh;
  }

  .nav-list>li {
    padding: 8px 16px;
    flex-shrink: 0;
  }

  .nav-item-dropdown .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
    margin-left: 12px;
    margin-bottom: 0;
    padding: 0;
    padding-top: 0;
    box-shadow: none;
    border: none;
    border-left: 2px solid transparent;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-item-dropdown.open .nav-dropdown {
    max-height: 320px;
    padding-top: 8px;
    border-left-color: var(--primary-light);
  }

  /* 닫힌 상태: 트리거/패널 기본 스타일 복원 */
  .nav-item-dropdown:not(.open):not(.has-active) .nav-dropdown-trigger {
    background: transparent;
    color: var(--text-secondary);
  }

  .nav-item-dropdown:not(.open) .nav-dropdown-trigger::after {
    transform: rotate(0deg);
  }

  .nav-item-dropdown .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown a {
    padding: 8px 16px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .test-grid {
    grid-template-columns: 1fr;
  }

  .options-visual {
    grid-template-columns: 1fr;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .test-intro {
    padding: 40px 16px 60px;
  }

  .test-intro .container {
    padding: 24px 20px 32px;
    gap: 16px;
  }

  .test-intro-desc-extra {
    padding: 16px 20px;
  }

  /* 모바일: 소요시간 한 줄 유지(작은 글자), 이런결과/본테스트·공유/시작버튼 세로 1열 */
  .test-intro-meta,
  .quiz-meta {
    white-space: normal;
    flex-wrap: wrap;
    font-size: 0.8rem;
  }

  .test-intro .container>p:not(.test-intro-desc-extra):first-of-type {
    width: 100%;
  }

  .test-intro .container>.test-intro-meta,
  .test-intro .container>.test-intro-privacy,
  .test-intro .container>.test-result-preview,
  .test-intro .container>.test-intro-share {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    white-space: normal;
  }

  .test-intro-share {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .test-intro-privacy {
    white-space: normal;
  }

  .result-preview-grid {
    flex-wrap: wrap;
  }

  .recommended-mini-grid {
    flex-direction: column;
  }

  .recommended-mini-card {
    justify-content: space-between;
  }

  .section {
    /* padding: 50px 0; */
  }

  .test-page-hero h2 {
    font-size: 1.6rem;
  }

  .question-text {
    font-size: 1.15rem;
  }

  .result-actions {
    flex-direction: column;
  }

  .result-title {
    font-size: 1.4rem;
  }

  .policy-content section ul {
    padding-left: 0.25rem;
  }
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .footer-menu {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .about-test-item {
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .about-test-link {
    text-align: center;
    margin-top: 4px;
    margin-left: 50px;
  }

  .blog-card-link {
    padding: 16px 18px;
    gap: 14px;
  }

  .blog-card-icon {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }

  .blog-card-title {
    font-size: 1rem;
  }

  .blog-card-desc {
    font-size: 0.86rem;
  }
}

@media (max-width: 600px) {
  .intro-about-box {
    padding: 22px 20px;
  }

  .intro-about-box p {
    font-size: 0.95rem;
  }

  .about-content .about-content-section {
    padding: 18px 16px;
  }

  .about-content .about-content-section h3 {
    font-size: 1.05rem;
  }

  .intro-feature-card {
    padding: 20px 18px;
  }

  .intro-feature-card h4 {
    font-size: 1.05rem;
  }

  .intro-feature-card p {
    font-size: 0.88rem;
  }

  .guide-card-header {
    padding: 16px 20px 14px;
  }

  .guide-card-body {
    padding: 24px 20px;
  }

  .guide-card-icon {
    /* width: 42px;
    height: 42px; */
    min-width: 42px;
    font-size: 1.3rem;
  }

  .guide-card-icon--season {
    font-size: 1.1rem;
  }

  .guide-card-header h4 {
    font-size: 1.05rem;
  }

  .guide-card-body p {
    font-size: 0.88rem;
  }

  .guide-author-box {
    padding: 16px 20px;
  }

  .guide-author {
    font-size: 0.8rem;
  }

  .footer-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
    padding: 20px 0;
  }

  .footer-menu-title {
    font-size: 0.75rem;
  }

  .footer-menu a {
    font-size: 0.75rem;
  }

  .footer-legal {
    gap: 4px 8px;
    font-size: 0.75rem;
  }

  .result-target-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 0 70px;
  }

  .hero-box {
    padding: 0;
    border-radius: 20px;
  }

  .hero-badge-wrap {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
  }

  .hero-badge-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .hero-badge {
    font-size: 0.82rem;
    padding: 8px 16px;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .hero-desc-box {
    padding: 18px 20px;
    margin-bottom: 24px;
  }

  .hero-desc {
    font-size: 0.92rem;
  }

  .hero-notice-box {
    padding: 12px 16px;
    margin-top: 20px;
  }

  .hero-notice {
    font-size: 0.72rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .option-btn {
    padding: 14px 18px;
    font-size: 0.92rem;
  }

  .quiz-nav {
    flex-direction: column;
  }

  .btn-prev,
  .btn-next,
  .btn-submit {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .mood-row {
    grid-template-columns: 80px 1fr 40px;
  }
}

@media (min-width: 480px) {
  .result-face-illustration svg {
    width: 240px;
    height: 280px;
  }
}

@media (min-width: 600px) {
  .options-illustrated {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 결과 추가 섹션 스타일 ---------- */
.result-extra-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #e0e0e0;
}

.result-extra-section h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  text-align: left;
}

/* 한줄 요약 박스 */
.result-summary-box {
  background: linear-gradient(135deg, #fff8f0 0%, #fff0f5 100%);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

/* 추천/비추천 대상 */
.result-target-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.target-box {
  padding: 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  text-align: left;
}

.target-box.recommend {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
}

.target-box.not-recommend {
  background: #fff3e0;
  border: 1px solid #ffcc80;
}

.target-box h5 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.target-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.target-box li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  line-height: 1.5;
}

.target-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #888;
}

.target-box.recommend li::before {
  color: #4caf50;
}

.target-box.not-recommend li::before {
  color: #ff9800;
}

/* 관리 난이도 */
.result-difficulty {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 12px;
}

.difficulty-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.difficulty-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.diff-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.diff-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.diff-value.stars {
  color: #f9a825;
  letter-spacing: 2px;
}

/* 추천 제품/도구 리스트 */
.result-products-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-products-list li {
  background: var(--accent-light);
  border: 1px solid #e0e0e0;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  color: var(--text);
  transition: var(--transition);
}

.result-products-list li:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

/* 함께 하면 좋은 테스트 */
.related-tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.related-test-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--bg-gradient);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  text-align: center;
  transition: var(--transition);
}

.related-test-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.related-test-card::after {
  content: " →";
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
}

.related-icon {
  font-size: 1.5rem;
}

.related-name {
  font-weight: 500;
  line-height: 1.4;
}

/* ⭐ 추천 상황 칩 */
.result-recommended-situations .situation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.situation-chip {
  display: inline-block;
  padding: 10px 18px;
  background: linear-gradient(135deg, #fff5f8 0%, #fce4ec 100%);
  border: 1px solid var(--primary-light);
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.situation-chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

/* ❌ 주의 포인트 */
.result-caution-points .caution-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.result-caution-points .caution-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.result-caution-points .caution-list li:last-child {
  border-bottom: none;
}

.result-caution-points .caution-list li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

/* 🎯 메이크업 순서 루틴 */
.result-makeup-routine .routine-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: routine;
}

.result-makeup-routine .routine-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  font-size: 0.95rem;
  line-height: 1.5;
  counter-increment: routine;
}

.result-makeup-routine .routine-list li:last-child {
  border-bottom: none;
}

.routine-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
}

/* 💡 톤별 추천 조합 */
.tone-combos-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: -6px 0 14px 0;
}

.tone-combos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.tone-combo-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: #faf8fb;
  border: 1px solid #e8e0ec;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.tone-combo-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--text-primary);
}

.tone-combo-card .tone-name {
  font-weight: 700;
  color: var(--primary-dark);
}

.tone-combo-card .tone-colors {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* 🧴 제품 카테고리 추천 */
.product-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-category-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.product-category-list li:last-child {
  border-bottom: none;
}

.product-category-list strong {
  color: var(--primary-dark);
  margin-right: 8px;
}

/* 🖼 완성 무드 게이지 */
.mood-gauge-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mood-row {
  display: grid;
  grid-template-columns: 100px 1fr 44px;
  align-items: center;
  gap: 12px;
}

.mood-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.mood-bar-wrap {
  height: 10px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.mood-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  transition: width 0.6s ease;
}

.mood-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: right;
}

/* 💬 Q&A 섹션 */
.result-qa-section .qa-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qa-item {
  padding: 16px 20px;
  background: #fafafa;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.qa-item .qa-q {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.qa-item .qa-a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 참고용 안내문구 */
.result-disclaimer {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid #eee;
  font-size: 0.78rem;
  color: #999;
  text-align: center;
  line-height: 1.5;
}

/* ---------- 유틸리티 ---------- */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}