.button,
.boomerang-casinoBtn{
    padding: 16px 20px;
    cursor: pointer;
    border-radius: 100px;
    font-size: 12px;
    color: var(--color-4);
    text-transform: uppercase;
    background: transparent;
    outline: none;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button_1,
.boomerang-casinoBtn{
    background: linear-gradient(225deg, var(--color-5) 0%, var(--color-6) 100%);
    border: 1px solid var(--color-7);

}

.button:not(.button_3):before
.boomerang-casinoBtn:before{
    content: "";
    position: absolute;
    z-index: 1;
    top: 1px;
    left: 1px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 100px;
    box-shadow: 0 0 0 2px var(--color-2);
    border: 1px solid var(--color-8);
    pointer-events: none;
}



@keyframes animate-primary-bg {
    to {
        background-position-x: 300%
    }
}


.button:not(.button_3):after,
.boomerang-casinoBtn:after{
    display: block;
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 2px;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg width='137' height='72' viewBox='0 0 137 72' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_6_6)'%3E%3Cpath d='M107.295 0H30.3109L0 72H76.9845L107.295 0Z' fill='white'/%3E%3Cpath d='M137 0H123.057L92.7461 72H106.689L137 0Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_6_6'%3E%3Crect width='137' height='72' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-size: auto 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    mix-blend-mode: overlay;
    transform: translate(-150%);
    transition: transform ease-out .3s;
    border-radius: 100px;
    overflow: hidden;
    opacity: .4;
}

.button:not(.button_3):hover:after {
    transform: translate(100%);
}

.button_3.active {
    background: var(--color-3);
}

.button_3 {
    border: 1px solid var(--color-3);
}

.page-id-1465 .page__title_wrapper {
    display: none;
}


.boomerang-casinoFaq {
    display: flex;
    flex-direction: column;
}
.boomerang-casinoFaq__item {
    .boomerang-casinoQuestion {
        font-size: 14px;
        padding: 1rem 1rem;
        border: 1px solid #222222;
        font-weight: bolder;
        cursor: pointer;
    }
    .boomerang-casinoAnswer {
        font-size: 12px;
        overflow: hidden;
        line-height: 1.5;
        display: none;
        background-color: #efefef;
    }
}

.boomerang-casinoFaq__item-active {
    .boomerang-casinoAnswer {
        display: block;
    }
}

.boomerang-casinoForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 300px;
}

.boomerang-casinoInput__group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.boomerang-casinoForm__wrapper {
    display: flex;
    width: 100%;
}

.boomerang-casinoForm input,
.boomerang-casinoForm textarea {
    padding: 10px;
}



.boomerang-casinoSlot__caption {
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    z-index: 10;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    opacity: 0;
    transition: 0.3s opacity;
    transform: translate(-50%, -50%)
}
.boomerang-casinoSlots {
    margin: 1rem 0;
    .boomerang-casinoSlot {
        &:hover {
            .boomerang-casinoSlot__overlay {
                opacity: .75;
            }
            .boomerang-casinoSlot__caption {
                opacity: 1;
            }
        }
    }
    .boomerang-casinoSlot__overlay {
        position: absolute;
        z-index: 3;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        background: linear-gradient(0deg, rgb(132, 132, 132) 0%, rgba(0,0,0,1) 100%);
        backdrop-filter: blur(20px);
        opacity: 0;
        transition: .3s opacity;
    }
    .boomerang-casinoSlot__play {
        padding: 0.25rem;
        border-radius: 50%;
        min-width: 32px;
        color: #fff;
        min-height: 32px;
        transition: 0.3s opacity;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .boomerang-casinoSlot__image {
        width: 100%;
        position: relative;
        object-fit: cover;
        height: 100%;
    }
    .boomerang-casinoSlot__title {
        display: block;
        transition: .3s opacity;
        padding: 1rem 0;
        line-height: 1.5;
        color: var(--color-4)!important;
        &:hover {
            opacity: .85;
        }
    }
}


.wp-block-post-content a {
    color: #ffffff;
}

table {
    margin-block-start: 15px!important;
    margin-block-end: 15px!important;
    border-collapse: collapse;
}

table td {
    border: 1px solid white;
    padding: 10px;
}

.table_wrapper tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.1);
}

.table_wrapper {
    overflow: auto;
}

.theme_wrapper {
    position: relative;
}

/* Базовый отступ контента от фиксированного сайдбара на десктопе */
.theme_wrapper .content_wrapper {
    margin-left: 230px;
}

/* Кнопка сайдбара всегда видна */
.sidebar__button_wrapper {
    display: flex !important;
}

.theme_wrapper aside {
    width: 230px;
    flex: 0 0 230px;
}

/* На десктопе сайдбар всегда виден */
.theme_wrapper .theme__aside {
    position: fixed;
    top: 68px;
    left: 0;
    height: calc(100dvh - 68px);
    width: 230px;
    overflow-y: auto;
    z-index: 1200;
}

.wp-site-blocks.show__sidebar .theme_wrapper aside {
    width: 70px;
    flex: 0 0 70px;
    z-index: 1200;
}

.wp-site-blocks.show__sidebar .theme_wrapper .theme__aside {
    width: 70px;
}

.wp-site-blocks.show__sidebar .theme_wrapper .content_wrapper {
    margin-left: 70px;
}

@media (max-width: 1200px) {
    .theme_wrapper aside {
        width: 0;
        flex: 0 0 auto;
    }

    .theme_wrapper .content_wrapper {
        margin-left: 0;
    }

    .theme_wrapper .theme__aside {
        position: fixed;
        top: 68px;
        left: 0;
        height: calc(100dvh - 68px);
        width: 230px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1200;
    }

    .wp-site-blocks.show__sidebar .theme_wrapper .theme__aside {
        transform: translateX(0);
    }
}

/* Полное выдвижение сайдбара поверх контента только на мобильных */
@media (max-width: 768px) {
    .wp-site-blocks.show__sidebar .theme_wrapper aside {
        width: 0;
        flex: 0 0 auto;
    }
}

/* Десктоп: сворачивание сайдбара в режим только иконок */
@media (min-width: 769px) {
    .wp-site-blocks.show__sidebar .theme__aside {
        width: 70px;
    }

    .wp-site-blocks.show__sidebar .aside__item__title {
        font-size: 0;
    }

    .wp-site-blocks.show__sidebar .theme__aside .aside__item__content {
        gap: 0;
    }

    .wp-site-blocks.show__sidebar .theme__aside .sidebar__banner__info_wrapper,
    .wp-site-blocks.show__sidebar .theme__aside .sidebar__bottom__item span {
        display: none;
    }
}

.block__head_wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

.block__head__title {
    color: var(--color-4);
    font-size: 24px;
    font-weight: bold;
}

.block__head__morebtn {
    text-decoration: underline;
    text-transform: uppercase;
    color: var(--color-3);
    font-size: 12px;
    cursor: pointer;
}

.block__head__morebtn:hover {
    color: var(--color-4);
}

.block__head__separator {
    flex: 1;
    background-image:linear-gradient(rgba(255 255 255 / .12), rgba(255 255 255 / .12)), linear-gradient(rgba(255 255 255 / .12), rgba(255 255 255 / .12)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 4' fill='%23fff'%3E%3Cpath fill-opacity='.12' d='M0 0h1v4H0z'/%3E%3Ccircle cx='19' cy='2' r='2' fill-opacity='.12'/%3E%3Ccircle cx='35' cy='2' r='2' fill-opacity='.12'/%3E%3Ccircle cx='51' cy='2' r='2' fill-opacity='.12'/%3E%3Cpath fill-opacity='.12' d='M69 0h1v4h-1z'/%3E%3C/svg%3E"), linear-gradient(rgba(255 255 255 / .12), rgba(255 255 255 / .12)), linear-gradient(rgba(255 255 255 / .12), rgba(255 255 255 / .12));
    background-repeat: no-repeat;
    background-position: left, left 1px center, center center, right 1px center, right;
    background-size: 1px 4px, calc((100% - 72px) / 2) 1px, 70px 4px, calc((100% - 71px) / 2) 1px, 1px 4px;
    height: 4px;
}

.card__grid__slider__item__content {
    border: 1px solid var(--color-7);
    box-shadow: 0 0 0 3px var(--color-2), 0 0 0 4px var(--color-7);
    height: 325px;
    margin: 4px;
    border-radius: 16px;
    position: relative;
    background: linear-gradient(180deg, #0a2762 0%, #031538 100%);
    overflow: hidden;
    z-index: 1;
}


.card__grid__slider__image {
    width: 100%;
    height: 100%;
    z-index: 3;
    border-radius: 16px;
    object-fit: cover;
    transition: all 0.3s;
    position: absolute;
}

.card__grid__slider__item__title {
    padding: 10px 10px 0;
    display: block;
    color: var(--color-1);
    text-transform: uppercase;
    font-size: 12px;
}

.card__grid__slider__item:hover .card__grid__slider__item__content {
    box-shadow: 0 0 0 3px #000a1f, 0 0 0 4px #215dd4;
    border: 1px solid #215dd4;
}

.card__grid__slider__item:hover .card__grid__slider__item__overlay {
    z-index: 4;
    opacity: 1;
}

.edit__card__grid__slider {
    display: grid;
    gap: 12px;
}

.card__grid__slider__item__overlay {
    position: absolute;
    top: 0;
    width: 100%;
    border-radius: 16px;
    height: 100%;
    opacity: 0;
    z-index: -1;
    background-color: #15181fcc;
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__grid__slider__item:hover .card__grid__slider__item__title {
    color: var(--color-4);
}


.card__grid__slider__item:hover .card__grid__slider__image {
    transform: scale(1.2);
}

@media (max-width: 425px) {
    .button,
    .boomerang-casinoBtn {
        padding: 8px 5px;
        font-size: 8px;
    }

}

/* Фиксированный хедер: всегда едет вместе со скроллом */
header.wp-block-template-part {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Отступ под высоту хедера, чтобы контент не уезжал под него */
.wp-site-blocks {
    padding-top: 68px;
}

/* Кнопка прокрутки вверх */
.scroll-to-top {
    position: fixed;
    right: 16px;
    bottom: 100px; /* отступ снизу 100px по запросу */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-7, #ffffff33);
    background: linear-gradient(225deg, var(--color-5, #215dd4) 0%, var(--color-6, #00a391) 100%);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    box-shadow: 0 0 0 2px var(--color-2, #04060c);
}

.scroll-to-top svg {
    width: 18px;
    height: 18px;
}

.scroll-to-top--visible {
    display: flex;
}

.app-download-block {
  margin: 24px 0;
}

.app-download-buttons {
  display: flex;
  justify-content: center;  /* по центру по горизонтали */
  gap: 12px;
  flex-wrap: wrap;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 39, 98, 0.95);
  color: #ffffff;
}

.app-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
}

.app-btn__icon svg {
  width: 18px;
  height: 18px;
}

.app-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-btn__label {
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0.8;
}

.app-btn__store {
  font-size: 13px;
  font-weight: 600;
}

/* опционально: разные цвета иконок */
.app-btn--android .app-btn__icon {
  background: #3ddc84;
  color: #0b1f33;
}

.app-btn--ios .app-btn__icon {
  background: #ffffff;
  color: #111827;
}

@media (max-width: 480px) {
  .app-download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-btn {
    width: 100%;
    max-width: 280px;
    justify-content: flex-start;
  }
}