* {
    box-sizing: border-box;
    scrollbar-width: auto !important;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid #FF267E;
    outline-offset: 2px;
}

.menu-wrapper-desk {
    position: sticky;
    top: 58px;
    z-index: 19;
    background: #001955;
    width: 100%;
}

.header-menu {
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.container h2 {
    color: white;
}

.inregistrare-btn {
    display: flex;
    justify-content: center;
    padding-top: 5%;
    padding-bottom: 5%;
}

.inregistrare-btn img {
    max-width: 100%;
    height: auto;
}

.games-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.games-menu img {
    width: 40px;
    max-width: 100%;
}

.item-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item-menu h2 {
    color: white;
    margin: 0;
    font-size: 15px;
}
.item-menu a {
    text-decoration: none;
}

.item-menu p {
    color: #C8D2DF;
    margin: 0;
    font-size: 14px;
    font-weight: 100;
}

/* butoane ascunse desktop */
.menu-prev,
.menu-next {
    display: none;
}

.main {
    max-width: 1500px;
    width: 100%;
    display: block;
    margin: 0 auto;
    background-color: #000C2C;
    overflow-x: hidden;
}

.info-banner {
    background-image: url(https://www.favbet.ro/minio/pages/vocabular-cazinou/banner.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    overflow: hidden;
    padding: 0 15px;
}

.info-text {
    max-width: 1000px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.info-banner h2 {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 12px 60px;
    color: #BFBFBF;
    border-radius: 20px;
    z-index: 0;
    font-size: 16px;
    margin-top: 25px;
    text-align: center;
}

.info-banner h1 {
    text-align: center;
    color: white;
    font-size: 70px;
    font-weight: bolder;
    margin: 15px;
    line-height: 1.1;
}

.info-banner p {
    text-align: center;
    color: white;
    display: block;
    margin: 10px auto;
    max-width: 900px;
}

.info-banner h2::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(90deg, #FF267E, #002A8C);
    z-index: -1;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

.section-info h2 {
    text-align: center;
    color: white;
    padding-top: 2%;
}

.faq {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 20px;
    background:
        linear-gradient(#000C2C, #000C2C) padding-box,
        linear-gradient(90deg, #FF267E, #002A8C) border-box;
    max-width: 800px;
    width: 100%;
    display: block;
    margin: 20px auto;
}

.faq h3 {
    color: white;
    text-align: center;
}

.faq p {
    color: #C8D2DF;
    text-align: center;
}

.alphabet {
    padding: 10px;
    z-index: 5;
}

.alfabet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.alfabet a {
    text-decoration: none;
    color: #C8D2DF;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 18px;
    transition: 0.2s;
}

.alfabet a:hover,
.alfabet a.active {
    background: #001954;
    color: white;
}

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

.sectiune {
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-height: 350px;
    overflow: auto;
    padding-right: 15px;
}

.sectiune::-webkit-scrollbar {
    width: 12px;
}

.sectiune::-webkit-scrollbar-track {
    background: #001850;
}

.sectiune::-webkit-scrollbar-thumb {
    background: #21347F;
    border-radius: 6px;
}

.sectiune-two {
    margin-bottom: 60px;
    gap: 15px;
    max-height: 750px;
    overflow: auto;
}

.sectiune-two .item {
    height: auto;
}

.sectiune h2 {
    padding-bottom: 5px;
    margin-bottom: 15px;
    scroll-margin-top: 80px;
}

.item {
    background: #001954;
    padding: 25px;
    border-radius: 8px;
    min-height: 220px;
    overflow: hidden;
    position: relative;
    transition: height 0.3s ease;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 150px;
}

.item h2 {
    color: white;
    margin: 0 0 10px 0;
}

.item p, .item li {
    color: #C8D2DF;
}

.item p:not(:first-of-type) {
    display: none;
}

.item.expanded p:not(:first-of-type) {
    display: block;
}

.more-btn {
    display: block;
    background: none;
    border: none;
    color: #FF267E;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    margin-top: auto;
    align-self: flex-start;
}

.more-btn:hover,
.more-btn:focus-visible {
    color: white;
}

.menu-wrapper-mob {
    display: none;
}


.mobile-scrollbar {
    display: none;
}

@media (max-width: 756px) {


    ._pageWrapper_yzikv_45 {
    background: #040B2B;
    }

    .sectiune-wrapper {
        position: relative;
    }

    .mobile-scrollbar {
        display: block;
        position: absolute;
        right: 8px;
        top: 0;
        width: 12px;
        height: 100%;
        background: #001850;
        border-radius: 6px;
    }

    .sectiune::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .mobile-scroll-thumb {
        position: absolute;
        top: 0;
        left: 0;
        width: 12px;
        height: 80px;
        background: #21347F;
        border-radius: 6px;
    }



    .sectiune {
        grid-template-columns: 1fr;
        max-height: 350px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 15px;
        margin-bottom: 0;
         overflow-y: auto;
        overflow-x: hidden;

        scrollbar-width: none;

        -ms-overflow-style: none;
    }

    .menu-wrapper-mob {
        display: block;
        position: sticky;
        top: 48px;
        z-index: 19;
        background: #001955;
    }

    .menu-wrapper-desk {
        display: none;
    }

    .menu-wrapper-mob .header-menu {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 5px;
        padding: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: space-between;
    }

    .menu-wrapper-mob .header-menu::-webkit-scrollbar {
        display: none;
    }

    .menu-wrapper-mob .games-menu {
        flex: 0 0 auto;
        width: 80px;
        height: 70px;
        background: #001954;
        padding: 8px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 6px;
        scroll-snap-align: center;
    }

    .menu-wrapper-mob .games-menu img {
        width: 28px;
    }

    .menu-wrapper-mob .item-menu h2 {
        font-size: 14px;
        text-align: center;
        color: #C8D2DF;
        font-weight: 400;
        margin: 0;
        line-height: 1.2;
        width: 100%;
    }

    .menu-wrapper-mob .menu-prev,
    .menu-wrapper-mob .menu-next {
        display: none;
    }

    .info-banner h1 {
        font-size: 30px;
    }

    .info-banner h2 {
        padding: 8px 40px;
        font-size: 11px;
    }

    .info-banner p {
        text-align: left;
        padding-left: 22px;
        padding-right: 15px;
        font-size: 12px;
    }

    .info-banner {
        min-height: 300px;
    }

    .section-info {
        margin-left: 15px;
        margin-right: 15px;
        padding-top: 50px;

    }

    .section-info h2 {
        padding: 0;
        font-size: 26px;
        text-transform: uppercase;
        margin: 7px 15px;
    }

    .faq {
        margin-top: 0;
        margin-bottom: 0;
    }

    .faq h3 {
        text-transform: uppercase;
        margin: 0;
    }

    .faq p {
        margin-bottom: 0;
    }

    .sectiune {
        margin-left: 15px;
        margin-right: 15px;
    }

    .container {
        padding: 0;
        margin-top: 15px;
    }

    .sectiune-two {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 420px) {
    .info-banner h1 {
        font-size: 20px;
    }

    .item {
        padding: 18px;
    }
}