.button-random-gacha-close {
    width: 45px;
    height: 45px;
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 15;
}

.button-random-gacha-close:hover,
.button-random-gacha-close:focus {
    transform: scale(1.1);
}

/* .button-random-gacha {
    width: 120px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
} */

/* .button-random-gacha:hover,
.button-random-gacha:focus {
    transform: scale(1.1);
} */

.main-modal-random-gacha .modal-content {
    background-color: #8B60EF;
    padding-bottom: 10px;
    border-radius: 30px;
    /* overflow: hidden; */
}

.modal-random-gacha-body {
    /* border: 6px solid #B57BFE; */
    background-color: #f2f2f2;
    background: #D1D8FF;
    padding-bottom: 8px;
    border-radius: 30px;
    overflow: hidden;
}

.modal-random-gacha-content {
    background-color: #fff;
    padding: 4rem 2.5rem 2.5rem 2.5rem;
    border-radius: 30px;
    overflow: hidden;
    /* border: 6px solid #B57BFE; */
    display: flex;
    align-items: center;
}

.header-random-gacha-title {
    width: 350px;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.icon-box {
    /* height: 115px; */
    width: 100%;
    margin-bottom: 2.5rem;
}

.button-gacha-box {
    height: 40px;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}

.button-gacha-box:hover,
.button-gacha-box:focus {
    height: 40px;
    transform: scale(1.1);
}

.main-modal-success-gacha .modal-content {
    background-color: transparent;
}

.modal-success-gacha-body {
    background-color: transparent;
}

.success-item-gacha {
    width: 150px;
    z-index: 10;
}

.modal-success-gacha-content {
    background-color: #fff;
    padding: 4rem 1.5rem 2.5rem 1.5rem;
    border-radius: 30px;
    overflow: hidden;
    /* border: 6px solid #B57BFE; */

}

.content-spin {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative;
    margin-top: 2.5rem;
}

.spin-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.spin-image img {
    width: 250px;
    animation: spin 1s linear infinite;
}

.button-success-gacha {
    margin-top: 4rem;
    text-align: center;
}

.button-success-gacha img {
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.button-success-gacha img:hover {
    transform: scale(1.1);
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}