@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: var(--color-3);
    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: white;
    color: #200833;
    margin: 0;
}

.container {
    max-width: 1330px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    height: inherit;

    .container {
        padding-left: 0;
        padding-right: 0;
    }
}

a {
    text-decoration: none;
}

main {
    margin-top: 150px;
    flex: 1 0 auto;
}

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;


}

.big__banner_wrapper {
    .arrow {
        left: 24px;

        &.arrow--right {
            right: 24px;
            left: auto;
        }
    }
}

.promo-navigation-wrapper {
    .arrow {
        position: absolute;
        top: 40%;

        &.arrow--right {
            right: 0;
        }
    }
}

.arrow {
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    cursor: pointer;
    svg {
        width: 30px;
        height: 60px;

    }

    &.arrow--left {
        transform: rotate(180deg);
    }

    &.arrow--disabled {
        opacity: 0.5;
    }
}

.navigation-wrapper {
    position: relative;
}

.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: 28px;
    color: var(--color-4);
    font-weight: bold;
}

html :where(.wp-block) {
    max-width: 100vw;
}

section {
    padding-bottom: 40px;
}

.wp-block-group p a {
    color: var(--color-5);
}

.layout_wrapper {
    display: flex;
}

.page__content_wrapper {
    flex: 1;
    max-width: calc(100vw - 244px);

    .wp-block-group  a,
    .text__more_wrapper a{
        color:  var(--color-5);
    }
}



@media (max-width: 1000px) {
    .page__content_wrapper {
        max-width: 100vw;
    }
}

@media (max-width: 500px) {
    .wp-block-image {
        max-width: calc(100vw - 20px);

        figure {
            width: 100%;
            display: block!important;
        }

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

.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-3, #635270);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

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

.scroll-to-top__icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 100px;
    }
    
    .scroll-to-top__icon {
        width: 20px;
        height: 20px;
    }
}


.app-download-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 10px;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--color-2, #200833);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: var(--base-transition, all 0.3s);
    min-height: 60px;
    font-weight: bold;
}

.app-download-btn:hover {
    background: #ffffff4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.app-download-btn__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.app-download-btn__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-download-btn__label {
    font-size: 12px;
    opacity: 0.9;
    font-weight: normal;
}

.app-download-btn__platform {
    font-size: 18px;
    font-weight: bold;
}

.app-download-btn--android {
    background: #3ddc84;
    color: #000;
}

.app-download-btn--android:hover {
    background: #2cc070;
    color: #000;
}

.app-download-btn--ios {
    background: #000;
    color: #fff;
}

.app-download-btn--ios:hover {
    background: #333;
    color: #fff;
}

@media (max-width: 768px) {
    .app-download-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .app-download-btn {
        width: 100%;
        justify-content: center;
    }
}
