/* ══════════════════════════════════════════════════════════════
   麥麥命理筆記 (mydestinynotes.com) — 共用樣式
   設計 token 與英文站 myeasternastrology.com 完全一致。
   中文站整頁皆為中文，字體改用 Google Fonts 完整版霞鶩文楷
   （LXGW WenKai TC，按 unicode-range 自動切片載入），
   不使用英文站的 117 字 subset 檔。
   ══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #FAF5EE;
  --off-white: #F0E8DF;
  --light-gray: #E8D0D8;
  --mid-gray: #6B5F58;
  --dark: #4B2C3F;
  --accent: #9B5C70;
  --accent-deep: #7A3D52;
  --accent-light: #f5e8ed;
  --radius: 18px;
  --max-w: 980px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'LXGW WenKai TC', 'Kaiti TC', 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  background: var(--white);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── 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: 52px;
  background: rgba(250,245,238,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav-logo { font-size: 17px; font-weight: 700; letter-spacing: 1px; color: var(--dark); text-decoration: none; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--dark); text-decoration: none; opacity: 0.85; transition: opacity var(--transition); }
.nav-links a:hover { opacity: 1; text-decoration: underline; }
.nav-links a.active { opacity: 1; font-weight: 700; }
.nav-cta { font-size: 13px; font-weight: 500; color: var(--white); background: var(--dark); border: none; padding: 7px 16px; border-radius: 980px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background var(--transition); }
.nav-cta:hover { background: var(--accent-deep); }

/* ── HAMBURGER ── */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; margin-right: 12px; -webkit-tap-highlight-color: transparent; }
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-hamburger span + span { margin-top: 5px; }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav-overlay { display: none; position: fixed; top: 52px; left: 0; right: 0; bottom: 0; background: rgba(250,245,238,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 99; flex-direction: column; align-items: center; justify-content: flex-start; padding: 48px 24px; gap: 8px; }
.mobile-nav-overlay.active { display: flex; }
.mobile-nav-overlay a { font-size: 18px; font-weight: 500; color: var(--dark); text-decoration: none; padding: 14px 0; opacity: 0.85; transition: opacity 0.2s; width: 100%; text-align: center; border-bottom: 1px solid rgba(0,0,0,0.06); }
.mobile-nav-overlay a:hover { opacity: 1; }
.mobile-nav-overlay .mobile-nav-cta { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--white); background: var(--dark); border: none; padding: 14px 30px; border-radius: 980px; text-decoration: none; text-align: center; border-bottom: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; flex-direction: column; justify-content: center; }
}

/* ── SECTION BASE ── */
section { padding: 80px 24px; }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 4px; color: var(--accent-deep); margin-bottom: 14px; }
.section-title { font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; letter-spacing: 1px; line-height: 1.25; color: var(--dark); margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--mid-gray); max-width: 620px; line-height: 1.85; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; font-size: 15px; font-weight: 600;
  color: var(--white); background: var(--dark); border: none;
  padding: 14px 30px; border-radius: 980px;
  text-decoration: none; cursor: pointer; font-family: inherit;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(75,44,63,0.25); }
.btn-secondary {
  display: inline-block; font-size: 15px; font-weight: 500;
  color: var(--dark); background: transparent; border: 1.5px solid rgba(75,44,63,0.3);
  padding: 12px 26px; border-radius: 980px;
  text-decoration: none; cursor: pointer; font-family: inherit;
  transition: border-color var(--transition), background var(--transition);
}
.btn-secondary:hover { border-color: var(--dark); background: rgba(75,44,63,0.04); }

/* ── FOOTER ── */
footer {
  background: #2E1424; color: rgba(250,245,238,0.5); text-align: center;
  padding: 40px 24px; font-size: 13px; line-height: 2;
}
footer a { color: var(--accent); text-decoration: underline; }
footer .footer-entity { font-size: 11.5px; opacity: 0.7; letter-spacing: 0.03em; }
