
/* UI Style 12 - Layout A */

body.ui-style-12 {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-size: 15px;
}

body.ui-style-12 h1 {
  color: #1a3a6b;
}

body.ui-style-12 h2 {
  color: #2c5aa0;
}

body.ui-style-12 a {
  transition: all 0.3s ease;
}

body.ui-style-12 a:hover {
  transform: translateY(-2px);
}

/* 响应式 */
@media (max-width: 768px) {
  body { font-size: 14px; }
  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  nav ul { padding: 0 5px; }
  main { padding: 20px 10px !important; }
  section { padding: 20px 15px !important; }
}

/* 卡片悬停效果 */
div[style*="border:1px solid #e0e0e0"]:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #2c5aa0;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #1a3a6b;
  transform: translateY(-2px);
}

/* 返回顶部按钮 */
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2c5aa0;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all 0.3s ease;
}

#backToTop:hover {
  background: #1a3a6b;
  transform: translateY(-3px);
}
