/*
Theme Name: My First Theme
Theme URI: http://example.com
Author: Твоє імʼя
Author URI: http://example.com
Description: Моя перша тема WordPress
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-first-theme
*/
:root {
    --text-subtext: #B4B9DC;
    --primary-default: #192355;
    --grey: #B4B9DC;
    --text-for-material: #fff;
    --link-default: #EBB446;
}
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
.logo-desktop { display: block; }
.logo-mobile { display: none; }

@media screen and (max-width: 400px) {
    .logo-desktop { display: none; }
    .logo-mobile { display: block; }
}
img {
    width: 100%;
}
p:empty {
    display: none;
}
h2 {
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    font-style: normal;
    font-weight: 600;
    line-height: 54px; /* 112.5% */
    letter-spacing: -1.92px;
    text-transform: uppercase;
    margin: 0 0 8px;
}
h3 {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px; /* 144.444% */
    letter-spacing: -0.36px;
    text-transform: uppercase;
    margin: 0 0 8px;
}
.primary_text {
    color: #B4B9DC;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}
br {
    display: none;
}
.yellow {
    color: #EBB446;
}
.grey {
    color: var(--grey, #B4B9DC);
}
.hero-wrapper {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px;
    @media screen and (max-width: 768px) {
        padding: 80px 32px;
    }
    @media screen and (max-width: 400px) {
        padding: 80px 8px 40px;
        .button {
            display: flex;
        }
    }
    .yellow-text {
        color: #EBB446;
    }
    h1 {
        text-transform: uppercase;
        font-size: clamp(40px, 5vw,  60px);
        font-style: normal;
        font-weight: 600;
        line-height: 1; /* 100% */
        letter-spacing: -2.56px;
        margin-bottom: 24px;
    }
    span {
        display: block;
    }
    p {
        color: #B4B9DC;
        text-align: center;
        font-size: 22px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px; /* 127.273% */
        max-width: 550px;
        margin: 0 auto 48px;
    }
}
body {
    color: #fff;
    font-family: 'DM Sans', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li {
    list-style: none;
}
.header {
    display: flex;
    align-items:  center;
    justify-content: space-between;
    padding: 1rem 1rem 0;
    position: relative;
    z-index: 1;
}

.main-menu {
    display: flex;
    gap: 1.5rem;
}
.site-navigation a {
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 128.571% */
    text-decoration: none;
}
.page {
    background-color: #050B20;
}
.site-branding {
    width: 166px;
    height: 48px;

    img {
        width: 100%;
        height: auto;
    }
}
.login {
    border-radius: 100px;
    border: 1px solid #ECB446;
    /*background: linear-gradient(90deg, rgba(236, 180, 70, 1) 10%, rgba(171, 104, 24, 1) 90%);*/
    box-shadow: 0 8px 24px 0 rgba(236, 180, 70, 0.24);
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    background: linear-gradient(270deg, #AB6818 0%, #ECB446 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sign-up {
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 100px;
    background: linear-gradient(267deg, #ECB446 38.54%, #AB6818 100.67%);
    box-shadow: 0 16px 48px 0 rgba(255, 175, 17, 0.50), 0 4px 12px 0 rgba(255, 255, 255, 0.70) inset, 0 -4px 6px 0 #FDEC8E inset;
    color: #110D15;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
}

.buttons {
    display: flex;
    gap: 8px;
}
.entry-content {
    position: relative;
}

.main_bg_image {
    top: -80px;
    max-width: 100%;
    width: 100%;
    position: absolute;
    max-height: 700px;
    height: 100vh;
    z-index: 0;

    img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.secondary_button_small {
    border-radius: 100px;
    border: 1px solid #ECB446;
    /*background: linear-gradient(90deg, rgba(236, 180, 70, 1) 10%, rgba(171, 104, 24, 1) 90%);*/
    box-shadow: 0 8px 24px 0 rgba(236, 180, 70, 0.24);
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    background: linear-gradient(270deg, #AB6818 0%, #ECB446 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.secondary_button_medium {
    padding: 19px 24px;
    display: inline-block;
    border-radius: 100px;
    border: 1px solid #ECB446;
    /*background: linear-gradient(90deg, rgba(236, 180, 70, 1) 10%, rgba(171, 104, 24, 1) 90%);*/
    box-shadow: 0 8px 24px 0 rgba(236, 180, 70, 0.24);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    background: linear-gradient(270deg, #AB6818 0%, #ECB446 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.secondary_button_large {
    padding: 19px 32px;
    display: inline-block;
    border-radius: 100px;
    border: 1px solid #ECB446;
    /*background: linear-gradient(90deg, rgba(236, 180, 70, 1) 10%, rgba(171, 104, 24, 1) 90%);*/
    box-shadow: 0 8px 24px 0 rgba(236, 180, 70, 0.24);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    background: linear-gradient(270deg, #AB6818 0%, #ECB446 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.primary_button_small {
    display: inline-block;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 100px;
    background: linear-gradient(267deg, #ECB446 38.54%, #AB6818 100.67%);
    box-shadow: 0 16px 48px 0 rgba(255, 175, 17, 0.50), 0 4px 12px 0 rgba(255, 255, 255, 0.70) inset, 0 -4px 6px 0 #FDEC8E inset;
    color: #110D15;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    text-decoration: none;
}
.primary_button_medium {
    display: inline-block;
    padding: 19px 24px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 100px;
    background: linear-gradient(267deg, #ECB446 38.54%, #AB6818 100.67%);
    box-shadow: 0 16px 48px 0 rgba(255, 175, 17, 0.50), 0 4px 12px 0 rgba(255, 255, 255, 0.70) inset, 0 -4px 6px 0 #FDEC8E inset;
    color: #110D15;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    text-decoration: none;
}
.primary_button_large {
    display: inline-block;
    padding: 19px 32px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 100px;
    background: linear-gradient(267deg, #ECB446 38.54%, #AB6818 100.67%);
    box-shadow: 0 16px 48px 0 rgba(255, 175, 17, 0.50), 0 4px 12px 0 rgba(255, 255, 255, 0.70) inset, 0 -4px 6px 0 #FDEC8E inset;
    color: #110D15;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    text-decoration: none;
}

.button {
    transition: all 0.3s ease-in-out;
}

.button:hover {
    cursor: pointer;
    transform: scale(1.1);
}


.partners_block, .padding_block_wrapper {
    position: relative;
    padding: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
    @media screen and (max-width: 1024px) {
        padding: 80px 24px;
    }
    @media screen and (max-width: 768px) {
        padding: 40px 24px;
    }
    @media screen and (max-width: 400px) {
        padding: 32px 8px;
    }
}
.block-header {
    margin-bottom: 32px;
    .primary_text {
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 133.333% */
    }
}
.block-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.block-card {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 24px;
    border: 1px solid #192355;
    background: #0F1437;

    .card-img-wrapper {
        margin: 0 0 24px;
        max-width: 56px;
        width: 100%;

        img {
            width: 100%;
        }
    }
    @media screen and (max-width: 400px) {
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-areas:
        "img title"
        "img text";
        column-gap: 16px;
        align-items: start;

        /* Прив’язуємо елементи до grid-областей */
        .card-img-wrapper {
            grid-area: img;
        }

        .card-title {
            grid-area: title;
            margin: 0 0 12px;
        }

        .card-text {
            grid-area: text;
            margin: 0;
        }
    }
}

.partners_card {
    width: calc(100% / 5);
    flex-grow: 1;
    @media screen and (max-width: 1024px) {
        width: calc(100% / 4);
    }
    @media screen and (max-width: 768px) {
        width: calc((100% / 2) - 32px);
    }
    @media screen and (max-width: 400px) {
        width: 100%;
    }
}
.traffic-card {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    overflow: hidden;
    max-height: 160px;
    width: calc((100% / 2) - 32px);
    flex-grow: 1;
    .card-text-wrapper {
        width: 100%;
    }
    .card-img-wrapper {
        max-width: 150px;
        margin: 0;
        position: relative;
        bottom: 16px;
        right: -24px;
    }
}
.traffic_block {
    display: flex;
    gap: 97px;
    justify-content: center;
    position: relative;
    .block-cards {
        max-width: 800px;
    }
    .primary_text {
        margin: 0 0 48px;
    }
    .block-buttons {
        display: flex;
        gap: 16px;
    }
    .block-header {
        min-width: 389px;
    }
    @media screen and (max-width: 1280px) {
        gap: 16px;
    }
    @media screen and (max-width: 1024px) {
        flex-direction: column;
        gap: 0;
        padding: 80px 24px 136px;
        .block-cards {
            width: 100%;
            max-width: 100%;
        }

        .block-buttons {
            position: absolute;
            bottom: 56px;
        }
        .primary_text {
            margin: 0;
        }
    }
    @media screen and (max-width: 768px) {
        padding: 40px 24px 90px;
        .card-img-wrapper {
            max-width: 130px;
            bottom: -4px;
        }
        .block-buttons {
            bottom: 0;
        }
    }
    @media screen and (max-width: 400px) {
        padding: 32px 8px 80px;
        .traffic-card {
            width: 100%;
        }
    }
}

.tabs-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 30px;
    width: fit-content;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 4px;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border:  none;
    cursor: pointer;
    transition: 0.3s;
    color: var(--link-default, #EBB446);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */

}

.tab-btn.active {
    border-radius: 100px;
    border: 1px solid #ECB446;
    background: linear-gradient(90deg, rgba(236, 180, 70, 0.10) 0%, rgba(171, 104, 24, 0.10) 100%);
    box-shadow: 0 8px 24px 0 rgba(236, 180, 70, 0.24);
    color: var(--link-default, #EBB446);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
}

.tab-item {
    display: none;
}

.tab-item.active {
    display: block;
}
.casino-card {
    display: flex;
    padding: 8px;
    border-radius: 24px;
    border: 1px solid #192355;
    background: #0F1437;
    gap: 16px;

    .casino-card-info {
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding: 0 32px 0 0;
    }

    .casino-card-image {
        max-width: calc(100% / 2);
        flex-grow: 1;
        img {
            height: 100%;
            object-fit: cover;
        }
    }

    .casino-card-content-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 32px 0 0;
    }

    .logo-wrapper {
        display: flex;
        padding: 8px 12px 8px 8px;
        align-items: center;
        gap: 8px;
        border-radius: 50px;
        border: 1px solid rgba(235, 180, 70, 0.20);
        background: rgba(235, 180, 70, 0.10);

        a {
            color:  #EBB446;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 20px; /* 142.857% */
            text-decoration-line: underline;
            text-decoration-style: solid;
            text-decoration-skip-ink: auto;
            text-decoration-thickness: auto;
            text-underline-offset: auto;
            text-underline-position: from-font;
        }
        img {
            max-width: 24px;
        }
    }
    .toxi {
        border: 1px solid rgba(106, 226, 87, 0.20);
        background: rgba(106, 226, 87, 0.10);
        a {
            color: #6AE257;
        }
    }
    .casino-card-content {
        padding: 32px 0px 0 16px;
        display: flex;
        flex-direction: column;
        gap: 32px;
        max-width: calc(100% / 2);
        width: 100%;

        .card-info-lable {
            color: var(--text-subtext, #B4B9DC);
            font-size: 14px;
            font-style: normal;
            font-weight: 600;
            line-height: 20px; /* 142.857% */
        }
        .casino-lang {
            color: var(--text-subtext, #B4B9DC);
            text-align: right;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 20px; /* 142.857% */
            &:after {
                content: ',';
            }
            &:last-child:after {
                content: none;
            }
        }
        .card-info {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            padding: 8px 0;
        }
        .divider {
            display: block;
            width: 100%;
            height: 2px;
            background: var(--primary-default, #192355);
        }
    }
    .casino-payments {
        display: flex;
        gap: 8px;
        img {
            max-width: 24px;
        }
    }
    .payments-list {
        display: flex;
        gap: 8px;
    }
    .licence {
        img {
            max-width: 56px;
        }
    }
    .bonus {
        display: flex;
        padding: 24px;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
        border-radius: 16px;
        background: rgba(5, 11, 32, 0.50);
        span {
            color: var(--text-for-material, #FFF);
            font-size: 18px;
            font-style: normal;
            font-weight: 600;
            line-height: 24px; /* 133.333% */
        }
        .bonus-value {
            color: var(--link-default, #EBB446);
            line-height: 30px; /* 125% */
        }
    }
    @media screen and (max-width: 1024px) {
        flex-direction: column;

        .casino-card-image {
            max-width: 100%;
        }

        .casino-card-content {
            max-width: 100%;
            padding: 16px 0 0 0;
        }

        .casino-card-content-header,.casino-card-info {
            padding: 0 24px;
        }
    }
    @media screen and (max-width: 400px) {
        .casino-card-content-header {
            padding: 0 8px;
            h2 {
                font-size: 24px;
                margin: 0;
            }
        }
        .casino-card-info {
            padding: 0 8px;
        }

        .bonus {
            flex-direction: column;
            align-items: stretch;
            gap: 16px;

            .primary_button_large {
                text-align: center;
            }
        }
    }
}

.block-cards {
    .big-block {
        max-width: 37%;
        @media screen and (max-width: 768px) {
            max-width: calc((100%  / 2) - 8px);
        }
        @media screen and (max-width: 400px) {
            max-width: 100%;
        }
    }
    .normal-size {
        max-width: 30%;
        flex-grow: 1;
        @media screen and (max-width: 1024px) {
            max-width: 29%;
        }
        @media screen and (max-width: 768px) {
            max-width: calc((100%  / 2) - 8px);
        }
        @media screen and (max-width: 400px) {
            max-width: 100%;
        }
    }
}