/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基础样式 */
body {
  background-color: #f2f4f7;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  padding-bottom: 60px;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

/* 主容器（电脑端居中 + 手机端满屏） */
.support {
  max-width: 780px;
  margin: 15px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* 标题 */
.support h1 {
  font-size: 20px;
  background: linear-gradient(135deg, #5c4fc4, #54488f);
  color: #fff;
  padding: 18px;
  text-align: center;
}

.support h2 {
  font-size: 16px;
  background: #f7f8fa;
  padding: 12px 16px;
  margin: 16px 0 6px;
  border-left: 5px solid #54488f;
  color: #333;
}

/* 内容 */
.support p {
  padding: 12px 16px;
  font-size: 15px;
  color: #444;
  line-height: 34px;
}

/* 图片 */
.support img {
  display: block;
  margin: 10px auto;
  border-radius: 32px;
  border: 1px solid #eee;
  max-width: 100%;
}

/* 按钮区域（电脑并排 + 手机竖排） */
.btn-area {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
}

.btn-area a {
  flex: 1;
  min-width: 180px;
  background: #54488f;
  color: #fff;
  text-align: center;
  padding: 14px 10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
}

.btn-area a:hover {
  background: #6c5bb8;
  color: #fff;
}

/* 标签样式 */
.related {
  padding: 12px 16px;
}

.related .tag {
  display: inline-block;
  background: #f1f3f8;
  color: #555;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 14px;
  margin: 4px;
}

.related .tag:hover {
  background: #54488f;
  color: #fff;
}

/* 友情链接 */
.friend {
  background: #f9fafc;
  padding: 14px 16px;
  border-top: 1px dashed #eee;
  margin-top: 10px;
}

.friend a {
  display: inline-block;
  margin: 4px 8px;
  font-size: 14px;
  color: #666;
}

.friend a:hover {
  color: #54488f;
}

/* 底部版权 */
.footer {
  text-align: center;
  padding: 18px;
  font-size: 12px;
  color: #999;
  background: #fafbfc;
}

/* 固定底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55px;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  z-index: 999;
}

.bottom-nav .nav-item {
  flex: 1;
  text-align: center;
}

.bottom-nav .nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
  font-size: 12px;
}

.bottom-nav .nav-item a.active {
  color: #54488f;
  font-weight: bold;
}

.bottom-nav .nav-item .icon {
  font-size: 20px;
  margin-bottom: 4px;
}

/* ======================
   响应式适配（手机自动适配）
======================= */
@media (max-width: 768px) {
  .support {
    margin: 10px;
    border-radius: 12px;
  }

  .btn-area {
    flex-direction: column;
  }

  .btn-area a {
    width: 100%;
  }
}