$bg_url:"../../../assets/downloadPrompt/bg.webp";
$bg_url_ad:"../../../assets/downloadPrompt/apk_modal_bg.webp";
.popup{
  position: absolute;
  top: 15vh;
  left: 1.6rem;
  right: 1.6rem;
  width: auto;
  overflow: unset;
  padding: 0;
  border-radius: 0.36rem;
  background-color: var(--darkColor3);
  max-width: 512px;
  & .container{
    position: relative;
    width: 100%;
    align-items: center;
    background: url($bg_url) no-repeat 0 0;
    background-size: 100% 10.2rem;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: center;
    padding: 2.2rem 1.1rem;
    border-radius: 0.36rem;
    & .icon{
      height: 8.54rem;
      left: 0.88rem;
      position: absolute;
      top: -1.21rem;
      width: 7.44rem;
      img{
        width: 100%;
        height: 100%;
      }
    }
    & .title{
      color: var(--warningColor);
      font-size: 2.56rem;
      font-weight: 600;
      left: 9.27rem;
      line-height: 3.0rem;
      position: absolute;
      text-align: left;
      text-transform: uppercase;
      top: 1.14rem;
    }
    & .sub_title{
      color: var(--warningColor);
      font-size: 1.76rem;
      font-weight: 600;
      left: 9.27rem;
      line-height: 2.05rem;
      position: absolute;
      text-align: left;
      text-transform: uppercase;
      top: 4.22rem;
    }
    & .items_con{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      margin-top: 8.8rem;
      gap: 1.1rem;
      & .item{
        align-items: center;
        background-color: var(--darkColor1);
        border-radius: 0.36rem;
        display: flex;
        flex-direction: row;
        gap: 1.21rem;
        height: 3.22rem;
        justify-content: flex-start;
        padding: 0.73rem 0 0.73rem 0.73rem;
        width: 100%;
        & .item_icon{
          height: 1.76rem;
          width: 1.76rem;
        }
        & .item_text{
          color: var(--textColor);
          font-size: 1.02rem;
          font-weight: 900;
          line-height: 1.39rem;
          text-align: left;
          span{
            color: var(--warningColor);
            font-weight: 900;
          }
        }
      }
    }
    & .btn_down{
      flex: none;
      font-size: 1.17rem;
      font-weight: 700;
      height: 2.93rem;
      line-height: 1.39rem;
      margin-top: 2.93rem;
      width: 22rem;
      display: block;
      border-radius: 3.3rem;
      padding: 0.36rem 1.1rem;
      background: var(--buttonColor);
      color: var(--textColor);
      cursor: pointer;
      position: relative;
      transition: background .4s;
    }
  }
}

.popup_ad {
  position: absolute;
  top: 25vh;
  left: 1.6rem;
  right: 1.6rem;
  width: auto;
  overflow: unset;
  padding: 0;
  border-radius: 0.36rem;
  background-color: var(--darkColor3);
  max-width: 512px;

  height: auto;
  background: url($bg_url_ad) no-repeat center top;
  background-size: contain;
}

.container_ad {
  position: relative;
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: flex-start;
  padding: 3.2rem 1.1rem 3.2rem;
  border-radius: 0.36rem;
  
  // 顶部标题部分
  .header_section {
    position: absolute;
    top: 2.0rem;
    left: 4.7rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    .title_ad {
      color: #fff176; // 亮黄色
      font-weight: 900;
      // font-style: italic;
      line-height: 1.1;
      text-align: center;
      
      .title_top { font-size: 28px; }
      .title_bottom { font-size: 28px; }
    }
  }

  // 下半部分内容
  .content_section {
    padding: 7.2rem 0 0;
    text-align: center;
    width: 100%;

    .item_text_main {
      color: white;
      font-size: 1.5rem;
      // font-weight: bold;
      margin-bottom: 2.4rem;
    }

    .bonus_value {
      color: #ffca28;
      font-size: 3rem;
      font-weight: 900;
      margin: 30px 0;
    }

    .item_text_sub {
      color: white;
      font-size: 1.5rem;
      // font-weight: bold;
      margin-bottom: 30px;
    }

    .hint_text {
      color: #ffa726; // 橙色
      font-size: 0.9rem;
      margin-bottom: 0px;
    }

    .btn_down{
      flex: none;
      font-size: 1.17rem;
      font-weight: 700;
      height: 2.93rem;
      line-height: 1.39rem;
      margin-top: 0.33rem;
      width: 22rem;
      display: block;
      border-radius: 3.3rem;
      padding: 0.36rem 1.1rem;
      background: var(--buttonColor);
      color: var(--textColor);
      cursor: pointer;
      position: relative;
      transition: background .4s;
    }
  }
}