/* ═══════════════════════════════════════════════════════════════
   THIÊN CƠ (天機) — Celestial Glass Design System
   Top 0.1% Bazi Report Platform
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. CSS CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  /* Background layers */
  --bg-void: #07070F;
  --bg-deep: #0D0D1A;
  --bg-surface: #12122A;
  --bg-card: rgba(20, 20, 50, 0.6);
  --bg-card-hover: rgba(30, 30, 70, 0.7);

  /* Glass effect */
  --glass-blur: 20px;
  --glass-border: rgba(212, 175, 55, 0.12);
  --glass-border-hover: rgba(212, 175, 55, 0.25);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glass-shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.5);

  /* Gold spectrum */
  --gold-50: #FFF8E1;
  --gold-100: #F5E6B8;
  --gold-200: #E4CF8D;
  --gold-300: #D4AF37;
  --gold-400: #C9A22E;
  --gold-500: #B8941F;
  --gold-600: #8D6E18;
  --gold-700: #6B5412;
  --gold-800: #4A3A0D;
  --gold-900: #2A2008;

  /* Five Elements colors */
  --elem-wood: #4CAF50;
  --elem-fire: #FF5722;
  --elem-earth: #D4A017;
  --elem-metal: #E0E0E0;
  --elem-water: #2196F3;
  --elem-wood-bg: rgba(76, 175, 80, 0.15);
  --elem-fire-bg: rgba(255, 87, 34, 0.15);
  --elem-earth-bg: rgba(212, 160, 23, 0.15);
  --elem-metal-bg: rgba(224, 224, 224, 0.15);
  --elem-water-bg: rgba(33, 150, 243, 0.15);

  /* Semantic */
  --cat-color: #2ECC71;    /* Cát - Good */
  --hung-color: #E74C3C;   /* Hung - Bad */
  --binh-color: #F39C12;   /* Bình - Neutral */

  /* Text */
  --text-primary: #F0EAD6;
  --text-secondary: rgba(240, 234, 214, 0.7);
  --text-tertiary: rgba(240, 234, 214, 0.4);
  --text-gold: var(--gold-300);
  --text-white: #FFFFFF;

  /* Typography scale */
  --font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-chinese: 'Noto Sans SC', 'Noto Serif SC', 'SimSun', serif;
  --fs-xs: 0.6875rem;    /* 11px */
  --fs-sm: 0.75rem;      /* 12px */
  --fs-base: 0.875rem;   /* 14px */
  --fs-md: 1rem;         /* 16px */
  --fs-lg: 1.25rem;      /* 20px */
  --fs-xl: 1.5rem;       /* 24px */
  --fs-2xl: 2rem;        /* 32px */
  --fs-3xl: 2.5rem;      /* 40px */
  --fs-chinese: 2rem;    /* Chinese chars */
  --fs-chinese-lg: 2.75rem;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ─── 2. BASE RESET FOR CELESTIAL ───────────────────────────── */
.celestial {
  font-family: var(--font-family);
  background: var(--bg-void);
  color: var(--text-primary);
  font-size: var(--fs-base);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.celestial *,
.celestial *::before,
.celestial *::after {
  box-sizing: border-box;
}

/* Background gradient overlay */
.celestial::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(33, 150, 243, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.celestial > * {
  position: relative;
  z-index: 1;
}

/* ─── 3. GLASS CARD ─────────────────────────────────────────── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-base);
  overflow: hidden;
}

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

.glass-card-static {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

/* ─── 4. LAYOUT: BENTO GRID ────────────────────────────────── */
.celestial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-4);
}

.bento-grid {
  display: grid;
  gap: var(--sp-4);
}

.bento-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.bento-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.bento-grid-sidebar {
  grid-template-columns: 320px 1fr;
}

.bento-span-full {
  grid-column: 1 / -1;
}

/* ─── 5. TOPBAR ─────────────────────────────────────────────── */
.celestial-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-5);
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.celestial-logo {
  font-size: var(--fs-lg);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.celestial-tabs {
  display: flex;
  gap: var(--sp-1);
}

.celestial-tab {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: none;
}

.celestial-tab:hover {
  color: var(--text-primary);
  background: rgba(212, 175, 55, 0.1);
}

.celestial-tab.active {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold-200), var(--gold-400));
  font-weight: 600;
}

/* ─── 6. DAY MASTER PORTRAIT ────────────────────────────────── */
.portrait-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  position: relative;
  overflow: hidden;
}

.portrait-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
  animation: portrait-pulse 4s ease-in-out infinite;
}

@keyframes portrait-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.portrait-chinese {
  font-family: var(--font-chinese);
  font-size: var(--fs-3xl);
  color: var(--text-gold);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  margin-bottom: var(--sp-2);
  position: relative;
}

.portrait-name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.portrait-element {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--sp-6);
}

.portrait-meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

.portrait-meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

/* ─── 7. PILLAR CARDS ───────────────────────────────────────── */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.pillar-card {
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
  position: relative;
  transition: all var(--transition-base);
}

.pillar-card.pillar-day {
  border-color: var(--gold-300);
  background: rgba(212, 175, 55, 0.08);
}

.pillar-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-tertiary);
  margin-bottom: var(--sp-1);
}

.pillar-sub {
  font-size: var(--fs-xs);
  color: var(--text-gold);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.pillar-stem-cn {
  font-family: var(--font-chinese);
  font-size: var(--fs-chinese);
  margin-bottom: var(--sp-1);
  transition: all var(--transition-base);
}

.pillar-stem-vn {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-primary);
}

.pillar-elem-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin: var(--sp-1) 0;
}

.pillar-god {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-top: var(--sp-2);
  padding: 2px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  cursor: help;
}

.pillar-god:hover {
  color: var(--text-gold);
}

.pillar-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: var(--sp-3) 0;
}

.pillar-branch-cn {
  font-family: var(--font-chinese);
  font-size: var(--fs-chinese);
  margin-bottom: var(--sp-1);
}

.pillar-branch-vn {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-primary);
}

.pillar-phase {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: var(--sp-1);
  font-style: italic;
}

/* Interaction badge between pillars */
.pillar-interaction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
}

.interaction-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #fff;
  cursor: help;
  transition: transform var(--transition-fast);
}

.interaction-badge:hover {
  transform: scale(1.1);
}

/* ─── 8. HIDDEN STEMS ───────────────────────────────────────── */
.hidden-stems {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.hidden-stem-item {
  text-align: center;
  min-width: 36px;
}

.hidden-stem-cn {
  font-family: var(--font-chinese);
  font-size: var(--fs-md);
  color: var(--text-secondary);
}

.hidden-stem-name {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.hidden-stem-god {
  font-size: 10px;
  color: var(--text-tertiary);
  cursor: help;
}

.hidden-stem-god:hover {
  color: var(--text-gold);
}

.hidden-stem-item.main-stem .hidden-stem-cn {
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--fs-lg);
}

/* ─── 9. AI INSIGHT CARD ────────────────────────────────────── */
.ai-card {
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-300), rgba(33, 150, 243, 0.5), var(--gold-300));
  background-size: 200% 100%;
  animation: ai-shimmer 3s linear infinite;
}

@keyframes ai-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.ai-card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-gold);
  font-weight: 600;
}

.ai-card-body {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

.ai-card-expand {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-gold);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
}

.ai-card-expand:hover {
  text-decoration: underline;
}

/* ─── 10. ĐẠI VẬN TIMELINE ─────────────────────────────────── */
.timeline-container {
  padding: var(--sp-5);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}

.timeline-title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-gold);
}

.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: var(--sp-4);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-600) transparent;
}

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

.timeline-track::-webkit-scrollbar-track {
  background: transparent;
}

.timeline-track::-webkit-scrollbar-thumb {
  background: var(--gold-600);
  border-radius: 2px;
}

.timeline-node {
  flex: 0 0 auto;
  width: 110px;
  text-align: center;
  cursor: pointer;
  position: relative;
  padding-top: 20px;
  transition: all var(--transition-base);
}

.timeline-node::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0; right: 0;
  height: 2px;
  background: var(--glass-border);
}

.timeline-node::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--gold-600);
  transition: all var(--transition-base);
  z-index: 1;
}

.timeline-node:hover::after,
.timeline-node.active::after {
  background: var(--gold-300);
  border-color: var(--gold-300);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
  transform: translateX(-50%) scale(1.2);
}

.timeline-node.active {
  color: var(--text-gold);
}

.timeline-age {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-bottom: var(--sp-1);
}

.timeline-stem {
  font-family: var(--font-chinese);
  font-size: var(--fs-lg);
  margin-bottom: 2px;
}

.timeline-branch {
  font-family: var(--font-chinese);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-1);
}

.timeline-years {
  font-size: 10px;
  color: var(--text-tertiary);
}

.timeline-god {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ─── 11. ANNUAL CARDS GRID ─────────────────────────────────── */
.annual-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
}

.annual-card {
  text-align: center;
  padding: var(--sp-3);
  cursor: pointer;
  transition: all var(--transition-base);
}

.annual-card:hover,
.annual-card.active {
  border-color: var(--gold-300);
  background: rgba(212, 175, 55, 0.08);
}

.annual-card.current-year {
  border-color: var(--cat-color);
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.15);
}

.annual-year {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-gold);
  margin-bottom: var(--sp-2);
}

.annual-cn {
  font-family: var(--font-chinese);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-1);
}

.annual-name {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.annual-god {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: var(--sp-1);
}

/* ─── 12. ELEMENT STRENGTH BAR ──────────────────────────────── */
.elem-bar-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
}

.elem-bar-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.elem-bar-label {
  width: 50px;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: right;
}

.elem-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.elem-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

.elem-bar-value {
  width: 30px;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  text-align: left;
}

/* ─── 13. SHEN SHA TAGS ─────────────────────────────────────── */
.shensha-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-top: var(--sp-2);
}

.shensha-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 500;
  background: rgba(212, 175, 55, 0.1);
  color: var(--text-gold);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.shensha-tag.cat {
  background: rgba(46, 204, 113, 0.1);
  color: var(--cat-color);
  border-color: rgba(46, 204, 113, 0.15);
}

.shensha-tag.hung {
  background: rgba(231, 76, 60, 0.1);
  color: var(--hung-color);
  border-color: rgba(231, 76, 60, 0.15);
}

/* ─── 14. PHONG THỦY COMPASS ────────────────────────────────── */
.compass-card {
  padding: var(--sp-5);
}

.compass-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}

.compass-direction {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  transition: background var(--transition-fast);
}

.compass-direction:hover {
  background: rgba(255,255,255,0.03);
}

.compass-direction.cat {
  color: var(--cat-color);
}

.compass-direction.hung {
  color: var(--hung-color);
}

.compass-dir-name {
  font-weight: 600;
  min-width: 60px;
}

.compass-dir-meaning {
  color: var(--text-secondary);
}

/* ─── 15. SECTION HEADER ────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.section-header-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--glass-border), transparent);
}

.section-header-title {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-gold);
  font-weight: 600;
  white-space: nowrap;
}

/* ─── 16. BUTTONS ───────────────────────────────────────────── */
.celestial-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
}

.celestial-btn:hover {
  border-color: var(--gold-300);
  background: rgba(212, 175, 55, 0.1);
  color: var(--text-gold);
}

.celestial-btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--bg-deep);
  border: none;
  font-weight: 600;
}

.celestial-btn-primary:hover {
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

/* ─── 17. YEAR SELECTOR ─────────────────────────────────────── */
.year-selector {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.year-selector select {
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: var(--bg-surface);
  color: var(--text-gold);
  font-size: var(--fs-sm);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.year-selector select:hover,
.year-selector select:focus {
  border-color: var(--gold-300);
}

/* ─── 18. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .bento-grid-2,
  .bento-grid-3,
  .bento-grid-sidebar {
    grid-template-columns: 1fr;
  }

  .pillars-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .celestial-topbar {
    flex-wrap: wrap;
    gap: var(--sp-2);
  }

  .celestial-tabs {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .timeline-node {
    width: 90px;
  }
}

@media (max-width: 480px) {
  .pillars-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2);
  }

  .annual-grid {
    grid-template-columns: 1fr 1fr;
  }

  :root {
    --fs-chinese: 1.5rem;
    --fs-chinese-lg: 2rem;
  }
}

/* ─── 19. SCROLL ANIMATIONS ─────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all var(--transition-slow);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── 20. UTILITY CLASSES ───────────────────────────────────── */
.text-gold { color: var(--text-gold); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-cat { color: var(--cat-color); }
.text-hung { color: var(--hung-color); }

.elem-wood { color: var(--elem-wood); }
.elem-fire { color: var(--elem-fire); }
.elem-earth { color: var(--elem-earth); }
.elem-metal { color: var(--elem-metal); }
.elem-water { color: var(--elem-water); }

.bg-elem-wood { background: var(--elem-wood-bg); color: var(--elem-wood); }
.bg-elem-fire { background: var(--elem-fire-bg); color: var(--elem-fire); }
.bg-elem-earth { background: var(--elem-earth-bg); color: var(--elem-earth); }
.bg-elem-metal { background: var(--elem-metal-bg); color: var(--elem-metal); }
.bg-elem-water { background: var(--elem-water-bg); color: var(--elem-water); }

.glow-gold {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}
