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

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

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

.background img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.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: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 100%;
    max-width: 250px;
    height: 100%;
    object-fit: cover;
}

.text {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spin {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spin img {
    width: 100%;
    max-width: 400px;
    height: 100%;
    object-fit: cover;
}

.pointer {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pointer img {
    width: 100%;
    max-width: 50px;
    height: 100%;
    object-fit: cover;
}

.playButton {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.playButton img {
    width: 100%;
    max-width: 300px;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Popout styles */
.popout-win {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.popout-win.show {
    opacity: 1;
    visibility: visible;
}

.image-win {
    width: 80%;
    max-width: 550px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .image-win {
        width: 100%;
        max-width: none;
    }

    .buttons {
        width: 80%;
    }
}

.image-win img {
    width: 100%;
    height: auto;
}

.buttons {
    width: 60%;
    max-width: 300px;
    cursor: pointer;
}

.buttons img {
    width: 100%;
    height: auto;
}

@media (max-width: 440px) {
    .spin {
        max-width: 400px;
    }

    .pointer {
        max-width: 45px;
    }

    .playButton {
        max-width: 250px;
    }
}

@media (max-width: 414px) {
    .spin {
        max-width: 300px;
    }

    .pointer {
        max-width: 30px;
    }

    .playButton {
        max-width: 200px;
    }
}

@media (max-width: 375px) {
    .spin {
        max-width: 300px;
    }

    .pointer {
        max-width: 30px;
    }

    .playButton {
        max-width: 200px;
    }
}