.text {
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    font-family: Inter;
  }
  .pop-box {
    display: flex;
    flex-direction: column;
    z-index: 4;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.75);
  }
  
  .pop-box .pop-top {
    padding: 20px 24px;
    background: #fff;
  }
  
  .pop-top .main-center {
    /* display: flex;
    align-items: flex-start;
    gap: 10px; */
    overflow: hidden;
  }
  .pop-top .main-center .logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    float: left;
    margin-right: 24px;
  }
  .pop-top .main-center .logo img {
    width: 100%;
    height: 100%;
  }
  .info-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
  }
  .info-box h1 {
    color: #353639;
    font-size: 24px;
  }
  .info-box h2 {
    color: var(--main-color);
    font-size: 16px;
  }
  .info-box p {
    color: #86888b;
    font-size: 12px;
  }
  
  .pop-top .btn-box {
    margin: 29px 0 0;
  }
  
  .pop-box .pop-bd {
    position: relative;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
  }
  
  .pop-box .pop-bd .closed-btn {
    position: absolute;
    top: 30px;
    right: 10px;
    width: 30px;
    cursor: pointer;
  }
  #scratchCard .pop-bd .closed-btn {
    top: 10px;
  }
  .turntable-container {
    text-align: center;
    width: 100%;
    overflow: hidden;
  }
  .turntable-content {
    position: relative;
    z-index: 1;
    top: -55px;
  }
  
  .turntable-coin {
    position: absolute;
    bottom: 0;
    z-index: 3;
  }
  .turntable-coin.coin_l {
    left: 17%;
  }
  .turntable-coin.coin_r {
    right: 15%;
  }
  .turntable-container .turntable-content .turntable-main {
    position: absolute;
    z-index: 1;
    overflow: visible;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
  }
  .turntable-container .turntable-content .turntable-main .turntable-bottom {
    position: relative;
    z-index: 0;
    transition: all 2.5s cubic-bezier(0.5, 0.93, 0.43, 1);
  }
  .turntable-container .turntable-content .turntable-main .turntable-light {
    position: absolute;
    left: 15px;
    top: 17px;
    z-index: 1;
    animation: light-rotate 2s steps(4) infinite forwards;
  }
  @keyframes light-rotate {
    0% {
      transform: rotate(0);
    }
  
    100% {
      transform: rotate(30deg);
    }
  }
  .turntable-container .turntable-content .turntable-main .turntable-pointer {
    position: absolute;
    left: 60%;
    bottom: 33%;
    z-index: 1;
    height: auto;
  }
  .turntable-container .turntable-content .turntable-main .turntable-button {
    position: absolute;
    left: 36%;
    top: 36%;
    z-index: 2;
    /* transform: translate(-50%, -50%); */
    width: 96px;
    height: 96px;
    transition: all linear 0.2s;
    text-align: center;
  }
  .turntable-container .turntable-content .turntable-main .turntable-button img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
  .turntable-container
    .turntable-content
    .turntable-main
    .turntable-button
    .number {
    position: relative;
    z-index: 1;
    top: 2px;
    font-size: 36px;
    color: #ffffff;
    font-weight: 700;
  }
  .turntable-container
    .turntable-content
    .turntable-main
    .turntable-button
    .vezes {
    /* position: absolute;
    right: 30px;
    top: 51%; */
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    top: -5px;
    line-height: 14px;
  }
  .turntable-container
    .turntable-content
    .turntable-main
    .turntable-button
    .sorteio {
    /* position: absolute;
    left: 50%;
    bottom: 14px; */
    position: relative;
    z-index: 1;
    top: -6px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    line-height: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  }
  .card-bg {
    width: 310px;
    height: 410px;
    margin-top: 32px;
    border-radius: 10px;
    text-align: center;
  }
  #scratchCard .card-bg {
    background: url("/img/public/card-bg.png") no-repeat;
  }
  .card-bg .title-text {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    display: block;
    width: 270px;
    margin: 0 auto;
    margin-top: 20px;
  }
  .card-bg .gua-card {
    width: 270px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    top: -22px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px;
  }
  .card-bg .gua-card .reward-card {
    text-align: center;
    background: #fff4e3;
    font-family: Inter;
    font-style: normal;
    width: 260px;
    height: 190px;
    z-index: 1;
    position: absolute;
    display: none;
  }
  .card-bg .gua-card .dummy-img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
  .card-bg .gua-card .reward-card h6 {
    color: #353639;
    font-size: 20px;
    font-weight: 700;
    line-height: 50px;
  }
  .card-bg .gua-card .reward-card span {
    color: #86888b;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
  }
  .card-bg .gua-card .reward-card h3 {
    color: #ff6c07;
    font-size: 35px;
    font-weight: 700;
    margin-top: 25px;
  }
  .gua-card .btn {
    border-radius: 6px;
    background: #ff6c07;
    margin-top: 0px;
  }
  
  .card-bg .gua-card .reward-card-canvas {
    position: relative;
    z-index: 2;
  }
  .closedFlipCards .closedFlipCards {
    top: 10px;
  }
  .popflipCards .card-bg {
    width: auto;
  }
  .popflipCards .card-bg .title-text {
    -webkit-text-stroke-width: 1;
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, #fff6b5 0%, #ffba33 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 900;
    line-height: 31px; /* 96.875% */
    margin-top: 8px;
  }
  .popflipCards .popflipCardsImg {
    width: 330px;
    display: flex;
    justify-content: space-between;
    height: 260px;
    margin-top: 20px;
  }
  .popflipCards .img-card {
    width: calc(50% - 5px);
    height: 100%;
    position: relative;
    border-radius: 10px;
    transform-style: preserve-3d;
    perspective: 1000px;
  }
  .popflipCards .img-card .front {
    width: 100%;
    height: 100%;
    background: url("/img/public/img-card-bg.png") no-repeat;
  }
  .popflipCards .img-card .front img {
    width: 144px;
    margin-top: 82px;
  }
  .popflipCards .img-card :is(.front, .back) {
    position: absolute;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 10px;
  }
  .popflipCards .img-card .back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff; /* 根据需要修改背景色 */
    width: 100%;
    height: 100%;
  }
  .popflipCards .img-card:first-child .back {
    background: linear-gradient(
      to bottom,
      /* 渐变方向，从上到下 */ #99f6db 1%,
      /* 渐变开始的颜色（红色）和位置（顶部） */ rgb(201, 243, 243) 8%,
      /* 渐变结束的颜色（同样是红色）和位置（在元素的中间位置） */ #ffffff 50%
        /* 接下来是一个立即的颜色转换到白色，从元素的中间位置开始 */
    );
    /* border-radius: 6px;
      background: linear-gradient(180deg, #99F6DB -11%, rgba(255, 255, 255, 0.00) 43.8%); */
  }
  /* .popflipCards .img-card .back:nth-child(2){
      
  } */
  /* 新增翻转效果的 CSS */
  .popflipCards .img-card .front,
  .popflipCards .img-card .back {
    position: absolute;
    backface-visibility: hidden;
    transition: transform 1s;
    border-radius: 10px;
  }
  
  .popflipCards .img-card .back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff; /* 根据需要修改背景色 */
  }
  
  .img-card.flipped .front {
    transform: rotateY(180deg);
  }
  
  .img-card.flipped .back {
    transform: rotateY(360deg);
    text-align: center;
    font-family: Inter;
    font-style: normal;
    line-height: normal;
  }
  .img-card.flipped .back .back-title {
    color: #353639;
    font-weight: 700;
    font-size: 15px;
  }
  .img-card.flipped .back .back-valor {
    color: #86888b;
    font-size: 13px;
    font-weight: 400;
  }
  .img-card.flipped .back .back-money {
    color: #01875f;
    font-size: 30px;
    font-weight: 700;
    margin-top: 10px;
  }
  .img-card.flipped .back .back-desculpe {
    color: #868688;
    font-size: 20px;
    font-weight: 700;
    margin-top: 30px;
  }
  #flipCards .card-bg .btn-box {
    margin: 20px 0 0;
  }
  #flipCards .card-bg .btn-box #rewardInstall {
    margin-top: 0;
  }
  
  /* 宝箱模版 */
  #treasureChest .closed-btn {
    right: 10px;
    top: 10px;
    cursor: pointer;
  }
  #treasureChest .title-text {
    font-size: 30px;
    font-weight: 900; /* 加粗 */
    background: -webkit-linear-gradient(180deg, #fff6b5 0%, #ffba33 100%);
    background: linear-gradient(180deg, #fff6b5 0%, #ffba33 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* 这是关键，使得文字本身没有颜色，显示背景的渐变色 */
    -webkit-text-fill-color: transparent; /* 针对某些旧版本的 Webkit 浏览器 */
    width: 282px;
    line-height: 33px;
    margin-top: 0;
  }
  
  #treasureChest .title-text1 {
    font-size: 40px;
    background: linear-gradient(180deg, #fff6b5 0%, #ffba33 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
  }
  #treasureChest .title-box {
    display: none;
    margin-top: -40px;
  }
  /* #treasureChest .title-box .btn-box {
    margin: 20px 24px 0;
  } */
  #treasureChest .title-box .btn-box .btn + .btn {
    margin-top: 0;
  }
  .box-chest {
    margin-top: 30px;
  }
  .box-chest-animation {
    animation: boxanimation 1.5s 0.15s linear infinite;
    -moz-animation: boxanimation 1.5s 0.15s linear infinite; /* Firefox */
    -webkit-animation: boxanimation 1.5s 0.15s linear infinite; /* Safari and Chrome */
    -o-animation: boxanimation 1.5s 0.15s linear infinite; /* Opera */
    animation-iteration-count: 1;
  }
  /* 宝箱动画 */
  @keyframes boxanimation {
    10% {
      transform: rotate(35deg);
    }
    20% {
      transform: rotate(-35deg);
    }
    30% {
      transform: rotate(25deg);
    }
    40% {
      transform: rotate(-25deg);
    }
    50% {
      transform: rotate(15deg);
    }
    60% {
      transform: rotate(-15deg);
    }
    70% {
      transform: rotate(10deg);
    }
    80% {
      transform: rotate(-10deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }
  .open-chest {
    position: relative;
    width: 100%;
    display: none;
  }
  .open-chest img {
    position: relative;
  }
  .open-chest img:nth-child(1) {
    animation: spin 5s linear infinite; /*使用 spin 动画，8、 */
  }
  @keyframes spin {
    from {
      transform: rotate(0deg); /* 起始角度为 0 度 */
    }
    to {
      transform: rotate(360deg); /* 终止角度为 360 度 */
    }
  }
  .open-chest img:nth-child(2) {
    z-index: 2;
    top: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .toast-mask {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 999;
    right: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.4);
  }

  .toast-mask.show {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .toast-mask .content {
    position: relative;
    color: #fff;
    /* background-color: rgb(255, 52, 0); */
    background-color: #01875f;
    padding: 10px 30px;
    border-radius: 6px;
    letter-spacing: 1px;
    max-width: 90%;
    line-height: 19px;
    font-size: 14px;
    text-align: center;
  }