/* ===== 页面头部样式 ===== */
.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: white;
  color: #333;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* 暗色主题 Header */
body.dark-theme .page-header {
  background: #1e1e1e;
  color: #e0e0e0;
  border-color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-title {
  margin: 0 0 15px 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  transition: color 0.3s ease;
}

/* 暗色主题标题 */
body.dark-theme .header-title {
  color: #e0e0e0;
}

.header-subtitle {
  margin: 0;
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
  transition: color 0.3s ease;
}

/* 暗色主题副标题 */
body.dark-theme .header-subtitle {
  color: #b0b0b0;
}

/* ===== 首页样式 ===== */
.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: transparent;
}

.price-dashboard {
  margin-top: 30px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.data-source {
  background: white;
  color: #333;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  transition: all 0.3s ease;
}

/* 暗色主题数据来源 */
body.dark-theme .data-source {
  background: #1e1e1e;
  color: #e0e0e0;
  border-color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.source-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.source-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* 暗色主题标签 */
body.dark-theme .source-label {
  color: #b0b0b0;
}

.source-value {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 16px;
  background: #f8f9fa;
  color: #333;
  border-radius: 20px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

/* 暗色主题值 */
body.dark-theme .source-value {
  background: #2d2d2d;
  color: #e0e0e0;
  border-color: #404040;
}

.update-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: #666;
  transition: color 0.3s ease;
}

/* 暗色主题更新时间 */
body.dark-theme .update-time {
  color: #b0b0b0;
}

.time-label {
  font-weight: 500;
}

.time-value {
  font-weight: 600;
  background: #f8f9fa;
  color: #333;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

/* 暗色主题时间值 */
body.dark-theme .time-value {
  background: #2d2d2d;
  color: #e0e0e0;
  border-color: #404040;
}

/* ===== 关于页面样式 ===== */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: transparent;
}

.about-content {
  background: white;
  color: #333;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  transition: all 0.3s ease;
}

/* 暗色主题内容区域 */
body.dark-theme .about-content {
  background: #1e1e1e;
  color: #e0e0e0;
  border-color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.about-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  transition: color 0.3s ease;
}

/* 暗色主题标题 */
body.dark-theme .about-title {
  color: #e0e0e0;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
  transition: color 0.3s ease;
}

/* 暗色主题描述文本 */
body.dark-theme .about-description {
  color: #b0b0b0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

/* 暗色主题功能项 */
body.dark-theme .feature-item {
  background: #2d2d2d;
  border-color: #404040;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  transition: color 0.3s ease;
}

/* 暗色主题功能标题 */
body.dark-theme .feature-title {
  color: #e0e0e0;
}

.feature-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* 暗色主题功能描述 */
body.dark-theme .feature-description {
  color: #b0b0b0;
}