
/* 全局样式 */
body.ui-style-9 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

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

/* 响应式 */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

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

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

  .nav {
    flex-wrap: nowrap !important;
    overflow-x: visible !important;
  }

  .nav a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

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

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

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 30px;
  background: #2c5aa0;
  color: #fff;
  border-radius: 4px;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #1a3d7a;
  text-decoration: none;
}

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

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