/* Yuanxin.ai - Eastern Wisdom CSS */

/* ===== 🎨 DESIGN SYSTEM COLORS ===== */
:root {
  /* Primary - Mindful Green (主色：正念绿) */
  --color-primary: #2f8f7a;
  --color-primary-light: #4fd1c7;
  --color-primary-dark: #234e52;
  --color-primary-50: rgba(47, 143, 122, 0.05);
  --color-primary-100: rgba(47, 143, 122, 0.1);
  --color-primary-200: rgba(47, 143, 122, 0.2);
  
  /* Secondary - Calm Blue (辅色：静谧蓝) */
  --color-secondary: #7cc6ff;
  --color-secondary-light: #bee3f8;
  --color-secondary-dark: #2b6cb0;
  
  /* Accent - Warm Earth (强调色：温暖土色) */
  --color-accent: #f3c969;
  --color-accent-light: #fef5e7;
  --color-accent-dark: #744210;
  
  /* Neutrals - Zen Gray Scale (中性色：禅意灰度) */
  --color-text-primary: #1a202c;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-text-light: #a0aec0;
  
  /* Backgrounds - Pure & Peaceful (背景色：纯净平和) */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f7fafc;
  --color-bg-subtle: #edf2f7;
  --color-bg-success: #f0fff4;
  --color-bg-gradient-main: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  --color-bg-gradient-hero: linear-gradient(135deg, #f0fff4 0%, #e6fffa 50%, #f7fafc 100%);
  
  /* Semantic Colors (语义化颜色) */
  --color-success: #48bb78;
  --color-success-light: #c6f6d5;
  --color-warning: #ed8936;
  --color-warning-light: #fed7d7;
  --color-error: #e53e3e;
  --color-info: #4299e1;
  
  /* Shadows & Effects (阴影效果) */
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 8px 32px rgba(47, 143, 122, 0.12);
  --shadow-primary: 0 4px 16px rgba(47, 143, 122, 0.3);
  
  /* Border Radius (圆角) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Spacing Scale (间距比例) */
  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  
  /* Typography Scale (字体比例) */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-serif: 'Crimson Text', 'Times New Roman', serif;
  
  /* Font Sizes (字体大小) */
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  
  /* Font Weights (字体粗细) */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line Heights (行高) */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Page Load Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Smooth entrance animations */
.app-container {
  animation: fadeIn 0.6s ease-out;
}

.hero-section {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.calendar-container {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.daily-detail {
  animation: fadeInUp 0.6s ease-out both;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  background: var(--color-bg-gradient-main);
  min-height: 100vh;
}

/* App container */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 50%, #f7fafc 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #c6f6d5;
  box-shadow: 0 8px 32px rgba(47, 143, 122, 0.08);
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.today-wisdom-preview {
  text-align: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f8f7a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(47, 143, 122, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(47, 143, 122, 0.2);
}

.hero-quote {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: #1a202c;
  line-height: 1.6;
  margin: 1.5rem 0;
  padding: 0 1rem;
  position: relative;
}

.hero-quote::before {
  content: """;
  position: absolute;
  left: -0.5rem;
  top: -0.25rem;
  font-size: 3rem;
  color: #2f8f7a;
  opacity: 0.3;
  font-family: serif;
}

.hero-quote::after {
  content: """;
  position: absolute;
  right: -0.5rem;
  bottom: -1rem;
  font-size: 3rem;
  color: #2f8f7a;
  opacity: 0.3;
  font-family: serif;
}

.hero-author {
  font-size: 1rem;
  color: #4a5568;
  font-weight: 500;
  margin-bottom: 2rem;
  display: block;
  font-style: normal;
}

.hero-actions {
  margin-top: 2rem;
}

.cta-button {
  background: linear-gradient(135deg, #2f8f7a 0%, #38a169 100%);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(47, 143, 122, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 143, 122, 0.4);
  background: linear-gradient(135deg, #38a169 0%, #48bb78 100%);
}

.hero-visual {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-elements {
  position: relative;
  width: 150px;
  height: 150px;
}

.floating-emoji {
  position: absolute;
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
  opacity: 0.8;
}

.floating-emoji:nth-child(1) {
  top: 0;
  left: 50%;
  animation-delay: 0s;
  transform: translateX(-50%);
}

.floating-emoji:nth-child(2) {
  bottom: 0;
  left: 0;
  animation-delay: 1s;
}

.floating-emoji:nth-child(3) {
  bottom: 0;
  right: 0;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Header */
.app-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 0;
}

.app-title {
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 3rem;
}

.app-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Calendar styles */
.calendar-container {
  background: var(--color-bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--color-primary-100);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.month-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.nav-button {
  background: var(--color-primary);
  color: var(--color-bg-primary);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.nav-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.weekday {
  text-align: center;
  font-weight: 600;
  color: #718096;
  padding: 0.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 80px;
  background: var(--color-bg-secondary);
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
}

.calendar-day:hover:not(.empty) {
  background: var(--color-primary-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-primary-200);
}

.calendar-day.empty {
  cursor: default;
  background: transparent;
  box-shadow: none;
}

.calendar-day.empty:hover {
  transform: none;
  background: transparent;
}

.calendar-day.today {
  background: var(--color-primary-100);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-primary);
  animation: pulse-today 2s infinite;
}

.calendar-day.today .day-number {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.calendar-day.checked {
  background: linear-gradient(135deg, var(--color-success) 0%, var(--color-primary) 100%);
  color: var(--color-bg-primary);
  border-color: var(--color-success);
}

.calendar-day.checked:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(72, 187, 120, 0.3);
}

@keyframes pulse-today {
  0%, 100% {
    box-shadow: var(--shadow-primary);
  }
  50% {
    box-shadow: 0 0 20px rgba(47, 143, 122, 0.4);
  }
}

.day-number {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.solar-term {
  font-size: 0.7rem;
  color: #e53e3e;
  text-align: center;
  line-height: 1.1;
  font-weight: 500;
}

.check-icon {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #38a169;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.today-indicator {
  position: absolute;
  top: 4px;
  right: 4px;
  color: #4299e1;
  font-size: 1.2rem;
}

/* Daily detail page */
.daily-detail {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.detail-header {
  background: linear-gradient(135deg, #fdfcfb 0%, #f8f6f0 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.back-button {
  background: rgba(255, 255, 255, 0.8);
  color: #4a5568;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.date-info {
  text-align: center;
}

.subtitle-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.theme-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.theme-label {
  font-size: 0.875rem;
  color: #718096;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theme-value {
  font-size: 1.125rem;
  color: #2d3748;
  font-weight: 600;
  text-transform: capitalize;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
  border-radius: 20px;
  border: 1px solid #81e6d9;
}

.date-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  flex: 1;
}

.solar-term-info {
  margin-top: 0.5rem;
}

.solar-term-badge {
  background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
  color: #c53030;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.content-section {
  display: grid;
  gap: 2rem;
}

.mood-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f7fafc;
}

.mood-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wisdom-section {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #fdfcfb 0%, #f8f6f0 50%, #f7fafc 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.wisdom-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fed7d7 0%, #fbb6ce 25%, #d6f5d6 50%, #bee3f8 75%, #e9d5ff 100%);
}

.wisdom-quote {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: #2d3748;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  padding: 0 1rem;
}

.wisdom-quote::before {
  content: """;
  position: absolute;
  left: -0.5rem;
  top: -0.25rem;
  font-size: 3rem;
  color: #cbd5e0;
  font-family: serif;
  line-height: 1;
}

.wisdom-quote::after {
  content: """;
  position: absolute;
  right: -0.5rem;
  bottom: -1rem;
  font-size: 3rem;
  color: #cbd5e0;
  font-family: serif;
  line-height: 1;
}

.wisdom-author {
  font-size: 1rem;
  color: #718096;
  font-weight: 500;
  margin-bottom: 1.5rem;
  position: relative;
  font-style: normal;
}

.wisdom-author::before {
  content: "— ";
  color: #a0aec0;
}

.theme-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #fef5e7 0%, #fed7d7 100%);
  color: #744210;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #fbb6ce;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.theme-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.theme-badge::before {
  content: "✨";
  font-size: 0.8rem;
}

.theme-badge span {
  text-transform: capitalize;
  font-weight: 600;
  color: #744210;
}

.task-section {
  padding: 2rem;
  background: #f0fff4;
  border-radius: 12px;
  border: 2px solid #c6f6d5;
}

.task-section h3 {
  font-size: 1.3rem;
  color: #22543d;
  margin-bottom: 1rem;
  font-weight: 600;
}

.task-description {
  font-size: 1.1rem;
  color: #2f855a;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.reflection-area {
  margin-top: 1.5rem;
}

.reflection-area label {
  display: block;
  font-weight: 500;
  color: #22543d;
  margin-bottom: 0.5rem;
}

.reflection-area textarea {
  width: 100%;
  min-height: 100px;
  padding: 1rem;
  border: 2px solid #c6f6d5;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  background: white;
}

.reflection-area textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}

/* Save Status Indicator */
.save-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.save-status.ready {
  background: var(--color-bg-subtle);
  color: var(--color-text-muted);
  border: 1px solid var(--color-bg-subtle);
}

.save-status.saving {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  border: 1px solid var(--color-accent);
  animation: pulse-saving 1.5s ease-in-out infinite;
}

.save-status.saved {
  background: var(--color-bg-success);
  color: var(--color-success);
  border: 1px solid var(--color-success-light);
}

.save-status.error {
  background: var(--color-warning-light);
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

.status-icon {
  font-size: 1rem;
}

.status-text {
  flex: 1;
}

@keyframes pulse-saving {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* ===== 📚 AUTHORS DIRECTORY & FAQ STYLES ===== */

.authors-directory {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-lg);
}

.intro-section {
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.intro-section p {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 60ch;
  margin: 0 auto;
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.author-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

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

.author-header h2 {
  color: var(--color-primary);
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
}

.author-meta {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.period, .tradition {
  background: var(--color-background-alt);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.tradition {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.author-bio {
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-relaxed);
}

.key-teachings h3 {
  font-size: var(--font-size-md);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.key-teachings ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.key-teachings li {
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.explore-quotes {
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  border-bottom: 2px solid transparent;
  transition: var(--transition-base);
}

.explore-quotes:hover {
  border-bottom-color: var(--color-primary);
}

.wisdom-themes {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--color-border-light);
}

.wisdom-themes h2 {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.wisdom-themes > p {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.theme-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  text-align: center;
  transition: var(--transition-base);
}

.theme-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.theme-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.theme-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-sm);
}

.theme-card a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.related-navigation {
  background: var(--color-background-alt);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.related-navigation h3 {
  margin-bottom: var(--spacing-md);
}

.related-navigation ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
}

.related-navigation a {
  display: block;
  padding: var(--spacing-sm);
  color: var(--color-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.related-navigation a:hover {
  background: var(--color-primary-light);
}

/* FAQ Styles */
.faq-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-lg);
}

.faq-intro {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.faq-intro p {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 60ch;
  margin: 0 auto;
}

.faq-list {
  margin-bottom: var(--spacing-xl);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.faq-question {
  color: var(--color-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
}

.faq-answer p {
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.next-steps {
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
}

.next-steps h2 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.next-steps p {
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-relaxed);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button.secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.cta-button.secondary:hover {
  background: var(--color-primary);
  color: var(--color-surface);
}

/* ===== 🧭 BREADCRUMB NAVIGATION ===== */

.breadcrumb-nav {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--color-background-alt);
  border-bottom: 1px solid var(--color-border-light);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--font-size-sm);
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--color-primary);
  text-decoration: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.breadcrumb-item a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.breadcrumb-item.active {
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-xs) var(--spacing-sm);
}

.breadcrumb-separator {
  color: var(--color-text-muted);
  margin: 0 var(--spacing-xs);
  font-weight: var(--font-weight-light);
}

/* ===== 📱 RESPONSIVE DESIGN & MOBILE OPTIMIZATION ===== */

/* Breakpoints (响应式断点) */
:root {
  /* Mobile breakpoints */
  --bp-xs: 320px;   /* Small phones */
  --bp-sm: 480px;   /* Large phones */
  --bp-md: 768px;   /* Tablets */
  --bp-lg: 1024px;  /* Small desktops */
  --bp-xl: 1200px;  /* Large desktops */
  
  /* Mobile-specific spacing */
  --mobile-padding: 16px;
  --mobile-gap: 12px;
  
  /* Touch target sizes */
  --touch-target-min: 44px;
  --touch-target-comfortable: 48px;
}

/* Base mobile-first styles */
@media (max-width: 767px) {
  /* Improved body text for mobile */
  body {
    font-size: 16px; /* Never smaller than 16px to prevent iOS zoom */
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
  }
  
  /* Mobile app container */
  .app-container {
    padding: var(--mobile-padding);
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Mobile header optimization */
  .app-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
  }
  
  .app-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
  }
  
  .app-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: 0;
  }
  
  /* Hero section mobile optimization */
  .hero-section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .today-wisdom-preview {
    margin-bottom: var(--spacing-md);
  }
  
  .hero-quote {
    font-size: var(--font-size-lg);
    margin: var(--spacing-md) 0;
  }
  
  .hero-author {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
  }
  
  .cta-button {
    display: inline-block;
    min-height: var(--touch-target-comfortable);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    border-radius: var(--radius-md);
    text-decoration: none;
    background: var(--color-primary);
    color: var(--color-surface);
    transition: var(--transition-base);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .cta-button:hover,
  .cta-button:active {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
  }
  
  /* Hide floating elements on small screens to save space */
  .floating-elements {
    display: none;
  }
}

/* Calendar mobile optimization */
@media (max-width: 767px) {
  .calendar-container {
    margin: 0 auto;
    max-width: 100%;
  }
  
  .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
  }
  
  .calendar-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
  }
  
  .nav-button {
    min-width: var(--touch-target-comfortable);
    min-height: var(--touch-target-comfortable);
    padding: var(--spacing-sm);
    background: var(--color-surface);
    border: 2px solid var(--color-border-light);
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: var(--transition-base);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .nav-button:hover,
  .nav-button:active {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    transform: scale(1.05);
  }
  
  /* Mobile calendar grid */
  .calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .calendar-day-header {
    padding: var(--spacing-sm) 2px;
    text-align: center;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .calendar-day {
    min-height: var(--touch-target-min);
    min-width: var(--touch-target-min);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: var(--transition-base);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }
  
  .calendar-day:hover,
  .calendar-day:active {
    background: var(--color-primary-light);
    transform: scale(1.1);
  }
  
  .calendar-day.today {
    background: var(--color-primary);
    color: var(--color-surface);
    font-weight: var(--font-weight-bold);
    box-shadow: 0 0 0 2px var(--color-primary-light);
  }
  
  .calendar-day.checked {
    background: var(--color-success);
    color: var(--color-surface);
  }
  
  .calendar-day.checked::after {
    content: '✓';
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 10px;
    font-weight: bold;
  }
  
  .calendar-day.other-month {
    color: var(--color-text-muted);
    opacity: 0.5;
  }
  
  .calendar-day.solar-term {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    color: var(--color-accent-dark);
    font-weight: var(--font-weight-semibold);
  }
}

/* Tablet optimization */
@media (min-width: 768px) and (max-width: 1023px) {
  .app-container {
    padding: var(--spacing-xl);
    max-width: 740px;
    margin: 0 auto;
  }
  
  .calendar {
    gap: 6px;
  }
  
  .calendar-day {
    min-height: 50px;
    min-width: 50px;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  
  .floating-elements {
    display: block;
  }
}

/* Small phone optimization (320px-479px) */
@media (max-width: 479px) {
  .app-container {
    padding: 12px;
  }
  
  .app-title {
    font-size: var(--font-size-xl);
  }
  
  .hero-quote {
    font-size: var(--font-size-base);
  }
  
  .calendar {
    gap: 2px;
  }
  
  .calendar-day {
    min-height: 40px;
    min-width: 40px;
    font-size: var(--font-size-xs);
  }
  
  .calendar-day-header {
    font-size: 10px;
    padding: 4px 1px;
  }
  
  .cta-button {
    width: 100%;
    padding: var(--spacing-md);
  }
}

/* Daily detail page mobile optimization */
@media (max-width: 767px) {
  .daily-detail {
    padding: 0;
  }
  
  .detail-header {
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--color-surface);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-bottom: var(--spacing-md);
  }
  
  .back-button {
    min-height: var(--touch-target-min);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background: var(--color-background-alt);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    cursor: pointer;
    touch-action: manipulation;
  }
  
  .date-title {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-sm);
  }
  
  .content-section {
    padding: 0 var(--spacing-md);
  }
  
  .mood-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
  }
  
  .wisdom-quote {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    margin: var(--spacing-lg) 0;
  }
  
  .task-description {
    font-size: var(--font-size-base);
    padding: var(--spacing-md);
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
  }
  
  .check-in-button {
    width: 100%;
    min-height: var(--touch-target-comfortable);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    background: var(--color-success);
    color: var(--color-surface);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    touch-action: manipulation;
    transition: var(--transition-base);
  }
  
  .check-in-button:hover,
  .check-in-button:active {
    background: var(--color-success-dark);
    transform: translateY(-1px);
  }
  
  .share-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
  }
  
  .share-button {
    min-height: var(--touch-target-min);
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: var(--font-size-sm);
    touch-action: manipulation;
    transition: var(--transition-base);
  }
  
  .share-button.twitter {
    background: #1da1f2;
    color: white;
  }
  
  .share-button.facebook {
    background: #4267B2;
    color: white;
  }
  
  .share-button.copy {
    background: var(--color-background-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
  }
}

/* Breadcrumb mobile optimization */
@media (max-width: 767px) {
  .breadcrumb-nav {
    padding: var(--spacing-sm) var(--spacing-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .breadcrumb-list {
    white-space: nowrap;
    font-size: var(--font-size-xs);
  }
  
  .breadcrumb-item a,
  .breadcrumb-item.active {
    padding: var(--spacing-xs) var(--spacing-sm);
    min-height: var(--touch-target-min);
    display: inline-flex;
    align-items: center;
  }
}

/* Touch and gesture enhancements */
@media (max-width: 767px) {
  /* Remove iOS safari default touch highlighting */
  * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }
  
  /* Optimize button touch response */
  button,
  .calendar-day,
  .nav-button,
  .cta-button,
  .check-in-button,
  .share-button,
  .back-button {
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Improve scroll performance */
  .app-container,
  .calendar-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  /* Prevent unwanted zooming on inputs */
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

/* Landscape phone optimization */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    padding: var(--spacing-md);
  }
  
  .hero-quote {
    font-size: var(--font-size-base);
    margin: var(--spacing-sm) 0;
  }
  
  .calendar-day {
    min-height: 36px;
    min-width: 36px;
  }
}

/* ===== 🌍 ACCESSIBILITY ENHANCEMENTS ===== */

/* Focus styles for keyboard navigation */
*:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Remove default focus for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Enhanced focus for interactive elements */
.calendar-day:focus-visible,
.nav-button:focus-visible,
.cta-button:focus-visible,
.check-in-button:focus-visible,
.share-button:focus-visible,
.back-button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: var(--shadow-primary);
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #1a5d54;
    --color-text-primary: #000000;
    --color-bg-primary: #ffffff;
  }
  
  .calendar-day {
    border: 2px solid var(--color-text-primary);
  }
  
  .check-in-button,
  .cta-button {
    border: 2px solid var(--color-text-primary);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .floating-emoji {
    animation: none;
  }
  
  .calendar-day.today {
    animation: none;
  }
}

.action-section {
  text-align: center;
  padding: 2rem 0;
}

.check-in-button {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 2rem;
  min-width: 200px;
}

.check-in-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(72, 187, 120, 0.3);
}

.check-in-button:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease;
}

.check-in-button:disabled {
  background: #a0aec0;
  cursor: not-allowed;
}

.check-in-button.checked {
  background: #a0aec0;
}

.share-section {
  margin-top: 2rem;
}

.share-section h4 {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-button {
  background: #4299e1;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.share-button:hover {
  background: #3182ce;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-button:active {
  transform: translateY(0) scale(0.95);
}

.share-button.twitter {
  background: #1da1f2;
}

.share-button.facebook {
  background: #4267b2;
}

.share-button.copy {
  background: #718096;
}

/* Footer and ads */
.app-footer {
  text-align: center;
  padding: 2rem 0;
  color: #718096;
}

.ads-section {
  margin: 2rem 0;
}

.ad-placeholder {
  background: #f7fafc;
  border: 2px dashed #e2e8f0;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  color: #a0aec0;
}

.ad-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-text {
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ===== 📄 SEO LANDING PAGES STYLES ===== */

.seo-content {
  max-width: 800px;
  margin: 0 auto;
}

.benefits-list {
  text-align: left;
  margin: var(--space-lg) 0;
  padding-left: var(--space-lg);
}

.benefits-list li {
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}

.quote-collection {
  display: grid;
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.wisdom-card {
  background: var(--color-bg-primary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-primary-100);
}

.wisdom-card blockquote {
  font-family: var(--font-family-serif);
  font-size: var(--font-size-xl);
  font-style: italic;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-relaxed);
}

.wisdom-card cite {
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  font-size: var(--font-size-lg);
  display: block;
  margin-bottom: var(--space-md);
}

.wisdom-card p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.benefit-card {
  background: var(--color-bg-primary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-primary-50);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.benefit-card h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.benefit-card p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
}

.cta-section {
  text-align: center;
  margin: var(--space-2xl) 0;
  padding: var(--space-xl);
  background: var(--color-bg-gradient-hero);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-primary-100);
}

.cta-section p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

/* Enhanced Daily Detail Page Styles */
.wisdom-context {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-primary-50);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.wisdom-context p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.practice-guide {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--color-bg-success);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-success-light);
}

.practice-guide h3 {
  color: var(--color-primary);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
}

.practice-steps {
  list-style: none;
  counter-reset: step-counter;
  padding-left: 0;
}

.practice-steps li {
  counter-increment: step-counter;
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
  position: relative;
  line-height: var(--line-height-normal);
}

.practice-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--color-primary);
  color: var(--color-bg-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
}

.reflection-prompt {
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-sm);
}

.navigation-section {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-primary-100);
}

.navigation-section h3 {
  text-align: center;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.nav-links {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.nav-link {
  background: var(--color-primary);
  color: var(--color-bg-primary);
  text-decoration: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

.nav-link:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.nav-link.prev {
  margin-right: var(--space-sm);
}

.nav-link.next {
  margin-left: var(--space-sm);
}

.related-links {
  text-align: center;
  color: var(--color-text-secondary);
}

.related-links p {
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-sm);
}

.related-links a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.related-links a:hover {
  text-decoration: underline;
}

.tracker-info h2,
.wisdom-showcase h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Responsive design */
@media (max-width: 768px) {
  .app-container {
    padding: 0.5rem;
  }

  .app-title {
    font-size: 2rem;
  }

  .calendar-container {
    padding: 1rem;
  }

  .calendar-day {
    min-height: 60px;
    font-size: 0.9rem;
  }

  .solar-term {
    font-size: 0.6rem;
  }

  .daily-detail {
    padding: 1rem;
  }

  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .date-title {
    font-size: 1.5rem;
  }

  .theme-badge {
    align-self: flex-start;
  }

  .wisdom-quote {
    font-size: 1.2rem;
  }

  .share-buttons {
    flex-direction: column;
    align-items: center;
  }

  .share-button {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .calendar-day {
    min-height: 50px;
  }

  .day-number {
    font-size: 1rem;
  }

  .solar-term {
    display: none;
  }

  .wisdom-quote {
    font-size: 1.1rem;
  }
}