/*
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 changes */
:root {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.copy-button {
    position: absolute;
    right: -30px;
    top: 7px;
    bottom: 7px;
}

.space-block-title span {
    z-index: 0;
}
/* Custom changes */



/* Custom Styles */

.space-box,
.space-title-box,
.space-page-section {
    background: #0E082F;
}

.space-title-box-h1 h1,
.space-block-title,
.space-archive-loop-item-title a,
.space-archive-loop-item-meta span.read-more a,
.space-news-6-item-ins ul li a,
h1, h2, h3, h4, h5, h6 {
    color: white!important;
}
.space-page-content {
    color: white;
}

.comment-form-cookies-consent,
h3.comment-reply-title,
h3.comment-first-title,
.comment-list .space-page-content {
    color: #0E082F!important;
}

.ez-toc-title {
    color: black;   
}

.has-mercury-wisteria-background-color {
    background-color: #fcc054;
    color: #0E082F!important;
}

.wp-block-button .wp-block-button__link:hover {
    background-color: #f8c978!important;
    color: #0E082F!important;
}

.space-title-box-h1 {
    text-align: center;
}
.wp-block-column {
    word-break: normal;
}
.wp-block-table table td:has(strong) {
    background-color: #0E082F;
    color: white;
}


.space-aces-single-offer-info {
    background-color: #23025e;
    border: 1px solid white;
}
.space-aces-single-offer-info-code-value {
    color: white;
}

.space-cons-title,
.space-pros-title,
.space-unit-content-short-desc {
    color: white;
}

.space-pros-ins:before {
    background-color: #057c00;
}
.space-cons-ins:before {
    background-color: #ff0031;     
}
/* Custom Styles */


/* Header styles */
.space-header-ins {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.space-header-logo-ins a {
    display: flex;
    gap: 0 10px;
    align-items: center;
}

.header-top-r-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.space-header-menu {
    display: flex;
    justify-content: end;
}

.space-header-menu ul li a{
    text-transform: uppercase;
}

.header-custom-btns {
    display: flex;
    justify-content: end;
    gap: 10px;
}

.header-custom-link {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #ff9d00;
    color: #ff9d00;
    font-weight: bold;
    font-size: 20px;
    height: max-content;
}

.header-custom-link:last-child {
    background: #ff9d00;
    color: #021833;
}
.header-custom-link:first-child:hover {
    border: 1px solid #f2ba64;
    color: #f2ba64;
}
.header-custom-link:last-child:hover {
    background: #f2ba64;
}

.header-custom-link:hover {
    transform: scale(1.01);
}

.header__social-media {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header__social-media-item {
    display: flex;
    border-radius: 50%;
    width: 35px;
}
.header__social-media-item:hover {
    transform: scale(105%);
}
.header__social-media-item img {
    border-radius: 50%;
}

.header-top-r__btn {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-top-r__btn-item {
    display: flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 20px;
    background: linear-gradient(90deg, #A53DFF, #F7946C);
    color: white;
    gap: 5px;
}
.header-top-r__btn-item:nth-child(2) {     
    background: white;
    color: black;
}
.header-top-r__btn-item:hover {
    transform: scale(102%);
}
.header-top-r__btn-item img {
   width: 20px;
}
.header-top-r__btn-item span {
    font-size: 16px;
    font-weight: bold;
}

.space-header-menu-position ul.main-menu {
    padding-right: 0;
}
.space-header-menu-position ul.main-menu li a {
    font-weight: bold;
}

.header__lang.lang {
    position: relative;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.7;
    cursor: pointer;
}
.lang__current {
    color: #fff;
}
.bx {
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    display: inline-block;
    text-transform: none;
    speak: none;
}

.header-bottom-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fcc055;
    padding: 20px;
    gap: 10px;
}
.header-bottom-page {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-bottom-page-item {
    display: flex;
    align-items: center;
    color: black;
    gap: 5px;
}

.header-bottom-page-item img {
    width: 25px;
}

.header-bottom-page-item span {
    font-weight: bold;

}

.header-bottom-page-item:hover {
    transform: scale(105%);
}


@media screen and (max-width: 1199px) {
    .space-header-logo {
        width: max-content!important;
    }
    .space-header-menu {
        width: 100%!important;
    }
    .header-top-r-container {
        margin-top: 10px;
    }

    .space-header-logo a {
        padding-top: 0!important;
    }
    .header-custom-link {
        font-size: 18px;
    }

    .header-top-r__btn-item,
    .header__lang {
        display: none;
    }

}

@media screen and (max-width: 767px) {
    .header-site-name,
    .header-site-name-location {
        font-size: 20px!important;
    }

    .space-header-ins {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .space-header-logo,
    .space-header-menu {
        width: auto!important;
    }

    .header__social-media {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .space-mobile-menu-icon {
        right: 5px!important;
    }
    .space-header-logo-ins a {
        padding-top: 5px!important;
    }

    .space-header-logo-ins img {
        margin: 0 auto;
    }

    .space-header-menu {
        justify-content: center;
    }

    .header-top-r-container {
        margin: 0;
        padding: 10px 0;
    }

    .header-site-name,
    .header-site-name-location {
        font-size: 16px!important;
    }

    .header-custom-link {
        margin-right: 7px;
        padding: 7px 10px;
        font-size: 13px;
    }

    .header-custom-link:hover {
        transform: scale(1.1);
    }

    .space-header-logo, .space-header-menu {
        width: 100% !important;
    }
}
.space-breadcrumbs span {
    font-size: 16px;
}
.space-breadcrumbs span a {
    color: #ff9d00!important;
}
.space-breadcrumbs .breadcrumb_last {
    color: #ff9d00;
    font-weight: bold;
}
/* Header styles */







/* FAQ */
.schema-faq {
    padding-top: 10px;
}

.schema-faq-question {
    display: block;
    padding: 20px 45px 20px 35px;
    color: #0E082F;
    background-color: #fcc055;
    border: 1px solid #fcc055;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0!important;
}

.schema-faq-section.schema-faq-section__active .schema-faq-question {
    background-color: #ff9d00;
}

.schema-faq-question:before {
    content: "";
    width: 14px;
    height: 3px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0E082F;
    border-radius: 3px;
    transition: all 0.3s;
}

.schema-faq-question:after {
    content: "";
    width: 3px;
    height: 14px;
    position: absolute;
    left: 15.5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0E082F;
    border-radius: 3px;
    transition: all 0.3s;
}
.schema-faq-section.schema-faq-section__active .schema-faq-question:before,
.schema-faq-section.schema-faq-section__active .schema-faq-question:after {
    background-color: #ffffff;
}
.schema-faq-section.schema-faq-section__active .schema-faq-question {
    color: white;
}

.schema-faq-section__active .schema-faq-question:after {
    opacity: 0;
}

.schema-faq-section {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e2e2e2;
    border-radius: 3px;
}

.schema-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    will-change: max-height;
    transition: all 0.25s ease-out;
    color: #ffffff;
    opacity: 0;
}

.schema-faq-section__active {
    padding-bottom: 15px;
}

.schema-faq-section__active .schema-faq-answer {
    padding: 20px;
    opacity: 1;
}
/* FAQ */


/* Footer start */
.footer {
    background-color: #0E082F;
    box-shadow: 0px 7px 5px 4px white;
    padding: 20px 10px 0 10px;
    color: white;
}

.footer-top-menu {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-top-menu ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 0 20px;
}
.footer-top-menu ul li a {
    display: flex;
    padding: 10px 15px;
    color: #fcc054;
    text-decoration: none;
}
.footer-top-menu ul li a:hover {
    padding: 10px 15px;
    color: #fbd293;
}

.footer-section-content {
    text-align: center;
    color: #fff ;
}

.footer-section-apps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.footer-section-app div {
    display: flex;
    align-items: center;
    justify-content: center;
}


.footer-section-app {
    display: flex;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 14px;
    background: #d9d9d9;
    color: black;
    gap: 15px;
}
.footer-section-app:hover {
    transform: scale(102%);
    background: white;
}
.footer-section-app img {
    width: 30px;
}
.footer-section-app span {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}



.space-footer-copy-left {
    color: white;
}

.footer-border-bottom {
    border-bottom: 1px solid #494949;
}


@media screen and (max-width: 768px) {
    .footer-section-apps {
        flex-wrap: wrap;
    }
    .footer-section-app {
        gap: 10px;

        padding: 10px;
        min-width: 175px;
    }
}

/* Footer end */


/* Footer Popup */
/* Кнопка-тригер (іконка в лівому нижньому куті) */
#popup-trigger {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 999;
}

#popup-trigger img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#popup-trigger img:hover {
    transform: scale(1.1);
}

@keyframes shakeGift {
    0%, 100% { transform: rotate(0deg); }
    3% { transform: rotate(10deg); }
    6% { transform: rotate(-10deg); }
    9% { transform: rotate(10deg); }
    12% { transform: rotate(-10deg); }
    15% { transform: rotate(0deg); }
}

.gift-icon {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    left: 20px;
    animation: shakeGift 0.5s ease-in-out 0s infinite;
    animation-play-state: running;
    animation-iteration-count: infinite;
    animation-duration: 4s; /* 0.5s труситься, 3.5s спокій */
}



body.popup-active {
    overflow: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
}

.popup {
    position: relative;
    background: linear-gradient(120deg, #0e082f, #fcc055);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 360px;
    width: 100%;
    max-width: 600px;
    margin: 0 10px;
    z-index: 1;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
}


.hidden {
    display: none;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.popup-box__item {
    text-align: left;
}

.popup-box__item img {
    max-width: 200px;
}

.progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: green;
    transition: width 0.1s;
}

.promo-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    background: #262b4e;
    gap: 5px;
}

.promo-details span {
    white-space: nowrap;
    padding: 15px;
    border-radius: 5px;
    background: #4c5499;
    color: white;
}

.promo-details img {
    width: 80px;
    height: auto;
}

.popup-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.promo-btn {
    position: relative;
    font-size: 22px;
    font-weight: bold;
    line-height: 24px;
    background: #ff9d00;
    color: #ffffff;
    border-radius: 5px;
    border: none;
    white-space: nowrap;
    padding: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.3s ease;
    z-index: 1;
}

/* Анімація переливання фону */
.promo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff9d00, #fcc055, #ff9d00);
    background-size: 400% 400%;
    animation: shine 5s infinite ease-in-out;
    z-index: -1;
}

/* Текст на кнопці */
.promo-btn span {
    position: relative;
    z-index: 1;
}

/* Анімація блиску */
@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.promo-btn:hover {
    background-color: #e88f00; /* Трохи темніший колір при наведенні */
}

.popup .popup__title {
    font-size: 22px;
    font-weight: bold;
    font-style: italic;
    line-height: 26px;
    color: #ffffff !important;
    margin-bottom: 30px;
}

.progress-container {
    position: relative;
    width: 100%;
    height: 40px;
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

#progress {
    display: block;
    height: 100%;
    width: 0;
    background: #ff9d00;
    transition: width 0.2s linear;
}

#progress-text {
    position: absolute;
    top: -25px;
    left: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    transition: left 0.2s linear;
}

@media screen and (max-width: 768px) {
    .promo-details {
        flex-wrap: wrap;
        gap: 15px;
        border: 1px solid #ffffff;
    }

    .promo-details img {
        width: 100%;
    }

    .promo-details span {
        border-radius: 0;
        border: 1px solid white;
        padding: 15px 10px;
        font-size: 18px;
        font-weight: bold;
        width: max-content;
    }
    .promo-details__name {
        border: none!important;
        border-radius: 5px!important;
        background: transparent!important;
        font-style: italic;
        text-decoration: underline;
    }

    .promo-details a {
        font-size: 20px;
        line-height: 22px;
        font-weight: bold;
        width: 100%;
    }

    .popup-box {
        flex-direction: column-reverse;
    }
    .popup-box__item {
        text-align: center;
    }
}
/* Footer Popup */



/* Shortcode Slots Start */
.cards {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.cards__item {
    width: calc(25% - 20px);
    height: 180px;
    text-align: center;
    position: relative;
}

.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: 18px;
    padding: 10px 0!important;
}

.cards__item-btn {
    display: block;
    padding: 5px 10px;
    width: max-content;
    color: white!important;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none!important;
    margin: 0 auto 10px;
    cursor: pointer;
}

.cards__item-btn-blue {
    background: blue;
}
.cards__item-btn-green {
    background: linear-gradient(to bottom, #ee7f19, #fc8505);
}

.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% - 20px);
        height: 180px;
    }
}

@media screen and (max-width: 768px) {
    .cards__item {
        width: calc(50% - 20px);
    }
}
@media screen and (max-width: 540px) {
    .cards__item {
        width: calc(50% - 20px);
        height: 160px;
    }
}

/* Shortcode Slots End */


/* Custom Demo Block */
.demo-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.buttons-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
}
.iframe-container {
    margin-top: 20px;
}

.btn-demo,
.btn-real-money {
    padding: 10px 20px;
    border-radius: 10px;
    background: #da0079;
    color: #ffffff !important;
    text-transform: uppercase;
    text-decoration: none!important;
    cursor: pointer;
    font-weight: 900;
    outline: none;
    border: none;
    white-space: nowrap;
    transition: all ease .3s;
}
.btn-real-money:hover,
.btn-demo:hover {
    transform: scale(102%);
}
/* Custom Demo Block */


/* Shortcode Bonuses */
.bonus-slider-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.bonus-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.bonus-slide {
    min-width: calc(33.333% - 5px);
    margin-right: 5px;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    color: #fff;
    flex-shrink: 0;
}

.bonus-card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    text-align: center;
    padding: 20px;
}

.bonus-card-overlay h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.bonus-card-overlay p {
    margin: 0 0 15px;
    font-size: 16px;
}

.bonus-button {
    padding: 10px 20px;
    background: #ff9900;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.bonus-button:hover {
    background: #e68a00;
}

.bonus-slider-prev,
.bonus-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ff9900;
    color: white;
    border: none;
    font-size: 20px;
    padding: 5px;
    cursor: pointer;
    z-index: 10;
}

.bonus-slider-prev {
    left: 5px;
}

.bonus-slider-next {
    right: 5px;
}

@media (max-width: 768px) {
    .bonus-slide {
        min-width: 100%;
    }
}
/* Shortcode Bonuses */

/* Lang */
.lang-menu {
    position: relative;
    list-style: none;
    margin: 0 15px 0 0;
    padding: 0;
    cursor: pointer;
    z-index: 1;
}

@media screen and (max-width: 1199px) {
    .lang-menu {
        margin: 0 50px 0 0;
    }
}

@media screen and (max-width: 600px) {
    .lang-menu {
        margin: 0 40px 0 0;
    }
}

.lang-menu li {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
}

.lang-menu li a {
    background-color: #ffffff;
    padding: 10px 40px 10px 10px;
    display: block;
    border-radius: 2px;
    transition: 0.3s;
}

@media screen and (max-width: 600px) {
    .lang-menu li a {
        padding: 8px 35px 8px 10px;
    }
}

.lang-menu li:not(.current-lang) a:hover {
    background-color: #fcc055;
}

.lang-menu li.current-lang {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 2;
}

.lang-menu.open li {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu.open li:not(.current-lang) {
    margin-top: 34px;
}

@media screen and (max-width: 600px) {
    .lang-menu.open li:not(.current-lang) {
        margin-top: 32px;
    }
}

.lang-menu img {
    display: block;
    width: 26px;
    border-radius: 2px;
    transition: transform 0.2s ease;
}

@media screen and (max-width: 600px) {
    .lang-menu img {
        width: 24px;
    }
}

.lang-menu img:hover {
    transform: scale(1.1);
}

.lang-menu.open li a {
    border-radius: 0 0 2px 2px;
}

.lang-menu.open .current-lang a {
    border-radius: 2px 2px 0 0;
}

.lang-menu .current-lang a:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 12px;
    height: 12px;
    background-image: url("assets/img/arrow.svg");
    background-repeat: no-repeat;
    transform: translate(0, -50%) rotate(180deg);
    background-size: 100%;
    transition: 0.3s;
}

.lang-menu.open .current-lang a:after {
    transform: translate(0, -50%) rotate(0deg);
}
/* Lang */

.space-header-logo-ins:after {
    content: none;
}