/*
Theme Name: Mercury Child Referral
Theme URI: https://mercurytheme.com/
Description: Child theme for Mercury theme — referral/redirect variant (JS-based referral links, no cabinet). Cloned from Mercury Child.
Author: MercuryTheme.com
Author URI: https://mercurytheme.com/
Template: mercury
Version: 1.0.01
*/
@import url("../mercury/style.css");

@media screen and (max-width: 1023px) {
    .space-mobile-menu-icon {
        display: block;
    }
    div.space-footer-copy {
        padding: 30px 0 80px;
    }
}
.space-header-search.custom {
    display: flex;
    align-items: center;
    gap: 7px;
    right: 16px;
}
.space-header-search .space-mobile-menu-icon.absolute {
    position: static;
}
.space-title-box-h1 p {
	display: none;
}
div.space-title-box-h1 .space-breadcrumbs {
	margin-left: 0;
	font-size: .8em;
}
.space-mobile-menu-block {
	right: 0;
	left: unset;
}
.space-header-logo-ins {
    margin: 5px 15px 0;
}
.space-header-search .space-organizations-4-archive-item-button-two-ins { 
    display: flex;
    align-items: center;
    gap: 20px;
}
.space-header-search .space-organizations-4-archive-item-button-two-ins a { 
    white-space: nowrap;
}
.always-open .space-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
}
.space-footer-copy {
    padding: 30px 20px;
}

body:not(.always-open) .space-page-wrapper,
body:not(.always-open) .space-shortcode-wrap-ins ,
body:not(.always-open) .space-footer-ins,
body:not(.always-open) .space-header-ins, 
body:not(.always-open) .space-widget { 
	max-width: var(--content-width); 
}
@media screen and (min-width: 1441px) {
    .always-open .space-page-wrapper,
    .always-open .space-footer-ins {
        max-width: calc(100% - 275px);
        margin: unset;
        margin-left: auto;
        width: 100%;
    }
    .always-open .space-shortcode-wrap-ins {
        max-width: 100%;
    }
}
@media screen and (min-width: 1023px) and (max-width: 1440px) {
    .always-open .space-page-wrapper ,
    .always-open .space-footer-ins {
        max-width: 1200px;
        margin: unset;
        /* padding: 0 0 60px; */
        width: calc(100% - 275px);
        margin-left: auto;
    }
    .always-open .space-shortcode-wrap-ins {
        max-width: 100%;
    }
}
@media screen and (min-width: 1200px) {
    .space-mobile-menu-icon {
        top: 50%;
    }
    .open .space-mobile-menu {
        opacity: 1;
        visibility: visible;
    }
    .open.space-mobile-menu {
        top: 80px;
    }
}

@media screen and (min-width: 1023px) {
    .open.space-mobile-menu {
        visibility: visible;
        opacity: 1;
        background: transparent;
        max-width: 275px;
        width: 100%;
        top: 60px;
    }
    .open.space-mobile-menu .space-mobile-menu-close-button,
    .open.space-mobile-menu .space-mobile-menu-header,
    .always-open .space-mobile-menu-icon {
        display: none;
    }
    .open.space-mobile-menu .space-mobile-menu-block {
        max-width: 100%;
    }
    .always-open .space-header-logo-ins {
        margin: 5px 0 0 0;
    }
    .always-open .space-wrapper {
        max-width: 100%;
        padding: 0 30px;
    }
	.always-open .burger-main-menu {
		display: none;
	}

}
@media screen and (max-width: 550px) {
    .space-header-search .space-organizations-4-archive-item-button-two-ins a:nth-of-type(2) {
        display: none;
    }
    .space-header-logo.relative {
        width: 100%;
    }
    .space-header-ins {
        display: flex;
    }
}
@media screen and (max-width: 360px) {
	.top-banner__text {
		display:none;
	}
}
@media screen and (max-width: 320px) {
    .space-header-search .space-organizations-4-archive-item-button-two-ins a:nth-of-type(1) {
        display: none;
    }

}
body .space-block-title span:after {
	display: none;
}
.space-block-title span {
	padding: 0;
}
.remove-banner .top-banner {
	display: none;
}
.top-banner .top-banner__inner {
	width: 100%;
}
.top-banner {
	width: 100%;
	padding: 5px 10px;
	display:none;
	
}
.top-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;	
}
.top-banner__inner img {
	max-width: 100px;
    max-height: 50px;
    object-fit: cover;
    width: 100%;
}
.top-banner__close {
	font-weight: 700;
    font-size: 1.5em;
}
@media screen and (max-width: 1023px) {
	.top-banner {
		display: flex;
	}
}
#scrolltop.show {
	bottom: 70px;
	right: 15px;
}
/* ==========================================================================
   Referral buttons
   Colors come from CSS vars (--mc-*) printed in wp_head from the
   "Реферальная ссылка" Kirki section — see functions.php.
   ========================================================================== */
.btn {
	display: inline-block;
	padding: 15px 24px;
	border-radius: 14px;
	font-size: 16px;
	font-weight: 500;
	line-height: 140%;
	letter-spacing: 0.16px;
	border: 1px solid transparent;
	transition: .3s linear;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}
.btn.fill {
	background: var(--mc-primary);
	color: var(--mc-on-primary);
}
.btn.fill:hover {
	transform: scale(1.05);
}

/*
 * Every referral exit-point across the site (casino/game/bonus cards,
 * single pages, related widgets) is now a real <button class="js-referral-btn">
 * instead of an <a href="...">. Most of those templates only ever styled
 * the *anchor tag itself* (Mercury's own CSS + dynamic Customizer CSS target
 * "<wrapper-class> a"), so a bare <button> with no matching selector would
 * render with the browser's default (unstyled) button chrome. This gives
 * every .js-referral-btn a sane, on-brand default — using the same --mc-*
 * vars as .btn.fill above — so it never looks broken even where a template
 * had no button-specific class of its own. More specific classes already
 * on some buttons (.casinos__item__btn-primary, .header-referral-btn,
 * .slaunch-button, …) still win over this default via normal CSS cascade.
 */
.js-referral-btn {
	display: inline-block;
	padding: 12px 20px;
	border-radius: var(--mc-btn-radius, 5px);
	border: 1px solid var(--mc-btn-border, transparent);
	font: inherit;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	background: var(--mc-primary);
	color: var(--mc-on-primary);
	transition: .3s linear;
}
.js-referral-btn:hover {
	background: var(--mc-primary-hover);
	color: var(--mc-on-primary-hover);
}
/*
 * A menu item flagged as a referral button (Appearance > Menus, see
 * inc/referral-menu-item.php) should look and sit exactly like its plain
 * <a> siblings in the nav — not like a standalone CTA pill — so drop all
 * the button chrome from the base .js-referral-btn rule above and copy
 * the surrounding menu link's own box model/hover instead.
 */
.main-menu .js-referral-btn,
.space-top-menu .js-referral-btn,
.space-footer-menu .js-referral-btn,
.mobile-menu .js-referral-btn {
	display: block;
	background: none;
	border: none;
	border-radius: 0;
	margin: 0;
	font: inherit;
	font-weight: inherit;
	color: inherit;
	text-decoration: none;
}
.space-header-menu .main-menu .js-referral-btn {
	padding: 31px 16px;
	border-bottom: 2px solid transparent;
}
.space-header-2-nav .main-menu .js-referral-btn {
	padding: 25px 16px;
	border-bottom: 2px solid transparent;
}
.space-header-menu .main-menu .js-referral-btn:hover,
.space-header-2-nav .main-menu .js-referral-btn:hover {
	color: #be2edd;
	border-bottom: 2px solid #be2edd;
}
.space-top-menu .js-referral-btn,
.space-footer-menu .js-referral-btn,
.mobile-menu .js-referral-btn {
	padding: 8px 16px;
}

/* Same idea for a flagged item inside a widget nav menu (e.g. a "Custom
   Menu" widget in the footer columns — matches parent theme's
   .space-widget ul li a / .space-footer-area.space-widget a). */
.space-widget .js-referral-btn {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	border-radius: 0;
	margin: 0;
	padding: 8px 0 5px;
	font: inherit;
	font-size: 1em;
	line-height: 1.45em;
	color: #151515;
	text-decoration: underline;
	cursor: pointer;
}
.space-widget .js-referral-btn:hover {
	color: #ff2453;
}
.space-footer-area.space-widget .js-referral-btn {
	color: #7f8c8d;
}
.space-footer-area.space-widget .js-referral-btn:hover {
	color: #ff2453;
}


/* ==========================================================================
   Custom ACF blocks (theme-parts/blocks/*.php)
   ========================================================================== */


.space-block-title span:before {
    display: none;
}
.space-block-title span span:before,
.space-block-title span span:after {
    display: none;
}
.faq p {
    padding-bottom: 0;
}
p:empty, .faq br {
    display: none;
}
.swiper-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
}
.swiper-wrapper {
    display: flex;
}

/* Banner block */
.banner {
	position: relative;
	margin: 30px 0;
    background: linear-gradient(to right, #2d3337, #0010ffa3);
    border-radius: 20px;
}
.banner .swiper-slide {
    height: auto;
    border-radius: 20px;
    overflow: hidden;
}
.banner__wrapper.space-page-wrapper {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: center;
	padding: 30px;
	position: relative;
	z-index: 2;
    box-sizing: border-box;
    height: 100%;
    min-height: 450px;
}
.banner__wrapper-left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
    justify-content: center;
}
.banner__wrapper-left div:not([class]),
.banner__wrapper-left h1:not([class]),
.banner__wrapper-left h2:not([class]),
.banner__wrapper-left h3:not([class]),
.banner__wrapper-left h4:not([class]),
.banner__wrapper-left h5:not([class]) {
	font-size: 2em;
	line-height: 1.2em;
	font-weight: 700;
	margin: 10px 0;
	color: var(--mercury-banner-title-color);
}
.banner__wrapper-left p {
	font-style: italic;
	font-weight: 500;
	font-size: 24px;
    padding: 0;
	color: var(--mercury-banner-paragraph-color);
}
.banner__wrapper-left span:not([class]) {
	color: var(--mercury-banner-accent-color);
}
@media screen and (max-width: 767px) {
	.banner__wrapper-left p:not(:has(a)) {
		display: none;
	}
}
@media screen and (max-width: 1023px) {
	.banner__wrapper-left div:not([class]),
	.banner__wrapper-left h1:not([class]),
	.banner__wrapper-left h2:not([class]),
	.banner__wrapper-left h3:not([class]),
	.banner__wrapper-left h4:not([class]),
	.banner__wrapper-left h5:not([class]) {
		font-size: 1.75em;
		margin-bottom: 15px;
	}
}
@media screen and (max-width: 479px) {
	.banner__wrapper-left div:not([class]),
	.banner__wrapper-left h1:not([class]),
	.banner__wrapper-left h2:not([class]),
	.banner__wrapper-left h3:not([class]),
	.banner__wrapper-left h4:not([class]),
	.banner__wrapper-left h5:not([class]) {
		font-size: 1.5em;
		margin: 0;
		margin-bottom: 15px;
	}
}
.banner__wrapper-right {
	border-radius: 12px;
}
.banner__wrapper-right img {
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    z-index: -1;
}
.banner__wrapper-list {
	display: flex;
	align-items: center;
	gap: 12px;
}
.banner .banner__wrapper-list a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	color: #fff;
	text-decoration: none;
	transition: all .5s;
}
.banner__wrapper-list a img {
	max-width: 45px;
	width: 100%;
}
.banner__wrapper-list a:hover {
	color: #fedf5a;
}
.banner__wrapper-left a.promo_banner__item__btn {
    background: var(--mercury-play-now-bg) !important;
    color: var(--mercury-play-now-color) !important;
    padding: 15px 32px;
    text-align: center;
    font-style: normal;
    display: inline-block;
    transition: .3s linear;
	line-height: normal;
	border-radius: 5px;
	text-decoration: none;
}
.banner__wrapper-left a.promo_banner__item__btn:hover {
    opacity: .85;
}
@media screen and (max-width: 1023px) {
	.banner__wrapper.space-page-wrapper {
		flex-direction: column;
        align-items: flex-start;
	}
}
@media screen and (max-width: 640px) {
    .banner__wrapper-right img {
        width: 100%;
        height: 100%;
        right: 0;
        max-height: 100%;
    }
    .banner__wrapper.space-page-wrapper {
        padding: 10px 15px;
        min-height: 185px;
    }
}
@media screen and (max-width: 479px) {
    .banner__wrapper-left {
        gap: 8px;
    }
    .banner__wrapper.space-page-wrapper {
        padding: 10px 15px;
    }
    .banner__wrapper-left a.promo_banner__item__btn {
        padding: 5px 20px;
        margin-top: auto;
    }
}

/* Recent Wins block */
.win-users {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin: 20px 0;
}
.win-users div span {
    color: var(--mercury-win-name-color);
    font-weight: 700;
    display: block;
    font-size: 1em;
    text-align: left;
}
.win-users div p {
    color: var(--mercury-win-amount-color);
    font-size: .7em;
}
.block {
    min-width: 210px;
    max-width: 210px;
    padding: 8px 5px;
    border: 2px solid var(--mercury-second-color);
    border-radius: 5px;
    text-align: center;
    background-color: var(--mercury-win-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.11);
    display: flex;
    gap: 5px;
}
.block img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
}

/* Slots Grid block */
.game {
    margin: 25px 0;
}
.game__wrapper {
    display: flex;
    gap: 10px;
    overflow: hidden;
    overflow-x: auto;
    cursor: pointer;
}
.game-item {
    position: relative;
    min-width: 200px;
    max-width: 200px;
    max-height: 200px;
    width: 100%;
}
.game-item img {
    width: 100%;
    object-fit: cover;
}
.game-item__buttons {
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    background: rgb(0, 0, 0, .5);
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    transition: all .5s;
    opacity: 0;
    visibility: hidden;
}
.game-item__buttons a:nth-of-type(1) {
    color: var(--mercury-play-now-color) !important;
    background-color: var(--mercury-play-now-bg) !important;
    text-decoration: none;
    border-radius: 5px;
}
.game-item__buttons a:nth-of-type(2) {
    color: var(--mercury-read-review-color) !important;
    background-color: var(--mercury-read-review-bg) !important;
    padding: 12px 39.5px;
    border: none;
    margin: 0;
    text-decoration: none;
    border-radius: 5px;
    transition: .3s linear;
}
.game-item__buttons a:nth-of-type(2):hover {
    opacity: .85;
}
.game-item:hover .game-item__buttons {
    opacity: 1;
    visibility: visible;
}
.game-item__buttons a {
	max-width: 100%;
	width: 80%;
}
/* Play became a <button> (see .js-referral-btn above), so it no longer
   matches ".game-item__buttons a:nth-of-type(1)" above — and with only
   one <a> left (Demo), that one would shift into "a:nth-of-type(1)" too
   and pick up the wrong (Play) colors. Re-target both by class instead
   of tag/position, restoring the original look. */
.game-item__buttons .js-referral-btn {
	color: var(--mercury-play-now-color) !important;
	background-color: var(--mercury-play-now-bg) !important;
	max-width: 100%;
	width: 80%;
	border-radius: 5px;
}
.game-item__buttons a.space-vendors-item {
	color: var(--mercury-read-review-color) !important;
	background-color: var(--mercury-read-review-bg) !important;
	padding: 12px 39.5px;
	border: none;
	margin: 0;
	text-decoration: none;
	border-radius: 5px;
	transition: .3s linear;
}
.game-item__buttons a.space-vendors-item:hover {
	opacity: .85;
}
.game-item__category {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: #000ab7;
    color: #fff;
    padding: 7px 12px;
    border-radius: 0 12px;
    font-size: .7em;
    line-height: normal;
    font-weight: 700;
    text-transform: uppercase;
}
.game-item__category.top {
    background: #ff1111;
}
.game-item__category.new {
    background: #00b747;
}
.game .game-title {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
.game .game-title h2 {
    padding: 0;
    margin: 0;
}
.game .game-title a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--mercury-second-color);
    background: var(--mercury-outline-btn-bg);
    color: var(--mercury-outline-btn-color);
    border-radius: 6px;
    padding: 7px 12px;
    white-space: nowrap;
    font-size: 18px;
    transition: all .5s;
    line-height: unset;
}
.game .game-title a:hover {
    background: var(--mercury-outline-btn-hover-bg);
    color: var(--mercury-outline-btn-hover-color);
}

/* Content block */
.space-page-content.scroll-content {
    max-height: 60vh;
    overflow-y: auto;
    background: var(--mercury-content-bg);
    color: var(--mercury-content-color);
    padding: 15px;
}

/* FAQ block */
.faq, .space-page-content.scroll-content {
    margin: 35px 0;
}
.faq__wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    border: 1px solid var(--mercury-second-color);
    border-radius: 5px;
    overflow: hidden;
}
.faq-item__ask {
    background-color: var(--mercury-faq-question-bg);
    color: var(--mercury-faq-question-color);
    border: none;
    padding: 15px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    transition: all .5s;
}
.faq-item__ask::after {
    content: '\276F';
    position: absolute;
    right: 15px;
    top: 50%;
    transition: all .5s;
    transform: translate(0 , -50%) rotate(90deg);
    color: var(--mercury-faq-question-color);
    font-weight: 700;
    font-size: 1.4em;
}
.faq-item.active .faq-item__ask::after {
    transform: translate(0, -50%) rotate(270deg);
}
.faq-item__ask:hover {
    background-color: var(--mercury-faq-question-hover-bg);
}
.faq-item__answer {
    max-height: 0;
    transition: all .5s;
    padding: 0 15px;
    background-color: var(--mercury-faq-answer-bg);
    overflow: hidden;
    color: var(--mercury-faq-answer-color);
}
.faq-item.active .faq-item__answer {
    max-height: 300vh;
    padding: 15px;
}

/* Navigation block */
.navigation {
    margin: 25px 0;
}
.navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    overflow-x: auto;
    margin: 0;
    background: var(--mercury-outline-nav-wrapper-bg);
    padding: 15px;
    border-radius: 12px;
}
.navigation ul li {
    list-style: none;
}
.navigation ul li a {
    text-decoration: none;
    border: 1px solid var(--mercury-second-color);
    background: var(--mercury-outline-btn-bg);
    color: var(--mercury-outline-btn-color);
	transition: all .5s;
    border-radius: 6px;
    padding: 7px 12px;
    white-space: nowrap;
    font-size: 18px;
}
.navigation ul li a:hover {
	background: var(--mercury-outline-btn-hover-bg);
	color: var(--mercury-outline-btn-hover-color);
}

/* Casino List / Tournament blocks */
.casino {
	 margin: 25px 0;
}
.casinos {
	 overflow: hidden;
	 overflow-x: auto;
	 display: flex;
	 gap: 20px;
	 width: 100%;
     padding-bottom: 10px;
}
.casinos__item {
	 display: flex;
	 flex-direction: column;
	 border-radius: 30px;
	 min-width: 277px;
	 max-width: 277px;
	 width: 100%;
	 flex-grow: 1;
	 height: auto;
     background: #2d3337;
     position: relative;
}
.casinos__item__img {
	 max-width: 100%;
	 max-height: 350px;
	 border-radius: 30px 30px 0 0;
}
.casinos__item__img img {
	 width: 100%;
	 height: 100%;
     max-height: 235px;
	 object-fit: cover;
	 border-radius: inherit !important;
}
.casinos__item__content {
	 padding: 20px;
	 background-color: var(--mercury-casino-card-bg);
	 border-radius: 0 0 30px 30px;
	 color: var(--mercury-casino-text-color);
	 display: flex;
	 flex-direction: column;
	 align-items: center;
	 text-align: center;
	 height: 100%;
}
.casinos__item__content .simple {
	 border-radius: 500px;
	 padding: 5px 12px;
	 background-color: var(--mercury-casino-badge-bg);
	 color: var(--mercury-casino-badge-color);
	 display: inline-block;
	 box-shadow: 9px 10px 6px -7px rgba(0, 0, 0, 0.75);
	 margin-bottom: 10px;
	 font-size: 12px;
}
.casinos__item__content div:not([class]) {
	 font-weight: 400;
	 font-size: 18px;
	 margin-bottom: 5px;
}
.casinos__item__content span:not([class]) {
	 font-weight: 700;
	 color: var(--mercury-second-color);
	 font-size: 18px;
	 margin-bottom: 20px;
}
.space-page-content a.casinos__item__name {
	 font-weight: 700;
	 font-size: 24px;
     color: var(--mercury-casino-text-color);
     text-decoration: none;
	 margin-bottom: 12px;
}
.casinos__item__btns {
	 display: flex;
	 gap: 20px;
	 align-items: center;
	 margin-top: auto;
	 width: 100%;
}
.space-page-content a.casinos__item__btn {
	 font-size: 16px;
	 font-weight: 700;
    padding: 6px 12px;
	 border: 1px solid var(--mercury-read-review-bg);
	 background: var(--mercury-read-review-bg);
	 width: 100%;
	 color: var(--mercury-read-review-color);
	 text-decoration: none;
	 border-radius: 5px;
     transition: all .5s;
}
.space-page-content a.casinos__item__btn:hover {
    opacity: .85;
}
.casinos__item__btn-primary {
	 background-color: var(--mercury-play-now-bg) !important;
	 border-color: var(--mercury-play-now-bg) !important;
	 color: var(--mercury-play-now-color) !important;
}
.tournament__prize {
    margin-top: auto;
}
.tournament .casinos__item__img {
    position: relative;
}
.tournament .casinos__item__img img {
    max-height: 150px;
}
.tournament .casinos__item__img span {
    background: var(--mercury-casino-badge-bg);
    z-index: 2;
    position: absolute;
    white-space: nowrap;
    padding: 5px 7px;
    border-radius: 12px;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    color: var(--mercury-casino-badge-color);
    font-size: .8em;
    font-weight: 700;
}

/* Bonusmaker Slot block */
.icon {
  width: 100%;
  height: 100px;
}
.slotswin {
  width: 100%;
  background-color: #333;
    padding: 50px 50px 35px 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    position: relative;
}
.window {
  position: relative;
  overflow: hidden;
  height: 325px;
  padding: 0 3px;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
}
.outer-col {
  width: calc(33% - 4px);
  float: left;
  margin: 0 2px;
  background-color: #eee;
}
.col {
  padding: 10px;
  will-change: true;
}
.slotswin.spinning .outer-col:nth-of-type(2) .col {
  animation-delay: 0.1s;
}
.slotswin.spinning .outer-col:nth-of-type(3) .col {
  animation-delay: 0.2s;
}
.slotswin.spinning .outer-col:nth-of-type(4) .col {
  animation-delay: 0.3s;
}
.slotswin.spinning .outer-col:nth-of-type(5) .col {
  animation-delay: 0.4s;
}
.slotswin.spinning .outer-col:nth-of-type(6) .col {
  animation-delay: 0.5s;
}
.slotswin.spinning .col {
  animation: mc-slot-scroll 3s cubic-bezier(.5,0,.5,1) 1, mc-slot-blur 3s cubic-bezier(.5,0,.5,1) 1;
}
.slotswin__play {
    background: #0044e2;
    padding: 11px 24px;
    border: 1px solid #0044e2;
    margin: 25px auto;
    font-size: 1em;
    border-radius: 5px;
    box-shadow: 0px 5px 15px 0px rgba(130, 36, 227, 0.55) !important;
    color: #fff;
    font-weight: 700;
    display: block;
    cursor: pointer;
}
.message-container {
    position: absolute;
}
@keyframes mc-slot-scroll {
  0% {transform: translate3d(0,0,0);}
  90% {transform: translate3d(0,calc(-100% + 328px),0);}
  100% {transform: translate3d(0,calc(-100% + 332px),0);}
}
@keyframes mc-slot-blur {
  0% {filter: blur(0);}
  10% {filter: blur(0);}
  30% {filter: blur(6px);}
  60% {filter: blur(6px);}
  80% {filter: blur(0);}
}

/* Wheel of Fortune block */
.deal-wheel {
    background: #202427;
    padding: 20px;
    justify-content: center;
  --size: clamp(250px, 80vmin, 700px);
  --lg-hs: 0 3%;
  --lg-stop: 50%;
  --lg: linear-gradient(hsl(224.31deg 100% 50%) 0 var(--lg-stop), hsl(200.31deg 100% 50%) var(--lg-stop) 100%);
  position: relative;
  display: grid;
  grid-gap: calc(var(--size) / 20);
  align-items: center;
  grid-template-areas:
    "spinner spinner"
    "trigger ref";
  font-family: "Girassol", sans-serif;
  font-size: calc(var(--size) / 21);
  line-height: 1;
  text-transform: lowercase;
}
.deal-wheel > * {
  grid-area: spinner;
}
.deal-wheel .btn-spin {
  grid-area: trigger;
  justify-self: center;
}
.spinner {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-areas: "spinner";
  width: var(--size);
  height: var(--size);
  transform: rotate(calc(var(--rotate, 25) * 1deg));
  border-radius: 50%;
  box-shadow: inset 0 0 0 calc(var(--size) / 40) hsl(0deg 0% 0% / 0.06);
}
.spinner * {
  grid-area: spinner;
}
.prize {
  position: relative;
  display: flex;
  align-items: center;
	color: #fff;
  padding: 0 calc(var(--size) / 6) 0 calc(var(--size) / 20);
  width: 50%;
  height: 50%;
  transform-origin: center right;
  transform: rotate(var(--rotate));
  user-select: none;
}
.cap {
    display: none;
  --cap-size: calc(var(--size) / 4);
  position: relative;
  justify-self: center;
  width: var(--cap-size);
  height: var(--cap-size);
}
.cap select {
  display: none;
}
.cap svg {
  width: 100%;
}
.ticker {
  position: relative;
  left: calc(var(--size) / -15);
  width: calc(var(--size) / 10);
  height: calc(var(--size) / 20);
  background: var(--lg);
  z-index: 1;
  clip-path: polygon(20% 0, 100% 50%, 20% 100%, 0% 50%);
  transform-origin: center left;
}
.btn-spin {
  color: hsl(0deg 0% 100%);
  background: var(--lg);
  border: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-transform: inherit;
    padding: 8px 12px;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: opacity 200ms ease-out;
}
.btn-spin:focus {
  outline-offset: 2px;
}
.btn-spin:active {
  transform: translateY(1px);
}
.btn-spin:disabled {
  cursor: progress;
  opacity: 0.25;
}
.is-spinning .spinner {
  transition: transform 8s cubic-bezier(0.1, -0.01, 0, 1);
}
.is-spinning .ticker {
  animation: mc-wheel-tick 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mc-wheel-tick {
  40% {
    transform: rotate(-12deg);
  }
}
.prize.selected .text {
  color: white;
  animation: mc-wheel-selected 800ms ease;
}
@keyframes mc-wheel-selected {
  25% {
    transform: scale(1.25);
    text-shadow: 1vmin 1vmin 0 hsla(0 0% 0% / 0.1);
  }
  40% {
    transform: scale(0.92);
    text-shadow: 0 0 0 hsla(0 0% 0% / 0.2);
  }
  60% {
    transform: scale(1.02);
    text-shadow: 0.5vmin 0.5vmin 0 hsla(0 0% 0% / 0.1);
  }
  75% {
    transform: scale(0.98);
  }
  85% {
    transform: scale(1);
  }
}
.btn-claim {
    padding: 7px 12px;
    grid-area: ref;
    font-weight: 700;
    font-size: 1em;
    line-height: 1.25em;
    color: #fff;
    border-radius: 5px;
    background-color: #0044e2;
    outline: none;
    cursor: pointer;
    border: none;
    box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0);
    transition: all 0.5s ease-in-out;
}

/* ==========================================================================
   Footer warnings
   ========================================================================== */
.footer-warning {
	background: #37384d;
	padding: 15px 0;
}
.footer-warning .space-footer-ins {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
}
.footer-warning .space-footer-ins svg {
	min-width: 25px;
	max-width: 25px;
}
.footer-warning p {
	color: #fff;
	font-size: .8em;
}

@media screen and (max-width: 767px) {
.sl-slots {
	height: fit-content;
}
}

/* "Casino unlicensed" notice popup (theme-parts/blocks rely on the same .popup pattern) */
.popup {
	visibility: hidden;
	opacity: 0;
	transition: all .5s;
	position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 50;
    height: 100%;
	display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255 / 50%);
	overflow: hidden;
	overflow-y: auto;
}
.popup.is-open {
	visibility: visible;
	opacity: 1;
}
.popup__wrapper {
	max-width: 800px;
	width: 100%;
	padding: 15px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	background: #3B3D4F;
	position: relative;
}
.popup__wrapper > p {
	color: #fff;
	padding: 0 30px 20px 0;
	font-size: 1.25em;
}
.popup__wrapper-close {
	color: #fff;
	font-weight: 700;
	position: absolute;
	right: 15px;
	top: 15px;
	cursor: pointer;
	border: 1px solid #fff;
	border-radius: 50%;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.space-header__buttons {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-right: 12px;
}
.header-referral-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 140%;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid var(--mc-primary);
	color: var(--mc-primary);
	background: transparent;
	transition: .2s linear;
}
.header-referral-btn:hover {
	background: var(--mc-primary);
	color: var(--mc-on-primary);
}
.header-referral-btn:nth-of-type(1) {
	background: var(--mc-primary);
	color: var(--mc-on-primary);
}
.header-referral-btn:nth-of-type(1):hover {
	background: var(--mc-primary-hover);
	border-color: var(--mc-primary-hover);
	color: var(--mc-on-primary-hover);
}
@media screen and (max-width: 767px) {
	.header-referral-btn {
		padding: 7px 12px;
		font-size: 12px;
	}
}

/* Language dropdown next to the header buttons — see
   theme-parts/header-referral-buttons.php. Purely visual for now, nothing
   wired up to it yet (see langDropdown() in assets/js/script.js). */
.header-lang-dropdown {
	position: relative;
	margin-right: 4px;
}
.header-lang-dropdown__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--mc-primary);
	border-radius: 6px;
	background: transparent;
	color: var(--mc-primary);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.header-lang-dropdown__arrow {
	transition: transform .2s linear;
}
.header-lang-dropdown.is-open .header-lang-dropdown__arrow {
	transform: rotate(180deg);
}
.header-lang-dropdown__list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 100%;
	margin: 0;
	padding: 4px;
	list-style: none;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 6px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
	z-index: 20;
}
.header-lang-dropdown__option {
	display: block;
	width: 100%;
	padding: 6px 10px;
	border: none;
	border-radius: 4px;
	background: transparent;
	color: #151515;
	font-size: 12px;
	font-weight: 600;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}
.header-lang-dropdown__option:hover {
	background: var(--mc-primary);
	color: var(--mc-on-primary);
}
.header-lang-dropdown__option.is-current {
	background: #f7f7f9;
}