*{
    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;
    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: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.prize{
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.prize-grid{
    position: relative;
    width: 100%;
    max-width: 500px;
    isolation: isolate;
}
.prize-grid .prize-img{
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: cover;
}
.prize-grid-overlay{
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
    /* border: 2px solid #d4af37; */
    /* border-radius: 4px;
    background-image: repeating-linear-gradient(
        to right,
        transparent 0,
        transparent calc(100% / 7 - 1px),
        #d4af37 calc(100% / 7 - 1px),
        #d4af37 calc(100% / 7)
    ); */
}
.pinter{
    position: absolute;
    top: 51.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in;
    z-index: 5;
}
.pinter.is-exiting{
    transform: translate(-50%, -50%) translateX(var(--pinter-reel-distance, 260px));
}
.pinter.is-no-transition{
    transition: none;
}
.pinter.is-at-left{
    transform: translate(-50%, -50%) translateX(calc(-1 * var(--pinter-reel-distance, 260px)));
}
.pinter.is-entering{
    transform: translate(-50%, -50%) translateX(0);
    transition: transform 0.35s cubic-bezier(0.2, 0.85, 0.35, 1);
}
.pinter img{
    width: 100%;
    height: 100%;
    max-width: 40px;
    object-fit: cover;
}
.buttonplay{
    position: absolute;
    top: 88%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}
.buttonplay.is-busy{
    pointer-events: none;
}
.buttonplay img{
    width: 100%;
    height: 100%;
    max-width: 300px;
    object-fit: cover;
    cursor: pointer;
    animation: zoomInOut 0.5s ease-in-out infinite alternate;
}
@keyframes zoomInOut {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(0.95);
    }
}

.popout-win{
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    pointer-events: none;
}
.popout-win.show{
    display: flex;
    pointer-events: auto;
}
.popout-win .image-win{
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    pointer-events: none;
}
.popout-win .image-win img{
    width: 100%;
    max-width: 480px;
    object-fit: contain;
}
.popout-win .buttons{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.popout-win .buttons img{
    width: 100%;
    max-width: 280px;
    object-fit: contain;
    animation: zoomInOut 0.5s ease-in-out infinite alternate;
}

@media (max-width: 430px) {
    .pinter{
      top: 53%;
    }
}
@media (max-width: 428px) {
    .pinter{
      top: 51%;
    }
    .pinter img{
      max-width: 40px;
    }
}
@media (max-width: 412px) {
    .pinter{
      top: 53%;
    }
    .pinter img{
      max-width: 40px;
    }
}
@media (max-width: 390px) {
    .pinter{
      top: 53%;
    }
    .pinter img{
      max-width: 30px;
    }
}