
/* 全局样式增强 */
body.ui-style-8 {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --bg-color: #f5f5f5;
  --card-bg: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }

p { margin-bottom: 15px; }

section {
  margin-bottom: 30px;
}

/* 卡片样式 */
li {
  transition: transform 0.2s, box-shadow 0.2s;
}

li:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 按钮与链接 */
a {
  transition: color 0.2s;
}

/* 响应式优化 */
@media (max-width: 768px) {
  main { padding: 0 15px; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  section { padding: 20px !important; }
  article { padding: 25px !important; }
}

/* 移动端导航强制单行 */
@media (max-width: 768px) {
  nav {
    overflow: visible;
    white-space: nowrap;
  }
  nav a {
    font-size: 12px;
    padding: 10px 4px;
  }
}
