/* 背景 */
.swiper-wrapper .swiper-slide.page3 {
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start !important;
    background:url(../image/section3/bg.jpg) no-repeat;
    background-size: 100%;
}

.swiper-wrapper .swiper-slide.page3 .page3-step-1 {
    width: 100%;
    height: 100%;
}

.swiper-wrapper .swiper-slide.page3 .page3-step-1 .bg-video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    pointer-events: none;
}

.card-item-video {
  width: 19.2rem;
  height: 10.8rem;
  position: absolute;
  top: -2.25rem;
  left: -5.5rem;
  z-index: 1;
  pointer-events: none;
  object-fit: cover;
}

/* 卡片 */
.card-container {
  width: 8.13rem;
  height: 7.62rem;
  position: relative;
  background:url(../image/section3/cardsbg.png) no-repeat;
  background-size: 100%; 
  top: 1.9rem;
  /* left:50%;
  transform: translateX(-50%); */
}

.card-container::after {
  content: '';
  width: 4.6rem;
  height: 4.47rem;
  background: url(../image/section3/bglight.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: 1.6rem;
  left: 1.82rem;
  z-index: 10;
  pointer-events: none;
}

.card-container.noactive::after {
  display: none;
}

.card-container-end {
  width: 12.15rem;
  height: 7.73rem;
  position: relative;
  background:url(../image/section3/cardsbg-end.png) no-repeat;
  background-size: 100%; 
  top: 1rem;
  left: -8%;
  /* left:50%;
  transform: translateX(-50%); */
}



/* title-3.png */
.page3-top {
  width: 5rem;
  height: 2rem;
  position: absolute;
  top: .4rem;
  z-index: 10;
}

/* .page3-top p {
  pointer-events: none;
  width: 4.47rem;
  height: 3.2rem;
  background: url(../image/section3/title-3.png) no-repeat;
  background-size: 100%;
  margin: 0 auto;
  cursor: pointer;
} */

.title-line {
  width: 1.79rem;
  height: 0.67rem;
  background: url(../image/section3/step1-note-btn.png) no-repeat;
  background-size: 100%;
  margin: 0 auto;
  margin-top: -0.3rem;
  cursor: pointer;
}

.btn-go-play, .btn-go-play-end {
  width: 2.15rem;
  height: 0.44rem;
  background: url(../image/section3/play-go.png) no-repeat;
  background-size: 100%;
  cursor: pointer;
}

.btn-go-play-end {
  position: absolute;
  top: 5.1rem;
  left: 7.6rem;
}

.page4-rules-bg {
  width: 5.72rem;
  height: 6.44rem;
  background: url(../image/section3/page3-rules-bg.png) no-repeat;
  background-size: 100%;
}

.page4-rules-bg .reward-cloce {
  width: .2rem;
  height: 0.2rem;
  background: url(../image/pop/close.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: 0.7rem;
  right: 0.2rem;
  cursor: pointer;
}

.fail-content {
  width: 5.72rem;
  height: 7.41rem;
  background: url(../image/pop/fail-content.png) no-repeat;
  background-size: 100%;
}

.fail-content::after  {
  content: '';
  width: 3.03rem;
  height: 3.06rem;
  background: url('../image/pop/pop-gift3.png') no-repeat center;
  background-size: 100%;
  position: absolute;
  top: 3.15rem;
  left: 1.3rem;
  pointer-events: none; 
}

.fail-content::before{
  content: '';
  width: 4.2rem;
  height: 4.2rem;
  background: url('../image/section2/order-bg-i2.png') no-repeat center;
  background-size: 80%;
  position: absolute;
  top: 2.75rem;
  left: 0.75rem;
  pointer-events: none;
}

.fail-cloce {
  width: 0.2rem;
  height: 0.2rem;
  background: url(../image/pop/close.png) no-repeat;
  background-size: 100%;
  cursor: pointer;
  position: absolute;
  top: 2rem;
  right: 0.2rem;
}

.fail-content .fail-btn {
  background: url(../image/pop/fail-btn.png) no-repeat;
  background-size: 100%;
  width: 2.54rem;
  height: 0.52rem;  
  position: absolute;
  top: 4.4rem;;
  left: 2.1rem;
  cursor: pointer;
}

.success-content {
  width: 5.72rem;
  height: 7.76rem;
  background: url(../image/pop/success-content.png) no-repeat;
  background-size: 100%;
  top: 45%;
}

.success-btn {
  width: 2.59rem;
  height: 0.79rem;
  background: url(../image/pop/success-btn.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: 6.5rem;
  left: 1.5rem;
  cursor: pointer;
}

.success-cloce {
  width: 0.2rem;
  height: 0.2rem;
  background: url(../image/pop/close.png) no-repeat;
  background-size: 100%;
  cursor: pointer;
  position: absolute;
  top: 2rem;
  right: 0.2rem;
}

.success-copy {
  width: 1.1rem;
  height: 0.4rem;
  position: absolute;
  top: 2.76rem;
  left: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.success-copy p {
  width: 0.6rem;
  overflow: visible;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.16rem;
  color: #fff;
  font-weight: 100;
  font-family: "Noto Serif KR", serif;
}

.success-copy .copy-code-2 {
  background: url(../image/pop/regulations-3.png) no-repeat;
  background-size: 100%;
  width: 0.33rem;
  height: 0.21rem;
  cursor: pointer;
  margin-left: 0.1rem;
}

.success-content::after  {
  content: '';
  width: 3.03rem;
  height: 3.06rem;
  background: url('../image/pop/pop-gift3.png') no-repeat center;
  background-size: 100%;
  position: absolute;
  top: 2.75rem;
  left: 1.3rem;
  pointer-events: none;
}

.success-content::before{
  content: '';
  width: 4.2rem;
  height: 4.2rem;
  background: url('../image/section2/order-bg-i2.png') no-repeat center;
  background-size: 80%;
  position: absolute;
  top: 2.25rem;
  left: 0.75rem;
  pointer-events: none;
}



.result-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* width: 3.6rem;
  height: 1.8rem; */
  position: absolute;
  top: 1.4rem;
  left: 0.05rem;
}

.result-box::after {
  content: '';
  width: 7rem;
  height: 5.72rem;
  background: url(../image/section3/cardbgli.png) no-repeat;
  background-size: 100%;
  position: absolute;
  left: -1.56rem;
  top: -0.45rem;
  pointer-events: none;
}

.card-1, .card-2, .card-3 {
  width: 3.86rem;
  height: 5.36rem;
  background-size: 100%;
  z-index: 5;
}
.result-video{
  position: absolute;
  top: 0.46rem;
  left: 0.4rem;
  width: 78%;
  height: auto;
}

.card-btn {
  width: 2.57rem;
  height: 0.79rem;
  background: url(../image/section3/card-btn.png) no-repeat;
  background-repeat: no-repeat;
  background-size: 100%;
  cursor: pointer;
  position: absolute;
  top: 7.2rem;
  left: 0.7rem;
  }

  .card-item{
    position: absolute;
    background-size: 100%;
    filter: grayscale(1);
    /* pointer-events: none; */
    cursor: pointer;
    z-index: 10;
  }

  .card-item.active i {
    width: 0.93rem;
    height: 0.93rem;
    background-size: 100%;
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    mask-image: url(../image/section3/mask-bg.png);
    mask-size: 100%;
    mask-repeat: no-repeat;
    z-index: 5;
  }

  .card-item.active:nth-child(3) i {
    top: .08rem;
  }

  .card-item.active:nth-child(2n-1) i {
    left: 0;
  }

  .card-item.active i::after {
    content: '';
    animation: sg2 2s linear infinite;
    background: linear-gradient(120deg, #35353500, #0000, #fff7, #0000, #0000);
    width: 140%;
    height: 120%;
    left: 0;
    position: absolute;
    top: 0;
    transition: all .99s;
    pointer-events: none;
  }

  @keyframes sg2 {
    from {
        left: -150%;
    }

    to {
        left: 150%;
    }
}

  .card-item.active, .card-item.active .card-item-text{
    filter: grayscale(0);
    cursor: pointer;
    pointer-events: auto;
  }

  .card-item.selected.active::after {
    content: '';
    width: 2rem;
    height: 2rem;
    top: 0;
    left: 0;
    position: absolute;
    background: url(../image/section3/rolelight.png) no-repeat;
    background-size: 100%;
    /* filter: hue-rotate(300deg); */
    cursor: pointer;
    pointer-events: auto;
  }

/* 分别为每个卡片设置不同背景 */
.card-item-1 { 
  width: 1.61rem;
  height: 0.93rem;
  /* background-image: url(../image/section3/card-1.png); */
  top: 1.1rem;
  left: 1.5rem;
}
.card-item-1 .card-item-text {
  width: 1.61rem;
  height: 0.93rem;
  background-image: url(../image/section3/card-1.png);
  background-size: 100%;
  top: 0;
  left: 0;
}
.card-item-1.active.selected::after {
  top: -0.575rem;
  left: .125rem;
}
.card-item-1.active .particles {
  content: '';
  width: 4.0rem;
  height: 3.0rem;
  background: url(../image/section3/data-active2.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: 0;
  left: -34px;
  transform: rotate(41deg);
  pointer-events: none;
  z-index: 5;
}
.card-item-2 { 
  width: 1.93rem;
  height: 1.0rem;
  background-image: url(../image/section3/card-2.png);
  top: 1rem;
  left: 4.9rem;
}

.card-item-2.active.selected::after {
  top: -0.51rem;
  left: -0.55rem;
}
.card-item-2.active .particles {
  content: '';
  width: 3.0rem;
  height: 3.0rem;
  background: url(../image/section3/data-active1.png) no-repeat;
  background-size: 100%;
  position: absolute;
    top: -5px;
    left: -135px;
  pointer-events: none;
}
.card-item-3 { 
  width: 1.62rem;
  height: 0.93rem;
  background-image: url(../image/section3/card-3.png);
  top: 2.6rem;
  left: 0.2rem;
}
.card-item-3.active.selected::after {
  top: -0.577rem;
  left: 0.14rem;
}
.card-item-3.active .particles {
  content: '';
  width: 4.0rem;
  height: 3.0rem;
  background: url(../image/section3/data-active2.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: -0.58rem;
  left: .47rem;
  pointer-events: none;
  z-index: 1;
}
.card-item-4 { 
  width: 1.61rem;
  height: 0.93rem;
  background-image: url(../image/section3/card-4.png);
  top: 2.6rem;
  left: 6.1rem;
}
.card-item-4.active.selected::after {
  top: -0.58rem;
  left: -0.55rem;
}
.card-item-4.active .particles {
  content: '';
  width: 3.5rem;
  height: 3.5rem;
  background: url(../image/section3/data-active5.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: -0.54rem;
  left: -2.2rem;
  pointer-events: none;
}
.card-item-5 { 
  width: 1.62rem;
  height: 0.93rem;
  background-image: url(../image/section3/card-5.png);
  top: 4.9rem;
  left: 0.3rem;
}
.card-item-5.active.selected::after {
  top: -0.58rem;
  left: 0.14rem;
}
.card-item-5.active .particles {
  content: '';
  width: 4.0rem;
  height: 3.0rem;
  background: url(../image/section3/data-active3.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: -1.65rem;
  left: .35rem;
  pointer-events: none;
}
.card-item-6 { 
  width: 2.2rem;
  height: 0.93rem;
  background-image: url(../image/section3/card-6.png);
  top: 4.9rem;
  left: 6.1rem;
}
.card-item-6.active.selected::after {
  top: -0.58rem;
  left: -0.56rem;
}
.card-item-6.active .particles {
  content: '';
  width: 4.0rem;
  height: 3.0rem;
  background: url(../image/section3/data-active6.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: -1.71rem;
  left: -3rem;
  pointer-events: none;
}


/* 确认按钮 */
.btn-confirm {
  width: 3.65rem;
  height: 1.06rem;
  background: url(../image/section3/is-open.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: 7.4rem;
  left: 7.8rem;
  cursor: pointer;
}

/* .btn-confirm.active {
  width: 3.65rem;
  height: 1.06rem;
  background: url(../image/section3/not-open.png) no-repeat;
  pointer-events: none;
} */

.btn-check-prize {
  width: 1.2rem;
  height: 0.44rem;
  background: url(../image/section3/btn-check-prize.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: 8.4rem;
  left: 9rem;
  cursor: pointer;
}

