#modal,
.buttonContainer {
  left: 50%;
  position: absolute;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  /*display: flex;*/
  /*flex-direction: column;*/
  /*justify-content: center;*/
  /*align-items: center*/
}

.TigerContainerBox {
  height: 9rem;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.18rem;
  z-index: 2;
  position: relative;
  background-image: url(../logo/老虎机.png);
  background-size: 100%;
  background-repeat: no-repeat;
  padding: 0 1.35rem 0 1.31rem;
  box-sizing: border-box;
  align-items: center;
}

.TigerContainer {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  /*position: relative;*/
  /*top: -.45rem;*/
}

.Tiger,
.TigerContainer {
  justify-content: center;
  display: flex;
}

.Tiger {
  align-items: center;
}

.TigerNumbers img {
  object-fit: contain;
  width: auto;
  height: 2.5rem;
}

@keyframes rollAnimation {
  from {
    top: 0;
  }
  to {
    top: -1500px;
  }
}

.buttonContainer {
  bottom: 212px;
  transform: translateX(-50%);
}

#modal {
  display: none;
  top: 50%;
  transform: translate(-50%, -50%);
  /*background-color: #fff;*/
  padding: 0.6rem;
  z-index: 10000;
  width: 8rem;
  text-align: center;
  background-image: url('../logo/dikuang.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#modalContent img {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
}

#modalText {
  font-size: 0.5rem;
  text-align: left;
}

#closeButton,
#enterButton {
  font-size: 0.4rem;
  width: 3rem;
  height: 1.15rem;
  padding: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  position: relative;
}

#closeButton span,
#enterButton span {
  position: absolute;
  top: 0.18rem;
  color: #da0301;
}

#closeButton {
  background-image: url('../logo/关闭按钮.png');
}

#enterButton {
  background-image: url('../logo/链接按钮.png');
}

button {
  padding: 10px 20px;
  /*background-color: #f0b429;*/
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  transition: background-color;
}

button:hover {
  background-color: #e6a420;
}

button:active {
  transform: scale(0.98);
}

#modal,
.Tiger {
  /*border: 3px solid transparent;*/
  /*border-radius: 10px;*/
  border-image: linear-gradient(45deg, #ffd700, #f0b429) 1;
}

#coinRainContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.coin {
  position: absolute;
  width: 21px;
  height: 21px;
  border-radius: 5%;
  background-image: url('../logo/jinbi.png');
  background-size: cover;
}

@keyframes fall {
  0% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(100vh);
  }
}

@keyframes fallAndBounce {
  0% {
    transform: translateY(-100px);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  90% {
    transform: translateY(calc(100vh - 120px));
    opacity: 1;
  }
  95% {
    transform: translateY(calc(100vh - 100px));
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.TigerContainer {
  align-items: center;
  flex-wrap: auto;
  gap: 10px;
  height: fit-content;
}

.Tiger {
  width: 100%;
  /*height: 2.5rem;*/
  height: 3.3rem;
  /*background-color: #fff6e2;*/
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.TigerNumbers > a {
  width: 100%;
  text-align: center;
  background-color: #fff6e2;
  border-radius: 0.2rem;
}

.TigerNumbers {
  position: absolute;
  top: calc(-2.5rem + 0.24rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
}

.animalBox {
  height: 2rem;
  display: flex;
  align-items: flex-end;
  position: absolute;
  top: -1.65rem;
  left: 0;
  z-index: 2;
  padding: 0 1.52rem 0 1.49rem;
}

.animalBox > div {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.animalBox img {
  width: 100%;
  height: auto;
  max-height: 100%;
}

.animalBox > div:nth-of-type(3) {
  flex: 1.5;
}

.animalBox > div:nth-of-type(2),
.animalBox > div:nth-of-type(4) {
  flex: 1.25;
}

.tigerContainer_box {
  height: 3.3rem;
  width: 100%;
  position: relative;
  top: -0.45rem;
  overflow: hidden;
  border-radius: 0.1rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.18rem;
  padding: 0 0.17rem 0 0.18rem;
  background-color: #77ad2b;
}

.tigerContainer_box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.35rem;
  background-image: linear-gradient(180deg, #7bb030, transparent);
  z-index: 10;
}

.tigerContainer_box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.35rem;
  background-image: linear-gradient(360deg, #7bb030, transparent);
  z-index: 10;
}

.jbBox {
  position: absolute;
  left: 4.7rem;
  top: -1.5rem;
  z-index: 2;
  width: .5rem;
}

.jbBox img {
  width: 100%;
  height: 100%;
}

#targetEl {
  position: absolute;
  left: 1.3rem;
  top: 6rem;
  width: 0.5rem;
  height: 0.12rem;
  /*background-color: aqua;*/
  z-index: 100;
  transform: rotate(118deg);
}

.ygBox {
  position: absolute;
  right: 1.36rem;
  top: 11.9rem;
  z-index: 2;
  width: 0.7rem;
  font-size: 0rem;
}

.ygBox img {
  width: 100%;
  height: 100%;
}

@keyframes ygBoxA {
  0% {
    right: 1.36rem;
    top: 11.9rem;
  }
  50% {
    right: 1rem;
    top: 12.5rem;
  }
  100% {
    right: 1.36rem;
    top: 11.9rem;
  }
}
@keyframes ygBoxB {
  0% {
    right: 1.36rem;
    top: 11.9rem;
  }
  50% {
    right: 1rem;
    top: 12.5rem;
  }
  100% {
    right: 1.36rem;
    top: 11.9rem;
  }
}

.slider-head {
  display: flex;
  height: 1.4rem;
  width: 100%;
  font-size: 0.34rem;
  font-weight: bold;
  align-items: center;
  text-align: center;
  background-image: url('../logo/飘带.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  line-height: 0.4rem;
  padding: 0.2rem 0;
  color: #ff0000;
}

.slider-head > div {
  flex: 1;
}

.slide-list:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0.3rem;
  height: 100%;
  background-image: linear-gradient(90deg, #2e6e03, transparent);
}

.slide-list:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 0.3rem;
  height: 100%;
  background-image: linear-gradient(270deg, #2e6e03, transparent);
}

.collapsed_bg {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1051;
  display: none;
}
