* {
    padding: 0;
    margin: 0;
  }

  .main {
    width: 100%;
    max-width: 960px;
    position: relative;
  }

  .main_pc {
    max-width: 1920px;
    justify-content: space-between;
  }

  .firt_img_box {
    width: 100%;
    position: relative;
  }

  .page_img {
    width: 100%;
  }

  img {
    display: block;
  }

  .down_box {
    position: relative;
  }

  .first_box {
    position: absolute;
    bottom: 3vw;
    z-index: 10;
    right: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .code_copy {
    width: 14vw;
    height: 3vw;
    background: #3e355c;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: #ff0;
    font-size: 1.8vw;
    z-index: 10;
    gap: 20%;
  }

  .first_box .text {
    color: #f2c6ff;
    font-size: 2vw;
    margin: 1vw 0;
  }

  .code_copy img {
    max-height: 80%;
    display: block;
    cursor: pointer;
  }

  .fav {
    width: 12vw;
    height: 3vw;
    background: url("/img/penanda.png") no-repeat left top;
    background-size: 100% 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-left: 3.5vw;
    box-sizing: border-box;
    font-size: 1.6vw;
    color: #fff;
  }

  .down_box .content{
    position: absolute;
    width: 100%;
    top: 20px;
    display: flex;
    justify-content: space-around;
    padding: 0 60px;
    box-sizing: border-box;
  }

  .main_pc .content {
    top: auto;
    top: 4vw;
    max-width: 1920px;
  }

  .down_box .content .qrcode {
    flex: 4;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin-right: 20px;
    align-items: center;
  }

  .main_pc .content .qrcode {
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
    margin-right: 0;
  }

  .down_box .content .qrcode .qr {
    padding: 10px;
    background-color: #fff;
    width: 100%;
    max-width: 220px;
    height: auto;
    box-sizing: border-box;
  }
  
  .qr img {
    width: 100%;
  }

  .main_pc .content .qrcode .qr {
    border-radius: 6px;
  }

  .down_box .content .qrcode .qr canvas {
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px;
  }

  .down_box .content .btn_box {
    flex: 7;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .main_pc .content .btn_box {
    flex: 3.92;
  }

  .down_box .content .btn_box .main_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .main_pc .content .btn_box .main_btn {
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    margin-top: -30px;
  }

  a {
    font-weight: 500;
    color: #646cff;
    text-decoration: inherit;
  }

  .down_box .content .btn_box .btn1 {
    background: url(/img/sjgw_anniu1-DTwvMQlv.png) no-repeat left top;
    background-size: 100% 100%;
  }

  .down_box .content .btn_box .btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 36vw;
    height: 10vw;
    color: #fff;
    box-sizing: border-box;
    padding-left: 3.2vw;
  }

  .down_box .content .btn_box .btn .img_box {
    width: 80px;
    justify-content: center;
    display: flex;
  }

  .down_box .content .btn_box .btn .img_box img {
    width: 50px;
    height: 50px;
  }

  .down_box .content .btn_box .btn .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    box-sizing: border-box;
    padding-right: 10px;
  }

  .down_box .content .btn_box .btn span {
    display: block;
  }

  .down_box .content .btn_box .btn .line1 {
    font-size: 1.6vw;
  }

  .down_box .content .btn_box .btn .line2 {
    font-size: 1.3vw;
  }

  .down_box .content .btn_box .copy {
    border: solid 1px #423471;
    border-radius: 6px;
    color: #fff;
    font-size: 1.4vw;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    height: 4vw;
    align-items: center;
    margin: 0 3%;
    background-color: #091930;
  }

  .imgbox {
    display: flex;
    justify-content: center;
    margin-top: -6rem;
    margin-bottom: 2rem;
    width: 100%;
  }

  #imgbox-center {
    display: none;
    width: 90%;
    height: 80%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.95);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);

    align-items: center;
    justify-content: center; 
  }

  #ios-image {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    height: auto; 
    margin-top: auto;
  }

  #ios-button {
    display: none;
    position: fixed;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    width: 91%;
    height: 35px;
    z-index: 10000;
  }

  #overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
  }

  body.no-scroll {
    overflow: hidden;
    height: 100vh;
  }

  @media (max-width: 768px) {
    .first_box {
      bottom: auto;
      top: 33vw;
      right: 10%;
    }

    .first_box .code_copy {
      width: 20vw;
      height: 4.4vw;
      font-size: 3vw;
    }

    .first_box .text {
      font-size: 2.4vw;
    }

    .fav {
      top: -50vw;
      bottom: auto;
      width: 20vw;
      height: 5.2vw;
      padding-left: 6vw;
      font-size: 3vw;
    }

    .down_box .content {
      top: -120px;
      padding: 0 30px;
      align-items: center;
    }

    .qrcode {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .down_box .content .qrcode {
      margin-right: 8px;
    }

    .down_box .content .qrcode .qr {
        width: 100px;
        height: 100px;
        padding: 5px;
        border-radius: 8px;
    }

    .qr img {
      width: 90px;
    }

    .down_box .content .btn_box {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100px;
    }

    .down_box .content .btn_box .main_btn {
      height: 100%;
      justify-content: space-between;
      gap: 8px;
    }

    .down_box .content .btn_box .btn {
      border-radius: 24px;
    }

    .down_box .content .btn_box .btn1 {
      background: linear-gradient(to right, #8948d4, #ff77e1);
    }

    .down_box .content .btn_box .btn2 {
        background: linear-gradient(to right, #5756e3, #d071fa);
    }

    .down_box .content .btn_box .btn {
        flex: 1;
        width: 100%;
    }

    .down_box .content .btn_box .btn .img_box {
      width: 36px;
    }

    .down_box .content .btn_box .btn .img_box {
        margin-right: 4px;
    }

    .down_box .content .btn_box .btn .img_box img {
        width: 24px;
        height: 24px;
    }

    .down_box .content .btn_box .btn .text {
      padding-right: 10px;
      flex: 4;
    }

    .down_box .content .btn_box .btn .line1 {
        font-size: 13px;
    }

    .down_box .content .btn_box .btn .line2 {
        font-size: 10px;
    }

    .copy {
      display: none !important;
    }
    .imgbox {
      margin-top: -6rem;
      margin-bottom: 1rem;
    }
  }

  @media (min-width: 768px) {
    .down_box .content .btn_box .btn2 {
      background: url(/img/sjgw_anniu2-CFhNWKLT.png) no-repeat left top;
      background-size: 100% 100%;
    }
  }