* {
  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);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #4fc3f7;
}

/* 客服悬浮 */
.kf-box {
  position: relative;
  cursor: pointer;
}

.kf-hover {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 99;
  width: 160px;
  text-align: center;
  color: #333;
}

.kf-box:hover .kf-hover {
  display: block;
}

.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;
}

/* 公告 */
.notice {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 4px solid #fff;
}

.notice p {
  color: #e53333;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 8px 0;
}

/* 卡片列表 */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-body {
  padding: 12px;
}

.card-tag {
  display: inline-block;
  background: #ff4757;
  color: #fff;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.card-title {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  height: 42px;
  overflow: hidden;
}

/* 攻略板块 */
.strategy {
  margin-bottom: 30px;
}
.section-title {
  font-size: 18px;
  font-weight: bold;
  color: #2a3b55;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #ff4757;
}
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.strategy-item {
  background: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all 0.3s;
  cursor: pointer;
}
.strategy-item:hover {
  transform: translateX(4px);
  background: #fcfdff;
}
.strategy-item a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.strategy-item a::before {
  content: "•";
  color: #ff4757;
  font-size: 18px;
  font-weight: bold;
}

/*TAG*/
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}
/* 一行固定8个均分 高亮清爽配色 */
.tag-group a {
    flex: 0 0 calc((100% - 70px) / 8);
    text-align: center;
    padding: 7px 0;
    background: #f0f8ff;
    color: #1967d2;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #c6e0ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
/* 悬浮高亮加深 */
.tag-group a:hover {
    background: #1967d2;
    color: #fff;
    border-color: #1967d2;
    box-shadow: 0 2px 6px rgba(25,103,210,0.3);
}
	.tag-group a:link,
	.tag-group a:visited,
	.tag-group a:active {
	text-decoration: none;
}

/* 表格 */
.table {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.table th {
  background: #2a3b55;
  color: #fff;
  padding: 14px;
  text-align: center;
  font-weight: normal;
}

.table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #f0f2f5;
  font-size: 14px;
}

.table tr:hover {
  background: #fafafa;
}

.tag-red {
  background: #ff4757;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  display: inline-block;
  margin: 2px;
}

/* 友情链接整体区块 */
.link-wrap {
    margin-top: 30px;
    padding: 20px;
    background: #f7f8fa;
    border-radius: 8px;
    border: 1px solid #e5e6eb;
}
.link-title {
    font-size: 15px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 14px;
    position: relative;
    padding-left: 12px;
}
.link-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: #0066cc;
    border-radius: 2px;
}
/* 链接列表布局 */
.friend-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 22px;
}
/* 链接文字样式 */
.friend-link-list a {
    font-size: 14px;
    color: #505050;
    text-decoration: none;
    transition: 0.3s all;
}
.friend-link-list a:hover {
    color: #ff5722;
    transform: translateY(-2px);
}

/* 底部 */
.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: 15px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .btn-group {
    grid-template-columns: repeat(3, 1fr);
  }
  .search input {
    width: 65%;
  }
  .strategy-grid {
    grid-template-columns: 1fr;
  }
}