#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: 7.7rem;
    /*width: 100%;*/
    display: flex;
    flex-wrap: nowrap;
    gap: 0.18rem;
    z-index: 2;
    position: relative;
    background-image: url("../img/holograma2.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    box-sizing: border-box;
    align-items: center;
    margin: 1rem .8rem 3.6rem;
    padding: .65rem .28rem .32rem .29rem;
}

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

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

.Tiger {
    align-items: center
}

.TigerNumbers img {
    object-fit: cover;
    width: 100%;
    height: 1.8rem;
    border-radius: .34rem;
}

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

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

#modal {
  
    border-radius: 0.4rem;
    box-shadow: 0px 0px 10px 0 #33333380;
    display: none;
    position: fixed; /* 确保模态框定位正确 */
    top: 50%;
    left: 50%; /* 添加left属性以配合transform */
    transform: translate(-50%, -50%);
    /*background-color: #fff;*/
    padding: 0.6rem;
    z-index: 10000;
    width: 8rem;
    text-align: center;
    
    /* 同时应用背景图片和渐变 */
    background-image: 
      url("../img/fundo-game.png"),
      linear-gradient(180deg, #b9f1ff, #F1FBF4);
    background-size: cover, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;


}

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

#modalText {
    font-size: .4rem;
    text-align: center;
}

#closeButton, #enterButton {
    font-size: .4rem;
    width: 3rem;
    height: 1rem;
    padding: 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: transparent;
    position: relative;
}

#closeButton span, #enterButton span {
    /*position: absolute;*/
    /*top: .18rem;*/
    color: #fff;
}

#closeButton {
    background-image: url("../img/retangulo amarelo.png");
}

#enterButton {
    background-image: url("../img/retangulo verde.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(.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('../jinbi/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: 100%;
}

.Tiger {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /*overflow: hidden*/
}

.TigerNumbers > a {
    width: 100%;
    text-align: center;
    background-color: #fff6e2;
    border-radius: .4rem;
    overflow: hidden;
    /*padding: 2px;*/
    font-size: 0;
    box-shadow: 0px 2px 6px 0 #000000;
}

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

.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: 100%;
    width: 100%;
    position: relative;
    /*top: -0.45rem;*/
    overflow: hidden;
    border-radius: .4rem;
    display: flex;
    flex-wrap: nowrap;
    /*gap: 0.6rem;*/
    padding: .3rem;
    padding-top: .4rem;
    padding-bottom: .6rem;
    background-color: ;
}


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

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

.jbBox {
    position: absolute;
    /*left: 4.7rem;*/
    /*top: 6rem;*/
    left: 4.7rem;
    top: -1rem;
    z-index: 2;
    width: .5rem;

    /*animation: 4.5s show-picture;*/
}

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

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

.ygBox {
    position: absolute;
    right: 1.36rem;
    top: 11.7rem;
    z-index: 2;
    width: .7rem;
}

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

@keyframes ygBoxA {
    0% {
        right: 1.36rem;
        top: 11.7rem;
    }
    50% {
        right: 1.1rem;
        top: 12.2rem;
    }
    100% {
        right: 1.36rem;
        top: 11.7rem;
    }
}

@keyframes ygBoxB {
    0% {
        right: 1.36rem;
        top: 11.9rem;
    }
    50% {
        right: 1.1rem;
        top: 12.4rem;
    }
    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("../img/矩形6.png");*/
    background-color: #fff;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    line-height: .4rem;
    padding: .2rem 0;
    color: #025dff;
    border-radius: .4rem .4rem 0 0;
}

.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, #c61e3a94, transparent);*/
/*}*/

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

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

.swiper-box {
    width: 100%;
    position: relative;
    margin: 10px auto;
    height: 8rem;
overflow: hidden;
}

.swiper-container {
    width: 200%;
    height: 100%;
    color: #fff;
    /*background: #222;*/
    text-align: center;
left: -50%;
}

.swiper-slide {
    height: 100%;
    opacity: 0.4;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -ms-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.swiper-slide-visible {
    opacity: 0.5;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.swiper-slide-active {
    top: 0;
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.swiper-slide .text-box {
    font-size: .45rem;
    position: absolute;
    bottom: 0.8rem;
    left: 0;
    right: 0;
}

.swiper-slide .text-box .title {
    font-weight: bold;
}

.swiper-slide .text-box .s_title {
    font-size: .4rem;
    color: #e9ecef;
}

.swiper-slide .text-box .jine {
    font-size: .6rem;
    font-weight: bold;
    color: #fde300;
}

.swiper-pagination-switch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 8px;
    background: #aaa;
    margin-right: 8px;
    cursor: pointer;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -ms-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
    opacity: 0;
    position: relative;
    top: -50px;
}

.swiper-visible-switch {
    opacity: 1;
    top: 0;
    background: #aaa;
}

.swiper-active-switch {
    background: #fff;
}

.modalImgs {
    width: calc(100% - .8rem);
    display: flex;
    gap: .4rem;
    align-items: center;
    margin-bottom: .5rem;
}

.modalImgs img {
    width: 40%;
}

.modalImgs img:nth-of-type(2) {
    width: 20%;
}

#gnameName {
    font-size: .35rem;
    font-weight: bold;
    margin-bottom: .5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#gnameName span {
    flex: 1;
    /*overflow:hidden;*/
    /*white-space: nowrap;*/
    /*text-overflow: ellipsis;*/
}

.jine {
    overflow: hidden;
    font-weight: bold;
    font-style: oblique;
    background-image: -webkit-linear-gradient(0deg, #f74fad, #ff568a, #ff8c46, #ffab2d, #ffb700, #ffa900, #ff9b00, #ff8c00, #f74fad);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    animation: stream 1s infinite linear;
    background-size: 50% 100%;
}

@keyframes stream {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 50% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

.vs {
    font-size: .5rem;
    color: #34b7ff;
    font-style: italic;
}