* {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
html,
body {
  background: black;
  position: relative;
  width: 100%;
  height: 100%;
}

.centerBox {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  color: white;
}
.center-list {
  width: 70%;
  margin: 0 15%;
}
.centerBody {
  width: 100%;
  text-align: center;
  margin-top: 10%;
}
.centerBody img {
  margin: 0 auto;
  max-width: 100%;
}
.centerBody p.txt-w {
  color: #ffffff;
  font-size:12px;
  letter-spacing: 1px;
  font-weight: 100;
  padding-left:  20px;
}
.btn-p {
  margin-top: 30px;
  margin-bottom: 30px;
  /* 使用 Flex 布局让按钮自动换行 */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-p a {
  display: inline-block;
  font-size: 14px;
  color: #ffffff;
  padding: 8px 30px;
  border-radius: 30px;
  margin: 0 10px;
  background: rgba(29, 29, 29, 0.5);
  border: 1px solid rgba(89, 129, 183, 0.2);
  transition: background 0.3s;
}
.btn-p a:hover {
  color: #ffffff;
  background: linear-gradient(to right, #19c3ff, #0093ff);
}
.footer {
  position: fixed;
  bottom: 20px;
  width: 100%;
}
.center-footer {
  width: 70%;
  margin: 0 15%;
}
.footer .banquan {
  text-align: center;
  font-size: 12px;
  color: #6a7179;
}

/* 针对手机及小屏幕设备的优化 */
@media screen and (max-width: 950px) {
  .centerBody {
    margin-top: 55%;
  }
  .centerBody img {
    width: 100%;
  }
  .center-list {
    width: 90%;
    margin: 0 5%;
  }
  .btn-p a {
    padding: 8px 20px; /* 减少内边距 */
    margin: 5px;       /* 缩小外边距 */
    font-size: 12px;   /* 稍微减小字体 */
  }
}