:root {
    --color-text: #C4CED7;
    --color-accent: #f60;
    --color-heading: #fff;
    --color-background: #2D3035;
    --color-background-transpatent: #FFFFFF26;
    --color-background-transpatent-10: rgba(255, 255, 255, 0.1);
    --color-background-light: #424549;
    --color-background-body: #1f3d4b;
    --color-header: #315667;
    --container-witdh: 1272px;
    --offsets: 16px;
    --ff-primary: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen-sans, ubuntu, cantarell, "Helvetica Neue", sans-serif;
    --background-primary-button: transparent;
    --background-secondary-button: #f60
}

header.wp-block-template-part .wp-block-buttons {
	display: flex!important;
	    flex-wrap: nowrap;
	flex-direction: column
}

.is-responsive.wp-block-navigation.is-layout-flex.wp-block-navigation-is-layout-flex {
	order: 1
}

* + .slots {
    margin-top: 1rem
}

.slots__close-game {
    cursor: pointer
}

.slots__item-name {
    font-weight: 700;
    color: var(--color-heading)
}

.slots__item {
    overflow: hidden
}

.slots {
    display: grid;
    grid-area: block;
    grid-template-columns:repeat(auto-fill, minmax(196px, 1fr));
    gap: 16px
}

.slots__item {
    position: relative;
    border-radius: 8px;
    aspect-ratio: 1/1;
	cursor: pointer
}

.slots__item .get-image, .slots__item img {
    width: 100%;
    height: 100%
}

.slots__item-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    background: rgba(0, 0, 0, .8);
    opacity: 0;
    transition: opacity .2s ease-in-out;
    gap: 10px
}

.slots__game, .slots__item-content:not(:has(*)) {
    display: none
}

.slots__item:hover .slots__item-content {
    opacity: 1
}

.slots__item-name {
    font-size: 15px;
    line-height: 120%;
    text-align: center
}

.slots__game {
    position: fixed;
    inset: 0;
    z-index: 1200;
    flex-direction: column;
    height: 100vh;
    box-shadow: 8px 0 500px 0 #c8c9d5;
    background: rgba(0, 0, 0, .6588235294)
}

.slots__game.show {
    display: flex
}

.slots__game-container {
    position: fixed;
    left: 50%;
    top: 50%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    width: 100%;
    max-width: 1420px;
    background: #000;
    visibility: hidden;
    transform: translate(-50%, -50%);
    transition: .3s;
    aspect-ratio: 16/9
}

.slots__game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px
}

.slots__game-header-name {
    margin: 0 20px 0 0;
    font-weight: 900;
    font-size: 22px;
    line-height: 32px;
    text-transform: uppercase;
    color: #fff
}

.slots__game-header-aff {
    display: none;
    margin: 0;
    min-width: 120px;
    max-width: 100%;
    color: #fff;
    cursor: pointer
}

.slots__close-game {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: none;
    background: 0 0
}

.sports__item, .winners {
    background: var(--color-background)
}

.slots__iframe iframe {
    margin: 0 auto;
    border: none;
    border-radius: 0 0 8px 8px;
    width: 100%;
    height: 690px;
    object-fit: contain
}

.slots__game.show .slots__game-container {
    visibility: visible
}

.slots__link::after {
    content: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='25' height='24' viewBox='0 0 25 24' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M12.5003 0.29248C18.9661 0.29248 24.2076 5.53403 24.2076 11.9998C24.2076 18.4656 18.9661 23.7071 12.5003 23.7071C6.03451 23.7071 0.792969 18.4656 0.792969 11.9998C0.792969 5.53403 6.03451 0.29248 12.5003 0.29248ZM18.6468 12.5068C19.0371 12.2815 19.0371 11.7183 18.6468 11.493L9.86633 6.42354C9.47607 6.19823 8.98828 6.47985 8.98828 6.93046V17.0694C8.98828 17.52 9.47607 17.8016 9.86633 17.5763L18.6468 12.5068Z' fill='%23ffffff'/></svg>");
    display: inline-block;
    width: 25px;
    height: 24px
}

.slots__demo, .slots__link {
    padding: 10px
}

@media (width <= 767px) {
    .slots__game-container {
        inset: 0;
        flex-direction: column;
        transform: none;
        aspect-ratio: auto
    }

    .slots__iframe {
        flex-grow: 1
    }

    .slots__iframe iframe {
        height: 100%
    }

    .slots__game-header-name {
        font-size: 16px;
        line-height: 24px
    }
}
@media (width <= 575px) {
    .slots__list {
        grid-template-columns:repeat(2, 1fr);
        gap: 16px
    }
	.slots {
		grid-template-columns: repeat(2, 1fr)
	}
}


.btn {
    position: relative;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
    transition: .2s;
	    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
	    color: #fff;
    height: 45px;
    border-radius: 8px;
	cursor: pointer
}

.main-nav__link, .scroll-to-top__button, .sub-menu__link {
    transition: color .2s ease-in-out
}

.btn--primary {
    background: var(--background-primary-button);
    border: 1px solid #fff
}

.btn--secondary {
    background: var(--background-secondary-button)
}

.btn--transparent {
    border: 1px solid var(--color-heading);
    background: 0 0;
    backdrop-filter: blur(7px)
}

.btn--gray {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: var(--color-background-transpatent)
}

.demo-popup {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
	    max-width: 100% !important;
}

.demo-popup__content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.demo-popup__content iframe {
    width: 100%;
    height: 100%;
}

.demo-popup__close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.demo-popup__overlay {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.mobile-button {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    padding: 8px;
    border-radius: 10px 10px 0 0;
    border: 1px solid #3959d9;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff
}

.mobile-button--v2 {
    border: 1px solid #3959d9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 3px #00000026;
    bottom: 6px;
    right: 4px;
    left: 4px
}

.mobile-button img {
    max-width: 50px
}

.mobile-button img {
    width: 100%;
    object-fit: contain
}

.mobile-button__text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1
}

.mobile-button__title {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600
}

.mobile-button__bonus {
    margin: 0;
    color: #334155;
    font-size: 12px;
    font-weight: 400
}

.mobile-button__btn {
    margin: 0;
    padding: 12px 16px;
	width: 100%;
	background: var(--wp--preset--color--primary);
	color: #fff;
	text-decoration: none
}


@media (min-width: 768px) {
    .mobile-button {
        display: none
    }
}
