.gift-modal {
  --height: 400px;
}
.gift-region {
  position: relative;
  .gift-tabs {
    display: flex;
    font-size: 14px;
    font-weight: bold;
    padding: 0 10px;
    .tab {
      margin-right: 10px;
    }
  }
  .gift-content {
    overflow-y: scroll;
    padding-bottom: 100px;
    height: 356px;
    .gift-list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-gap: 10px;
      padding: 6px;
      .gift-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        border: 1px solid #fff;
        font-size: 14px;
        .img {
          width: 40px;
          height: 40px;
          border-radius: 10px;
        }
        .info {
          text-align: center;
          .name {
            margin: 6px 0;
          }
          .price {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b6b6b;
            font-family: PingFang SC;
            font-size: 12px;
            .credit {
              width: 10px;
              height: 10px;
            }
          }
        }
      }
      .gift-item-acitve {
        border: 1px solid #fc3651 !important;
      }
    }
  }
  .gift-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 20px;
    padding-bottom: 20px;
    background: linear-gradient(
      rgb(255 255 255 / 31%),
      rgb(255 255 255 / 86%),
      #ffffff,
      #fdfdfd
    );
    align-items: flex-end;
    .left {
      display: flex;
      align-items: center;
      font-size: 12px;
      .credit {
        width: 10px;
        height: 10px;
        margin-right: 6px;
      }
    }
    .btns {
      display: flex;
      align-items: center;
      .chang-gift {
        font-size: 14px;
      }
      .input-num {
        width: 50px;
        height: 24px;
        margin-right: 10px;
        border-radius: 6px;
        border: 1px solid #dcdcdc;
      }
      .btn-item {
        background-color: #fc3651;
        color: white;
        padding: 4px 16px;
        border-radius: 16px;
        font-size: 14px;
      }
    }
  }
}
.modal-gift-img {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000b0;
  z-index: 999;
  img{
    animation: scaleUp 5s ease-in-out forwards; /* 使用scaleUp动画，持续3秒 */
    position: absolute;
    bottom: 0;
  }
}
@keyframes scaleUp {
  0% {
    transform: scale(0.1); /* 从0.1倍大小开始 */
  }
  50%{
    transform: scale(0.1);
    bottom: 400px;
  }
  60% {
    transform: scale(0.8);
    bottom: 400px;
  }
  70% {
    transform: scale(0.2);
    bottom: 400px;
  }
  90%{
    transform: scale(1.2); /* 放大到原始大小 */
    bottom: 400px;
  }
  100% {
    transform: scale(1.2); /* 放大到原始大小 */
    bottom: 400px;
  }
}