
/* 全局样式 */
body.ui-style-14 {
  --primary-color: #d32f2f;
  --secondary-color: #f44336;
  --text-color: #333;
  --bg-color: #f5f5f5;
  --border-color: #ddd;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 响应式图片 */
img {
  max-width: 100%;
  height: auto;
}

/* 按钮悬停效果 */
button, .btn {
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover, .btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* 卡片悬停效果 */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 响应式布局 */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 24px !important;
  }

  h2 {
    font-size: 20px !important;
  }

  h3 {
    font-size: 16px !important;
  }
}

/* 返回顶部按钮 */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

#back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

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

/* 加载动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease;
}
