/* ==========================================================================
   MINH TRIẾT GIA — MODERN FLAT LIGHT DESIGN SYSTEM (VANILLA CSS)
   Phong cách Hiện Đại, Phẳng, Tối Ưu Đọc Sâu & Tri Thức Cao Cấp (Clean & Flat)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Modern Flat Light Palette - High Contrast & Eye Comfort */
  --bg-deep: #f8fafc;        /* Slate 50 - Nền trang dịu mắt, tránh chói lóa */
  --bg-surface: #ffffff;     /* Trắng phẳng chuẩn cho card và panels */
  --bg-card: #ffffff;        /* Thẻ nội dung màu trắng tinh tế */
  --bg-card-hover: #ffffff;
  --bg-subtle: #f1f5f9;      /* Slate 100 - Nền khối phụ, tab bar, inputs */
  --bg-input: #ffffff;       /* Nền ô nhập liệu */

  /* Sacred Amber / Royal Gold - Sang trọng, tương phản cao trên nền sáng */
  --primary-gold: #d97706;        /* Amber 600 */
  --primary-gold-light: #b45309;  /* Amber 700 - Đọc chữ sắc nét */
  --primary-gold-bright: #b45309; /* Amber 700 */
  --primary-gold-dark: #78350f;   /* Amber 900 */
  --primary-gold-subtle: #fef3c7; /* Amber 100 - Nền huy hiệu, tag */
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gold-glow: 0 4px 14px rgba(217, 119, 6, 0.2);

  /* Deep Indigo & Wisdom Violet */
  --accent-violet: #4f46e5;       /* Indigo 600 */
  --accent-violet-light: #4338ca; /* Indigo 700 */
  --accent-violet-dark: #312e81;  /* Indigo 900 */
  --accent-violet-subtle: #e0e7ff;/* Indigo 100 */
  --violet-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --violet-glow: 0 4px 14px rgba(79, 70, 229, 0.2);

  --accent-cyan: #0284c7;         /* Sky 600 */
  --accent-cyan-subtle: #e0f2fe;  /* Sky 100 */
  --accent-rose: #e11d48;         /* Rose 600 */
  --accent-rose-subtle: #ffe4e6;  /* Rose 100 */
  --accent-emerald: #059669;      /* Emerald 600 */
  --accent-emerald-subtle: #d1fae5;

  /* Modern Flat Crisp Borders (1px tinh tế, không viền mờ tối) */
  --border-subtle: #e2e8f0;       /* Slate 200 */
  --border-card: #e2e8f0;         /* Slate 200 */
  --border-hover: #cbd5e1;        /* Slate 300 */
  --border-gold: #f59e0b;
  --border-violet: #818cf8;

  /* High Contrast Readability Text - Chuẩn WCAG AAA */
  --text-primary: #0f172a;        /* Slate 900 - Đen mực đậm nét cho tiêu đề */
  --text-secondary: #334155;      /* Slate 700 - Than chì dịu mắt cho văn bản dài */
  --text-muted: #64748b;          /* Slate 500 - Thông tin phụ, ngày tháng, nhãn */
  --text-dim: #94a3b8;            /* Slate 400 */
  --text-gold: #b45309;           /* Amber 700 */
  --text-gold-bright: #92400e;

  /* Typography - 100% Full Vietnamese Glyph Support */
  --font-heading: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w-container: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Modern Flat Shadows (Micro-elevation sạch sẽ, tinh gọn) */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-glass: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: light;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-secondary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: none;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

@supports not (overflow-x: clip) {
  html, body {
    overflow-x: hidden;
  }
}

img, svg, canvas, video {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p, span, a, label {
  overflow-wrap: break-word;
  word-break: break-word;
}


/* ==========================================================================
   CELESTIAL ZODIAC & SACRED GEOMETRY DYNAMIC BACKGROUND (HIỆU ỨNG CUNG HOÀNG ĐẠO)
   ========================================================================== */
.celestial-canvas-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.celestial-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.zodiac-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-large {
  width: 1100px;
  height: 1100px;
  border: 1.5px dashed rgba(217, 119, 6, 0.08);
  animation: orbitRotate 160s linear infinite;
}

.orbit-medium {
  width: 750px;
  height: 750px;
  border: 1px dotted rgba(79, 70, 229, 0.08);
  animation: orbitRotateRev 110s linear infinite;
}

.orbit-small {
  width: 480px;
  height: 480px;
  border: 1px dashed rgba(2, 132, 199, 0.07);
  animation: orbitRotate 80s linear infinite;
}

@keyframes orbitRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitRotateRev {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Floating Zodiac Glyphs (Nét mờ tinh tế cho Sacred Geometry nền sáng) */
.zodiac-drift {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  pointer-events: none;
}

.z-glyph {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: rgba(217, 119, 6, 0.07);
  line-height: 1;
  letter-spacing: -0.04em;
}

.z-name {
  font-size: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(100, 116, 139, 0.16);
  margin-top: 4px;
}

/* 12 Individual Floating Behaviors with staggered timing */
.z-1  { animation: zodiacFloat1 24s ease-in-out infinite; }
.z-2  { animation: zodiacFloat2 28s ease-in-out infinite 2s; }
.z-2 .z-glyph { color: rgba(79, 70, 229, 0.07); }
.z-3  { animation: zodiacFloat3 26s ease-in-out infinite 4s; }
.z-4  { animation: zodiacFloat1 30s ease-in-out infinite 1s; }
.z-4 .z-glyph { color: rgba(2, 132, 199, 0.07); }
.z-5  { animation: zodiacFloat2 25s ease-in-out infinite 5s; }
.z-6  { animation: zodiacFloat3 32s ease-in-out infinite 3s; }
.z-6 .z-glyph { color: rgba(225, 29, 72, 0.07); }
.z-7  { animation: zodiacFloat1 27s ease-in-out infinite 6s; }
.z-8  { animation: zodiacFloat2 29s ease-in-out infinite 2s; }
.z-9  { animation: zodiacFloat3 31s ease-in-out infinite 4s; }
.z-9 .z-glyph { color: rgba(79, 70, 229, 0.07); }
.z-10 { animation: zodiacFloat1 26s ease-in-out infinite 1s; }
.z-11 { animation: zodiacFloat2 33s ease-in-out infinite 5s; }
.z-11 .z-glyph { color: rgba(2, 132, 199, 0.07); }
.z-12 { animation: zodiacFloat3 28s ease-in-out infinite 3s; }

@keyframes zodiacFloat1 {
  0% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-30px) translateX(20px) rotate(8deg); opacity: 0.55; }
  100% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 0.3; }
}

@keyframes zodiacFloat2 {
  0% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 0.35; }
  50% { transform: translateY(28px) translateX(-24px) rotate(-8deg); opacity: 0.6; }
  100% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 0.35; }
}

@keyframes zodiacFloat3 {
  0% { transform: translateY(0px) translateX(0px) scale(0.95); opacity: 0.3; }
  50% { transform: translateY(-22px) translateX(-18px) scale(1.05); opacity: 0.55; }
  100% { transform: translateY(0px) translateX(0px) scale(0.95); opacity: 0.3; }
}

/* Typography Defaults - High Contrast on Light Background */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-secondary);
  font-size: 1.025rem;
  line-height: 1.7;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-gold-dark);
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-w-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.text-gradient-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-violet {
  background: var(--violet-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--primary-gold-light); }
.text-violet { color: var(--accent-violet); }
.text-emerald { color: var(--accent-emerald); }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* Modern Flat Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.glass-card.gold-border {
  border-color: #fde68a;
  background: #ffffff;
}

.glass-card.gold-border:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12);
}

.glass-card.violet-border {
  border-color: #c7d2fe;
  background: #ffffff;
}

.glass-card.violet-border:hover {
  border-color: var(--accent-violet);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12);
}

/* Modern Flat Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  line-height: 1;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
  transform: translateY(-1px);
}

.btn-violet {
  background: var(--violet-gradient);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.25);
}

.btn-violet:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: #ffffff;
  border: 1.5px solid var(--primary-gold);
  color: var(--primary-gold);
  font-weight: 700;
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.btn-icon:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-subtle);
}

/* Modern Flat Form Styles */
.form-group {
  margin-bottom: 1.35rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.55rem;
  letter-spacing: 0.01em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
  background: #ffffff;
}

.form-input::placeholder {
  color: #94a3b8;
}

/* ==========================================================================
   SITE HEADER & COMPACT NAVIGATION (FIX MENU QUÁ DÀI)
   ========================================================================== */
/* ==========================================================================
   SITE HEADER & COMPACT NAVIGATION (MODERN FLAT LIGHT)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000 !important;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  transition: var(--transition-normal);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo {
  height: 44px;
  width: auto;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--bg-subtle);
}

/* Dropdown Menu Tra Cứu */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle .chevron-icon {
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-toggle .chevron-icon,
.nav-dropdown.active .dropdown-toggle .chevron-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 330px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.65rem;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 1000;
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: #f8fafc;
  transform: translateX(3px);
}

.dropdown-icon {
  font-size: 1.35rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.dropdown-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.dropdown-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}

.dropdown-item:hover .dropdown-title {
  color: var(--primary-gold);
}

/* Highlight Nav Item (Tra cứu miễn phí) */
.nav-highlight {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e !important;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.nav-highlight:hover {
  background: var(--gold-gradient);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-login {
  color: var(--text-secondary);
  font-weight: 600;
  margin-right: 0.5rem;
}

.nav-login:hover {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(217, 119, 6, 0.15);
  line-height: 1;
  position: relative;
  z-index: 2060 !important;
  pointer-events: auto !important;
  user-select: none;
  -webkit-user-select: none;
}
.mobile-menu-btn:active {
  background: #f1f5f9;
  transform: scale(0.92);
}

@media (max-width: 991px) {
  .mobile-menu-btn { display: inline-flex !important; }
  .main-nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border-bottom: 2px solid var(--border-subtle) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 1.25rem 1.5rem 2rem !important;
    gap: 0.65rem !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15) !important;
    max-height: calc(100vh - 65px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 2050 !important;
    pointer-events: auto !important;
  }
  .main-nav.active { display: flex !important; }
  .nav-dropdown { width: 100% !important; position: static !important; }
  .nav-dropdown .dropdown-toggle {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 0.85rem 1rem !important;
    font-size: 1rem !important;
    background: #f8fafc !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 12px !important;
  }
  .nav-dropdown .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border: 1px solid var(--border-subtle) !important;
    margin-top: 0.4rem !important;
    padding: 0.5rem !important;
    background: #ffffff !important;
    animation: none !important;
  }
  .nav-dropdown .dropdown-menu::before {
    display: none !important;
  }
}

/* ==========================================================================
   HERO SECTION & 4-IN-1 INTERACTIVE LOOKUP WIDGET (MODERN FLAT LIGHT)
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-full);
  color: #92400e;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  text-shadow: none;
}

/* Lookup Tabs Widget */
.lookup-widget {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.tab-nav {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  min-width: 135px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: #ffffff !important;
  font-weight: 800;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Numerology Indicator Badges & Circle */
.number-badge-lg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  background: #fef3c7;
  border: 2.5px solid #f59e0b;
  color: #b45309;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.15);
  margin: 0 auto 1rem;
}

.number-badge-md {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  background: #fef3c7;
  border: 2px solid #f59e0b;
  color: #b45309;
}

/* 3x3 Pythagoras Matrix Grid (Modern Flat Light) */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 240px;
  height: 240px;
  margin: 0 auto;
}

.chart-cell {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  color: #94a3b8;
  transition: var(--transition-fast);
}

.chart-cell.active {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  font-weight: 900;
  box-shadow: none;
}

/* Kim Tự Tháp 4 Đỉnh Cao (Pinnacles) */
.pyramid-wrapper {
  position: relative;
  max-width: 650px;
  margin: 2rem auto;
  padding: 1rem 0;
}

.pinnacle-node {
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* Radar & Love Meter */
.love-meter {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff1f2;
  border: 3px solid #f43f5e;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.15);
  margin: 0 auto;
}

.love-meter .score {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: #e11d48;
  line-height: 1;
}

.love-meter .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #9f1239;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Pricing Cards */
.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border-color: #f59e0b;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.12);
  transform: scale(1.02);
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.price-tag {
  font-family: var(--font-heading);
  font-size: 2.45rem;
  font-weight: 900;
  color: #b45309;
  line-height: 1.1;
  margin: 1.25rem 0;
}

.price-original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-left: 0.5rem;
}

/* Floating Actions */
.floating-widget {
  position: fixed;
  bottom: 52px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
  outline: none;
}

.floating-btn:hover {
  transform: scale(1.12);
  color: #fff;
}

.floating-btn.back-to-top {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35) !important;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease, box-shadow 0.2s ease !important;
  padding: 0;
}

.floating-btn.back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-btn.back-to-top:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5) !important;
  color: #ffffff !important;
}

.floating-btn.back-to-top:active {
  transform: translateY(0) scale(0.95) !important;
}

.floating-btn.zalo { background: #0068ff; }
.floating-btn.messenger { background: #0084ff; }
.floating-btn.phone { background: var(--accent-emerald); }

/* Modal Styles (Modern Flat Light) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
  background: #e2e8f0;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.25s ease-out;
}

.toast.success { border-left: 4px solid var(--accent-emerald); }
.toast.error { border-left: 4px solid var(--accent-rose); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Footer Styles (Modern Flat Light) */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Report 2-Column Grid & Sticky Donate VietQR Widget
   ========================================================================== */
.report-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 2.5rem;
  align-items: stretch;
  position: relative;
}

.report-main-content {
  min-width: 0;
  width: 100%;
}

.report-sidebar {
  position: relative;
  height: 100%;
}

.donate-sticky-card {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  z-index: 20;
}

@media (max-width: 1080px) {
  .report-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .report-sidebar {
    height: auto;
  }
  .donate-sticky-card {
    position: static !important;
    max-width: 520px;
    margin: 0 auto 3rem;
  }
}

.btn-donate-amount {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-donate-amount:hover {
  border-color: #cbd5e1;
  background: #e2e8f0;
  color: var(--text-primary);
}

.btn-donate-amount.active {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.btn-copy-mini {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 3px 6px;
  border-radius: 6px;
  transition: transform 0.15s ease;
}

.btn-copy-mini:hover {
  transform: scale(1.15);
  background: #e2e8f0;
}

/* Modern Flat Interpretation Cards */
.interpretation-card {
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.interpretation-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.interpretation-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.4;
  font-weight: 800;
}

.interpretation-body {
  font-size: 1.025rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.interpretation-body p {
  margin-bottom: 1.15rem;
}

.interpretation-body strong {
  color: var(--text-primary);
  font-weight: 700;
}

.interpretation-body hr {
  border: none !important;
  border-top: 1px solid #e2e8f0 !important;
  margin: 3.25rem 0 1.65rem !important;
  clear: both;
}

.interpretation-body h3 {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-top: 1.65rem !important;
  margin-bottom: 1.15rem !important;
  line-height: 1.45 !important;
  letter-spacing: -0.01em !important;
}

.interpretation-body hr + h3 {
  margin-top: 0 !important;
}

.interpretation-body blockquote {
  border-left: 4px solid var(--primary-gold);
  background: #f8fafc;
  padding: 1rem 1.25rem;
  border-radius: 0 12px 12px 0;
  margin: 1.35rem 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* ==========================================================================
   INTERPRETATION RICH TABLES & FORMATTING (BẢNG ĐO LƯỜNG NĂNG LƯỢNG)
   ========================================================================== */
.interpretation-body table,
.love-article-body table,
.inter-content-table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 1.75rem 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  display: table !important;
}

.interpretation-body thead,
.love-article-body thead,
.love-article-body tr:first-child:has(th),
.inter-content-table thead {
  background: #f8fafc !important;
}

.interpretation-body th,
.love-article-body th,
.inter-content-table th {
  background: #f8fafc !important;
  color: #0f172a !important;
  padding: 1.15rem 1.35rem !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  border-bottom: 2px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  text-align: left !important;
  letter-spacing: -0.01em !important;
  line-height: 1.4 !important;
}

.interpretation-body th:last-child,
.love-article-body th:last-child,
.inter-content-table th:last-child {
  border-right: none !important;
}

.interpretation-body td,
.love-article-body td,
.inter-content-table td {
  padding: 1.25rem 1.35rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-right: 1px solid #f1f5f9 !important;
  color: #334155 !important;
  font-size: 0.98rem !important;
  line-height: 1.75 !important;
  vertical-align: top !important;
  background: #ffffff !important;
  transition: background-color 0.15s ease !important;
}

.interpretation-body td:last-child,
.love-article-body td:last-child,
.inter-content-table td:last-child {
  border-right: none !important;
}

.interpretation-body tr:last-child td,
.love-article-body tr:last-child td,
.inter-content-table tr:last-child td {
  border-bottom: none !important;
}

.interpretation-body tr:hover td,
.love-article-body tr:hover td,
.inter-content-table tr:hover td {
  background: #fafaf9 !important;
}

.love-article-body td:first-child {
  color: #0f172a !important;
  font-weight: 700 !important;
  background: #f8fafc !important;
  min-width: 155px !important;
  width: 26% !important;
  border-right: 1.5px solid #e2e8f0 !important;
}

.love-article-body tr:hover td:first-child {
  background: #f1f5f9 !important;
}

.interpretation-body td strong,
.love-article-body td strong,
.inter-content-table td strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.love-article-body td em {
  color: #b45309 !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

@media (max-width: 768px) {
  .interpretation-body table,
  .inter-content-table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* ==========================================================================
   TOP HORIZONTAL PILL TABS BAR (CHUYÊN ĐỀ PHÍA TRÊN NỘI DUNG ĐỌC)
   ========================================================================== */
.inter-htabs-bar {
  margin-bottom: 2rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 0.65rem 0.75rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.inter-htabs-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.inter-htabs-scroll::-webkit-scrollbar {
  display: none;
}

.inter-htab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.05rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: transparent;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.inter-htab-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #e2e8f0;
}

.inter-htab-btn.active {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  border-color: #f59e0b !important;
  color: #92400e !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15) !important;
}

.inter-htab-btn .inter-tab-badge {
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 9999px;
  font-weight: 800;
}

.inter-htab-btn.active .inter-tab-badge {
  background: #f59e0b;
  color: #ffffff;
}

/* ==========================================================================
   2-COLUMN READING LAYOUT: CONTENT ON LEFT + PERMANENT DONATE ON RIGHT
   ========================================================================== */
.inter-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.25rem;
  align-items: start;
  position: relative;
}

@media (max-width: 992px) {
  .inter-reading-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.inter-panes-col {
  min-width: 0;
}

.inter-reading-sidebar-col {
  position: relative;
  height: 100%;
}

.inter-donate-sidebar-card {
  position: sticky;
  top: 85px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  padding: 1.5rem 1.25rem;
  text-align: center;
  z-index: 10;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inter-donate-sidebar-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   FLOATING TOC TRIGGER BUTTON & OFF-CANVAS DRAWER (WORDPRESS TOC STYLE)
   ========================================================================== */
.floating-toc-trigger-btn {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-100%);
  z-index: 1040;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border: 1.5px solid rgba(217, 119, 6, 0.5);
  border-left: none;
  border-radius: 0 14px 14px 0;
  padding: 0.85rem 1rem 0.85rem 0.75rem;
  box-shadow: 4px 6px 20px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.88rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, background 0.2s ease;
  letter-spacing: 0.02em;
}

.floating-toc-trigger-btn.visible {
  transform: translateY(-50%) translateX(0);
}

.floating-toc-trigger-btn:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-color: #f59e0b;
  padding-right: 1.25rem;
  box-shadow: 6px 8px 25px rgba(217, 119, 6, 0.35);
  color: #fde68a;
}

.floating-toc-trigger-btn .ftoc-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.floating-toc-trigger-btn .ftoc-chevron {
  font-size: 0.75rem;
  color: #f59e0b;
  transition: transform 0.2s ease;
}

.floating-toc-trigger-btn:hover .ftoc-chevron {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .floating-toc-trigger-btn {
    top: 55% !important;
    padding: 0.55rem 0.6rem 0.55rem 0.45rem !important;
    border-radius: 0 10px 10px 0 !important;
    gap: 0 !important;
    box-shadow: 2px 4px 14px rgba(15, 23, 42, 0.22) !important;
    max-width: 36px !important;
    opacity: 0.92;
  }
  .floating-toc-trigger-btn .ftoc-text,
  .floating-toc-trigger-btn .ftoc-chevron {
    display: none !important;
  }
  .floating-toc-trigger-btn .ftoc-icon {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    display: block !important;
  }
}

/* Off-canvas Backdrop */
.toc-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1045;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.toc-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Off-canvas Panel */
.toc-drawer-panel {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 1050;
  box-shadow: 8px 0 35px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1.5px solid #e2e8f0;
}

.toc-drawer-panel.active {
  transform: translateX(0);
}

.toc-drawer-header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toc-drawer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.toc-drawer-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.toc-drawer-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.toc-drawer-body {
  padding: 1rem 0.85rem;
  overflow-y: auto;
  flex: 1;
}

.toc-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-drawer-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.toc-drawer-item:hover {
  background: #f8fafc;
  color: #b45309;
  border-color: #e2e8f0;
  transform: translateX(3px);
}

.toc-drawer-item.active {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b;
  color: #92400e;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
}

.toc-drawer-item .item-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.toc-drawer-item .item-name {
  flex: 1;
}

.toc-drawer-item .item-badge {
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
}

.toc-drawer-item.active .item-badge {
  background: #f59e0b;
  color: #ffffff;
}

.toc-drawer-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 6px 0;
}

@media (max-width: 992px) {
  .inter-sidebar-sticky-box {
    position: static;
    padding: 0.85rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }
  .inter-vertical-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .inter-vtab-btn {
    min-width: 220px;
    flex-shrink: 0;
  }
}

@media (max-width: 380px) {
  .inter-tabs-nav {
    grid-template-columns: 1fr;
  }
  .inter-tab-btn {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.65rem 0.85rem;
  }
}

.inter-tab-pane {
  display: none;
  animation: interPaneFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.inter-tab-pane.active {
  display: block;
}

@keyframes interPaneFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   12-Month Fortune Wave & Energy Rhythm Styles (Modern Flat Light)
   ========================================================================== */
.fortune-wave-container {
  position: relative;
  width: 100%;
  height: 260px;
  margin: 1.5rem 0 1.25rem;
}

.fortune-wave-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-tooltip {
  position: absolute;
  pointer-events: none;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transform: translate(-50%, -125%);
  transition: opacity 0.15s ease, transform 0.15s ease;
  min-width: 220px;
  max-width: 300px;
  text-align: left;
}

.month-mini-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem 0.65rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.month-mini-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.month-mini-card.current-month {
  border-color: var(--primary-gold);
  background: #fef3c7;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}

.month-mini-card.active-selected {
  border-color: var(--accent-violet);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2);
}

.btn-chart-mode {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-chart-mode:hover {
  color: var(--text-primary);
  background: #f1f5f9;
}

.btn-chart-mode.active {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 991px) {
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Mobile Sticky Donate Pill & Bottom Sheet Modal (Modern Flat Light)
   ========================================================================== */
.mobile-donate-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-donate-bar.visible {
  transform: translateY(0);
}

.mobile-donate-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-donate-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-donate-info .coffee-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fef3c7;
  border: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mobile-donate-info .text-wrap {
  display: flex;
  flex-direction: column;
}

.mobile-donate-info .title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.mobile-donate-info .subtitle {
  font-size: 0.72rem;
  color: var(--primary-gold-light);
  line-height: 1.2;
}

.btn-open-donate-sheet {
  background: var(--gold-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 1080px) {
  .mobile-donate-bar {
    display: block !important;
    bottom: 38px !important; /* Dịch lên trên thanh chạy chữ (ticker 38px), không che đè */
    z-index: 990;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.3s ease !important;
  }
  body.ticker-dismissed .mobile-donate-bar,
  body.no-ticker .mobile-donate-bar {
    bottom: 0 !important;
  }
  
  /* Đảm bảo toàn bộ nội dung trang không bị che bởi 2 thanh xếp chồng */
  body {
    padding-bottom: 96px !important;
  }
  body.ticker-dismissed {
    padding-bottom: 58px !important;
  }

  /* Đẩy các nút popup floating (Zalo, Messenger, Back to top) lên trên thanh Gieo duyên */
  .floating-widget {
    bottom: 98px !important;
    right: 16px !important;
  }
  body.ticker-dismissed .floating-widget {
    bottom: 60px !important;
  }
}

/* Donate Bottom Sheet for Mobile */
.donate-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: flex-end;
  justify-content: center;
}

.donate-sheet-overlay.active {
  display: flex;
  animation: sheetFadeIn 0.25s ease-out;
}

.donate-sheet-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem 1.25rem 2.25rem;
  position: relative;
  text-align: center;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
  animation: sheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.donate-sheet-handle {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
  margin: 0 auto 1.25rem;
}

.donate-sheet-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.donate-sheet-close:hover {
  color: var(--text-primary);
  background: #e2e8f0;
}

@keyframes sheetFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Mobile Responsive Overrides */
@media (max-width: 768px) {
  .glass-card {
    padding: 1.25rem 1rem !important;
    border-radius: 14px;
  }
  .interpretation-card {
    padding: 1.25rem 1rem !important;
    border-radius: 14px;
    margin-bottom: 1.25rem;
  }
  .interpretation-card h3 {
    font-size: 1.15rem;
    gap: 0.5rem;
  }
  .interpretation-body {
    font-size: 0.95rem;
    line-height: 1.75;
  }
  .grid-pinnacles {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .floating-widget {
    bottom: 5rem !important;
    right: 1rem !important;
    gap: 0.5rem !important;
  }
  .floating-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.25rem !important;
  }
  .inter-tabs-sticky-wrap {
    top: 60px;
    padding: 0.4rem;
    margin-bottom: 1.5rem;
    border-radius: 14px;
  }
  .inter-tab-btn {
    font-size: 0.82rem;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
  }
}

/* ==========================================================================
   HERO DUAL SHOWCASE & DYNAMIC PYTHAGORAS MANDALA
   ========================================================================== */
.hero-dual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1.5rem;
}

@media (max-width: 1024px) {
  .hero-dual-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Form Tra Cứu Hero Cao Cấp */
.lookup-widget-premium {
  background: #ffffff;
  border: 1.5px solid #fde68a;
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 12px 36px rgba(217, 119, 6, 0.09), 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: all 0.3s ease;
}

.lookup-widget-premium:hover {
  box-shadow: 0 16px 44px rgba(217, 119, 6, 0.13), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lookup-widget-premium .tab-nav {
  display: flex;
  gap: 6px;
  background: #f8fafc;
  padding: 6px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.75rem;
}

.lookup-widget-premium .tab-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.lookup-widget-premium .tab-btn:hover {
  color: var(--text-primary);
  background: #ffffff;
  border-color: #e2e8f0;
}

.lookup-widget-premium .tab-btn.active {
  background: var(--gold-gradient);
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  border-color: transparent;
  transform: translateY(-1px);
}

/* Nút CTA Tra Cứu với hiệu ứng Shimmer Lấp Lánh */
.btn-gold-shimmer {
  background: var(--gold-gradient);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 1.5rem;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.btn-gold-shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
}

.btn-gold-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(30deg);
  animation: btnShimmerAnim 4s infinite linear;
}

@keyframes btnShimmerAnim {
  0% { transform: translateX(-100%) rotate(30deg); }
  35% { transform: translateX(100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

/* Khung Bản Đồ Con Số Động Pythagoras */
.mandala-card-wrapper {
  background: #ffffff;
  border: 1.5px solid #fde68a;
  border-radius: 24px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mandala-svg-box {
  position: relative;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  aspect-ratio: 1/1;
}

.mandala-svg-box svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

/* Hiệu ứng xoay tròn chậm rãi của vòng ngoài */
.mandala-slow-orbit {
  transform-origin: 220px 220px;
  animation: mandalaOrbitAnim 90s linear infinite;
}

@keyframes mandalaOrbitAnim {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hiệu ứng nhịp thở vô cực */
.mandala-infinity-pulse {
  transform-origin: 220px 220px;
  animation: infinityPulseAnim 3.5s ease-in-out infinite;
}

@keyframes infinityPulseAnim {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 6px rgba(14, 116, 144, 0.45)); }
}

/* Các Nút Số 1-9 Tương Tác */
.mandala-node {
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mandala-node circle.node-bg {
  fill: #ffffff;
  stroke: #d4af37;
  stroke-width: 1.5;
  transition: all 0.25s ease;
}

.mandala-node text.node-num {
  fill: #78350f;
  font-family: var(--font-heading), 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 19px;
  text-anchor: middle;
  dominant-baseline: central;
  transition: all 0.25s ease;
}

.mandala-node:hover circle.node-bg,
.mandala-node.active circle.node-bg,
.mandala-node.highlight-active circle.node-bg {
  fill: #f59e0b;
  stroke: #d97706;
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
}

.mandala-node:hover text.node-num,
.mandala-node.active text.node-num,
.mandala-node.highlight-active text.node-num {
  fill: #ffffff !important;
  font-weight: 900;
  font-size: 22px;
}

/* Đường nối hình học thiêng liêng */
.mandala-line {
  stroke: #b89765;
  stroke-width: 1.15;
  opacity: 0.55;
  transition: all 0.3s ease;
}

.mandala-line.active-line,
.mandala-line.highlight-line {
  stroke: #d97706 !important;
  stroke-width: 2.2 !important;
  opacity: 1 !important;
  filter: drop-shadow(0 0 4px rgba(217, 119, 6, 0.7));
}

/* Thẻ Diễn Giải Năng Lượng Tức Thì Của Con Số Đang Chọn */
.mandala-capsule {
  margin-top: 0.85rem;
  background: #fbf8f1;
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 0.65rem 0.95rem;
  text-align: left;
  transition: all 0.3s ease;
  min-height: 64px;
}

.mandala-capsule-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #b45309;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.mandala-capsule-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.mandala-title-caption {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #92400e;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ==========================================================================
   EDITORIAL LUXURY SECTIONS (THE LANGUAGE OF NUMBERS & BIRTH CHART PLATE)
   ========================================================================== */
.font-serif {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, sans-serif;
}

/* SECTION 1: NỀN FOREST GREEN (Hình 3) */
.section-forest {
  background: #173326;
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
}

.section-forest .sub-tag {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c5a880;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-forest .title-serif {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 3rem;
}

.numbers-grid-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .numbers-grid-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

.number-card-flat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 1.5rem 0.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.number-card-flat:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.number-card-flat .num-digit {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.number-card-flat .num-label {
  font-size: 0.75rem;
  color: #d1d5db;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

/* Khi active: nền màu kem, chữ màu xanh rêu (y hệt hình 3 cho số 8) */
.number-card-flat.active {
  background: #FAF6EE !important;
  border-color: #FAF6EE !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.number-card-flat.active .num-digit {
  color: #173326 !important;
  font-weight: 700;
}

.number-card-flat.active .num-label {
  color: #173326 !important;
  font-weight: 600;
}

.number-caption-lead {
  font-size: 0.95rem;
  color: #e5e7eb;
  letter-spacing: 0.01em;
  margin: 0;
  transition: all 0.25s ease;
}

/* SECTION 2: NỀN SAND / WARM CREAM (Hình 1) */
.section-sand {
  background: #F7F4EE;
  color: #1c1917;
  padding: 5.5rem 0;
  border-top: 1px solid #ede7d8;
  border-bottom: 1px solid #ede7d8;
}

.sand-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .sand-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.sand-tag {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #92400e;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sand-title-serif {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1c1917;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.sand-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #57534e;
  margin-bottom: 2rem;
  max-width: 540px;
}

.editorial-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.25rem;
}

.editorial-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e7dfcc;
  text-decoration: none;
  color: #292524;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.editorial-item:hover {
  color: #b45309;
  padding-left: 6px;
}

.editorial-item .num-idx {
  font-size: 0.9rem;
  font-weight: 700;
  color: #92400e;
  margin-right: 1.25rem;
  font-family: monospace;
}

.editorial-item .arrow-diag {
  font-size: 1.1rem;
  color: #a8a29e;
  transition: all 0.2s ease;
}

.editorial-item:hover .arrow-diag {
  color: #b45309;
  transform: translate(2px, -2px);
}

.link-library-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #1c1917;
  text-decoration: none;
  border-bottom: 2px solid #1c1917;
  padding-bottom: 4px;
  transition: all 0.2s ease;
}

.link-library-editorial:hover {
  color: #b45309;
  border-color: #b45309;
}

/* Thẻ Biểu Đồ Ngày Sinh Pythagoras Fig. 01 */
.plate-birth-chart {
  background: #FAF7F0;
  border: 1.5px solid #dfd7c2;
  border-radius: 8px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.plate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #78716c;
  margin-bottom: 1.75rem;
}

.birth-chart-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 2rem;
}

.matrix-cell {
  aspect-ratio: 1/1;
  background: #ffffff;
  border: 1.5px solid #dfd7c2;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #856133;
  transition: all 0.25s ease;
  cursor: pointer;
  user-select: none;
}

.matrix-cell:hover {
  background: #fbf5e8;
  border-color: #b45309;
  transform: scale(1.03);
}

.plate-footer {
  border-top: 1px solid #dfd7c2;
  padding-top: 1.25rem;
  text-align: left;
}

.plate-footer h4 {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.35rem;
}

.plate-footer p {
  font-size: 0.88rem;
  color: #78716c;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   HOMEPAGE REFINED LUXURY HERO BANNER & PROMINENT LOOKUP
   ========================================================================== */
/* 1. Hero Banner Directly Below Menu (Nền kem #FAF8F5 như hình 2) */
.hero-banner-section {
  background: #FAF8F5;
  padding: 2.75rem 0 2.25rem;
  border-bottom: 1px solid #ECE7DE;
  position: relative;
  overflow: hidden;
}

.hero-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-banner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
  color: #8C6D37;
  margin-bottom: 0.75rem;
}

.hero-banner-title {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.26;
  color: #173326;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.hero-banner-title .italic-gold {
  font-style: italic;
  color: #B48648;
  font-weight: 800;
}

.hero-banner-subtitle {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #57534E;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.btn-forest-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #173326;
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(23, 51, 38, 0.18);
}

.btn-forest-cta:hover {
  background: #234d3a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(23, 51, 38, 0.25);
  color: #ffffff;
}

.hero-editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1C1917;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.hero-editorial-link:hover {
  color: #B48648;
  border-color: #B48648;
  transform: translateX(3px);
}

.hero-banner-stat {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  border-top: 1px solid #ECE7DE;
  padding-top: 1rem;
  max-width: 440px;
}

.stat-num {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #B48648;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.stat-text {
  font-size: 0.82rem;
  color: #78716C;
  line-height: 1.45;
  font-weight: 600;
}

/* Mandala Right Column Styling */
.hero-mandala-box {
  background: transparent;
  text-align: center;
  position: relative;
}

.mandala-bottom-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding: 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: #8C6D37;
  text-transform: uppercase;
}

.mandala-bottom-labels .label-left {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #78350F;
}

/* 2. Khối Tra Cứu Nổi Bật (Section Lookup Prominent) */
.section-lookup-prominent {
  background: #FFFFFF;
  padding: 5rem 0 5.5rem;
  position: relative;
  border-bottom: 1px solid #EFEAE0;
}

.lookup-header-box {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.75rem;
}

.badge-reference {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FAF6EE;
  border: 1px solid #E8D8BA;
  color: #8C6D37;
  padding: 0.55rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  letter-spacing: 0.02em;
}

.lookup-section-title {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #173326;
  margin-bottom: 0.95rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.lookup-section-subtitle {
  font-size: 1.05rem;
  color: #57534E;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.lookup-card-prominent {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 2px solid #E8C882;
  border-radius: 28px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 20px 50px rgba(180, 134, 72, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  position: relative;
}

@media (max-width: 768px) {
  .lookup-card-prominent {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }
}

.tab-nav-luxury {
  display: flex;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-luxury-btn {
  flex: 1;
  min-width: 140px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #475569;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.tab-luxury-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.tab-luxury-btn.active {
  background: #173326 !important;
  color: #FFFFFF !important;
  border-color: #173326 !important;
  box-shadow: 0 4px 14px rgba(23, 51, 38, 0.25) !important;
}

.lookup-disclaimer-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #F1F5F9;
  text-align: center;
  font-size: 0.82rem;
  color: #78716C;
  line-height: 1.6;
}

/* ==========================================================================
   BLOG / EDITORIAL ARTICLE LAYOUT (CHI TIẾT CON SỐ THƯ VIỆN)
   ========================================================================== */
.library-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 2.75rem;
  align-items: start;
}

@media (max-width: 992px) {
  .library-blog-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Breadcrumb */
.editorial-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.editorial-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.editorial-breadcrumb a:hover {
  color: #B45309;
}

.editorial-breadcrumb .sep {
  color: #cbd5e1;
}

/* Article Hero Card */
.article-hero-plate {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2rem 1.75rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-hero-plate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d97706, #f59e0b, #173326);
}

.article-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FAF6EE;
  border: 1px solid #E8D8BA;
  color: #8C6D37;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.article-number-symbol {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FAF6EE 0%, #FFFFFF 100%);
  border: 2.5px solid #d97706;
  color: #b45309;
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.18);
}

.article-main-title {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #64748b;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

/* Article Body Typography (Căn đều 2 bên & Cách đoạn rõ ràng theo yêu cầu của User) */
.article-reading-body {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .article-reading-body {
    padding: 2rem 1.25rem;
  }
}

/* CĂN ĐỀU 2 BÊN */
.article-reading-body p {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 1.65rem;
  line-height: 1.88;
  font-size: 1.05rem;
  color: #334155;
}

.article-reading-body p:last-child {
  margin-bottom: 0;
}

/* CÁCH KHOẢNG ĐOẠN VÀ TIÊU ĐỀ RÕ RÀNG */
.article-reading-body h2,
.article-reading-body h3 {
  font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2.5rem;
  margin-bottom: 1.15rem;
  padding-left: 0.85rem;
  border-left: 4px solid #d97706;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.article-reading-body h2:first-child,
.article-reading-body h3:first-child {
  margin-top: 0;
}

.article-reading-body ul,
.article-reading-body ol {
  margin-bottom: 1.75rem;
  padding-left: 1.6rem;
  line-height: 1.8;
}

.article-reading-body li {
  margin-bottom: 0.85rem;
  color: #334155;
  text-align: justify;
  text-justify: inter-word;
}

.article-reading-body li strong {
  color: #0f172a;
}

.article-reading-body blockquote {
  background: #FAF6EE;
  border-left: 4px solid #b45309;
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  font-style: italic;
  color: #78350F;
  font-size: 1.02rem;
  line-height: 1.75;
  text-align: justify;
}

.article-reading-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.article-reading-body th {
  background: #f8fafc;
  color: #0f172a;
  padding: 0.95rem 1rem;
  font-weight: 700;
  border-bottom: 2px solid #e2e8f0;
  text-align: center;
}

.article-reading-body td {
  padding: 1.1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Sidebar Widgets */
.library-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.sidebar-widget-gold {
  border-color: #E8C882;
  box-shadow: 0 8px 24px rgba(180, 134, 72, 0.08);
}

.sidebar-widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.number-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.number-picker-item {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  font-weight: 800;
  font-size: 1.1rem;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.number-picker-item:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  transform: translateY(-2px);
}

.number-picker-item.active {
  background: #173326;
  border-color: #173326;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 51, 38, 0.25);
}

.cat-link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.cat-link-item:hover {
  background: #f8fafc;
  color: #b45309;
  padding-left: 1rem;
}

.cat-link-item.active {
  background: #FAF6EE;
  color: #b45309;
  font-weight: 700;
}

/* ==========================================================================
   LIBRARY PILL BADGES & FLEXIBLE NUMBER PICKERS (CHỈ SỐ MŨI TÊN & NỢ NGHIỆP)
   ========================================================================== */
.library-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0 auto 0.75rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.library-badge-arrow {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1.5px solid #f59e0b;
  color: #92400e;
}

.library-badge-empty {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1.5px solid #94a3b8;
  color: #475569;
}

.library-badge-karmic {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  border: 1.5px solid #ec4899;
  color: #9d174d;
}

/* Article Hero Badges */
.article-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border-radius: 9999px;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

.article-badge-arrow {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  color: #92400e;
}

.article-badge-empty {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #94a3b8;
  color: #334155;
}

.article-badge-karmic {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  border: 2px solid #ec4899;
  color: #9d174d;
}

/* Flexible Sidebar Picker */
.number-picker-flexible {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.number-picker-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  font-weight: 700;
  font-size: 0.88rem;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.number-picker-pill:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  transform: translateY(-2px);
}

.number-picker-pill.active {
  background: #173326;
  border-color: #173326;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 51, 38, 0.25);
}

/* ==========================================================================
   COLLAPSIBLE DOCKED DONATE WIDGET (SÁT LỀ PHẢI THEO ẢNH 3)
   ========================================================================== */
.donate-header-dock-action {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
}

.btn-dock-minimize {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-dock-minimize:hover {
  background: #fef3c7;
  color: #92400e;
  border-color: #f59e0b;
  transform: translateX(2px);
}

/* ==========================================================================
   DISCLAIMER MARQUEE TICKER BAR (CHÂN TRANG CỐ ĐỊNH)
   ========================================================================== */
.disclaimer-ticker-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1.5px solid rgba(217, 119, 6, 0.45);
  z-index: 998;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

.ticker-content-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marqueeScroll 45s linear infinite;
}

.ticker-content-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #f1f5f9;
  letter-spacing: 0.01em;
}

.ticker-item span {
  display: inline-block;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.btn-ticker-dismiss {
  position: absolute;
  right: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #cbd5e1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 2;
}

.btn-ticker-dismiss:hover {
  background: rgba(239, 68, 68, 0.8);
  color: #ffffff;
}

/* Đảm bảo nội dung không bị ticker che lấp */
body {
  padding-bottom: 38px !important;
}

/* Đảm bảo container cân đối, hài hòa 1200px (chuẩn to rộng như hình 2) */
.container.report-container,
.report-full-content {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

@media (max-width: 992px) {
  .donate-floating-popup,
  .docked-mini-donate-btn {
    display: none !important;
  }
}

/* ==========================================================================
   MYSTIC SACRED HERO & LOOKUP CARD (TÂM LINH HUYỀN ẢO PYTHAGORAS)
   ========================================================================== */
.mystic-lookup-hero {
  position: relative;
  max-width: 1040px;
  margin: 0 auto 3.25rem;
  padding: 0.5rem 0 1rem;
}

/* Background Rotating Astrolabe Watermark */
.mystic-astrolabe-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 580px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}
.astrolabe-svg {
  width: 100%;
  height: 100%;
  animation: astrolabeSpin 160s linear infinite;
  transform-origin: center center;
}
@keyframes astrolabeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Mystic Header */
.mystic-hero-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}
.mystic-badge-celestial {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.25rem;
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.8) 0%, rgba(253, 230, 138, 0.5) 100%);
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #92400e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.1);
  backdrop-filter: blur(8px);
}
.badge-rune {
  color: #d97706;
  font-size: 0.85rem;
}
.mystic-hero-title {
  font-family: 'Playfair Display', 'Plus Jakarta Sans', serif;
  font-size: 2.65rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}
.mystic-gold-glow {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(245, 158, 11, 0.25));
}
.mystic-hero-sub {
  font-size: 1.02rem;
  color: #475569;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Mystic Altar Card (Sacred Plate) */
.mystic-altar-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 55%, #fefcf6 100%);
  border: 1.5px solid rgba(217, 119, 6, 0.45);
  border-radius: 24px;
  padding: 2.5rem 2.75rem 2.25rem;
  box-shadow: 
    0 22px 55px -10px rgba(217, 119, 6, 0.12),
    0 0 0 1px rgba(254, 243, 199, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}
.mystic-altar-card:hover {
  box-shadow: 
    0 28px 65px -10px rgba(217, 119, 6, 0.18),
    0 0 0 1.5px rgba(245, 158, 11, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Sacred Filigree Corner Accents */
.altar-corner-accent {
  position: absolute;
  color: #d97706;
  font-size: 1.25rem;
  opacity: 0.7;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: all 0.3s ease;
}
.altar-corner-accent.top-left { top: 12px; left: 14px; }
.altar-corner-accent.top-right { top: 12px; right: 14px; }
.altar-corner-accent.bottom-left { bottom: 12px; left: 14px; }
.altar-corner-accent.bottom-right { bottom: 12px; right: 14px; }

.mystic-altar-card:hover .altar-corner-accent {
  opacity: 1;
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.65));
}

/* Altar Ribbon */
.altar-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.ribbon-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(217, 119, 6, 0.35) 50%, transparent 100%);
}
.ribbon-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #78350f;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 0.35rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
}
.ribbon-tag .tag-icon {
  font-size: 0.85rem;
}

/* Inputs Layout */
.mystic-form-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 768px) {
  .mystic-form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .mystic-altar-card {
    padding: 1.75rem 1.25rem 1.5rem;
  }
  .mystic-hero-title {
    font-size: 1.95rem;
  }
}

.mystic-input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}
.mystic-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.93rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.6rem;
}
.mystic-label-icon {
  font-size: 1.1rem;
}
.mystic-label-title {
  color: #0f172a;
}
.mystic-label-hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
}

.mystic-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-rune {
  position: absolute;
  left: 1.1rem;
  font-size: 1.25rem;
  pointer-events: none;
  opacity: 0.85;
  z-index: 2;
  transition: transform 0.2s ease;
}
.mystic-input {
  width: 100%;
  height: 54px;
  padding: 0.75rem 1.15rem 0.75rem 3.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.mystic-input[name="name"] {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mystic-input:hover {
  border-color: #f59e0b;
}
.mystic-input:focus {
  border-color: #d97706;
  background: #fffdf9;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2), 0 4px 12px rgba(217, 119, 6, 0.1);
}
.mystic-input-wrapper:focus-within .input-rune {
  transform: scale(1.15);
}

/* Input Error States & Validation Styles */
.mystic-input.is-invalid,
.form-input.is-invalid {
  border-color: #e11d48 !important;
  background: #fff1f2 !important;
  color: #9f1239 !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2) !important;
}

.mystic-field-feedback {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e11d48;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.4;
  animation: feedbackSlideIn 0.25s ease;
}

.mystic-error-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
  color: #9f1239;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.08);
  animation: shakeAlert 0.35s ease;
}
.mystic-error-banner strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: #881337;
}
.mystic-error-banner p {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: #9f1239;
  line-height: 1.4;
}
.error-banner-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.2;
}

@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

@keyframes feedbackSlideIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Shimmer CTA Button */
.mystic-submit-wrapper {
  margin-bottom: 1.5rem;
}
.btn-mystic-shimmer {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 58px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 45%, #b45309 100%);
  color: #ffffff;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}
.btn-mystic-shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217, 119, 6, 0.48), 0 4px 10px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 45%, #92400e 100%);
}
.btn-mystic-shimmer:active {
  transform: translateY(1px);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

/* Shimmer Light Sweep Effect */
.btn-shimmer-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: translateX(-150%) skewX(-25deg);
  animation: shimmerSweep 3.5s infinite ease-in-out;
  pointer-events: none;
}
@keyframes shimmerSweep {
  0% { transform: translateX(-160%) skewX(-25deg); }
  45%, 100% { transform: translateX(280%) skewX(-25deg); }
}

.btn-content-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.btn-text {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
}
.btn-main-icon {
  font-size: 1.35rem;
}
.btn-sparkle-left,
.btn-sparkle-right {
  font-size: 0.95rem;
  color: #fef3c7;
  opacity: 0.85;
}

/* Trust Row */
.mystic-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px dashed rgba(217, 119, 6, 0.25);
  color: #64748b;
  font-size: 0.84rem;
}
.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-badge-item strong {
  color: #1e293b;
}
.trust-badge-dot {
  color: #cbd5e1;
}
@media (max-width: 640px) {
  .trust-badge-dot {
    display: none;
  }
  .mystic-trust-row {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ============================================================================
   AFFILIATE MONETIZATION & IN-CONTENT RECOMMENDATION CARDS
   Hệ thống thẻ tiếp thị liên kết thẩm mỹ tâm linh Pythagoras cao cấp
   ============================================================================ */

/* 1. Single Product In-Content Card (Thẻ Đơn 1 Sản Phẩm Nổi Bật) */
.aff-incontent-card.single-card {
  position: relative;
  background: linear-gradient(135deg, #fffdfa 0%, #fffbeb 50%, #ffffff 100%);
  border: 1.5px solid #fde68a;
  border-radius: 20px;
  padding: 1.6rem;
  margin: 2.25rem 0;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.07);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.aff-incontent-card.single-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(217, 119, 6, 0.12);
  border-color: #f59e0b;
}

.aff-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.aff-badge-icon {
  color: #d97706;
  font-size: 0.85rem;
}

.aff-card-body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.aff-card-media {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  background: #fafaf9;
  border: 1px solid #fde68a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.aff-card-media .aff-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.aff-card-media:hover .aff-img {
  transform: scale(1.08);
}

.aff-card-content {
  flex: 1;
  min-width: 0;
}

.aff-card-title {
  margin: 0 0 0.45rem;
  font-size: 1.22rem;
  font-family: var(--font-heading), 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  line-height: 1.4;
}

.aff-card-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s;
}

.aff-card-title a:hover {
  color: #b45309;
}

.aff-card-desc {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}

.aff-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(217, 119, 6, 0.2);
}

.aff-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.aff-price-sale {
  font-size: 1.25rem;
  font-weight: 900;
  color: #b45309;
  font-family: var(--font-heading), sans-serif;
}

.aff-price-origin {
  font-size: 0.88rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.aff-price-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #d97706;
}

.btn-aff-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.28);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-aff-cta:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.38);
}

.btn-aff-cta .aff-arrow {
  transition: transform 0.25s;
}

.btn-aff-cta:hover .aff-arrow {
  transform: translate(2px, -2px);
}

/* 2. List / Grid In-Content Block (Khối Lưới Nhiều Sản Phẩm) */
.aff-incontent-block.list-block {
  margin: 2.75rem 0;
  padding: 1.75rem;
  background: #fdfbf7;
  border: 1px solid #fde68a;
  border-radius: 20px;
}

.aff-block-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.aff-header-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.aff-header-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #b45309;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.aff-grid-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.aff-grid-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.aff-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.1);
  border-color: #fde68a;
}

.aff-card-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(254, 243, 199, 0.95);
  backdrop-filter: blur(4px);
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  z-index: 2;
}

.aff-grid-thumb {
  display: block;
  aspect-ratio: 1/1;
  background: #f8fafc;
  overflow: hidden;
}

.aff-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.aff-grid-thumb:hover img {
  transform: scale(1.06);
}

.aff-grid-info {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.aff-grid-title {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aff-grid-title a {
  color: #1e293b;
  text-decoration: none;
}

.aff-grid-title a:hover {
  color: #b45309;
}

.aff-grid-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

.aff-grid-price {
  font-weight: 800;
  color: #b45309;
  font-size: 0.92rem;
}

.aff-grid-btn {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.aff-grid-btn:hover {
  background: #dbeafe;
}

/* 3. Homepage Showcase Card Hover */
.aff-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(180, 134, 72, 0.12) !important;
  border-color: #f59e0b !important;
}

/* Responsive Cho Mobile */
@media (max-width: 768px) {
  .aff-card-body {
    flex-direction: column;
    align-items: flex-start;
  }
  .aff-card-media {
    width: 100%;
    height: 180px;
  }
  .aff-grid-items {
    grid-template-columns: 1fr;
  }
  .aff-incontent-card.single-card {
    padding: 1.25rem;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

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







