/* 增强样式 */
body.ui-style-0 {
  font-size: 16px;
}

.card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  border-color: #667eea;
}

.card h3 a {
  display: block;
  transition: color 0.3s;
}

.card h3 a:hover {
  color: #667eea;
}

section h2 {
  position: relative;
  padding-bottom: 0.5rem;
}

section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  section h2::after {
    width: 40px;
  }
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  transition: all 0.3s;
  z-index: 1000;
}

.back-to-top:hover {
  background: #764ba2;
  transform: translateY(-4px);
}

.back-to-top.show {
  display: flex;
}
