@import "variables.css";
@import "header.css";
@import "button.css";
@import "footer.css";
@import "card.css";
@import "form.css";
@import "sidebar.css";

html,*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    height: 3px;
    width: 3px;
}

::-webkit-scrollbar-thumb {
    background-color: #021427;
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

body{
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Roboto,  sans-serif;
    background: #021427;
    color: white;
    margin: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    height: inherit;
}

a {
    text-decoration: none;
}

.admin-bar main {
    margin-top: 65px;
}

main {
    margin-top: 65px;
    flex: 1 0 auto;
    display: flex;
    width: 100%;
}

footer {
    flex: 0 0 auto;
}


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;
}

.arrow_wrapper {
    display: flex;
    align-items: center;
    gap: 10px;

    .arrow {
        position: static;
        width: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--color-7);
        height: 32px;
        background: var(--color-7);
        cursor: pointer;
        border-radius: 8px;

        svg {
            width: 14px;
            height: 14px;
        }

        &.arrow--disabled {
            opacity: 0.5;
        }
    }
}

.navigation-wrapper .arrow.arrow--disabled {
    display: none;
}



.swiper-button-next:after, .swiper-button-prev:after {
    color: white;
    font-weight: bold;
}

.swiper-button-next {
    right: 0;
    left: auto;
}

.swiper-button-prev {
    left: 0;
    right: auto;
}

.block__head__title {
    font-size: 14px;
    color: white;
}

html :where(.wp-block) {
    max-width: 100vw;
}

section {
    padding-bottom: 40px;
}

/* === Home hero (first screen) === */

/* Убираем лишние отступы на главной */
body.home main {
    margin-top: 0;
}

body.home .page__content {
    margin-top: 0;
}

/* Хиро-блок в стиле оригинального сайта */
.section-hero {
    position: relative;
    padding: 0;
    min-height: calc(100vh - 0px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.section-hero .container {
    position: relative;
    z-index: 2;
}

/* Монетки слева/справа */
.section-hero::before,
.section-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 420px;
    height: 420px;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    opacity: 0.9;
}

.section-hero::before {
    left: -40px;
    background-image: url('/wp-content/uploads/COS_hero-coins-left.fs8_.png');
}

.section-hero::after {
    right: -40px;
    background-image: url('/wp-content/uploads/COS_hero-coins-left.fs8_.png');
}

/* BigBanner как hero: без отступов */
body.home .wp-block-casino-cosmonz-big-banner {
    padding-top: 0;
    padding-bottom: 0;
}

body.home .wp-block-casino-cosmonz-big-banner > .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Монетки по бокам именно у блока оффера внутри BigBanner */
body.home .wp-block-casino-cosmonz-big-banner .banner__content_wrapper {
    position: relative;
}

body.home .wp-block-casino-cosmonz-big-banner .banner__content_wrapper::before,
body.home .wp-block-casino-cosmonz-big-banner .banner__content_wrapper::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 315px;
    height: 300px;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    opacity: 0.9;
    z-index: 0;
}

body.home .wp-block-casino-cosmonz-big-banner .banner__content_wrapper::before {
    left: -180px;
    background-image: url('/wp-content/uploads/COS_hero-coins-left.fs8_.png');
    opacity: 0.6;
}

body.home .wp-block-casino-cosmonz-big-banner .banner__content_wrapper::after {
    right: -165px;
    background-image: url('/wp-content/uploads/COS_hero-coins-left.fs8_.png');
    opacity: 0.6;
    transform: rotate(191deg);
}

@media (max-width: 768px) {
    body.home .wp-block-casino-cosmonz-big-banner .banner__content_wrapper::before,
    body.home .wp-block-casino-cosmonz-big-banner .banner__content_wrapper::after {
        display: none;
    }
}

/* Фон и рамка оффера */
.section-hero .offer-text-box {
    position: relative;
    box-sizing: border-box;
    max-width: 600px;
    width: 100%;
    margin: 50px auto;
    padding: 20px;
    background: linear-gradient(to top, #487cb3 0, #737bb3 100%);
    border: 4px solid #496a9c;
    border-radius: 20px;
    box-shadow: inset 0 0 0 3px #d2f7ff, 0 0 70px #52a8ec;
    text-shadow: 1px 2px 1px #2c4564;
}

.section-hero .hero-heading {
    margin: 0;
    font-size: 28px;
    line-height: 1.3;
    text-align: center;
}

.section-hero .hero-heading span {
    display: block;
}

.section-hero .hero-heading--xlarge {
    font-size: 2.2rem;
}

.section-hero .hero-heading--large {
    font-size: 1.8rem;
}

.section-hero .u__text--yellow {
    color: #f7e36a;
}

/* Группа кнопки CTA под оффером */
.section-hero .button-group--cta-hd {
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
}

/* Стиль кнопки CTA, как на оригинале, но только внутри hero */
.section-hero .button--cta,
.section-hero .button--cta:visited {
    background: #ff982a;
    color: #fff;
    text-shadow: 0 3px 4px rgba(0, 0, 0, .6);
    border: .1em solid #fff;
    box-shadow: #a8881a 0 0 5px .1em;
    font-size: 1.5rem;
    margin: 0 auto;
    max-width: 260px;
    display: block;
    font-weight: 700;
    padding: 10px;
    line-height: 1em;
    text-transform: uppercase;
    border-radius: 0;
}

.section-hero .button--cta .first,
.section-hero .button--cta .second {
    display: block;
}

.section-hero .button--cta .first {
    font-size: 0.9rem;
}

.section-hero .button--cta .second {
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .section-hero::before,
    .section-hero::after {
        width: 320px;
        height: 320px;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .section-hero {
        min-height: calc(100vh - 0px);
    }

    .section-hero::before,
    .section-hero::after {
        width: 260px;
        height: 260px;
        opacity: 0.7;
    }

    .section-hero .offer-text-box {
        margin: 30px auto;
    }

    .section-hero .hero-heading {
        font-size: 22px;
    }

    .section-hero .hero-heading--xlarge {
        font-size: 1.8rem;
    }

    .section-hero .hero-heading--large {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .section-hero::before,
    .section-hero::after {
        width: 220px;
        height: 220px;
        opacity: 0.6;
    }

    .section-hero .offer-text-box {
        margin: 20px auto;
        padding: 16px;
    }

    .section-hero .hero-heading {
        font-size: 18px;
    }

    .section-hero .hero-heading--xlarge {
        font-size: 1.6rem;
    }

    .section-hero .hero-heading--large {
        font-size: 1.3rem;
    }
}

.wp-block-group p a {
    color: var(--color-4);
}


.content_wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.page__content {
    flex: 1;
    margin-top: 30px;

}

body.active  .page__content {
    filter: blur(10px);
}


@media (max-width: 768px) {
    .demo-button {
    padding: 5px 5px;
    }
.play-button {
    height: 40px;
    width: 40px;
   }
    .wp-block-image .alignleft {
    float: none;
}
    .wp-block-image .alignright {
    float: none;
    }

}




@media (max-width: 425px) {
    .wp-block-image .alignright {
    float: none;
    }
    .card__image_wrapper .card__overlay {
            gap: 6px;
        }
        .promo-citata-block__content {
    padding: 10px 10px 0px 10px!important;
    }
    .promo-citata-block__wrapper {
        padding: 0 0px;
    }
    .wp-block-quote {
    margin: 0 auto;
    }
    .wp-block-image .alignleft {
    float: none;
}
}



