/* ==========================================
   Design System: Fo Fa Dao Ling Zhu Feng Shui
   Style Philosophy: Modern Mysticism & Avant-Garde Minimalism
   ========================================== */

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(22, 28, 41, 0.65);
  --bg-card-hover: rgba(33, 42, 61, 0.8);
  --border-gold: rgba(212, 175, 55, 0.2);
  --border-gold-glow: rgba(212, 175, 55, 0.6);
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa7c11;
  --text-primary: #ffffff;
  --text-secondary: #a9b7c6;
  --text-muted: #6272a4;
  
  /* Five Elements HSL Colors */
  --el-wood: #2ecc71;
  --el-wood-glow: rgba(46, 204, 113, 0.4);
  --el-fire: #e74c3c;
  --el-fire-glow: rgba(231, 76, 60, 0.4);
  --el-earth: #f39c12;
  --el-earth-glow: rgba(243, 156, 18, 0.4);
  --el-metal: #cfd8dc;
  --el-metal-glow: rgba(207, 216, 220, 0.4);
  --el-water: #3498db;
  --el-water-glow: rgba(52, 152, 219, 0.4);

  --font-modern: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-traditional: 'Noto Serif TC', serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   Global Reset & Structure
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-modern);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6, .brand-title, .section-title {
  font-family: var(--font-traditional);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ==========================================
   Background Glowing Orbs
   ========================================== */
.bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: screen;
  animation: orbFloat 15s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--el-water) 0%, transparent 75%);
  top: 50%;
  left: -200px;
  animation-delay: -5s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--el-wood) 0%, transparent 70%);
  bottom: -100px;
  right: 10%;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.1); }
}

/* ==========================================
   Typography & Helper Classes
   ========================================== */
.gradient-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-gold {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.section-tag {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  margin-top: 10px;
  margin-bottom: 15px;
  background: linear-gradient(180deg, #fff 0%, #d5e3f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Glassmorphism Card Baseline */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-gold-glow);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.15);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.5);
  object-fit: cover;
  transition: width 0.35s ease, height 0.35s ease, border-width 0.35s ease, box-shadow 0.35s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--bg-dark);
}

/* Scroll-aware compact header */
.main-header.header-scrolled .brand-logo {
  width: 44px;
  height: 44px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.main-header.header-scrolled .header-container {
  padding: 4px 30px;
}

.brand-logo-wrapper:hover .brand-logo {
  transform: rotate(360deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.6rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 0.1em;
  font-family: var(--font-traditional);
}

.brand-subtitle {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  font-weight: 700;
  opacity: 0.95;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 5px 0;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.highlight-link {
  color: var(--gold);
}

.btn-header-contact {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--bg-dark) !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 8px 20px !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-header-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-header-contact::after {
  display: none !important;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--bg-dark);
  border: 1px solid var(--gold);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 100px 30px 60px 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

/* Hero Medallion — large dramatic brand centrepiece */
.hero-medallion {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow:
    0 0 40px rgba(212, 175, 55, 0.6),
    0 0 80px rgba(212, 175, 55, 0.15),
    inset 0 0 20px rgba(212, 175, 55, 0.1);
  object-fit: cover;
  margin-bottom: 32px;
  animation: medallionPulse 4s ease-in-out infinite;
  background: var(--bg-dark);
}

@keyframes medallionPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6), 0 0 80px rgba(212, 175, 55, 0.15); }
  50% { box-shadow: 0 0 55px rgba(212, 175, 55, 0.8), 0 0 100px rgba(212, 175, 55, 0.25); }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.25;
  margin-bottom: 25px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-action-group {
  display: flex;
  gap: 20px;
}

/* Hero Decorative Glass Cube */
.hero-visual-frame {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
}

.glass-cube {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  animation: spinCube 25s linear infinite;
}

.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(22, 28, 41, 0.4);
  border: 2px solid var(--border-gold-glow);
  box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.5rem;
  font-family: var(--font-traditional);
  color: var(--gold);
  backdrop-filter: blur(10px);
}

.front  { transform: translateZ(100px); }
.back   { transform: rotateY(180deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.right  { transform: rotateY(90deg) translateZ(100px); }
.top    { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes spinCube {
  0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  100% { transform: rotateX(360deg) rotateY(720deg) rotateZ(360deg); }
}

.visual-decor-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  animation: rotateRing 30s linear infinite;
  pointer-events: none;
}

.visual-decor-ring::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 40px 30px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--gold);
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================
   BaZi Destiny Section (zydx.top Style)
   ========================================== */
.bazi-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 30px;
  background: radial-gradient(circle at center, rgba(31, 40, 51, 0.15) 0%, transparent 80%);
}

.bazi-container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

.bazi-input-panel {
  padding: 35px 30px;
}

.panel-title {
  font-size: 1.3rem;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
  color: var(--gold);
}

.form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--text-primary);
  font-family: var(--font-modern);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .col {
  flex: 1;
}

.radio-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px;
}

.radio-toggle-group input[type="radio"] {
  display: none;
}

.radio-toggle-group label {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  margin-bottom: 0;
}

.radio-toggle-group input[type="radio"]:checked + label {
  background: var(--gold);
  color: var(--bg-dark);
}

/* Result Panel */
.bazi-result-panel {
  padding: 40px;
  animation: fadeIn 0.6s ease-out;
}

.bazi-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user-name-tag {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-traditional);
}

.user-gender-tag {
  font-size: 0.85rem;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  width: fit-content;
  color: var(--gold);
}

.user-birth-tag {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.day-master-badge {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold);
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 700;
  color: var(--gold);
}

/* ==========================================
   Advanced Master Grid Table & Sliders
   ========================================== */
.bazi-master-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  background: rgba(7, 9, 14, 0.4);
}

.bazi-master-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 800px;
}

.bazi-master-table th, .bazi-master-table td {
  padding: 18px 8px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  position: relative;
}

.bazi-master-table th {
  background: rgba(22, 28, 41, 0.8);
  font-family: var(--font-traditional);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.col-label, .row-label {
  font-weight: 700 !important;
  color: var(--text-muted) !important;
  background: rgba(7, 9, 14, 0.6) !important;
  width: 80px;
  font-size: 0.9rem !important;
}

/* Active Day Master Highlighting */
.active-dm-header {
  border: 2px solid var(--gold) !important;
  background: rgba(212, 175, 55, 0.15) !important;
  color: var(--gold-light) !important;
}

.active-dm-cell {
  border-left: 2px solid var(--gold) !important;
  border-right: 2px solid var(--gold) !important;
  background: rgba(212, 175, 55, 0.04) !important;
}

/* Cell typography */
.row-age td {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.stem-cell, .branch-cell {
  height: 110px;
}

.main-char {
  font-family: var(--font-traditional);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  display: block;
  transition: var(--transition-smooth);
}

/* Corner Ten Gods style */
.corner-tg {
  position: absolute;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1;
}

.top-right {
  top: 8px;
  right: 8px;
}

.bottom-right {
  bottom: 8px;
  right: 8px;
  color: var(--gold) !important;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.65rem;
}

/* Earthly Branches Hidden Stems Ten Gods corners */
.branch-corner-tgs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tg-b-item {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.tg-b-item.tr { top: 8px; right: 8px; }
.tg-b-item.br { bottom: 8px; right: 8px; }
.tg-b-item.bl { bottom: 8px; left: 8px; }
.tg-b-item.tl { top: 8px; left: 8px; }

.row-void td {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

/* Dynamic color definitions inside grid cells */
.col-flow-day, .col-flow-month, .col-flow-year, .col-flow-luck {
  background: rgba(255, 255, 255, 0.02) !important;
}

/* Interactive Timelines Sliders */
.timelines-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  padding: 25px;
  background: rgba(7, 9, 14, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 20px;
}

.timeline-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}

.timeline-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-gold) transparent;
}

.timeline-slider::-webkit-scrollbar {
  height: 4px;
}

.timeline-slider::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 10px;
}

.slider-btn {
  flex-shrink: 0;
  padding: 6px 16px;
  background: rgba(22, 28, 41, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: var(--font-modern);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.slider-btn.active {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Astrological warnings */
.bazi-warning-panel {
  background: rgba(231, 76, 60, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.warning-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
}

.warning-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

.warning-content {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Five elements dynamic classes */
.text-wood { color: var(--el-wood) !important; text-shadow: 0 0 8px var(--el-wood-glow); }
.text-fire { color: var(--el-fire) !important; text-shadow: 0 0 8px var(--el-fire-glow); }
.text-earth { color: var(--el-earth) !important; text-shadow: 0 0 8px var(--el-earth-glow); }
.text-metal { color: var(--el-metal) !important; text-shadow: 0 0 8px var(--el-metal-glow); }
.text-water { color: var(--el-water) !important; text-shadow: 0 0 8px var(--el-water-glow); }

/* Core Services etc. */
.element-metal .heaven-stem, .element-metal .earth-branch { color: var(--el-metal); text-shadow: 0 0 10px var(--el-metal-glow); }

.element-water {
  background: linear-gradient(180deg, rgba(52, 152, 219, 0.05) 0%, rgba(52, 152, 219, 0.01) 100%);
  border-color: rgba(52, 152, 219, 0.15);
}
.element-water .heaven-stem, .element-water .earth-branch { color: var(--el-water); text-shadow: 0 0 10px var(--el-water-glow); }

/* Five Elements Visualizer Section */
.sub-section-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.elements-bars-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.element-bar-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bar-label {
  width: 80px;
  font-size: 0.9rem;
  font-weight: 600;
}

.element-text-wood { color: var(--el-wood); }
.element-text-fire { color: var(--el-fire); }
.element-text-earth { color: var(--el-earth); }
.element-text-metal { color: var(--el-metal); }
.element-text-water { color: var(--el-water); }

.bar-track {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bar-fill {
  height: 100%;
  border-radius: 50px;
  width: 0;
  transition: width 1s ease-out;
}

.bg-wood { background: var(--el-wood); box-shadow: 0 0 10px var(--el-wood-glow); }
.bg-fire { background: var(--el-fire); box-shadow: 0 0 10px var(--el-fire-glow); }
.bg-earth { background: var(--el-earth); box-shadow: 0 0 10px var(--el-earth-glow); }
.bg-metal { background: var(--el-metal); box-shadow: 0 0 10px var(--el-metal-glow); }
.bg-water { background: var(--el-water); box-shadow: 0 0 10px var(--el-water-glow); }

.bar-value {
  width: 45px;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Destiny Report Box */
.destiny-report-box {
  background: rgba(7, 9, 14, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ==========================================
   Nine Palace Flying Stars Grid
   ========================================== */
.stars-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 30px;
}

.stars-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.lo-shu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 450px;
  margin: 0 auto;
  perspective: 1000px;
}

.star-sector {
  background: rgba(22, 28, 41, 0.5);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.star-sector:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  transform: translateY(-5px) translateZ(10px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.sector-dir {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 5px;
}

.star-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
}

.num-1 { color: var(--el-water); text-shadow: 0 0 10px var(--el-water-glow); }
.num-2 { color: var(--el-earth); text-shadow: 0 0 10px var(--el-earth-glow); }
.num-3 { color: var(--el-wood); text-shadow: 0 0 10px var(--el-wood-glow); }
.num-4 { color: var(--el-wood); text-shadow: 0 0 10px var(--el-wood-glow); }
.num-5 { color: var(--el-earth); text-shadow: 0 0 10px var(--el-earth-glow); }
.num-6 { color: var(--el-metal); text-shadow: 0 0 10px var(--el-metal-glow); }
.num-7 { color: var(--el-metal); text-shadow: 0 0 10px var(--el-metal-glow); }
.num-8 { color: var(--el-earth); text-shadow: 0 0 10px var(--el-earth-glow); }
.num-9 { color: var(--el-fire); text-shadow: 0 0 10px var(--el-fire-glow); }

.star-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.grid-hint {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 25px;
}

.stars-detail-panel {
  padding: 45px 40px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stars-detail-panel h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--gold);
}

.star-tag-row {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.star-status-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-good { background: rgba(46, 204, 113, 0.15); color: var(--el-wood); border: 1px solid var(--el-wood); }
.badge-bad { background: rgba(231, 76, 60, 0.15); color: var(--el-fire); border: 1px solid var(--el-fire); }

.star-element-badge {
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.star-detail-content h5 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  border-left: 2px solid var(--gold);
  padding-left: 8px;
}

.star-detail-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   Moving-In Handbook Section
   ========================================== */
.handbook-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 30px;
}

.handbook-tab-container {
  padding: 0;
  overflow: hidden;
}

.handbook-tabs {
  display: flex;
  background: rgba(7, 9, 14, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
  flex: 1;
  padding: 20px 10px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-traditional);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(212, 175, 55, 0.03);
}

.tab-content {
  display: none;
  padding: 45px;
  animation: fadeIn 0.5s ease-out;
}

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

.handbook-body h4 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--gold);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
}

.ritual-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.ritual-list li {
  display: flex;
  gap: 20px;
}

.list-num {
  width: 32px;
  height: 32px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.ritual-list li div strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.ritual-list li div span {
  font-size: 0.98rem;
  color: var(--text-secondary);
  display: block;
}

.handbook-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
}

.handbook-info-card {
  background: rgba(7, 9, 14, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
}

.handbook-info-card h5 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 15px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.handbook-info-card ul, .handbook-info-card ol {
  padding-left: 20px;
}

.handbook-info-card li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Timeline Layout for Chapter 3 */
.ritual-timeline {
  position: relative;
  padding-left: 30px;
}

.ritual-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10px;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
}

.timeline-badge {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: var(--bg-dark);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
}

.timeline-content strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.chant-box {
  background: rgba(212, 175, 55, 0.05);
  border: 1px dashed var(--border-gold-glow);
  border-radius: 8px;
  padding: 15px 20px;
  margin: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.chant-text {
  font-family: var(--font-traditional);
  font-size: 1.25rem;
  color: var(--gold-light);
  font-weight: 700;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-copy:hover {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
}

.highlight-quote {
  font-family: var(--font-traditional);
  font-size: 1.4rem;
  text-align: center;
  color: var(--gold);
  margin: 20px 0;
  font-weight: 700;
}

/* FAQs list styling */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 20px;
}

.faq-q {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q::before {
  content: 'Q:';
  color: var(--gold);
  font-weight: 800;
}

.faq-a {
  font-size: 0.98rem;
  color: var(--text-secondary);
  padding-left: 24px;
}

/* ==========================================
   Bedroom Checklist Section
   ========================================== */
.bedroom-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 30px;
}

.bedroom-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.bedroom-column {
  padding: 35px 30px;
}

.column-header {
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

.column-header span {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-traditional);
}

.badge-success { color: var(--el-wood); }
.badge-danger { color: var(--el-fire); }

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  cursor: pointer;
}

.check-item input[type="checkbox"] {
  accent-color: var(--el-wood);
  width: 18px;
  height: 18px;
  margin-top: 4px;
  cursor: pointer;
}

.donts-column .check-item input[type="checkbox"] {
  accent-color: var(--el-fire);
}

.check-item label {
  cursor: pointer;
}

.check-item strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.check-item span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Bedroom Scorer Grid */
.bedroom-scorer {
  padding: 35px 40px;
  display: grid;
  grid-template-columns: 1fr 200px 180px;
  align-items: center;
  gap: 30px;
}

.scorer-info h4 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.scorer-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.score-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 20px;
  flex-direction: column;
  align-items: center;
}

.score-num {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}

.score-unit {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.score-status {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 5px;
  padding: 3px 12px;
  border-radius: 50px;
  background: rgba(46, 204, 113, 0.15);
  color: var(--el-wood);
  border: 1px solid var(--el-wood);
}

/* ==========================================
   Booking & Consultation Section
   ========================================== */
.booking-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 30px;
}

.booking-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.masters-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.master-card {
  padding: 35px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 25px;
  align-items: start;
}

.master-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  color: var(--gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.master-name {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.master-title {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  border: 1px solid var(--border-gold);
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 15px;
}

.master-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.master-contact-info {
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.booking-form-panel {
  padding: 40px;
}

.form-title {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

/* ==========================================
   Footer Section
   ========================================== */
.main-footer {
  background: #040508;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 80px 30px 40px 30px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo-text {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 15px;
}

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

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-link-group h5 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-link-group p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================
   Animations & Transition Keyframes
   ========================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   Responsive Mobile Media Queries
   ========================================== */
@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 100px;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-medallion {
    width: 180px;
    height: 180px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-action-group {
    justify-content: center;
  }
  
  .bazi-container {
    grid-template-columns: 1fr;
  }
  .stars-container {
    grid-template-columns: 1fr;
  }
  .bedroom-container {
    grid-template-columns: 1fr;
  }
  .booking-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none; /* Mobile Navigation Toggle Needed */
  }
  .mobile-menu-toggle {
    display: flex;
  }
  
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  .main-header.header-scrolled .brand-logo {
    width: 40px;
    height: 40px;
  }
  .brand-title {
    font-size: 1.2rem;
  }
  .brand-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
  }
  
  .hero-medallion {
    width: 140px;
    height: 140px;
    border-width: 3px;
    margin-bottom: 24px;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .four-pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .active-day-master {
    transform: none;
  }
  
  .handbook-grid {
    grid-template-columns: 1fr;
  }
  
  .bedroom-scorer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .score-display {
    border: none;
    padding: 20px 0;
  }
  
  .master-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Simplified Client BaZi & Tong Shu Calendar Styles
   ========================================== */
.lunar-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(7, 9, 14, 0.4) 100%);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.lunar-date-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-traditional);
}

.simple-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.simple-pillar-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: var(--transition-smooth);
}

.simple-pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.simple-pillar-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.simple-pillar-chars {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: var(--font-traditional);
  letter-spacing: 0.05em;
}

.simple-pillar-elements {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.client-destiny-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 30px;
}

.client-destiny-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.highlight-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

/* client Tong Shu (Date Selection Calendar) */
.tongshu-calendar-section {
  margin-top: 60px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tongshu-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 992px) {
  .tongshu-layout {
    grid-template-columns: 1fr;
  }
}

.tongshu-calendar-card {
  background: rgba(7, 9, 14, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tongshu-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.tongshu-month-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.tongshu-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.tongshu-weekday-header {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tongshu-day-cell {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.tongshu-day-cell:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.tongshu-day-cell.active-day {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.tongshu-day-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tongshu-day-lunar {
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-top: 3px;
  font-family: var(--font-traditional);
}

.tongshu-detail-panel {
  background: rgba(7, 9, 14, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.tongshu-detail-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

.tongshu-detail-date {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tongshu-detail-lunar {
  font-size: 0.9rem;
  color: var(--gold);
  margin-top: 4px;
  font-family: var(--font-traditional);
}

.tongshu-detail-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tongshu-detail-row.yi strong {
  color: var(--el-wood);
  font-size: 0.95rem;
}

.tongshu-detail-row.ji strong {
  color: var(--el-fire);
  font-size: 0.95rem;
}

.tongshu-detail-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Silicon Oracle Featured Callout */
.silicon-oracle-callout {
  margin-top: 50px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 35px;
  border-color: rgba(212, 175, 55, 0.3) !important;
  background: linear-gradient(135deg, rgba(22, 28, 41, 0.7) 0%, rgba(7, 9, 14, 0.8) 100%) !important;
}

.callout-icon {
  font-size: 3.5rem;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  line-height: 1;
  flex-shrink: 0;
  animation: rotateYijing 12s linear infinite;
}

@keyframes rotateYijing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.callout-body {
  flex: 1;
}

.callout-title {
  font-size: 1.4rem;
  margin-top: 5px;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: var(--font-traditional);
}

.callout-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.callout-action {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .silicon-oracle-callout {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }
  .callout-action {
    width: 100%;
  }
  .callout-action .btn {
    width: 100%;
  }
}
