/* Static base styles extracted from main-style-inline.php
 * ACF color/font/radius values → CSS custom properties (set on :root / body).
 */

:root {
    /* Overridden by casino-root-vars when ACF is available. */
    --site-font-family: "Montserrat", Arial, sans-serif;
}

html {
    font-family: var(--site-font-family);
    letter-spacing: var(--content-letter-spacing, 0px);
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body,
html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background: var(--color-body);
    color: var(--color-text, #fff);
}

body {
    font-family: inherit;
    line-height: var(--content-line-height, 1.35);
}

/* Form controls do not inherit font-family in most browsers. */
button,
input,
select,
textarea {
    font-family: inherit;
}

button,
[class*="__btn"],
[class*="__button"] {
    font-size: var(--button-font-size, 14px);
    line-height: var(--content-line-height, 1.35);
}

@media (max-width: 990px) {
    button,
    [class*="__btn"],
    [class*="__button"] {
        font-size: var(--button-font-size, 12px);
    }
}

/* Section titles / chrome historically sat outside .content and missed the family. */
.header,
[class*="footer-"],
[class*="sidebar-"],
[class*="modal-"],
.content,
.content-box,
.content-rating,
.content-card,
.content-center,
.text-img,
.companies,
.slots,
.hero-calc,
.table-content,
.main-table-type,
.slot-page,
.rating,
.faq,
.bread {
    font-family: var(--site-font-family);
}

button {
    appearance: none;
    cursor: pointer;
    border: none;
    box-shadow: none;
    background: none;
}

p {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: var(--content-line-height, 1.35);
    color: var(--title-color, var(--color-text, #fff));
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
    color: var(--title-color-span, inherit);
}

/* Section titles use casino_heading_tag (h1–h5). Size follows the tag, like theme-1 content headings. */
h1 {
    font-size: var(--content-h1-font-size, 24px);
}

h2 {
    font-size: var(--content-h2-font-size, 22px);
}

h3 {
    font-size: var(--content-h3-font-size, 20px);
}

h4 {
    font-size: var(--content-h4-font-size, 18px);
}

h5,
h6 {
    font-size: var(--content-h5-font-size, 16px);
}

@media (max-width: 990px) {
    h1 {
        font-size: var(--content-h1-font-size, 16px);
    }

    h2 {
        font-size: var(--content-h2-font-size, 16px);
    }

    h3 {
        font-size: var(--content-h3-font-size, 16px);
    }

    h4 {
        font-size: var(--content-h4-font-size, 16px);
    }

    h5,
    h6 {
        font-size: var(--content-h5-font-size, 16px);
    }
}

img {
    color: transparent;
}

img:not([src]) {
    visibility: hidden;
}

/*
 * Site logo tokens — header/footer containers override the vars;
 * .casino-logo is the single shared rule (no !important).
 */
:root {
    --casino-logo-max-height: 48px;
    --casino-logo-max-width: 220px;
}

.header-first__logo,
.header-second__logo {
    --casino-logo-max-height: 48px;
    --casino-logo-max-width: 240px;
}

.header-third__logo {
    --casino-logo-max-height: 64px;
    --casino-logo-max-width: 280px;
}

.footer-first__img,
.footer-second__img,
.footer-third__img {
    --casino-logo-max-height: 60px;
    --casino-logo-max-width: 220px;
}

@media (max-width: 990px) {
    .header-first__logo,
    .header-second__logo,
    .header-third__logo {
        --casino-logo-max-height: 40px;
        --casino-logo-max-width: 160px;
    }
}

.casino-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, var(--casino-logo-max-width));
    max-height: var(--casino-logo-max-height);
    object-fit: contain;
    object-position: left center;
    box-sizing: border-box;
}

.container {
    max-width: var(--site-container-width, 1440px);
    margin: 0 auto;
}

.padding {
    padding: 0 20px;
}

.padding-desk {
    padding: 0 20px;
}

.margin {
    margin-bottom: 65px;
}

a,
button {
    cursor: pointer;
}

@media (max-width: 1260px) {
    .margin {
        margin-bottom: 45px;
    }
}

@media (max-width: 990px) {
    .padding-desk {
        padding: 0;
    }

    .padding-mob {
        padding: 0 20px;
    }

    .margin {
        margin-bottom: 35px;
    }
}

a {
    text-decoration: none;
}

main {
    min-height: calc(100vh - 80px);
}

/* style_choice_1 == 1 → body.style-choice-1 */
body.style-choice-1 .sidebar-first__link:hover {
    /* ACF sidebar_color_hover may dump full CSS; map to vars */
    background: var(--sidebar-hover-bg, transparent);
    color: var(--sidebar-hover-color, inherit);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.23);
    backdrop-filter: blur(8px);
    /* set via --sidebar-color-hover custom props */
}

@media (max-width: 990px) {
    body.style-choice-1 .sidebar-first__link:hover {
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }
}

/* style_choice_1 == 2 → body.style-choice-2 */
body.style-choice-2 .sidebar-second__link:hover {
    background: var(--sidebar-hover-bg, transparent);
    color: var(--sidebar-hover-color, inherit);
    /* set via --sidebar-color-hover custom props */
}

@media (max-width: 990px) {
    body.style-choice-2 .sidebar-second__link:hover {
        background: transparent;
    }

    body.style-choice-2 .main-content__section {
        margin-top: 25px;
    }
}

.content {
    color: var(--color-text, #fff);
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5 {
    font-weight: 700;
    color: var(--title-color, var(--color-text, #fff));
}

.content h1 span,
.content h2 span,
.content h3 span,
.content h4 span,
.content h5 span {
    color: var(--title-color-span, inherit);
}

h1.light-font,
h1.medium-font,
h1.bold-font,
h2.light-font,
h2.medium-font,
h2.bold-font,
h3.light-font,
h3.medium-font,
h3.bold-font,
h4.light-font,
h4.medium-font,
h4.bold-font,
h5.light-font,
h5.medium-font,
h5.bold-font,
[class*="__title"],
h6.light-font,
h6.medium-font,
h6.bold-font {
    color: var(--title-color, var(--color-text, #fff)) !important;
}

.content p {
    color: var(--color-text, #fff);
    margin-bottom: 10px;
}

.content li {
    color: var(--color-text, #fff);
}

.content h1 {
    margin-bottom: 20px;
    font-size: var(--content-h1-font-size, 24px);
    line-height: var(--content-line-height, 1.35);
    text-transform: uppercase;
}

@media (max-width: 990px) {
    .content h1 {
        font-size: var(--content-h1-font-size, 16px);
    }
}

.content h2 {
    margin-bottom: 15px;
    font-size: var(--content-h2-font-size, 22px);
    line-height: var(--content-line-height, 1.35);
    text-transform: uppercase;
}

@media (max-width: 990px) {
    .content h2 {
        font-size: var(--content-h2-font-size, 16px);
    }
}

.content h3 {
    margin-bottom: 15px;
    font-size: var(--content-h3-font-size, 20px);
    line-height: var(--content-line-height, 1.35);
    text-transform: uppercase;
}

@media (max-width: 990px) {
    .content h3 {
        font-size: var(--content-h3-font-size, 16px);
    }
}

.content h4 {
    margin-bottom: 15px;
    font-size: var(--content-h4-font-size, 18px);
    line-height: var(--content-line-height, 1.35);
    text-transform: uppercase;
}

@media (max-width: 990px) {
    .content h4 {
        font-size: var(--content-h4-font-size, 16px);
    }
}

.content h5 {
    margin-bottom: 15px;
    font-size: var(--content-h5-font-size, 16px);
    line-height: var(--content-line-height, 1.35);
    text-transform: uppercase;
}

@media (max-width: 990px) {
    .content h5 {
        font-size: var(--content-h5-font-size, 16px);
    }
}

.content img {
    object-fit: cover;
}

.size-full {
    max-width: 100%;
    display: block;
    height: auto;
}

.content b {
    color: var(--color-text, #fff);
}

.content strong {
    color: var(--color-text, #fff);
}

.content a {
    color: var(--color-link, var(--color-text, #fff));
    text-decoration: underline;
}

.content strong {
    font-weight: 700;
}

.content ol {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    padding-left: 20px;
}

.content ul {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    padding-left: 20px;
}

/* Prefetch / layout / modal / utility block */

.circle_1 {
    display: block;
}

.circle_2 {
    display: block;
}

.disabled-copy {
    pointer-events: none;
}

.modal-bg {
    background: #000;
    position: fixed;
    z-index: 998;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    opacity: 0.7;
    display: none;
}

.modal-bg-active {
    display: block;
}

.modal__item {
    z-index: 999;
    display: none;
}

.open {
    display: block;
}

.sidebar-first {
    border-radius: calc(var(--border-radius-sidebar, 0) * 1px);
}

.sidebar-second {
    border-radius: calc(var(--border-radius-sidebar, 0) * 1px);
}

.sidebar-third__link {
    border-radius: calc(var(--border-radius-sidebar-link, 0) * 1px);
}

.header-third__nav a {
    border-radius: calc(var(--border-radius-menu-link, 0) * 1px);
}

@media (max-width: 990px) {
    .header-third__nav a {
        border-radius: 0;
    }

    .sidebar-first {
        border-radius: 0;
    }

    .sidebar-second {
        border-radius: 0;
    }

    .sidebar-third__link {
        border-radius: 4px;
    }
}

.main-content__wrap {
    display: grid;
    position: relative;
    z-index: 9;
    align-items: start;
    grid-template-columns: 260px 1fr;
    grid-gap: 25px;
    height: 100%;
    box-sizing: border-box;
}

@media (max-width: 1260px) {
    .main-content__wrap {
        grid-template-columns: 220px 1fr;
    }
}

.main-content__wrap-3 {
    display: grid;
    position: relative;
    z-index: 9;
    align-items: start;
    grid-template-columns: 1fr 220px;
    grid-gap: 25px;
}

.main-content {
    margin-bottom: 30px;
}
.header-is-sidebar .main-content {
    margin-top: 30px;
}

@media (max-width: 990px) {
    .main-content__wrap {
        display: block;
    }

    .main-content {
        margin-bottom: 0;
    }

    .main-content__wrap-3 {
        display: block;
    }
}

.main-content__wrap-3 .main-content__section {
    grid-row-start: 1;
}

.scroll-top {
    position: fixed;
    z-index: 9;
    right: 40px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
    cursor: pointer;
    transition: opacity 0.3s, background 0.3s ease, color 0.3s ease;
    opacity: 0;
    pointer-events: none;
    background: var(--button-bg, #222);
    color: var(--button-text-color, #fff);
    border-radius: var(--button-border-radius, 4px);
}

.scroll-top:hover {
    background: var(--button-bg-hover, var(--button-bg));
    color: var(--button-text-color-hover, var(--button-text-color, #fff));
}

@media (max-width: 990px) {
    .scroll-top {
        right: 20px;
        bottom: 20px;
        height: 38px;
        width: 38px;
    }

    /* style_choice_1 == 3 → body.style-choice-3 */
    body.style-choice-3 .scroll-top {
        right: 20px;
        bottom: 75px;
        height: 38px;
        width: 38px;
    }
}

.show {
    opacity: 1;
    pointer-events: auto;
}

.active-body {
    overflow: hidden;
}

.btn-hover {
    position: relative;
    transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease;
}

.modal-game {
    position: fixed;
    transition: 0.3s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 70px 30px 30px 30px;
    background: #000;
    box-shadow: 8px 0 14px rgba(0, 0, 0, 0.19), inset 0 1px 4px #fff;
    border-radius: 28px;
    margin: 5px 15px;
    max-width: 860px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    max-height: 500px;
    height: 100%;
}

.modal-game-2 {
    max-height: 560px;
}

.modal-game__play {
    padding: 10px 20px;
    box-shadow: 4px 8px 10px rgba(0, 0, 0, 0.29), inset 0 2px 4px rgba(255, 255, 255, 0.34);
    display: flex;
    font-size: var(--button-font-size, 12px);
    line-height: var(--content-line-height, 1.35);
    text-transform: uppercase;
    align-items: center;
    color: #fff;
    justify-content: center;
}

.modal-game__continue {
    padding: 10px 20px;
    box-shadow: 4px 8px 10px rgba(0, 0, 0, 0.29), inset 0 2px 4px rgba(255, 255, 255, 0.34);
    display: flex;
    color: #fff;
    font-size: var(--button-font-size, 12px);
    line-height: var(--content-line-height, 1.35);
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
}

.modal-game__title {
    font-size: var(--content-h1-font-size, 24px);
    line-height: var(--content-line-height, 1.35);
    text-align: left;
    color: #dedede;
    position: absolute;
    top: 25px;
    left: 30px;
}

.modal-game__bottom {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.modal-game__checkbox {
    position: relative;
}

.modal-game__checkbox input {
    position: absolute;
    opacity: 0;
}

.modal-game__checkbox label {
    cursor: pointer;
    font-size: var(--content-body-font-size, 12px);
    line-height: var(--content-line-height, 1.35);
    color: #fff;
    padding-left: 28px;
}

.modal-game__checkbox label::after {
    content: "";
    height: 15px;
    width: 15px;
    border: 3px solid #fff;
    position: absolute;
    border-radius: 4px;
    left: 0;
    top: 1px;
}

.modal-game__checkbox svg {
    display: none;
    height: 17px;
    width: 17px;
    position: absolute;
    z-index: 9;
    left: 2px;
    top: 2px;
}

.modal-game__checkbox input:checked ~ svg {
    display: block;
}

.modal-game__checkbox input:checked ~ label::before {
    content: "";
}

@media (max-width: 990px) {
    .modal-game__checkbox {
        display: none;
    }

    .modal-game__play {
        padding: 6.5px 15px;
    }

    .modal-game__continue {
        padding: 6.5px 15px;
    }

    .modal-game__title {
        left: 0;
        position: relative;
        top: 0;
        margin-bottom: 10px;
        text-align: center;
        font-size: var(--content-h1-font-size, 16px);
        line-height: var(--content-line-height, 1.35);
    }
}

@media (max-width: 990px) {
    .modal-game {
        margin: 0;
        height: auto;
        padding: 15px 20px;
        max-height: 600px;
        overflow-y: scroll;
        max-width: 100%;
        border-radius: 8px;
        width: 90%;
    }
}

.modal-game__close {
    position: absolute;
    cursor: pointer;
    top: 30px;
    right: 30px;
    z-index: 99;
}

@media (max-width: 990px) {
    .modal-game__close {
        right: 18px;
        top: 16px;
    }
}

.modal-thank {
    position: fixed;
    transition: 0.3s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 60px 30px 30px 30px;
    background: #000;
    box-shadow: 8px 0 14px rgba(0, 0, 0, 0.19), inset 0 1px 4px #fff;
    border-radius: 28px;
    margin: 5px 15px;
    max-width: 550px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    max-height: 350px;
    height: 100%;
}

.modal-thank__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.modal-thank__close {
    position: absolute;
    cursor: pointer;
    top: 30px;
    right: 30px;
}

.modal-thank__title {
    color: #fff;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.modal-thank__text {
    font-size: var(--content-body-font-size, 14px);
    line-height: var(--content-line-height, 1.35);
    color: #dedede;
    text-align: center;
    margin-bottom: 24px;
}

.modal-thank__btn {
    color: #fff;
    max-width: 180px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    font-size: var(--button-font-size, 14px);
    text-align: center;
    padding: 10px;
}

@media (max-width: 990px) {
    .modal-thank__btn {
        font-size: var(--button-font-size, 12px);
        max-width: 160px;
    }

    .modal-thank__title {
        font-size: 28px;
        line-height: 35px;
        margin-bottom: 15px;
    }

    .modal-thank__text {
        margin-bottom: 15px;
    }

    .modal-thank {
        margin: 0;
        height: auto;
        padding: 45px 15px 20px 15px;
        overflow-y: scroll;
        max-width: 100%;
        border-radius: 8px;
        width: 90%;
    }

    .modal-thank__close {
        right: 18px;
        top: 20px;
    }
}

.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.modal-game__video {
    height: 400px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    max-width: 100%;
}

.output-iframe {
    display: block;
}

.modal-game__video video,
iframe {
    position: relative;
    z-index: 9;
    height: 400px;
}

@media (max-width: 990px) {
    .modal-game__video {
        height: 300px;
    }

    .modal-game__video video,
    iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .modal-game__video {
        height: 275px;
    }

    .modal-game__video video,
    iframe {
        height: 275px;
    }
}

.modal-bonus {
    position: fixed;
    transition: 0.3s;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 5px 15px;
    max-width: 860px;
    width: 100%;
    box-sizing: border-box;
    max-height: 500px;
    height: 100%;
}

.modal-bonus__wrap {
    box-shadow: 8px 0 14px rgba(0, 0, 0, 0.19), inset 0 1px 4px #fff;
    backdrop-filter: blur(8px);
    border-radius: 166px;
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

.modal-bonus__bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.modal-bonus__img {
    max-width: 100%;
    height: 380px;
    margin: 0 auto;
    position: absolute;
    top: 10%;
    object-fit: contain;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.modal-bonus__btn {
    max-width: 130px;
    width: 100%;
    box-shadow: 4px 8px 10px rgba(0, 0, 0, 0.29), inset 0px 2px 4px rgba(255, 255, 255, 0.34);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #fff;
    font-size: var(--button-font-size, 14px);
    line-height: var(--content-line-height, 1.35);
    position: absolute;
    bottom: -38px;
    left: 50%;
    z-index: 9;
    transform: translate(-50%, -50%);
}

.modal-bonus__title {
    background: linear-gradient(180deg, #f5c344 0%, #f09938 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-size: 46px;
    line-height: 56px;
    margin: 200px 0 30px 0;
    text-transform: uppercase;
    text-align: center;
    z-index: 9;
    position: relative;
}

.modal-bonus__close {
    position: absolute;
    cursor: pointer;
    z-index: 9;
    right: 10px;
    top: 10px;
}

@media (max-width: 990px) {
    .modal-bonus__close {
        position: absolute;
        cursor: pointer;
        z-index: 9;
        right: 20px;
        top: 20px;
    }

    .modal-bonus__wrap {
        border-radius: 8px;
        height: auto;
        padding: 40px 20px;
    }

    .modal-bonus {
        top: 50%;
        margin: 0;
        height: auto;
        max-width: 100%;
        width: 90%;
    }

    .modal-bonus__btn {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
    }

    .modal-bonus__img {
        height: 200px;
        left: 0;
        top: 0;
        margin: 0 0 20px 0;
        transform: none;
        position: relative;
    }

    .modal-bonus__title {
        font-size: 26px;
        line-height: 38px;
        margin: 0 0 30px 0;
    }
}

/* ACF color_table_2n often dumps full CSS; prefer background var */
.slot-page__table-item:nth-child(2n) {
    background: var(--color-table-2n);
}

.content-card-table__box:nth-child(2n) {
    background: var(--color-table-2n);
}

.attributes-3__table-item:nth-child(2n) {
    background: var(--color-table-2n);
}

.players-table-2__item:nth-child(2n) {
    background: var(--color-table-2n);
}

.players-3__item:nth-child(2n) {
    background: var(--color-table-2n);
}

@media (max-width: 990px) {
    .modal-game {
        height: 83vh;
    }

    .modal-game video,
    iframe {
        height: 56vh;
    }

    .modal-game .modal-game__video {
        height: auto;
    }

    .modal-game__bottom {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .modal-game {
        height: auto;
    }

    .modal-game video,
    iframe {
        height: 250px;
    }

    .modal-game__title {
        padding-top: 30px;
    }

    .modal-game__bottom {
        margin-top: 20px;
    }
}

.has-block-bg {
    background: var(--block-bg);
    border-radius: var(--block-border-radius, 0);
    box-sizing: border-box;
    padding: 20px;
    color: var(--text-color, inherit);
}

.has-block-bg [class*="__title"] {
    color: var(--text-color, inherit);
}

/* WYSIWYG «Контент» stays transparent even if Enable background is on. */
.content.has-block-bg {
    background: none;
    border-radius: 0;
    padding-top: 0;
    padding-bottom: 0;
}
