* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    overflow: hidden;
}

.background {
    position: relative;
    width: 550px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.text{
    position: absolute;
    top: 13%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.text img{
    width: 100%;
    height: 100%;
    max-width: 450px;
    object-fit: cover;
}
.slot{
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slot img{
    width: 100%;
    height: 100%;
    max-width: 170px;
    object-fit: cover;
}
.spin{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spin img{
    width: 100%;
    height: 100%;
    max-width: 400px;
    object-fit: cover;
}
.point{
    position: absolute;
    top: 59%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.point img{
    width: 100%;
    height: 100%;
    max-width: 50px;
    object-fit: cover;
}
.buttonplay{
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.buttonplay img{
    width: 100%;
    height: 100%;
    max-width: 300px;
    object-fit: cover;
    cursor: pointer;
}

/* Popout Win Styles */
.popout-win {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding-top: 150px; /* Push the popout content down more */
}

.popout-win.show {
    display: flex;
}

.popout-win .image-win {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popout-win .image-win img {
    max-width: 450px;
    width: 90%;
    object-fit: contain;
}

.popout-win .buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.popout-win .buttons img {
    max-width: 280px;
    width: 60%;
    object-fit: contain;
    cursor: pointer;
}
@media (max-width: 428px) {
    .slot{
        top: 25%;
    }
    .slot img {
        max-width: 150px;
    }
    
    
}

@media (max-width: 390px) { 
    .slot{       
        top: 25%;
    }   
    .slot img {
        max-width: 150px;
    }
    .spin{
        top: 55%;
    }
    
    .spin img {
        max-width: 300px;
    }
    .point{
        top: 55%;
    }
    
    .point img {
        max-width: 40px;
    }

    .buttonplay{
        top: 80%;
    }
    
    .buttonplay img {
        max-width: 220px;
    }
    .popout-win {
        padding-top: 100px;
    }
    
    .popout-win .image-win img {
        max-width: 300px;
    }
    
    .popout-win .buttons img {
        max-width: 200px;
    }
}


