$bg:"./../../assets/bonusPack/pack.png";
$btnbg:"./../../assets/bonusPack/button.png";
$pbg:"./../../assets/bonusPack/percent.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%;
      & .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);
      }
      & .percent_con{
        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);
        }
      }
      & .bonus_con {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 21%;
      }
    }
  }
  & .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;
      }
    }
    & .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_leftcon{
    margin-top: -0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    & .f_cd_title{
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 0.2rem;
      font-weight: bold;
      font-size: 1.2rem;
      & .clock{
        width: 1.2rem;
        height: auto;
      }
    }
    & .f_cd{
      font-weight: bold;
      font-size: 1.5rem;
    }
  }
}
@keyframes bg_light_ani {
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(1turn);
  }
}