/*
Theme Name: Mercury Child
Theme URI: https://mercurytheme.com/
Description: Child theme for Mercury theme
Author: MercuryTheme.com
Author URI: https://mercurytheme.com/
Template: mercury
Version: 3.9.6
*/
@import url("../mercury/style.css");

/* Custom styles start */
.home-banner {
    max-width: 1260px;
    margin: 0 auto;
}
.space-footer-copy {
    padding-bottom: 0!important;
}
/* Custom styles end */



/* Wheel Styles start */

.wheel-text {
    position: fixed;
    bottom: 90px;
    color: #ff0000;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    background-color: white;
    border-radius: 10px;
    padding: 2px 6px;
    left: 20px;
    text-align: center;
}

.btn-wheel-open {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 70px;
    height: 70px;
    background: url(./image/wheel-min.svg) 0 0/contain no-repeat;
    cursor: pointer;
    animation: 20s linear infinite wheel-btn-rotate;
    z-index: 9999999999;
}

.wheel {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    background: rgba(0, 0, 255, 0.5);
    backdrop-filter: blur(10px);
    overflow-y: scroll;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
}

.wheel._show {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility 1s ease;
}

/*.wheel__wrap {*/
/*    position: relative;*/
/*    min-width: 730px;*/
/*    min-height: 730px;*/
/*    margin: auto;*/
/*    background: url("./image/wheel-reel.svg") no-repeat center center / contain;*/
/*    transition: transform 1s ease, opacity 1s ease;*/
/*}*/

/*.wheel__wrap::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 50%;*/
/*    width: 35px;*/
/*    height: 60px;*/
/*    top: -20px;*/
/*    z-index: 6;*/
/*    transform: translateX(-50%);*/
/*    background: url("./image/plush.svg") no-repeat center center / contain;*/
/*}*/

.wheel__wrap._hidden {
    display: none;
    transform: scale(0);
    opacity: 0;
}

.wheel__popup {
    transform: scale(0);
    visibility: hidden;
    opacity: 0;
    width: 725px;
    margin: auto;
    height: 0;
    min-height: 0;
    border-radius: 8px;
    border: 2px solid magenta;
    transition: transform 1s ease, visibility 1s ease, opacity 1s ease;
    background: blue url("./image/bg-desc.svg") no-repeat center top / cover;
}

.wheel__popup._show {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    height: 440px;
    min-height: 440px;
}

@media screen and (max-width: 750px) {
    .wheel__popup._show {
        width: 525px;
    }
}

@media screen and (max-width: 550px) {
    .wheel__popup._show {
        width: 336px;
        height: 320px;
        min-height: 320px;
    }
}

@media screen and (max-width: 360px) {
    .wheel__popup._show {
        width: 306px;
        height: 320px;
    }
}

.wheel__popup-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wheel__popup-img {
    max-width: 217px;
    margin-top: -40px;
}

@media screen and (max-width: 550px) {
    .wheel__popup-img {
        max-width: 130px;
    }
}

.wheel__popup-title {
    margin-top: -50px;
    margin-bottom: 30px;
    align-self: center;
    color: white;
    font-family: 'Inter', sans-serif;
    background: magenta;
    white-space: nowrap;
    font-size: 48px;
    line-height: 50px;
    padding: 3px 15px;
    z-index: 1;
}

@media screen and (max-width: 550px) {
    .wheel__popup-title {
        font-size: 34px;
        line-height: 36px;
        margin-top: -30px;
        margin-bottom: 20px;
    }
}

.wheel__popup-text {
    max-width: 470px;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 0.44px;
    color: white;
    text-align: center;
    margin: 0 0 30px;
}

@media screen and (max-width: 550px) {
    .wheel__popup-text {
        max-width: 260px;
        font-size: 17px;
        line-height: 20px;
        margin: 0 0 20px;
    }
}

.wheel__popup-btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 18px;
    line-height: 20px;
}

.wheel__popup-btn.green-btn {
    background-color: #05c48a;
    color: #005;
}

.wheel-fortune {
    position: absolute;
    width: 760px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("./image/wheel-fort.png") no-repeat center center / contain;
}

.wheel-fortune._rotate {
    animation: 6s wheel-rotate cubic-bezier(.25, .75, .5, 1.05) forwards;
}

@media screen and (max-width: 680px) {
    .wheel__wrap {
        min-width: 356px;
        max-width: 356px;
        min-height: 356px;
        height: 356px;
    }

    .wheel-fortune {
        width: 390px;
        height: 390px;
    }

    .wheel-btn {
        width: 130px!important;
        height: 130px!important;
    }
}

@media screen and (max-width: 370px) {
    .wheel__wrap {
        min-width: 306px;
        max-width: 306px;
        min-height: 306px;
        height: 306px;
    }

    .wheel-btn {
        width: 120px;
        height: 120px;
    }

    .wheel-fortune {
        width: 365px;
        height: 365px;
    }

    .wheel-btn {
        width: 90px;
        height: 90px;
    }
}

.wheel-btn {
    cursor: pointer;
    position: absolute;
    width: 170px;
    height: 170px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("./image/wheel-btn.svg") no-repeat center center / contain;
}

.wheel-btn.pulse-btn {
    animation: 1.4s pulse-btn ease infinite;
}

.wheel-btn:hover {
    animation-play-state: paused;
}

.wheel-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: url("./image/btn-close.svg") no-repeat center center / contain;
}

@media screen and (max-width: 600px) {
    .wheel-close {
        width: 30px;
        height: 30px;
    }
}

@keyframes pulse-btn {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes wheel-btn-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes wheel-rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    80% {
        transform: translate(-50%, -50%) rotate(998deg);
    }
    90% {
        transform: translate(-50%, -50%) rotate(986deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(992deg);
    }
}

/* Wheel Styles end */


/* Slots Template */
/* Shortcode Slots Start */

.cards {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.cards__item {
    width: calc(16.6% - 10px);
    height: 190px;
    text-align: center;
    position: relative;
}
.cards__item:nth-child(7) {
    width: calc(50% - 10px);
    height: 190px;
    text-align: center;
    position: relative;
}
.cards__item:nth-child(7) .cards__item-content {
    display: flex;
    align-items: center;
}

.cards__item-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    height: 100%;
}

.cards__item-name {
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    font-size: 16px;
    line-height: 18px;
    padding: 10px 0!important;
    margin-bottom: 20px;
}

.cards__item-btn {
    display: block;
    padding: 10px 15px;
    border-radius: 10px;
    width: max-content;
    color: white!important;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none!important;
    margin: 0 auto 10px;
    cursor: pointer;
    transition: all ease .5s;
}
.cards__item-btn:hover {
    transform: scale(102%);
}
.cards__item-btn-transparent {
    background: blue;
}
.cards__item-btn-yellow {
    background: red;
}

.cards__item-name,
.cards__item-btn {
    display: none;
}

.cards__item-content:hover .cards__item-name,
.cards__item-content:hover .cards__item-btn {
    display: block;
    position: relative;
}

.cards__item-content:before  {
    content: '';
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(1,1,1, .5);
    border-radius: 10px;
}

.cards__item-content:hover:before {
    display: block;
}

@media screen and (max-width: 998px) {
    .cards__item {
        width: calc(33% - 10px);
    }
    .cards__item:nth-child(7) {
        width: calc(66% - 10px);
        height: 190px;
        text-align: center;
        position: relative;
    }

}

@media screen and (max-width: 768px) {
    .cards {
        justify-content: center;
        padding: 0 10px;
    }

    .cards__item {
        width: calc(50% - 5px);
    }
    .cards__item:nth-child(7) {
        width: 100%;
        height: 190px;
        text-align: center;
        position: relative;
    }  
    .cards__item-name {
        text-transform: capitalize;
        padding: 10px 5px;
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 0;
    }
    .cards__item-btn {
        padding: 7px 15px;
        font-size: 14px;
        line-height: 14px;
        margin: 0 auto 7px;
    }
}

@media screen and (max-width: 540px) {
    .cards__item {
        height: 130px;
    }
}

/* Shortcode Slots End */

/* Slots Tempalte End*/