/* 米老鼠 自定义主题 */

:root {
  --vp-c-brand: #646cff;
  --vp-c-brand-light: #747bff;
  --vp-c-brand-dark: #535bf2;
}

/* 功能卡片样式 */
.VPHome .VPHomeFeatures .container .VPHomeFeatures .items .item {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin: 1rem;
}

.VPHome .VPHomeFeatures .container .VPHomeFeatures .items .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--vp-c-brand);
}

.VPHome .VPHomeFeatures .container .VPHomeFeatures .items .item .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.VPHome .VPHomeFeatures .container .VPHomeFeatures .items .item .title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.VPHome .VPHomeFeatures .container .VPHomeFeatures .items .item .details {
  color: #6b7280;
  line-height: 1.6;
}

/* 暗黑主题下的功能卡片 */
[data-vp-theme="dark"] .VPHome .VPHomeFeatures .container .VPHomeFeatures .items .item {
  background: #2a2a2a;
  border-color: #3f3f46;
  color: #ffffff;
}

[data-vp-theme="dark"] .VPHome .VPHomeFeatures .container .VPHomeFeatures .items .item .title {
  color: #ffffff;
}

[data-vp-theme="dark"] .VPHome .VPHomeFeatures .container .VPHomeFeatures .items .item .details {
  color: #a1a1aa;
}

/* 页面标题样式 */
.VPDoc .content .content-container .content .main h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1f2937;
}

.VPDoc .content .content-container .content .main h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #374151;
  border-bottom: 2px solid var(--vp-c-brand);
  padding-bottom: 0.5rem;
}

[data-vp-theme="dark"] .VPDoc .content .content-container .content .main h1 {
  color: #ffffff;
}

[data-vp-theme="dark"] .VPDoc .content .content-container .content .main h2 {
  color: #ffffff;
}

/* 表格样式 */
.VPDoc .content .content-container .content .main table {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.VPDoc .content .content-container .content .main table th {
  background: var(--vp-c-brand);
  color: white;
  font-weight: 600;
  padding: 1rem;
}

.VPDoc .content .content-container .content .main table td {
  padding: 1rem;
}

.VPDoc .content .content-container .content .main table tr:nth-child(even) {
  background: #f9fafb;
}

[data-vp-theme="dark"] .VPDoc .content .content-container .content .main table tr:nth-child(even) {
  background: #2a2a2a;
}
