html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: Arial, sans-serif;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

*, *:after, *:before {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background: #110D0D;
}

.container {
    width: 100%;
    max-width: 1340px;
    padding: 0 20px;
    margin: 0 auto;
}

.about-casino__subtitle {
    font-size: 25px;
    color: #fff;
    font-weight: 300;
    padding: 20px 0;
}

.content-title {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    padding: 20px 0;
}

.header {
    background: #2E1A1A;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    z-index: 9;

    .header__left-side {
        display: flex;
        align-items: center;
    }

    .logo {
        position: relative;
        z-index: 9;
        margin-left: 70px;
        padding: 10px 0;

        @media (max-width: 768px) {
            margin-left: 25px;
        }

        img {

            &:first-child {
                display: inline-block;
                @media (max-width: 768px) {
                    display: none;
                }
            }
            &:last-child {
                display: none;
                @media (max-width: 768px) {
                    display: inline-block;
                }
            }
        }
    }

    .header__right-side {
        display: flex;
        align-items: center;
        padding-right: 20px;

        .button {
            background: #ffd780;
            border-radius: 15px;
            transition: all 0.3s ease;

            &:first-child {
                margin-right: 15px;

                &:hover {
                    background: #fed98d;
                }

                .button_link {
                    color: #110D0D;
                }
            }

            &:last-child {
                background: #110D0D;
                border: 1px solid #fed98d;
            }

            .button_link {
                color: rgba(255, 255, 255, .7);
                font-size: 16px;
                line-height: 20px;
                display: inline-block;
                padding: 5px 15px;
                text-decoration: none;
            }
        }
    }
}

.menuToggle {
    display: block;
    position: relative;
    top: 15px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    a {
        text-decoration: none;
        color: rgba(255, 255, 255, .6);
        transition: all 0.3s ease;
    }
    input {
        display: block;
        width: 27px;
        height: 29px;
        position: absolute;
        top: -7px;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }
    span {
        position: relative;
        display: block;
        width: 27px;
        height: 3px;
        margin-bottom: 5px;
        position: relative;
        background: #cdcdcd;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        opacity 0.55s ease;
        &:first-child {
            transform-origin: 0% 0%;
        }
        &:nth-last-child(2) {
            transform-origin: 0% 100%;
        }
    }
}

.menuToggle {
    input {
        &:checked ~ span {
            opacity: 1;
            transform: rotate(45deg) translate(-1px, 1px);
            background: #ffffff;

            &:nth-last-child(3) {
                opacity: 0;
                transform: rotate(0deg) scale(0.2, 0.2);
            }
            &:nth-last-child(2) {
                transform: rotate(-45deg) translate(0, -1px);
            }
        }
        &:checked ~ .menuItem {
            transform: none;
        }

    }
}

.menuItem {
    position: absolute;
    width: 300px;
    padding: 50px;
    padding-top: 125px;
    background: #2E1A1A;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);

    li {
        padding: 10px 0;
        font-size: 17px;
    }
}

.menu--left {
    position: relative;
    transform: translate(0, -50%);
    left: 0;
    top: 50%;

    .menuToggle {
        left: 0;
        input {
            left: 20px;
        }
        span {
            left: 20px;
        }
    }
    .menuItem {
        left: 50px;
        margin: -100px 0 0 -50px;
        transform: translate(-100%, 0);
    }
}

.main {
    .container {
        position: relative;
    }

    .banner__container {
        background: url("../images/main-bg.webp") 0 0 no-repeat;
        background-size: cover;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;

        @media (max-width: 640px) {
            position: relative;

            &:after {
                content: '';
                position: absolute;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, .3);
                top: 0;
                left: 0;
                z-index: 1;
            }
        }
    }

    .banner-image {
        width: 300px;
        height: 300px;

        @media (max-width: 640px) {
            position: absolute;
            top: 0;
            right: 0;
            z-index: 1;
            width: 100%;
            height: 100%;
        }

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

            @media (max-width: 640px) {
                object-fit: cover;
            }
        }
    }

    .banner-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;

        @media (max-width: 640px) {
            position: relative;
        }
    }

    .banner-text {
        color: #fff;
        max-width: 50%;
        padding: 0 20px;

        @media (max-width: 640px) {
            position: relative;
            padding: 40px 0;
            z-index: 2;
            margin: 0 auto;
        }
    }

    .banner-title {
        font-size: 24px;
        margin-bottom: 10px;
        color: #ccc;
    }

    .banner-bonus {
        font-size: 80px;
        font-weight: bold;
        color: #F5DA23;
    }

    .banner-subbonus {
        display: block;
        font-size: 20px;
        color: #fff;
        margin-top: 12px;
    }

    .banner-button {
        background: #FFD680;
        color: #2E1A1A;
        font-size: 18px;
        font-weight: bold;
        border: none;
        border-radius: 20px;
        padding: 10px 20px;
        cursor: pointer;
        margin-top: 15px;
    }

    .banner-button:hover {
        background: #FFC040;
    }

    @media (max-width: 768px) {
        .banner__container {
            flex-direction: column;
            text-align: center;
        }

        .banner-text {
            max-width: 100%;
        }
    }
}

.title {
    font-size: 35px;
    color: #fff;
    font-weight: 500;
    text-align: center;
    margin-bottom: 50px;

    @media (max-width: 990px) {
        font-size: 28px;
        margin-bottom: 35px;
    }

    @media (max-width: 768px) {
        font-size: 28px;
        margin-bottom: 25px;
    }
}

.about-casino {
    margin-top: 25px;
    margin-bottom: 60px;
    overflow: hidden;

    @media (max-width: 990px) {
        margin-bottom: 40px;
    }

    .about-casino__text {
        font-size: 18px;
        line-height: 25px;
        color: #fff;
        margin-bottom: 15px;

        @media (max-width: 990px) {
            font-size: 18px;
            line-height: 27px;
        }

        @media (max-width: 768px) {
            font-size: 16px;
            line-height: 20px;
        }
    }

    .about-casino_list {
        list-style: disc;
        margin-bottom: 15px;
        padding-left: 20px;

        &.numerical {
            list-style: auto;
        }

        li {
            color: #fff;
            font-size: 18px;
            line-height: 30px;

            @media (max-width: 990px) {
                font-size: 16px;
                line-height: 27px;
            }

            @media (max-width: 768px) {
                font-size: 14px;
                line-height: 20px;
            }
        }
    }

    .table-responsive {

        @media (max-width: 990px) {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
    }

    table {
        width: 100%;
        border-collapse: collapse;
        text-align: left;
        background-color: #2E1A1A;
        font-family: Arial, sans-serif;
        margin-bottom: 15px;
        overflow-x: scroll;

        @media (max-width: 990px) {
            margin-bottom: 10px;
        }
    }

    td {
        color: #fff;
        border-color: #563e3e;
    }

    th, td {
        padding: 25px 15px;
        border: 1px solid #ccc;

        @media (max-width: 990px) {
            padding: 18px 13px;
        }
    }

    th {
        background-color: #2E1A1A;
        color: #ffffff;
        font-size: 18px;
        text-align: center;

        @media (max-width: 990px) {
            font-size: 15px;
        }
    }

    tr:nth-child(even) {
        background-color: #563E3E;
    }
    tr:nth-child(even) td {
        color: #fff
    }

    .accordion {
        background-color: #412626;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        padding: 18px;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        transition: background-color 0.4s;
        border-radius: 15px;

        @media (max-width: 990px) {
            font-size: 15px;
        }
    }
    .accordion:hover,
    .accordion.active {
        background: #412626FF;
    }
    .panel {
        padding: 0 18px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background-color: white;
        margin-bottom: 10px;
        border-radius: 15px;

        p {
            font-size: 18px;
            line-height: 27px;
            padding: 25px 0;

            @media (max-width: 990px) {
                font-size: 15px;
                line-height: 24px;
                padding: 20px 0;
            }
        }
    }

    .tools-list {
        margin-bottom: 20px;

        @media (max-width: 990px) {
            margin-bottom: 15px;
        }

        .tools-list__item {
            padding: 17px 25px;
            border-radius: 25px;
            margin-bottom: 10px;
            background: #2E1A1A;

            @media (max-width: 990px) {
                padding: 15px 23px;
            }

            @media (max-width: 768px) {
                padding: 10px 18px;
            }
        }

        .tools-list__item-title {
            display: flex;
            align-items: center;
            justify-content: flex-start;

            img {
                width: 33px;
                height: 33px;
                object-fit: contain;

                @media (max-width: 990px) {
                    width: 30px;
                    height: 30px;
                }

                @media (max-width: 768px) {
                    width: 27px;
                    height: 27px;
                }
            }

            p {
                color: #fff;
                font-size: 20px;
                font-weight: bold;
                margin-left: 15px;

                @media (max-width: 990px) {
                    font-size: 18px;
                }

                @media (max-width: 768px) {
                    font-size: 16px;
                }
            }
        }

        .tools-list__item-description {
            color: #aea2a2;
            font-size: 16px;
            line-height: 30px;

            @media (max-width: 768px) {
                font-size: 14px;
                line-height: 19px;
            }
        }

        .button__tools {
            border-radius: 20px;
            background: #fed98d;

            .link_tools {
                display: inline-block;
                width: 100%;
                padding: 15px 0;
                text-align: center;
                color: #110D0D;
                font-size: 20px;
                font-weight: bold;
                text-decoration: none;

                @media (max-width: 990px) {
                    font-size: 18px;
                }
            }
        }
    }
}

.popular-slots {
    margin-bottom: 60px;

    @media (max-width: 990px) {
        margin-bottom: 40px;
    }


    .button_show-more {
        width: 100%;
        max-width: max-content;
        margin: 0 auto;
        transition: transform 0.3s ease;

        a {
            color: #2E1A1A;
            display: inline-block;
            font-size: 18px;
            line-height: 25px;
            text-decoration: none;
            padding: 10px 45px;
            background: #FFD680;
            border-radius: 20px;

            @media (max-width: 990px) {
                font-size: 16px;
                line-height: 23px;
            }
        }

        &:hover {
            transform: scale(1.1);
        }
    }
}

.popular-slots__container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 15px;
    gap: normal;

    .popular-slots__item {
        width: 100%;
        max-width: 20%;
        padding: 0 10px;
        margin-bottom: 25px;

        @media (max-width: 990px) {
            max-width: 25%;
            margin-bottom: 20px;
        }

        @media (max-width: 640px) {
            max-width: 33.33%;
        }

        @media (max-width: 520px) {
            max-width: 50%;
        }

        a {
            text-decoration: none;
        }

        .container-slots_logo {
            overflow: hidden;
            border-radius: 25px;
            position: relative;
            margin-bottom: 15px;

            @media (max-width: 990px) {
                border-radius: 20px;
            }
        }

        .logo-slot {
            border-radius: 15px;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: inline-block;
            transition: transform 0.3s ease;

            &:hover {
                transform: scale(1.1);
            }
        }

        .name-slot {
            color: #fff;
            font-size: 14px;
            line-height: 18px;
            margin-bottom: 10px;
        }

        .name-provider {
            color: #fff;
            font-size: 14px;
            line-height: 18px;
        }
    }
}

.footer {

    .footer-text {
        padding: 25px 0;
        color: #5e5e5e;
        font-size: 14px;
    }
}

/*Table double column*/

.table-double-column {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;

    th, td {
        border: 1px solid #fff;
        padding: 20px 10px;
        text-align: left;
    }
    th {
        background-color: #2d1d1d;
    }
    td {
        background-color: #3c2a2a;
    }
}
