// 抽奖页面样式
.lotterypage {
  width: 750rpx;
  height: 100vh;
  left: 0rpx;
  top: 0rpx;
  overflow: hidden;
  position: absolute;

  // 返回按钮样式
  .nav-left {
    position: fixed;
    top: 100rpx;
    left: 30rpx;
    z-index: 999;
    
    .back-btn {
      width: 60rpx;
      height: 60rpx;
    }
  }

  .lotterypageCon {
    width: 750rpx;
    height: 1624rpx;
    top: 0rpx;
    bottom: 0rpx;
    margin: auto;
    position: absolute;
  }

  .lotterypagebg {
    width: 750rpx;
    height: 1624rpx;
    left: 0rpx;
    top: 0rpx;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .lotterypageturntable {
    width: 719rpx;
    height: 718rpx;
    left: 15rpx;
    top: 476rpx;
    position: absolute;

    .lotterypageturntablebg {
      width: 719rpx;
      height: 718rpx;
      left: 0rpx;
      top: 0rpx;
      position: absolute;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
    }

    .lotterypageturntablelogo {
      width: 209rpx;
      height: 204rpx;
      left: 255rpx;
      top: 259rpx;
      position: absolute;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
    }

    .lotterypageturntableawards {
      width: 448rpx;
      height: 553rpx;
      left: 130rpx;
      top: 79rpx;
      position: absolute;

      .lotterypageturntableawards6 {
        width: 90rpx;
        height: 164rpx;
        left: 0rpx;
        top: 95rpx;
        position: absolute;

        .lotterypageturntableawards6selbg {
          width: 272rpx;
          height: 214rpx;
          left: -71rpx;
          top: -18rpx;
          position: absolute;
          background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
          transform: rotate(300deg);
          transform-origin: center;
        }

        .lotterypageturntableawards6img {
          width: 100rpx;
          height: 100rpx;
          left: 10rpx;
          top: 10rpx;
          position: absolute;
          object-fit: contain;
        }

        .lotterypageturntableawards6name {
          width: 100rpx;
          height: 50rpx;
          left: 0rpx;
          top: 115rpx;
          position: absolute;
          font-size: 16rpx;
          line-height: 25rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          color: rgba(0, 0, 0, 1);
          text-align: center;
        }
      }

      .lotterypageturntableawards5 {
        width: 78rpx;
        height: 100rpx;
        left: 359rpx;
        top: 138rpx;
        position: absolute;

        .lotterypageturntableawards5selbg {
          width: 272rpx;
          height: 214rpx;
          left: -104rpx;
          top: -59rpx;
          position: absolute;
          background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
          transform: rotate(60deg);
          transform-origin: center;
        }

        .lotterypageturntableawards5img {
          width: 100rpx;
          height: 100rpx;
          left: 0rpx;
          top: -35rpx;
          position: absolute;
          object-fit: contain;
        }

        .lotterypageturntableawards5name {
          width: 81rpx;
          height: 36rpx;
          left: 16rpx;
          top: 70rpx;
          position: absolute;
          font-size: 16rpx;
          line-height: 18rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          color: rgba(0, 0, 0, 1);
          text-align: center;
        }
      }

      .lotterypageturntableawards4 {
        width: 90rpx;
        height: 164rpx;
        left: 22rpx;
        top: 296rpx;
        position: absolute;

        .lotterypageturntableawards4selbg {
          width: 272rpx;
          height: 214rpx;
          left: -94rpx;
          top: -30rpx;
          position: absolute;
          background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
          transform: rotate(240deg);
          transform-origin: center;
        }

        .lotterypageturntableawards4img {
          width: 100rpx;
          height: 100rpx;
          left: 0rpx;
          top: 0rpx;
          position: absolute;
          object-fit: contain;
        }

        .lotterypageturntableawards4name {
          width: 100rpx;
          height: 50rpx;
          left: 0rpx;
          top: 115rpx;
          position: absolute;
          font-size: 16rpx;
          line-height: 25rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          color: rgba(0, 0, 0, 1);
          text-align: center;
        }
      }

      .lotterypageturntableawards3 {
        width: 90rpx;
        height: 164rpx;
        left: 358rpx;
        top: 296rpx;
        position: absolute;

        .lotterypageturntableawards3selbg {
          width: 272rpx;
          height: 214rpx;
          left: -105rpx;
          top: -29rpx;
          position: absolute;
          background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
          transform: rotate(120deg);
          transform-origin: center;
        }

        .lotterypageturntableawards3img {
          width: 100rpx;
          height: 100rpx;
          left: 0rpx;
          top: 0rpx;
          position: absolute;
          object-fit: contain;
        }

        .lotterypageturntableawards3name {
          width: 100rpx;
          height: 50rpx;
          left: 0rpx;
          top: 115rpx;
          position: absolute;
          font-size: 16rpx;
          line-height: 25rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          color: rgba(0, 0, 0, 1);
          text-align: center;
        }
      }

      .lotterypageturntableawards2 {
        width: 90rpx;
        height: 164rpx;
        left: 182rpx;
        top: 389rpx;
        position: absolute;

        .lotterypageturntableawards2selbg {
          width: 272rpx;
          height: 214rpx;
          left: -90rpx;
          top: -29rpx;
          position: absolute;
          background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
          transform: rotate(180deg);
          transform-origin: center;
        }

        .lotterypageturntableawards2img {
          width: 100rpx;
          height: 100rpx;
          left: 0rpx;
          top: 5rpx;
          position: absolute;
          object-fit: contain;
        }

        .lotterypageturntableawards2name {
          width: 100rpx;
          height: 50rpx;
          left: 0rpx;
          top: 115rpx;
          position: absolute;
          font-size: 16rpx;
          line-height: 25rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          color: rgba(0, 0, 0, 1);
          text-align: center;
        }
      }

      .lotterypageturntableawards1 {
        width: 90rpx;
        height: 164rpx;
        left: 183rpx;
        top: 0rpx;
        position: absolute;

        .lotterypageturntableawards1selbg {
          width: 272rpx;
          height: 214rpx;
          left: -90rpx;
          top: -18rpx;
          position: absolute;
          background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
          transform: rotate(0deg);
          transform-origin: center;
        }

        .lotterypageturntableawards1img {
          width: 100rpx;
          height: 100rpx;
          left: 0rpx;
          top: 5rpx;
          position: absolute;
          object-fit: contain;
        }

        .lotterypageturntableawards1name {
          width: 100rpx;
          height: 50rpx;
          left: 0rpx;
          top: 115rpx;
          position: absolute;
          font-size: 16rpx;
          line-height: 25rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          color: rgba(0, 0, 0, 1);
          text-align: center;
        }
      }
    }
  }

  .lotterypagetitle {
    width: 503rpx;
    height: 68rpx;
    left: 121rpx;
    top: 257rpx;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .lotterypagerulebtn {
    width: 51rpx;
    height: 93rpx;
    left: 0rpx;
    top: 309rpx;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    transition: opacity 0.3s ease;

    &:hover {
      opacity: 0.8;
    }
  }

  .lotterypageawardbtn {
    width: 48rpx;
    height: 93rpx;
    left: 702rpx;
    top: 309rpx;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    transition: opacity 0.3s ease;

    &:hover {
      opacity: 0.8;
    }
  }

  .lotterypagenoticecon {
    width: 701rpx;
    height: 49rpx;
    left: 25rpx;
    top: 372rpx;
    position: absolute;

    .lotterypagenoticeconbg {
      width: 701rpx;
      height: 49rpx;
      left: 0rpx;
      top: 0rpx;
      position: absolute;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
    }

    .lotterypagenoticecontext-wrapper {
      width: 490rpx;
      height: 40rpx;
      left: 135rpx;
      top: 5rpx;
      position: absolute;
      overflow: hidden;
    }

    .lotterypagenoticecontext-container {
      transition: transform 0.5s ease-in-out;

      &.no-transition {
        transition: none;
      }
    }

    .lotterypagenoticecontext {
	    position: absolute;
      height: 40rpx;
      font-size: 24rpx;
      margin: 0;
      padding: 0;
	    display: flex;
	    align-items: center;
    }

	  .lotterypagenoticetext{
		  width: 390rpx;
		  white-space: nowrap;
		  text-align: left;
		  overflow: hidden;
		  text-overflow: ellipsis;
		  display: inline-block;
	  }

	  .lotterypagenoticetime{
		  color: #797979;
		  margin-left: 10rpx;
		  flex-shrink: 0;
	  }
  }

  .lotterypagedrawbtn {
    width: 466rpx;
    height: 97rpx;
    left: 135rpx;
    top: 1256rpx;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    transition: opacity 0.3s ease;

    &:hover {
      opacity: 0.8;
    }

    // 禁用状态样式
    &.disabled-draw-btn {
      opacity: 0.5;
      cursor: not-allowed;
      pointer-events: none;

      &:hover {
        opacity: 0.5;
      }
    }
  }

  .lotterypagelefttimes {
    width: 136rpx;
    height: 23rpx;
    left: 0rpx;
    right: 0rpx;
    margin: auto;
    top: 1374rpx;
    text-align: center;
    white-space: nowrap;
    position: absolute;
    font-size: 24rpx;
    line-height: 23rpx;
    //color: rgba(255, 255, 255, 1);
  }
}
