*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container{
    width: 100%;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.background{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.background img{
    /* width: 100%; */
    height: 100%;
    object-fit: contain;
}
.main-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo{
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 300px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.coineffect{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.coineffect img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.framespin{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.framespin img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.spinwheel{
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 350px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center center;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}
.spinwheel img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pointer{
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 50px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pointer img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.spinbutton{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.spinbutton img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.text{
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 700px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.popoutwin{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.popoutwin.show{
    display: flex;
    opacity: 1;
}
.popoutwin .imagetext{
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.popoutwin .imagetext img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.popoutwin .button{
    position: relative;
    width: 100%;
    max-width: 200px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomInOut 1.5s ease-in-out infinite;
}
.popoutwin .button img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}
@media (max-width: 768px) {
    .background img {
        height: 100%;
        object-fit: contain;
    }
    .text{
        max-width: 350px;
    }
}