.container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: relative;
}
.content{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  width: 100%;
  height: 100%;
  max-width: 414px;
  z-index: 1;
}
.close{
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 3.5rem;
  height: 3rem;
  top: 0;
  right: 0;
  img{
    width: 1.7rem;
    height: 1.7rem;
    opacity: 0.65;
  }
}
.rule_container{
  width: 100%;
  aspect-ratio: 960/1506;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1rem 1rem;
  pointer-events: auto;
  gap: 1rem;
  font-size: 0.9rem;
  & .title{
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(252, 215, 161);
    font-size: 1.3rem;
    font-weight: bold;
  }
  & .reward_con{
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0rem 1rem 3rem;
    width: 100%;
    aspect-ratio: 864/288;
    background-size: 100% 100%;
    color: rgb(120, 52, 15);
    & .reward_item{
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1.2rem;
      img{
        width: 1.3rem;
        height: auto;
      }
      & .text_con{
        display: flex;
        gap: 0.25rem;
        & .reward{
          font-size: 1.8rem;
          font-weight: bold;
        }
      }
    }
  }
  & .time_con{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(0, 0, 0, 0.15);
    color: rgb(252, 215, 161);
    gap: 1rem;
    & .time_title{
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      width: 100%;
    }
    & .time_content{
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      & .time_item{
        display: flex;
        gap: 0.1rem;
        align-items: center;
        img{
          width: 0.9rem;
          height: 0.9rem;
          opacity: 0.65;
        }
      }
    }
  }
  & .rule_content{
    display: flex;
    flex-direction: column;
    margin-top: 0.75rem;
    gap: 0.25rem;
    img{
      width: 0.8rem;
      height: 0.8rem;
      opacity: 0.65;
      margin-top: 0.3rem;
    }
    & .rule_item{
      display: flex;
      gap: 0.5rem;
      color: rgba(255, 255, 255, 0.85);
    }
  }
}
.red_pack_con{
  width: 70%;
  aspect-ratio: 600/750;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1rem 1.5rem;
  pointer-events: auto;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  justify-content: space-between;
  & .title{
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(252, 215, 161);
    font-size: 1.3rem;
    font-weight: 600;
  }
  & .red_content{
    display: flex;
    flex-direction: column;
    margin-top: -3rem;
    gap: 1.8rem;
    img{
      width: 0.8rem;
      height: 0.8rem;
      opacity: 0.65;
      margin-top: 0.3rem;
    }
    & .red_item{
      display: flex;
      gap: 0.5rem;
      color: rgba(255, 255, 255, 0.65);
    }
  }
  & .red_btn_con{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    & .red_btn{
      color: rgb(252, 215, 161);
      background-image: linear-gradient(rgb(221, 145, 78) 0%, rgb(107, 55, 26) 100%);
      border: 2px solid rgb(252, 215, 161);
      width: 70%;
      height: 3rem;
      border-radius: 1.6rem;
      text-align: center;
      //line-height: 2.4rem;
      font-size: 1.2rem;
      font-weight: bold;
    }
  }
}
.red_open_con{
  width: 70%;
  aspect-ratio: 600/750;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1rem 2rem;
  pointer-events: auto;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  & .red_amount_uint{
    //margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #740000;
  }
  & .red_amount_recive{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4.5rem;
    font-size: 3rem;
    font-weight: bold;
    color: #970000;
  }
  & .red_already_recived{
    margin-top: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #740000;
    line-height: 3rem;
    opacity: 0.6;
  }
  & .red_open_tips{
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.45);
    font-size: 1.03rem;
    gap: 0.5rem;
    & .time{
      font-size: 1.1rem;
      color: #970000;
    }
  }
}