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

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

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

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main-content{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.logo{
    position: absolute;
    top:5%;
    left:50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo img{
    width: 100%;
    height: 100%;
    max-width: 200px;
    object-fit: cover;
}
.text{
    position: absolute;
    top:20%;
    left:50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    
}
.text img{
    width: 100%;
    height: 100%;
    max-width: 400px;
    object-fit: cover;
}
.slot1{
    position: absolute;
    top:39%;
    left:10%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.slot1 img{
    width: 100%;
    height: 100%;
    max-width: 170px;
    object-fit: cover;
}

.slot3{
    position: absolute;
    top:90%;
    left:20%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.slot3 img{
    width: 100%;
    height: 100%;
    max-width: 200px;
    object-fit: cover;
}
.slot4{
    position: absolute;
    top:90%;
    left:80%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.slot4 img{
    width: 100%;
    height: 100%;
    max-width: 200px;
    object-fit: cover;
}
.reward{
    position: absolute;
    top:50.4%;
    left:50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.reward img{
    width: 100%;
    height: 100%;
    max-width: 400px;
    object-fit: cover;
}
.pointer{
    position: absolute;
    top:50%;
    left:51%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.pointer img{
    width: 100%;
    height: 100%;
    max-width: 80px;
    object-fit: cover;
}
.frame1{
    position: absolute;
    top:50%;
    left:49.2%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1;
    opacity: 0.6;
}
.frame1 img{
    width: 100%;
    height: 100%;
    max-width: 600px;
    object-fit: cover;
}
.frame{
    position: absolute;
    top:50%;
    left:49.2%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.frame img{
    width: 100%;
    height: 100%;
    max-width: 500px;
    object-fit: cover;
}
.buttonPlay{
    position: absolute;
    top:85%;
    left:50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.buttonPlay img{
    width: 100%;
    height: 100%;
    max-width: 300px;
    object-fit: cover;
    cursor: pointer;
}

.popout-win {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
  
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

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

.popout-win .image {
    width: 75%;
    max-width: 400px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.popout-win .image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.popout-win .buttons {
    margin-top: 25px;
    width: 80%;
    display: grid;
    place-items: center; /* center items horizontally & vertically */
    justify-content: center; /* center grid tracks */
    gap: 10px;
    width: 100%;
    max-width: 550px;
}
.popout-win .buttons img {
    width: 100%;
    height: auto;
    cursor: pointer;
    object-fit: contain;
    max-width: 250px;
    transform: scale(1.08);
}
@media (max-width: 440px) {
    .logo img {
        max-width: 150px;
    }
    .text img {
        max-width: 350px;
    }
    .reward img {
        max-width: 350px;
    }
    .pointer img {
        max-width: 60px;
    }
    .frame img {
        max-width: 400px;
    }
    .buttonPlay img {
        max-width: 250px;
    }
}
@media (max-width:430px) {
    .reward {
        top: 50%;
    }
    .reward img {
        max-width: 350px;
    }
    .pointer {
        top: 48%;
    }
    .pointer img {
        max-width: 60px;
    }
    .frame1 {
        top: 50%;
    }
    .frame1 img {
        max-width: 600px;
    }
    .frame {
        top: 50%;
    }
    .frame img {
        max-width: 390px;
    }
    .buttonPlay {
        top: 85%;
    }
    .buttonPlay img {
        max-width: 250px;
    }
}
@media (max-width:428px) {
    .logo {
        top: 4%;
    }
    .logo img {
        max-width: 120px;
    }
    .text {
        top: 20%;
    }
    .text img {
        max-width: 280px;
    }
    .reward {
        top: 50%;
    }
    .reward img {
        max-width: 350px;
    }
    .pointer {
        top: 49%;
    }
}



@media (max-width:390px) {
    .reward {
        top: 50%;
    }
    .reward img {
        max-width: 350px;
    }
    .pointer {
        top: 48%;
    }
}
@media (max-width:360px) {
    .reward {
        top: 50%;
    }
    .reward img {
        max-width: 330px;
    }
    .pointer {
        top: 48%;
    }
    .pointer img {
            max-width: 60px;
    }
}