* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 导航 */
.header {
  background: #2a3b55;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo img {
  height: 44px;
}
.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}
.nav-menu a:hover {
  color: #ff4757;
}
.kf-box {
  position: relative;
  cursor: pointer;
}
.kf-box:hover .kf-hover {
  display: block;
}
.kf-hover {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  color: #333;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  width: 160px;
  text-align: center;
}
.kf-hover img {
  width: 100%;
  margin-top: 6px;
  border-radius: 4px;
}

/* 搜索 */
.search {
  background: #fff;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.search input {
  width: 50%;
  height: 44px;
  padding: 0 15px;
  border: 1px solid #e4e7ed;
  border-radius: 6px 0 0 6px;
  outline: none;
  font-size: 14px;
}
.search button {
  height: 44px;
  padding: 0 25px;
  background: #2a3b55;
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}
.search button:hover {
  background: #3b4f6f;
}

/* 板块标题 */
.section-title {
  font-size: 18px;
  font-weight: bold;
  color: #2a3b55;
  margin: 20px 0 15px;
  padding-left: 10px;
  border-left: 4px solid #ff4757;
}

/* 服务端列表表格 */
.server-table {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.server-table th {
  background: #2a3b55;
  color: #fff;
  padding: 14px;
  text-align: center;
  font-weight: normal;
  font-size: 15px;
}
.server-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #f0f2f5;
  font-size: 14px;
}
.server-table tr:hover {
  background: #fafafa;
}
.tag-red {
  background: #ff4757;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  display: inline-block;
  margin: 0 3px;
  text-decoration: none;
}

/* 分页 */
.pages {
  margin: 30px 0;
  text-align: center;
}
.pages a {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e4e7ed;
  color: #333;
  margin: 0 4px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}
.pages a:hover,
.pages a.active {
  background: #2a3b55;
  color: #fff;
  border-color: #2a3b55;
}

/* 图文热点服务端（卡片） */
.hot-box {
  margin-bottom: 30px;
}
.hot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.hot-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s;
}
.hot-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.hot-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.hot-info {
  padding: 12px;
}
.hot-tag {
  display: inline-block;
  background: #ff4757;
  color: #fff;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.hot-title {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  height: 42px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

/* 底部 */
.footer {
  background: #fff;
  padding: 25px;
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

/* 底部版权链接颜色统一 */
.footer p,
.footer p a {
  color: #666;       /* 统一颜色 */
  text-decoration: none; /* 去掉链接下划线 */
}

/* 移动端适配 */
@media (max-width: 768px) {
  .nav-menu {
    gap: 14px;
  }
  .search input {
    width: 65%;
  }
  .hot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .server-table {
    display: block;
    overflow-x: auto;
  }
}