$bg:"./../../assets/firstPay/pack.png";
$btnbg:"./../../assets/firstPay/button.png";
$pbg:"./../../assets/firstPay/percent.png";
$l_bg:"./../../assets/firstPay/l_bg.png";
$r_bg:"./../../assets/firstPay/r_bg.png";
.container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  pointer-events: none;
  position: relative;
}
.f_con{
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 25.875rem;
  pointer-events: auto;
  align-items: center;
  position:relative;
  gap: 0.7rem;
  & .title{
    max-width: 90%;
    height: auto;
  }
  & .f_main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    aspect-ratio: 583/442;
    height: auto;
    position: relative;
    & .bglight{
      width: 127%;
      position: absolute;
      z-index: 1;
      pointer-events: none;
      animation: bg_light_ani 20s linear infinite;
      transform: translateZ(0);
    }
    & .pack_con{
      display: flex;
      flex-direction: column;
      position: absolute;
      align-items: center;
      justify-content: flex-end;
      z-index: 2;
      width: 100%;
      aspect-ratio: 583/442;
      //background: url($bg) no-repeat;
      background-size: 100% 100%;
      & .pack_bg{
        position: absolute;
        z-index: 1;
        left: -0.4%;
        height: 100%;
        width: auto;
      }
      & .p_text{
        &::before{
          content: attr(data-title);
          position: absolute;
          background-image: linear-gradient(to bottom,#fffd5a 0%,#fffd5a 30%,#fffdea 60%,#ffb643 70%);
          background-clip: text;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          -webkit-text-stroke: 0px #483be3;
          font-weight: bold;
          font-size: 1.7rem;
          pointer-events: none;
        }
        font-weight: bold;
        font-size: 1.7rem;
        filter: drop-shadow(0 3px 1px #120519);
      }
      & .p_label{
        color: #fff448;
        font-size: 0.7rem;
      }
      & .bonus_con{
        display: flex;
        flex-direction: column;
        position: absolute;
        z-index: 2;
        align-items: center;
        justify-content: center;
      }
      & .p_left{
        left: 6.5%;
        top: 50%;
        height: 28.7%;
        aspect-ratio: 218/127;
        & .l_bg{
          top: -0.1rem;
          right: -0.3rem;
          position: absolute;
          z-index: -1;
          height: 100%;
          width: auto;
        }
      }
      & .p_right{
        right: 11%;
        top: 46%;
        height: 36.6%;
        aspect-ratio: 201/162;
        & .r_bg{
          position: absolute;
          z-index: -1;
          height: 100%;
          width: auto;
        }
      }

      & .percent_con{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: absolute;
        z-index: 3;
        width: 100%;
        height: 21%;
      }
      & .percent_con_old{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: absolute;
        z-index: 2;
        background: url($pbg);
        background-size: 100% 100%;
        width: 24%;
        aspect-ratio: 137/136;
        right: 16%;
        bottom: 15%;
        transform: rotate(-10deg);
        & .text{
          &::before{
            content: attr(data-title);
            position: absolute;
            background-image: linear-gradient(to right,#ffd63c,#ffd63c, #fdfdd1);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            -webkit-text-stroke: 0px #483be3;
            font-weight: bold;
            font-size: 1rem;
            pointer-events: none;
          }
          font-weight: bold;
          font-size: 1rem;
          -webkit-text-stroke: 2px #483be3;
          filter: drop-shadow(0 1px 1px #3615a0);
        }
      }
      & .already_con{
        position: absolute;
        left: 10.3%;
        top: 51.5%;
        z-index: 4;
        height: 24%;
        aspect-ratio: 172/107;
        & .mask{
          position: absolute;
          z-index: 1;
          width: 100%;
          height: 100%;
        }
        & .flag_con{
          position: absolute;
          z-index: 2;
          height: 97%;
          aspect-ratio: 253/103;
          left: -11%;
          top: 26%;
          & .flag_bg{
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 1;
          }
          & .flag_label{
            display: flex;
            flex-direction: row;
            align-items: center;
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 2;
            left: 1.8rem;
            top: 0.3rem;
            color: #FFFFFF;
            font-weight: 600;
            transform: rotate(-1.32deg);
          }
        }
      }
    }
  }
  & .f_btnpay{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    //margin-top: 0.8rem;
    width: 48%;
    aspect-ratio: 347/91;
    background: url($btnbg);
    background-size: 100% 100%;
    font-weight: bold;
    font-size: 1.1rem;
    gap: 0.5rem;
    & .label{
      margin-top: -0.3rem;
      color: #fff;
      -webkit-text-stroke: 4px #1c4014;
      &::before{
        content: attr(data-title);
        position: absolute;
        background-image: linear-gradient(to bottom,#fff,#fff);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 0px #1c4014;
        font-weight: bold;
        font-size: 1.1rem;
      }
    }
    & .label_time{
      margin-top: -0.3rem;
      color: #fff;
      -webkit-text-stroke: 4px #1c4014;
      font-weight: 600;
      font-size: 1rem;
      &::before{
        content: attr(data-title);
        position: absolute;
        background-image: linear-gradient(to bottom,#fff,#fff);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 0px #1c4014;
        font-weight: 600;
        font-size: 1rem;
      }
    }
    & .pay_num{
      margin-top: -0.3rem;
      font-size: 1.2rem;
      color: #f4eb00;
      -webkit-text-stroke: 4px #830662;
      &::before{
        content: attr(data-title);
        position: absolute;
        background-image: linear-gradient(to bottom,#f4eb00,#f4eb00);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 0px #830662;
        font-weight: bold;
        font-size: 1.2rem;
      }
    }
  }
  & .f_ptabs_con{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 61%;
    aspect-ratio: 442/88;
    & .tab_con{
      position: relative;
      height: 100%;
      aspect-ratio: 186/88;
      & .t_bg{
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        height: 100%;
        width: auto;
      }
      & .t_label_con{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: absolute;
        z-index: 2;
        top: 0;
        left: 40%;
        right: 0;
        bottom: 0;
        & .t_text{
          font-size: 1.1rem;
          font-weight: bold;
          color: #f4eb00;
          -webkit-text-stroke: 4px #830662;
          &::before{
            content: attr(data-title);
            position: absolute;
            background-image: linear-gradient(to bottom,#f4eb00,#f4eb00);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            -webkit-text-stroke: 0px #830662;
            font-weight: bold;
            font-size: 1.1rem;
          }
        }
      }
    }
  }
  & .f_tab_guide{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    & .f_hand{
      height: 15%;
      width: auto;
      opacity: 0;
    }
  }
}
@keyframes bg_light_ani {
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(1turn);
  }
}