
/* Layout Variant C - UI Style 10 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  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";
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2980b9;
}

h1, h2, h3 {
  line-height: 1.2;
}

/* 导航栏 */
.nav-bar {
  background: #2c3e50;
  color: #fff;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
}

.nav-links a {
  color: #ecf0f1;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  white-space: nowrap;
  transition: background 0.3s ease;
  border-radius: 4px;
}

.nav-links a:hover {
  background: #34495e;
  color: #fff;
}

/* 移动端导航 - 单行不换行 */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
  }

  .nav-logo {
    font-size: 1.2rem;
    margin-right: 0.5rem;
  }

  .nav-links {
    gap: 0.2rem;
    flex: 1;
    justify-content: space-between;
    min-width: 0;
  }

  .nav-links a {
    padding: 0.4rem 0.3rem;
    font-size: 0.85rem;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 响应式布局 */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (max-width: 768px) {
  main {
    padding: 1rem 0.5rem;
  }
}

/* 卡片样式 */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 按钮 */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #3498db;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #2980b9;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #ecf0f1;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

footer p {
  margin: 0;
}

/* 列表 */
ul {
  list-style: none;
}

/* UI风格变体 */
body.ui-style-10 {
  
  
  font-size: 17px;
  
}
