.flutter-container {
  width: 100%;
  height: 120px;
  position: fixed;
  top: 0;
  left: 0;

  .flutter-banner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(
      to bottom,
      rgb(0 0 0 / 51%),
      rgb(0 0 0 / 24%),
      rgb(47 47 47 / 3%)
    );
  }

  .user-region {
    // backdrop-filter: saturate(180%) blur(5.1282vw);
    // background: rgb(81 81 81 / 80%);
    // background: linear-gradient(to bottom, rgba(0, 0, 0, 0.51), rgba(0, 0, 0, 0.24), rgba(47, 47, 47, 0.03));
    color: #ffffff;
    // margin: 2.5641vw auto;
    // background: #fb475ec7;
    padding: 2.5641vw 5.1282vw;
    width: 80%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    .avatar {
      width: 10.2564vw;
      height: 10.2564vw;
      border-radius: 50%;
    }
    .user-nickname {
      margin-left: 2.5641vw;
    }
    .gift-name {
      font-size: 5.1282vw;
      font-weight: bold;
      font-family: '微软雅黑';
      // background: #d32d2d;
      color: #d32d2d;
      text-align: center;
      margin: 0 1.5385vw;
      text-shadow: 0 0 5.1282vw #fefcc9, 2.5641vw -2.5641vw 7.6923vw #feec85,
        -5.1282vw -5.1282vw 10.2564vw #ffae34, 5.1282vw -10.2564vw 12.8205vw #ec760c, 0 -20.5128vw 17.9487vw #f38e1c; /*设置文字阴影*/
      animation: fontAmt 2s infinite; /*设置动画*/
      padding: 0vw 2.5641vw;
    }
  }
  .gift-container {
    width: 100%;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    .gift-img {
      position: absolute;
      top: 0;
      width: 25.641vw;
      height: 25.641vw;
      animation: scaleUp 3s ease-in-out infinite; /* 使用scaleUp动画，持续3秒 */
    }
  }
}

@keyframes scaleUp {
  0% {
    right: 0;
  }
  // 30% {
  //   right: 38.4615vw;
  // }
  20% {
    right: 46.1538vw;
  }
  30% {
    right: 38.4615vw;
  }
  40% {
    right: 38.4615vw;
    transform: rotateZ(300deg);
  }
  50% {
    right: 38.4615vw;
    transform: rotateZ(0deg);
  }
  60% {
    right: 38.4615vw;
    transform: rotateZ(360deg);
  }
  70% {
    right: 38.4615vw;
    transform: rotateZ(0deg);
  }
  // 90% {
  //   right:38.4615vw
  // }
  100% {
    right: 100vw;
  }
}

@keyframes fontAmt {
  /*创建动画*/
  0% {
    text-shadow: 0 0 5.1282vw #fefcc9, 2.5641vw -2.5641vw 7.6923vw #feec85,
      -5.1282vw -5.1282vw 10.2564vw #ffae34, 5.1282vw -10.2564vw 12.8205vw #ec760c, 0 -20.5128vw 17.9487vw #f38e1c;
  }
  30% {
    text-shadow: 0 0 5.1282vw #fefcc9, 2.5641vw -2.5641vw 7.6923vw #feec85,
      -5.1282vw -5.1282vw 10.2564vw #ffae34, 5.1282vw -10.2564vw 12.8205vw #ec760c, 2.5641vw -23.0769vw 20.5128vw #f38e1c;
  }
  60% {
    text-shadow: 0 0 5.1282vw #fefcc9, 2.5641vw -2.5641vw 7.6923vw #feec85,
      -5.1282vw -5.1282vw 10.2564vw #ffae34, 5.1282vw -10.2564vw 12.8205vw #ec760c, 0vw -20.5128vw 25.641vw #f38e1c;
  }
  100% {
    text-shadow: 0 0 5.1282vw #fefcc9, 2.5641vw -2.5641vw 7.6923vw #feec85,
      -5.1282vw -5.1282vw 10.2564vw #ffae34, 5.1282vw -10.2564vw 12.8205vw #ec760c, 0 -20.5128vw 17.9487vw #f38e1c;
  }
}

.vap-gift{
  position: fixed;
  top: 0;
  z-index: 999;
}
