/* ============================================================
   hub.css — index.html 전용 CSS
   ============================================================ */

/* ============================================================
   1. Hero Section (SHRUNK)
   ============================================================ */
#hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px 32px;
  padding-top: 80px;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(196,151,59,0.08) 0%, transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(196,151,59,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-logo {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.hero-logo-sub {
  font-family: 'Noto Serif KR', 'Batang', 'Georgia', serif;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 6px;
  margin-bottom: 40px;
}

.hero-h1 {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 12px;
}

.hero-h1 strong {
  font-weight: 700;
  color: var(--gold);
}

.hero-desc {
  font-size: 15px;
  color: var(--sub-text);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  font-size: 18px;
  padding: 16px 48px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-login-status {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
  margin-top: 8px;
}
.hero-login-status.visible { display: inline-flex; }
.hero-login-status img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================================
   2. Analysis Section
   ============================================================ */
#analysis {
  padding: 80px 16px;
}

.analysis-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 28px;
  backdrop-filter: blur(8px);
}

.analysis-card h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--white);
}

/* ============================================================
   3. Result Area
   ============================================================ */
#result-area {
  display: none;
  margin-top: 36px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#result-area.show {
  display: block;
}

#result-area.visible {
  opacity: 1;
  transform: translateY(0);
}

.result-ilju-hanja {
  font-family: 'Noto Serif KR', 'Batang', 'Georgia', serif;
  font-size: 72px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: 8px;
}

.result-ilju-hangul {
  font-size: 18px;
  color: var(--sub-text);
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.result-nature {
  text-align: left;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255,254,249,0.85);
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 28px;
}

/* ============================================================
   4. Oheng Bar Chart
   ============================================================ */
.oheng-chart {
  margin-bottom: 28px;
}

.oheng-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.oheng-bar-label {
  width: 50px;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
  color: rgba(255,254,249,0.7);
}

.oheng-bar-track {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.oheng-bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 0.8s cubic-bezier(0.23,1,0.32,1);
  position: relative;
}

.oheng-bar-count {
  width: 24px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  flex-shrink: 0;
  color: rgba(255,254,249,0.6);
}

/* ============================================================
   5. Seun Line
   ============================================================ */
.seun-line {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,254,249,0.85);
  background: rgba(196,151,59,0.08);
  border: 1px solid rgba(196,151,59,0.2);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 28px;
  text-align: left;
}

.seun-line .seun-year {
  font-weight: 700;
  color: var(--gold);
}

/* ============================================================
   6. Barnum Block
   ============================================================ */
.barnum-block {
  text-align: left;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255,254,249,0.85);
  background: rgba(196,151,59,0.06);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
  font-style: italic;
  display: none;
}

/* ============================================================
   7. Wealth Score Block
   ============================================================ */
.wealth-score-block {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
  background: rgba(196,151,59,0.08);
  border: 1px solid rgba(196,151,59,0.2);
  border-radius: 8px;
  display: none;
}
.wealth-score-block .wealth-score-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Noto Serif KR', serif;
}
.wealth-score-block .wealth-score-label {
  font-size: 14px;
  color: rgba(255,254,249,0.7);
  margin-bottom: 8px;
}
.wealth-score-block .wealth-score-sub {
  font-size: 13px;
  color: var(--sub-text);
  margin-top: 8px;
}
.wealth-score-block .wealth-score-sub a {
  color: var(--gold);
  text-decoration: underline;
}

/* ============================================================
   8. Oheng Warning Block
   ============================================================ */
.oheng-warning-block {
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 28px;
  display: none;
}
.oheng-warning-block.warn {
  color: #ffcccc;
  background: rgba(194,59,34,0.1);
  border-left: 3px solid var(--fire);
}
.oheng-warning-block.safe {
  color: #ccffcc;
  background: rgba(45,95,45,0.1);
  border-left: 3px solid var(--wood);
}

/* ============================================================
   9. Mini Payment Card
   ============================================================ */
.mini-pay-card {
  background: rgba(28,28,28,0.95);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 20px;
  text-align: center;
}
.mini-pay-card .anchor-price {
  font-size: 13px;
  color: var(--sub-text);
  margin-bottom: 4px;
}
.mini-pay-card .anchor-price .original {
  text-decoration: line-through;
  color: rgba(255,254,249,0.4);
}
.mini-pay-card .actual-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Noto Serif KR', serif;
  margin-bottom: 14px;
}
.mini-pay-card .checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: center;
  margin-bottom: 14px;
}
.mini-pay-card .checklist span {
  font-size: 12.5px;
  color: rgba(255,254,249,0.75);
}
.mini-pay-card .checklist span::before {
  content: '\2713 ';
  color: var(--gold);
  font-weight: 700;
}
.mini-pay-card .social-proof {
  font-size: 13px;
  color: rgba(255,254,249,0.7);
  margin-bottom: 6px;
}
.mini-pay-card .guarantee {
  font-size: 12px;
  color: var(--sub-text);
  margin-bottom: 16px;
}
.mini-pay-card .btn-gold {
  display: inline-block;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 700;
}

/* ============================================================
   10. Warning Preview (경고 미리보기)
   ============================================================ */
.warning-preview {
  background: #0f0a0a;
  border: 1px solid rgba(194,59,34,0.45);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  text-align: left;
}

/* 헤더 */
.wp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: rgba(194,59,34,0.18);
  border-bottom: 1px solid rgba(194,59,34,0.25);
}

.wp-icon {
  font-size: 16px;
  color: #E74C3C;
  flex-shrink: 0;
}

.wp-title {
  font-size: 13px;
  font-weight: 700;
  color: #ff6b6b;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* 본문 */
.wp-body {
  padding: 16px 18px 18px;
}

.wp-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.55;
}

.wp-reality {
  font-size: 13px;
  color: rgba(255,254,249,0.78);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* 신살 경고 섹션 */
.wp-sinssal-section {
  background: rgba(180, 30, 20, 0.1);
  border: 1px solid rgba(220, 60, 40, 0.35);
  border-radius: 12px;
  padding: 13px 15px 15px;
  margin-bottom: 12px;
}

.wp-sinssal-header {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 120, 80, 0.9);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.wp-sinssal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wp-sinssal-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wp-sinssal-name {
  font-size: 13px;
  font-weight: 800;
  color: #ff7055;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.wp-sinssal-desc {
  font-size: 12px;
  color: rgba(255, 254, 249, 0.68);
  line-height: 1.75;
  padding-left: 16px;
  display: block;
}

.wp-sinssal-hidden .wp-sinssal-name {
  color: rgba(255, 112, 85, 0.45);
}

.wp-sinssal-hidden .rb {
  background: rgba(255, 112, 85, 0.2);
  vertical-align: middle;
}

/* 잠금 섹션 */
.wp-locked-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,215,0,0.18);
  border-radius: 12px;
  padding: 13px 15px 15px;
  margin-bottom: 14px;
}

.wp-locked-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,215,0,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.wp-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.wp-bullet-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(255,254,249,0.72);
  line-height: 1.5;
}

.wp-bullet-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,215,0,0.45);
  flex-shrink: 0;
}

/* 레드액션 바 (|N| → <span class="rb" style="width:Xpx">) */
.rb {
  display: inline-block;
  height: 13px;
  border-radius: 4px;
  background: rgba(255,255,255,0.18);
  vertical-align: middle;
  margin: 0 1px;
  flex-shrink: 0;
}

/* CTA 버튼 */
.wp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #c8a034 0%, #e8c048 50%, #c8a034 100%);
  color: #1a1200;
  font-size: 14px;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.wp-cta:hover {
  opacity: 0.88;
  color: #1a1200;
}

/* ============================================================
   11. Reset Button
   ============================================================ */
.btn-reset {
  margin-top: 8px;
}

/* ============================================================
   12. Content Hub (Card Grid)
   ============================================================ */
#content-hub { padding: 48px 16px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  transition: opacity 0.4s ease;
}

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

.hub-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(196,151,59,0.12);
}

/* BEST card (featured) */
.hub-card.featured {
  border: 2px solid var(--gold);
  grid-column: span 2;
  background: rgba(196,151,59,0.06);
}

@media (min-width: 600px) {
  .hub-card.featured { grid-column: span 1; }
}

/* badges */
.hub-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.badge-best { background: var(--gold); color: var(--bg-dark); }
.badge-mini { background: rgba(108,99,255,0.15); color: #7B74FF; }
.badge-free { background: #2D5F2D; color: #FFFEF9; }
.badge-premium { background: rgba(196,151,59,0.15); color: var(--gold); }
.badge-couple { background: rgba(196,151,59,0.1); color: var(--gold); }
.badge-sample { background: rgba(255,255,255,0.1); color: var(--sub-text); }

/* card inner */
.hub-card-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 8px;
}

.hub-card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hub-card-desc {
  font-size: 11px;
  color: var(--sub-text);
  line-height: 1.5;
  margin-bottom: 10px;
}

.hub-card-price {
  font-size: 11px;
  color: var(--sub-text);
}

.hub-card-price .price-original {
  text-decoration: line-through;
  color: rgba(255,254,249,0.35);
}

.hub-card-price .price-actual {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

.hub-card-cta {
  margin-top: auto;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
}

.hub-card-social {
  font-size: 11px;
  color: rgba(255,254,249,0.6);
  margin-top: 6px;
}

/* dim overlay */
.content-hub-dim {
  text-align: center;
  padding: 24px;
  color: var(--sub-text);
  font-size: 15px;
}

.content-hub-dim.hidden { display: none; }

.card-grid.dimmed {
  opacity: 0.35;
  pointer-events: none;
}

/* service inline panel */
.service-inline {
  display: none;
  grid-column: 1 / -1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
}

.service-inline.open { display: block; }

.service-inline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-inline-item:last-child { border-bottom: none; }

.service-inline-icon {
  font-size: 20px;
  color: var(--gold);
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.service-inline-text h5 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.service-inline-text p {
  font-size: 11px;
  color: var(--sub-text);
}

/* Stagger animation */
@keyframes hubCardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hub-card.animate-in {
  animation: hubCardIn 0.4s ease forwards;
}

/* ============================================================
   13. Reviews Section
   ============================================================ */
#reviews {
  padding: 80px 16px;
}

.reviews-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  max-width: 960px;
  margin: 0 auto;
}

.review-card {
  min-width: 260px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(196,151,59,0.15);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform 0.25s ease;
}

.review-card:hover {
  transform: translateY(-3px);
}

.review-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  font-weight: 600;
  color: #2A2A2A;
  line-height: 1.7;
  margin-bottom: 12px;
}

.review-author {
  font-size: 13px;
  color: #8B8B8B;
}

@media (min-width: 640px) {
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }
  .review-card {
    min-width: auto;
  }
}

/* ============================================================
   14. Footer
   ============================================================ */
#footer {
  padding: 48px 16px 32px;
  text-align: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2px;
}

.footer-logo-sub {
  font-family: 'Noto Serif KR', 'Batang', 'Georgia', serif;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--sub-text);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,254,249,0.3);
}

/* ============================================================
   15. Sticky CTA Bar
   ============================================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: linear-gradient(135deg, #2a2318 0%, #1c1c1c 100%);
  border-top: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.sticky-cta-bar.show {
  transform: translateY(0);
}
.sticky-cta-bar .sticky-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.sticky-cta-bar .sticky-price {
  font-weight: 700;
  color: var(--gold);
  margin-left: 6px;
}
.sticky-cta-bar .btn-gold {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   16. Purchase Toast
   ============================================================ */
.purchase-toast {
  position: fixed;
  bottom: 80px;
  left: 20px;
  z-index: 800;
  background: rgba(42,35,24,0.95);
  border: 1px solid rgba(196,151,59,0.3);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13px;
  color: rgba(255,254,249,0.85);
  max-width: 320px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.purchase-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.purchase-toast .toast-product {
  font-weight: 600;
  color: var(--gold);
}
.purchase-toast .toast-time {
  color: var(--sub-text);
  font-size: 12px;
}

/* ============================================================
   17. Top Nav
   ============================================================ */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(26, 15, 8, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196,151,59,0.2);
}
.top-nav-logo {
  font-family: 'Noto Serif KR', serif;
  font-size: 18px;
  font-weight: 700;
  color: #C4973B;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.top-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-user-info {
  display: none;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.nav-user-info.visible { display: flex; }
.nav-user-info img {
  width: 26px; height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(196,151,59,0.5);
}

/* ============================================================
   18. Kakao Login
   ============================================================ */
.btn-kakao-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FEE500;
  color: #191919;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-kakao-nav:hover { background: #F0D800; }

.btn-kakao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FEE500;
  color: #191919;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-kakao:hover { background: #F0D800; transform: translateY(-1px); }
.btn-kakao svg { flex-shrink: 0; }

/* ============================================================
   19. Dropdown
   ============================================================ */
.nav-user-info { position: relative; }
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  font-family: inherit;
}
.nav-user-btn:hover { color: #fff; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #12122a;
  border: 1px solid rgba(196,151,59,0.3);
  border-radius: 12px;
  min-width: 200px;
  z-index: 1000;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}
.nav-dropdown.open { display: block; }
.nav-dropdown-section-label {
  padding: 12px 16px 4px;
  font-size: 11px;
  color: rgba(196,151,59,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-dropdown-ilju {
  padding: 6px 16px 14px;
}
.nav-dropdown-ilju-hanja {
  font-size: 22px;
  color: #c4973b;
  line-height: 1.3;
}
.nav-dropdown-ilju-hangul {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.nav-dropdown-divider {
  border: none;
  border-top: 1px solid rgba(196,151,59,0.2);
  margin: 0;
}
.nav-dropdown-item {
  padding: 13px 16px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-item:hover { background: rgba(196,151,59,0.1); color: #fff; }

/* ============================================================
   20. Save Banner
   ============================================================ */
.save-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}
.save-banner-logged-in {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: rgba(255,255,255,0.85);
}
.save-banner-logged-out {
  background: rgba(254,229,0,0.07);
  border: 1px solid rgba(254,229,0,0.22);
  color: rgba(255,255,255,0.85);
}
.save-banner-icon { font-size: 15px; flex-shrink: 0; }
.btn-kakao-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEE500;
  color: #191919;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-left: auto;
  flex-shrink: 0;
  transition: background 0.15s;
}
.btn-kakao-save:hover { background: #F0D800; }

/* ============================================================
   21. Responsive (index 전용)
   ============================================================ */
@media (max-width: 600px) {
  .sticky-cta-bar {
    padding: 10px 14px;
  }
  .sticky-cta-bar .sticky-label {
    font-size: 13px;
  }
  .sticky-cta-bar .btn-gold {
    padding: 8px 16px;
    font-size: 13px;
  }
  .purchase-toast {
    left: 12px;
    right: 12px;
    bottom: 70px;
    max-width: none;
  }
  .wp-header { padding: 12px 15px; }
  .wp-body { padding: 14px 15px 16px; }
  .wp-locked-section { padding: 11px 13px 13px; }
  .wp-title { font-size: 12px; }
  .wp-bullet-item { font-size: 12px; }
}

@media (min-width: 600px) {
  .analysis-card {
    padding: 40px 36px;
  }
}

@media (min-width: 900px) {
  .hero-h1 {
    font-size: 42px;
  }
}

@media (min-width: 1200px) {
  .hero-h1 {
    font-size: 48px;
  }
}

/* ============================================================
   Share Section — 카카오톡 공유 버튼 (#result-area 내)
   ============================================================ */
.share-section {
  margin: 16px auto 8px;
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-kakao-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEE500;
  color: #191919;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  max-width: 360px;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
  letter-spacing: 0.3px;
  min-height: 48px;
}

.btn-kakao-share:hover { background: #F0D800; transform: translateY(-1px); }
.btn-kakao-share:active { transform: scale(0.98); }

.btn-url-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border: 1px solid rgba(196,151,59,0.4);
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  max-width: 360px;
  justify-content: center;
  min-height: 44px;
}

.btn-url-copy:hover { background: rgba(196,151,59,0.08); }
.btn-url-copy:active { transform: scale(0.98); }

.share-copied-msg {
  font-size: 13px;
  color: #4CAF50;
  font-weight: 600;
  animation: fadeIn 0.2s ease;
}

/* ============================================================
   Share Card — 공유 카드 생성 UI
   ============================================================ */

/* 토글 버튼 */
.btn-share-card-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  padding: 12px 24px;
  background: transparent;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(196,151,59,0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}
.btn-share-card-toggle:hover {
  background: rgba(196,151,59,0.08);
  border-color: rgba(196,151,59,0.5);
}
.btn-share-card-toggle .toggle-arrow {
  transition: transform 0.3s ease;
}
.btn-share-card-toggle.active .toggle-arrow {
  transform: rotate(180deg);
}

/* 아코디언 패널 */
.share-card-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23,1,0.32,1), opacity 0.3s ease;
  opacity: 0;
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
}
.share-card-panel.open {
  max-height: 600px;
  opacity: 1;
}

/* 미리보기 */
.share-card-preview {
  width: 100%;
  aspect-ratio: 1;
  max-width: 300px;
  margin: 16px auto;
  border-radius: 12px;
  overflow: hidden;
  background: #1C1C1C;
  border: 1px solid rgba(196,151,59,0.2);
  position: relative;
}
.share-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.share-card-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--sub-text);
  font-size: 13px;
}

/* 액션 버튼 행 */
.share-card-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  min-width: 0;
}
.share-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,151,59,0.2);
  border-radius: 10px;
  color: rgba(255,254,249,0.85);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}
.share-action-btn:hover {
  background: rgba(196,151,59,0.1);
  border-color: rgba(196,151,59,0.4);
}
.share-action-btn svg {
  flex-shrink: 0;
}

/* 토스트 메시지 */
.share-card-toast {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #4CAF50;
  margin-top: 8px;
  min-height: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.share-card-toast.show {
  opacity: 1;
}

/* 반응형 (360px 이하) */
@media (max-width: 360px) {
  .share-card-actions {
    gap: 6px;
  }
  .share-action-btn {
    padding: 10px 4px;
    font-size: 10px;
  }
}

@media print {
  #share-section,
  .share-section { display: none !important; }
}
