*,
html {
  box-sizing: border-box;
}

body {
  overflow:auto;
  position: relative;
  background-image: url(../image/bg.png);
  background-repeat: no-repeat;
  background-position: center;    /* 居中定位 */
  background-size: cover;   
}

.bg-pc {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
}

.image-center {
  max-width: 440px;
  height: auto;
}

.image-center img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1600px) {
  .image-center {
    max-width: 420px;
  }
}

@media screen and (max-width: 1440px) {
  .image-center {
    max-width: 350px;
  }
}

@media screen and (max-width: 1200px) {
  .logo {
    max-width: 250px;
  }

  .image-center {
    max-width: 360px;
  }
  .list-link{
    padding: 0.8rem 0.8rem; 
    gap: 3.5rem;
  }
}

@media screen and (max-width: 1000px) {
  #container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .cskh_btn{
      height: 30px;
  }
  .speed-item a span{
      font-size: 1.2rem;
  }

}

@media screen and (max-width: 850px) {
  .list-link {
      padding: 10px;
      width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .link-item:last-child {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .pc_icon{
      display: none;
  }
  #container {
    padding: 20px 10px;
  }

  .list-link {
      padding: 10px;
      width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .link-item:nth-last-child(2) {
    display: none !important;
  }

  .logo {
    max-width: 200px;
  }

  .image-center {
    max-width: 400px;
  }

  .list-link {
      padding: 10px;
      width: 100%;
    margin-top: 1rem;
    gap: 3.5rem;
  }

  .reload_btn {
    width: 300px;
    height: 45px;
    padding: 0 17px;
  }

  .cskh_btn {
    width: 100%;
    height: 20px;
  }

  .icon-speedtest {
    font-size: 21px;
  }
  .fg_line1{
             width:100%;
             margin-top:15px;
         } 
}

@media screen and (max-width: 425px) {
  .image-center {
    max-width: 300px;
  }

  .list-link {
      padding: 10px;
      width: 100%;
    margin-top: 1rem;
    gap: 2.5rem;
  }

  .speed-item img {
    width: 70px;
    height: 70px;
  }

  .svg-list-bg .svg-item {
    transform-origin: center 49px !important;
  }
  .lunbo{
             width:100%;
             margin-top:15px;
         }  
.fg_line1{
             width:100%;
             margin-top:15px;
         }         
  
}


@media screen and (max-width: 374px) {
  .logo {
    max-width: 190px;
  }
}

/* Bottom four buttons: 2 columns x 2 rows */
.bottom-ui {
  width: 100%;
  max-width: 840px;
  margin: 20px auto 0;
  padding: 0 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  align-items: center;
  column-gap: 24px;
  row-gap: 16px;
  box-sizing: border-box;
}

.bottom-ui a {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.bottom-ui img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 90;
  object-fit: contain;
}

/* Keep the two-column alignment on phones; images scale proportionally. */
@media screen and (max-width: 767px) {
  .bottom-ui {
    width: 100%;
    max-width: 840px;
    margin-top: 20px;
    padding: 0 4px;
    column-gap: 10px;
    row-gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background-image: url(./image/bottom_phone0228.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .bottom-ui a {
    max-width: none;
  }
}
