/* 全局样式 */
body {
  margin: 0;
  font-family: "Microsoft YaHei", sans-serif;
  background: #fff;
}

/* 所有图片统一样式 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* 居中 */
}

/* LOGO 容器 */
.logo {
  padding: 15px;
  text-align: center; /* 可有可无 */
}

/* 图片 */
.logo img {
  display: block;        /* 让图片变成块元素 */
  margin: 0 auto;        /* 居中 */
  width: 750px;          /* PC端固定宽度 */
  max-width: 25%;        /* PC端最大25% */
}



/* Banner */
.banner img {
  width: 750px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

/* 品牌展示 */
.brands img {
  width: 750px;
  max-width: 90%; /* 移动端自适应 */
}

/* 轮播图容器 */
.swiper-container {
  width: 750px; /* PC端统一宽度 */
  max-width: 90%; /* 移动端自适应 */
  margin: 20px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
}

.swiper-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.swiper-slide {
  flex: 0 0 100%;
}

.swiper-slide img {
  width: 750px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 0 auto;
}

.swiper-pagination {
  text-align: center;
  margin-top: 10px;
}

.swiper-pagination-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.swiper-pagination-bullet.active {
  background: #d2a250; /* 金色圆点 */
}

/* 外层容器 */
.line-box {
  width: 750px;       /* PC端宽度 */
  max-width: 90%;     /* 移动端自适应 */
  margin: 20px auto;
}

/* 每一行 */
.line-item {
  display: flex;
  justify-content: space-between; /* 左中右分布 */
  align-items: center;
  background: #fff8f0;
  padding: 5px;
  margin: 8px 0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* 左边 71ms */
.ms-value {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  margin-right: 15px;
  min-width: 60px; /* 预留固定宽度，保持对齐 */
  text-align: left;
}

/* 中间文字 */
.line-title {
  flex: 1;             /* 占中间剩余空间 */
  text-align: center;  /* 居中 */
  font-weight: bold;   /* 加粗 */
  font-size: 16px;
  color: #555;
}

/* 右边按钮 */
.enter {
  padding: 8px 16px;
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.enter:hover {
  background: #ff4500;
}

.line-left span {
  font-size: 14px;
  color: #d4a762;
}

.line-left p {
  margin: 2px 0 0;
  font-size: 13px;
}

.enter {
  background: linear-gradient(90deg,#d4a762,#f1d08b);
  border: none;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

/* 下载按钮 */
.btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.btn img {
  width: 160px;
  height: auto;
  display: block;
}

.bounce {
  animation: bounce 1.6s infinite;
}

.bounce.delay {
  animation-delay: 0.8s;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.caip {
  text-align: center;
  margin: 10px 0 16px;
}

.caip img {
  width: 750px;
  max-width: 90%; /* 移动端自适应 */
  height: auto;
  display: inline-block;
}

.hot img {
  width: 750px;
  max-width: 90%;
  display: block;
  margin: 0 auto;
}

/* 底部广告默认样式（PC端） */
.footer img {
  width: 750px;       /* PC端宽度 */
  max-width: 90%;     /* 移动端自适应 */
  display: block;
  margin: 0 auto;
  border-radius: 8px; /* 可选圆角 */
}

/* 手机端固定在屏幕底部 */
@media screen and (max-width: 767px) {
  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: #fff;       /* 可选背景色，防止透明覆盖 */
    z-index: 9999;          /* 保证覆盖在最上层 */
    padding: 5px 0;         /* 上下间距 */
    box-shadow: 0 -2px 6px rgba(0,0,0,0.1); /* 可选阴影 */
  }

  .footer img {
    width: 90%;             /* 手机端自适应屏幕 */
    height: auto;
  }
}

/* 响应式设置 */
@media screen and (max-width: 767px) {
  /* 移动端图片宽度自适应 */
  img, .logo img, .banner img, .swiper-slide img, .brands img, .caip img, .hot img, .footer img {
    width: 90%;
  }
/* 手机端样式 */
  .logo img {
    width: 30%;        /* 手机端固定305px */
    max-width: 100%;
  }
}

  .swiper-container {
    width: 90%;
  }
}