/* ══════════════════════════════════════════════
   真緣 HK — 完整樣式表
   品牌色：玫瑰紅 #E91E8C，金色 #C9A84C，深紫 #1A0A2E
   ══════════════════════════════════════════════ */

/* ─── 基礎 ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose:      #E91E8C;
  --rose-dark: #C41877;
  --rose-soft: #FFF0F7;
  --gold:      #C9A84C;
  --gold-soft: #FFF8E7;
  --purple:    #7C3AED;
  --purple-soft:#F3EEFF;
  --ink:       #1A0A2E;
  --ink-light: #3D2060;
  --gray-100:  #F9F6FF;
  --gray-200:  #EFE9FA;
  --gray-400:  #9D8FAA;
  --gray-600:  #5A4F6A;
  --white:     #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(26,10,46,.06);
  --shadow-md: 0 4px 20px rgba(26,10,46,.10);
  --shadow-lg: 0 8px 40px rgba(26,10,46,.15);
  --radius:    16px;
  --radius-sm: 10px;
  --radius-xl: 24px;
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans TC', -apple-system, sans-serif;
  background: var(--gray-100);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── 頁面 ─── */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 60px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233,30,140,.1);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: flex; align-items: center; gap: 4px;
  cursor: pointer; text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--rose), #FF6EC7);
  color: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif TC', serif;
  font-weight: 900; font-size: 18px;
}
.logo-text {
  font-family: 'Noto Serif TC', serif;
  font-weight: 700; font-size: 20px; color: var(--ink);
}
.logo-hk {
  font-size: 13px; font-weight: 400;
  color: var(--rose); letter-spacing: .05em;
}

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-greeting { font-size: 14px; color: var(--gray-600); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: 50px; border: none;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
  font-family: inherit;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-rose    { background: var(--rose); color: #fff; }
.btn-rose:hover:not(:disabled) { background: var(--rose-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(233,30,140,.3); }
.btn-gold    { background: linear-gradient(135deg, #D4A843, #E8C76A); color: #fff; }
.btn-gold:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,.4); }
.btn-ghost   { background: transparent; color: var(--gray-600); }
.btn-ghost:hover { background: var(--gray-200); }
.btn-glass   { background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.3); }
.btn-outline-rose { background: transparent; border: 1.5px solid var(--rose); color: var(--rose); }
.btn-outline-rose:hover { background: var(--rose-soft); }
.btn-outline-gold { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn-social { background: #fff; border: 1.5px solid var(--gray-200); color: var(--ink); width: 100%; }
.btn-social:hover { background: var(--gray-100); }

.btn-sm  { padding: 7px 14px; font-size: 13px; }
.btn-lg  { padding: 14px 28px; font-size: 16px; }
.btn-xl  { padding: 18px 36px; font-size: 18px; }
.w-full  { width: 100%; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #1A0A2E 0%, #3D1A6E 45%, #7B2D8B 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 100px 24px 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; max-width: 720px; text-align: center;
}
.hero-eyebrow {
  display: inline-block; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 28px;
}
.hero-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(30px, 5vw, 52px); font-weight: 900;
  color: #fff; line-height: 1.25; margin-bottom: 20px;
}
.grad-rose {
  background: linear-gradient(135deg, #FF6EC7, #FFB347);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 16px; color: rgba(255,255,255,.8);
  line-height: 1.8; margin-bottom: 36px;
}
.hero-subtitle strong { color: #FFD700; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.hero-reassurance {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  color: rgba(255,255,255,.6); font-size: 13px;
}

/* ─── SECTIONS ─── */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-eyebrow {
  font-size: 13px; font-weight: 700; color: var(--rose);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  color: var(--ink); margin-bottom: 12px;
}
.section-desc { color: var(--gray-600); font-size: 15px; margin-bottom: 36px; }

/* Position */
.position-section { padding: 80px 0; background: var(--white); }
.position-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.position-tag {
  display: inline-block; background: var(--rose-soft);
  color: var(--rose); font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .08em;
}
.position-left h2 { font-family: 'Noto Serif TC', serif; font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.position-left p { color: var(--gray-600); line-height: 1.9; }

.compare-table { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); }
.compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.compare-row > div { padding: 12px 14px; font-size: 13px; border-bottom: 1px solid var(--gray-200); }
.header-row { background: var(--gray-100); font-weight: 700; font-size: 12px; }
.col-other { text-align: center; color: var(--gray-400); }
.col-ours  { text-align: center; background: var(--rose-soft); }
.col-highlight { color: var(--rose); font-weight: 700; }

/* How */
.how-section { padding: 80px 0; background: var(--gray-100); }
.how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.how-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: var(--transition); border: 1px solid transparent;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.how-num { font-size: 48px; font-weight: 900; color: var(--gray-200); line-height: 1; margin-bottom: 4px; font-family: 'Noto Serif TC', serif; }
.how-icon { font-size: 32px; margin-bottom: 12px; }
.how-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.how-card p  { color: var(--gray-600); font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.how-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-gold   { background: var(--gold-soft); color: var(--gold); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.tag-purple { background: var(--purple-soft); color: var(--purple); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.tag-blue   { background: #EFF6FF; color: #2563EB; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.tag-rose   { background: var(--rose-soft); color: var(--rose); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 50px; }

/* Reports */
.reports-section { padding: 80px 0; background: var(--white); }
.reports-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.report-card {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  padding: 24px; position: relative; transition: var(--transition);
}
.report-card:hover { border-color: var(--rose); box-shadow: var(--shadow-md); }
.report-card-featured { border-color: var(--rose); background: var(--rose-soft); }
.report-badge-top {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--rose); color: #fff; font-size: 11px; font-weight: 700;
  padding: 2px 12px; border-radius: 50px;
}
.report-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.report-icon { font-size: 28px; }
.report-header h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.report-free-badge   { background: #D1FAE5; color: #065F46; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 50px; display: inline-block; }
.report-unlock-badge { background: var(--gold-soft); color: #92400E; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 50px; display: inline-block; }
.report-features { list-style: none; font-size: 13px; color: var(--gray-600); margin-bottom: 16px; }
.report-features li { padding: 4px 0; border-bottom: 1px solid var(--gray-200); }
.premium-feature { color: var(--gray-400) !important; }
.report-price { display: flex; flex-direction: column; gap: 4px; }
.price-free   { font-size: 13px; color: #065F46; font-weight: 600; }
.price-unlock { font-size: 13px; color: var(--gray-600); }
.price-unlock strong { color: var(--rose); }
.price-note   { font-size: 12px; color: var(--gray-400); }

/* Pricing */
.pricing-section { padding: 80px 0; background: var(--gray-100); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.pricing-card { background: var(--white); border-radius: var(--radius-xl); padding: 32px; border: 1.5px solid var(--gray-200); }
.pricing-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.pricing-desc { color: var(--gray-400); font-size: 13px; margin-bottom: 24px; }
.pricing-note { text-align: center; font-size: 12px; color: var(--gray-400); margin-top: 12px; }

.credit-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.credit-option {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 14px 18px; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: space-between; position: relative;
}
.credit-option:hover, .credit-option.selected { border-color: var(--rose); background: var(--rose-soft); }
.credit-option.best-value { border-color: var(--gold); }
.credit-badge { position: absolute; top: -8px; right: 12px; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 50px; }
.credit-amount { font-weight: 700; font-size: 16px; }
.credit-price  { font-size: 14px; color: var(--gray-600); }
.credit-saving { font-size: 12px; color: var(--rose); font-weight: 600; }

.pricing-card-premium { border-color: var(--gold); position: relative; overflow: hidden; }
.premium-ribbon {
  position: absolute; top: 20px; right: -28px;
  background: var(--gold); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 36px; transform: rotate(35deg);
}
.premium-price { margin: 16px 0; }
.price-big { font-size: 36px; font-weight: 900; color: var(--ink); }
.price-per { font-size: 16px; color: var(--gray-400); }
.premium-includes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.premium-item { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.premium-item strong { color: var(--rose); }

.free-tier-note {
  background: var(--white); border-radius: var(--radius); padding: 20px 28px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  border: 1px dashed var(--gray-200);
}
.free-tier-note h4 { width: 100%; font-size: 14px; color: var(--gray-400); margin-bottom: 4px; }
.free-tier-note span { font-size: 13px; color: var(--gray-600); }

/* Proof */
.proof-section { padding: 80px 0; background: var(--white); }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.testimonial-card {
  background: var(--gray-100); border-radius: var(--radius);
  padding: 28px; border-left: 4px solid var(--rose);
}
.testimonial-quote { font-size: 14px; color: var(--gray-600); line-height: 1.9; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), #FF6EC7);
  color: #fff; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-name  { font-weight: 600; font-size: 14px; }
.testimonial-label { font-size: 12px; color: var(--rose); }

/* CTA */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1A0A2E, #3D1A6E);
  text-align: center; color: #fff;
}
.cta-section h2 { font-family: 'Noto Serif TC', serif; font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,.7); margin-bottom: 28px; }
.cta-note { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 14px; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 40px 24px; text-align: center; }
.footer-logo { font-family: 'Noto Serif TC', serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-tagline { font-size: 14px; margin-bottom: 20px; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }

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

/* ─── AUTH MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(26,10,46,.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 36px; width: 100%; max-width: 420px;
  position: relative; box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
}
.modal-lg { max-width: 680px; }
.modal-md { max-width: 520px; }
.modal-sm { max-width: 380px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); }
.modal-body { padding: 4px 0; }
.modal-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gray-200); }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--gray-400); position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); }
.modal-close:hover { background: var(--gray-200); color: var(--ink); }

.auth-logo { font-family: 'Noto Serif TC', serif; font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-modal h2 { text-align: center; font-size: 20px; margin-bottom: 20px; }
.auth-social { margin-bottom: 16px; }
.auth-divider { text-align: center; color: var(--gray-400); font-size: 13px; margin: 14px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content:''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--gray-200); }
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-switch { text-align: center; font-size: 13px; color: var(--gray-400); margin-top: 16px; }
.auth-switch a { color: var(--rose); text-decoration: none; font-weight: 600; }

/* ─── FORM ─── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.required { color: var(--rose); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); font-family: inherit;
  font-size: 15px; color: var(--ink); background: var(--white);
  transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--rose); box-shadow: 0 0 0 3px rgba(233,30,140,.1);
}
.form-group input[type="date"] { appearance: none; }

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-option { display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: 14px; }
.radio-option input { width: 18px; height: 18px; accent-color: var(--rose); cursor: pointer; }

/* ─── ONBOARDING ─── */
.onboard-container { max-width: 600px; margin: 0 auto; padding: 80px 24px 40px; }
.onboard-header { margin-bottom: 32px; }
.onboard-progress-bar { height: 4px; background: var(--gray-200); border-radius: 2px; margin-bottom: 8px; }
.onboard-progress-fill { height: 100%; background: linear-gradient(90deg, var(--rose), #FF6EC7); border-radius: 2px; transition: width .4s ease; width: 14.28%; }
.onboard-step-label { text-align: right; font-size: 13px; color: var(--gray-400); }

.onboard-step { display: none; animation: fadeUp .3s ease; }
.onboard-step.active { display: block; }
@keyframes fadeUp { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform: translateY(0); } }

.step-icon { font-size: 44px; margin-bottom: 16px; text-align: center; }
.onboard-step h2 { font-family: 'Noto Serif TC', serif; font-size: 26px; font-weight: 700; text-align: center; margin-bottom: 8px; }
.step-desc { color: var(--gray-600); text-align: center; font-size: 14px; margin-bottom: 28px; line-height: 1.7; }

.bazi-preview {
  background: linear-gradient(135deg, #1A0A2E, #3D1A6E);
  border-radius: var(--radius); padding: 20px; margin-top: 12px; color: #fff;
}
.bazi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bazi-pillar { text-align: center; }
.bazi-label { font-size: 11px; opacity: .6; margin-bottom: 4px; }
.bazi-char  { font-size: 24px; font-weight: 900; font-family: 'Noto Serif TC', serif; color: #FFD700; }
.bazi-note  { text-align: center; font-size: 12px; opacity: .6; margin-top: 12px; }

.question-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 28px; }
.question-item { }
.q-text { font-weight: 600; margin-bottom: 12px; font-size: 15px; }
.scale-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.scale-label { font-size: 12px; color: var(--gray-400); flex: 1; min-width: 70px; }
.scale-label:last-child { text-align: right; }
.scale-btns { display: flex; gap: 6px; }
.scale-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gray-200);
  background: var(--white); cursor: pointer; font-size: 13px; font-weight: 600;
  transition: var(--transition); color: var(--gray-600);
}
.scale-btn.active { background: var(--rose); border-color: var(--rose); color: #fff; }
.scale-btn:hover:not(.active) { border-color: var(--rose); color: var(--rose); }

.choice-group { display: flex; flex-direction: column; gap: 8px; }
.choice-btn {
  width: 100%; text-align: left; padding: 12px 16px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--white); cursor: pointer; font-size: 14px; font-family: inherit;
  transition: var(--transition); color: var(--ink);
}
.choice-btn.active { border-color: var(--rose); background: var(--rose-soft); color: var(--rose); font-weight: 600; }
.choice-btn:hover:not(.active) { border-color: var(--rose); }

.interest-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.interest-chip {
  padding: 8px 16px; border-radius: 50px;
  border: 1.5px solid var(--gray-200); background: var(--white);
  cursor: pointer; font-size: 14px; font-family: inherit; transition: var(--transition);
}
.interest-chip.active { border-color: var(--rose); background: var(--rose-soft); color: var(--rose); font-weight: 600; }

.photo-upload-area {
  border: 2px dashed var(--gray-200); border-radius: var(--radius);
  padding: 40px; text-align: center; cursor: pointer;
  transition: var(--transition); margin-bottom: 24px;
}
.photo-upload-area:hover { border-color: var(--rose); background: var(--rose-soft); }
.photo-preview { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.upload-icon { font-size: 40px; margin-bottom: 8px; }
.upload-note { font-size: 12px; color: var(--gray-400); margin-top: 6px; }

.final-summary { background: var(--gray-100); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.final-summary h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--gray-600); }

.submit-note { text-align: center; font-size: 12px; color: var(--gray-400); margin-top: 10px; }

.step-nav { display: flex; gap: 12px; margin-top: 12px; }
.step-nav .btn { flex: 1; }

/* ─── DASHBOARD ─── */
.dashboard-container {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 0; min-height: 100vh; padding-top: 60px;
}
.dash-sidebar {
  background: var(--white); border-right: 1px solid var(--gray-200);
  padding: 24px 16px; position: sticky; top: 60px; height: calc(100vh - 60px);
  overflow-y: auto;
}
.user-card { text-align: center; padding: 20px 0 20px; border-bottom: 1px solid var(--gray-200); margin-bottom: 16px; }
.user-avatar-lg {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--rose), #FF6EC7);
  color: #fff; font-size: 28px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.user-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.user-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.premium-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #D4A843, #E8C76A);
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 50px; margin-top: 8px;
}

.credits-card {
  background: linear-gradient(135deg, #1A0A2E, #3D1A6E);
  border-radius: var(--radius); padding: 16px; margin-bottom: 16px; text-align: center;
}
.credits-label { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.credits-amount { font-size: 28px; font-weight: 900; color: #FFD700; margin-bottom: 10px; }

.dash-nav { display: flex; flex-direction: column; gap: 4px; }
.dash-nav-btn {
  width: 100%; text-align: left; padding: 11px 14px;
  border-radius: var(--radius-sm); border: none; background: none;
  cursor: pointer; font-size: 14px; font-family: inherit; color: var(--gray-600);
  transition: var(--transition); display: flex; align-items: center; justify-content: space-between;
}
.dash-nav-btn:hover, .dash-nav-btn.active { background: var(--rose-soft); color: var(--rose); font-weight: 600; }
.likes-count-badge {
  background: var(--rose); color: #fff; font-size: 11px; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}

.dash-main { padding: 24px; }
.dash-tab { display: none; }
.dash-tab.active { display: block; }
.tab-header { margin-bottom: 24px; }
.tab-header h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.tab-desc { color: var(--gray-400); font-size: 14px; }

/* ─── MATCHES ─── */
.matches-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.match-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.match-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.match-photo {
  height: 200px; background: var(--gray-200); position: relative; overflow: hidden;
}
.match-photo img { width: 100%; height: 100%; object-fit: cover; }
.match-avatar {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 60px; font-weight: 700; color: var(--gray-400);
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}
.match-premium-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--gold); color: #fff; width: 24px; height: 24px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.match-info { padding: 14px 16px 0; }
.match-name-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.match-name { font-size: 17px; font-weight: 700; }
.match-age  { font-size: 14px; color: var(--gray-400); }
.match-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.tag-mbti   { background: #EFF6FF; color: #2563EB; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 50px; }
.tag-bazi   { background: var(--gold-soft); color: #92400E; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 50px; }
.tag-attach { background: var(--purple-soft); color: var(--purple); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 50px; }
.match-about { font-size: 13px; color: var(--gray-600); line-height: 1.6; }
.match-actions {
  display: flex; gap: 8px; padding: 12px 16px;
  border-top: 1px solid var(--gray-200); margin-top: 10px;
}
.btn-action {
  flex: 1; padding: 10px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; font-size: 18px; transition: var(--transition);
}
.btn-pass { background: var(--gray-100); color: var(--gray-400); }
.btn-pass:hover { background: #FEE2E2; color: #EF4444; }
.btn-like { background: var(--rose-soft); color: var(--rose); flex: 1.5; }
.btn-like:hover { background: var(--rose); color: #fff; }
.btn-ai   { background: var(--purple-soft); color: var(--purple); }
.btn-ai:hover { background: var(--purple); color: #fff; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 60px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-state p  { color: var(--gray-400); }

/* ─── LOADING ─── */
.loading-dots {
  text-align: center; padding: 40px; color: var(--gray-400); font-size: 14px;
}

/* ─── REPORTS DASHBOARD ─── */
.reports-dashboard { display: flex; flex-direction: column; gap: 16px; }
.report-item-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); padding: 20px;
}
.report-item-card.report-locked { cursor: pointer; }
.report-item-card.report-locked:hover { border-color: var(--rose); }
.ric-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ric-icon   { font-size: 28px; }
.ric-header h4 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.ric-header p  { font-size: 13px; color: var(--gray-400); }
.ric-header .btn { margin-left: auto; flex-shrink: 0; }
.lock-badge {
  margin-left: auto; background: var(--gold-soft); color: #92400E;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 50px;
}
.report-preview { font-size: 14px; color: var(--gray-600); line-height: 1.7; }
.report-preview-text { font-size: 13px; color: var(--gray-400); }

/* ─── AI ANALYSIS ─── */
.ai-score-ring { width: 120px; height: 120px; position: relative; margin: 0 auto 16px; }
.ai-score-ring svg { width: 100%; height: 100%; }
.score-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 28px; font-weight: 900; color: var(--rose);
}
.score-text span { font-size: 14px; }
.ai-summary { text-align: center; font-size: 16px; font-weight: 600; margin-bottom: 20px; color: var(--ink); }
.ai-section { margin-bottom: 16px; }
.ai-section h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.ai-item { font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--gray-200); color: var(--gray-600); }
.ai-strength { color: #065F46; }
.ai-challenge { color: #92400E; }
.ai-advice { background: var(--rose-soft); border-radius: var(--radius-sm); padding: 16px; }
.ai-advice h4 { color: var(--rose); }

/* ─── LIKES ─── */
.premium-blur-wrapper { position: relative; text-align: center; }
.blur-cards { display: flex; gap: 12px; justify-content: center; margin-bottom: -60px; filter: blur(8px); pointer-events: none; }
.blur-card { width: 80px; height: 80px; border-radius: 50%; background: var(--gray-200); }
.premium-gate {
  position: relative; background: rgba(255,255,255,.9);
  border: 1.5px dashed var(--rose); border-radius: var(--radius);
  padding: 30px; margin-top: 20px;
}
.lock-icon { font-size: 40px; margin-bottom: 12px; }

/* ─── TAROT ─── */
.tarot-preview { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--gray-200); }

/* ─── UPGRADES ─── */
.upgrade-icon { font-size: 48px; text-align: center; margin-bottom: 12px; }
.upgrade-benefits { background: var(--gray-100); border-radius: var(--radius-sm); padding: 16px; margin: 16px 0; font-size: 14px; }
.upgrade-benefits div { padding: 6px 0; border-bottom: 1px solid var(--gray-200); }
.upgrade-benefits div:last-child { border-bottom: none; }

.match-celebration { font-size: 64px; text-align: center; animation: bounce .5s ease infinite alternate; }
@keyframes bounce { from { transform: scale(1); } to { transform: scale(1.1); } }

/* ─── UNLOCK ─── */
.unlock-icon { font-size: 48px; text-align: center; margin-bottom: 12px; }
.unlock-cost, .unlock-balance { text-align: center; font-size: 15px; margin: 8px 0; }
.unlock-cost strong { color: var(--rose); font-size: 22px; }

/* ─── CREDITS PAGE ─── */
.page-container { max-width: 600px; margin: 0 auto; padding: 80px 24px 40px; }
.back-btn { background: none; border: none; color: var(--gray-400); cursor: pointer; font-size: 14px; margin-bottom: 20px; display: inline-flex; align-items: center; gap: 6px; }
.back-btn:hover { color: var(--ink); }
.page-container h1 { font-family: 'Noto Serif TC', serif; font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.page-desc { color: var(--gray-400); margin-bottom: 28px; }

.credits-balance-card {
  background: linear-gradient(135deg, #1A0A2E, #3D1A6E);
  border-radius: var(--radius); padding: 24px; text-align: center; margin-bottom: 28px;
}
.cb-label { color: rgba(255,255,255,.6); font-size: 13px; margin-bottom: 4px; }
.cb-amount { font-size: 48px; font-weight: 900; color: #FFD700; }

.credits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.credit-buy-card {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  padding: 20px; text-align: center; cursor: pointer; transition: var(--transition); position: relative;
}
.credit-buy-card:hover { border-color: var(--rose); }
.credit-buy-card.best-value { border-color: var(--gold); }
.cbc-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 50px; }
.cbc-amount { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.cbc-price  { font-size: 14px; color: var(--gray-600); margin-bottom: 14px; }
.cbc-price del { color: var(--gray-400); }

.premium-full-card { background: linear-gradient(135deg, #FFF8E7, #FFFBF0); border: 2px solid var(--gold); border-radius: var(--radius-xl); padding: 28px; margin-bottom: 24px; }
.pfc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.pfc-header h3 { font-size: 20px; font-weight: 700; }
.pfc-price { font-size: 24px; font-weight: 900; }
.pfc-price span { font-size: 14px; color: var(--gray-400); }
.pfc-benefits { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.pfc-item { font-size: 14px; }

.payment-methods { text-align: center; color: var(--gray-400); font-size: 13px; margin-top: 24px; }
.payment-icons { display: flex; gap: 12px; justify-content: center; margin-top: 8px; }
.payment-icons span { background: var(--gray-100); border: 1px solid var(--gray-200); padding: 4px 12px; border-radius: var(--radius-sm); font-size: 13px; }

/* ─── ADMIN ─── */
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; padding: 80px 0 0; }
.admin-header h1 { font-size: 26px; font-weight: 700; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 20px; text-align: center; border: 1px solid var(--gray-200); }
.stat-revenue { background: linear-gradient(135deg, var(--rose), #FF6EC7); color: #fff; border: none; }
.stat-revenue .stat-label { color: rgba(255,255,255,.8); }
.stat-num { font-size: 32px; font-weight: 900; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--gray-400); }
.admin-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.admin-table-container { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); overflow: hidden; }

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: #fff; padding: 12px 24px; border-radius: 50px;
  font-size: 14px; z-index: 9999; opacity: 0; transition: all .3s ease;
  max-width: 90vw; text-align: center; box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-success { background: #065F46; }
.toast-error   { background: #B91C1C; }
.toast-info    { background: var(--purple); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .dashboard-container { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--gray-200); }
  .dash-nav { flex-direction: row; flex-wrap: wrap; }
  .dash-nav-btn { flex: 1; min-width: 140px; }
  .position-card { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .credits-grid { grid-template-columns: 1fr; }
  .matches-container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .reports-grid { grid-template-columns: 1fr; }
  .nav { padding: 0 16px; }
  .nav-logo .logo-text { font-size: 17px; }
}

/* ─── LIKER CARDS ─── */
.liker-card { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 50px; padding: 8px 16px 8px 8px; margin: 6px; }
.liker-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--rose); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
