:root {
    --rotation-start :0deg;
    --rotation-end :1420deg;
}

 /* Override Standard Menu Bar */
 .header-primary.header.container {
    max-width: none;
}

.mxl-header-row.row {
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
}

.sections.nav-sections {
    display: block;
    margin-bottom: 0px;
    max-width: none;
    background-color: #f7f7f7;
}

#maincontent.page-main {
    padding: 0;
    max-width: 100%;
}

.page-main {
    border-left: none;
    border-right: none;
}

.breadcrumbs {
    display: none;
}

nav.navigation {
    border-bottom: none;
}

.columns .column.main {
    padding-bottom: 0;
    
}

.footer.content {
    padding-top: 0;
}

.mxl-footer-outer-wrap {
    margin-top: 0px;
}


#spin-to-win {
    background: radial-gradient(circle, #ff8fa7, #d33a6c);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

#s2w-video-bg {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    filter: opacity(0.5) saturate(0);
    mix-blend-mode: soft-light;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}


.s2w-intro-cont {
    padding: 50px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.s2w-intro-cont img {
    max-width: 100%;
    filter: drop-shadow(0px 4px 3px #52081a77);
}

.s2w-intro-cont p {
    line-height: 1.4;
    margin-top: 15px;
    text-align: center;
}

#ui-overlay-bg {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://maxill.com/media/wysiwyg/maxill/spin-to-win/ui_overlay_bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
    max-width: 100vw;
}

#s2w-app-container {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: calc((100% - 510px)/2) 510px calc((100% - 510px)/2);
    padding-top: 30px;
}



.s2w-board {
    background: url('https://maxill.com/media/wysiwyg/maxill/spin-to-win/s2w-board-3d.png');
    background-repeat: no-repeat;
    width: 510px;
    height: 530px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
    filter: drop-shadow(2px 2px 2px #88194433);
}

#s2w-bottle {
    cursor: pointer;
}

.s2w-ui-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    gap: 20px;
}

.s2w-ui-cont > div {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    color: #CA4360;
    font-weight: 600;
    font-size: 18px;
}


button#spin-the-bottle {
    background: #103069;
    color: #ffffff;
    font-size: 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    padding: 20px 40px;
    filter: drop-shadow(0px 5px 0px #061A3D);
}

button#spin-the-bottle:hover {
    filter: drop-shadow(0px 5px 0px #942a48);
}


button#spin-the-bottle:hover {
    background: #E1436F;
}

button#show-prize {
    opacity: 0;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #7a1e28;
    background: none;
    border: none;
    text-align: center;
}

@keyframes bottleSpin {
    from {transform: rotate(var(--rotation-start))}
    to {transform: rotate(var(--rotation-end))}
}

.spin-the-bottle {
    animation: bottleSpin 4s ease-out 1 forwards;
}

#svgBottleMask {
    width: 1px;
    height: 1px;
    opacity: 0;
}

#s2wBottle {
    filter: drop-shadow(2px 2px 5px #33333377);
}

#s2w-prize-popup-confetti {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;   
    display: none;
}

 /* Prize Popup */
 #s2w-prize-popup-confetti {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;   
    display: none;
}

#s2w-prize-popup-cont {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 9999;
    background-color: rgba(4, 23, 46, 0.9);
    align-items: center;
    justify-content: center;
}

#s2w-prize-popup {
    background-color: #ffffff;
    border-radius: 6px;
    filter: drop-shadow(2px 2px 5px #33333333);
    padding: 48px;
    max-width: 1000px;
    display: flex;
    align-items: center;
}

#prize-img-cont {
    width: 20%;
}

#prize-info {
    width: 80%;
    text-align: center;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    padding-left: 55px;
}

span.prize-terms {
    font-size: 12px;
    display: inline-block;
}

.prize-congrats {
    font-size: 20px;
    font-style: italic;
    color: #09203c;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
}

#prize-name {
    font-size: 24px;
    color: #cc466a;
    font-weight: 600;
}

#prize-subname {
    font-size: 20px;
    margin-bottom: 20px;
    color: #3164a3;
}

#prize-code-cont {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

#prize-code {
    text-align: center;
    font-family: 'Courier', monospace;
    font-weight: 600;
    color: #cc466a;
    font-size: 28px;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    margin-right: 10px;
}


#prize-copy-code {
    background-color: #2063a5;
    color: #ffffff;
    font-size: 35px;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

#prize-copy-code:hover {
    background-color: #186fc7;
}

#prize-close-btn {
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 28px;
    color: #8491a3;
    cursor: pointer;
}

#prize-close-btn .fa-times-circle, #prize-copy-code .fa-copy {
    pointer-events: none;
}

#s2w-prize-popup-cont.prize-popup-active {
    display: flex;
}

.remove-scroll {
    overflow: hidden;
}

/* SPIN-to-WIN Expired Page Styling */

#spin-to-win-expired {
    text-align: center;
    min-height: 600px;
    padding-top: 150px;
    padding-bottom: 150px;
    position: relative;
    z-index: 1;
}

#spin-to-win-expired p {
    font-family: 'Rubik', sans-serif;
    color: #ffffff;
    font-size: 22px;
    margin: 50px auto;
    max-width: 800px;
}

#spin-to-win-expired a {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #113158;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px 30px;
    filter: drop-shadow(0px 6px 0px #ff9bb0) drop-shadow(0px 4px 4px #33333333);
}

#spin-to-win-expired a:hover {
    text-decoration: none;
}

#spin-to-win-expired img {
    max-width: 600px;
    filter: drop-shadow(0px 4px 3px #52081a77);
}

#spin-to-win.s2w-expired #ui-overlay-bg, #spin-to-win.s2w-expired #s2w-app-container {
    display: none;
}

/* Popup Animation */

@keyframes prizePopup {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

@keyframes popupBgOverlay {
    from {background-color: rgba(4, 23, 46, 0);}
    to {background-color: rgba(4, 23, 46, 0.9);}
}

@keyframes codeCopied {
    0% {
        text-shadow: none;
    }
    50% {
        text-shadow: 0px -10px 1px #cc466a;
    }
    100% {
        text-shadow: 0px -30px 5px #ffffff;
    }
}

.popup-bg-overlay-animation {
    animation: popupBgOverlay 300ms ease-in 1 forwards;
}

.prize-popup-animation {
    animation: prizePopup 300ms ease-in 1 forwards;
}

.code-copied {
    animation: codeCopied 300ms ease-in 1;
}



@media screen and (max-width: 1100px) {
    #ui-overlay-bg {
        transform: rotate(90deg);
        margin-right: -50px;
        border-right: 25px solid #f6e1e8;
    }
    .s2w-ui-cont {
        background: #f9e1e8;
    }
    #s2w-app-container {
        display: flex;
        flex-direction: column;
    }
    #s2w-intro-cont {
        max-width: 600px;
        margin: 0 auto;
    }
    .s2w-board-cont {
        margin: auto;
    }
    #s2w-video-bg {
        height: 50%;
        width: auto;
        max-width: none;
    }
}

@media screen and (max-width: 800px) {

    /* Prize Popup */
    #s2w-prize-popup {
        flex-direction: column;
        margin: 0 30px;
        max-width: 90vw;
        max-height: 90vh;
        padding: 25px;
    }
    #prize-img-cont {
        display: none;
    }
    #prize-info {
        padding: 0;
        width: 100%;
    }
    .prize-congrats {
        font-size: 16px;
        max-width: 80%;
        margin: auto;
    }
    #prize-name {
        line-height: 1;
        margin-top: 10px;
    }
    .prize-terms, .prize-terms + span {
        line-height: 1.4;
    }
    #prize-info h3 {
        font-size: 26px;
        margin-bottom: 10px;
        margin-top: 10px;
    }
    #prize-code-cont {
        flex-direction: column;
        margin-top: 10px;
    }
    #prize-code {
        margin: 5px 0;
    }
    div[title="Live chat button"] {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .s2w-intro-cont {
        padding: 35px 30px 10px 30px;
        text-align: center;
    }

    .s2w-board-cont {
        width: 90vw;
        height: auto;
        aspect-ratio: 1;
    }
    
    .s2w-board {
        width: 90vw;
        height: auto;
        aspect-ratio: 1;
        background-size: contain;
    }
}