@font-face {
    font-family: 'Roboto',sans-serif;
    src: url('fonts/Roboto-Black.ttf') format('ttf'), /* Формат WOFF2 */
         url('fonts//Roboto-BlackItalic.ttf') format('ttf'),
         url('fonts/Roboto-Bold.ttf') format('ttf'),
         url('fonts/Roboto-BoldItalic.ttf') format('ttf'),
         url('fonts/Roboto-Italic.ttf') format('ttf'),
         url('fonts/Roboto-Light.ttf') format('ttf'),
         url('fonts/Roboto-LightItalic.ttf') format('ttf'),
         url('fonts/Roboto-Medium.ttf') format('ttf'),
         url('fonts/Roboto-MediumItalic.ttf') format('ttf'),
         url('fonts/Roboto-Regular.ttf') format('ttf'),
         url('fonts/Roboto-Thin.ttf') format('ttf'),
         url('fonts/Roboto-ThinItalic.ttf') format('ttf'); /* Формат WOFF */
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-size: var(--white-color);
    box-sizing: border-box;
    font-family: var(--primary-font-family);
}



:root {
    --sidebar_bg: #1F2D43;
    --body-bg: #172032;
    --base-elements: #324064;
    --base-text-secondary: #BFC6E1;
    --base-surface: #1F2D43;
    --primary-solid: #fde410;
    --primary-gradient: linear-gradient(273.8deg, #D10E0E 15.88%, #FF3939 98.99%);
    --base-text-placeholder: #AFB3C9;
    --base-divider: #6070AB;
    --primary-font-family: 'Roboto',sans-serif;
}

body{
    box-sizing: border-box;
    background-color: #222;
}

.link{
    cursor: pointer;
}

.mob{
    display: none;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    background-color: #2f735e;
    z-index: 10;
}

.header__top{
    background-color: #333333;
    height: 40px;
    width: 100%;
    display: flex;
    padding: 0 20px;
}

.header__top-menu{
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    align-items: center;
    width: 100%;
}

.header__top-menu li {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.header__top-menu li img{
    width: 22px;
    height: 22px;
}

.header__top-menu li p{
    color: #ccc;
}

.header_links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.header_links .soclai_links{
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    gap: 10px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;

}

.header_links .soclai_links svg {
    width: 25px;
    height: 16px;
}

.header_links .soclai_links svg:hover path{
    fill: var(--primary-solid);
}

 .language {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100px;
    color: #ccc;
    font-size: 10px;
}

.header_links .language p {
    opacity: 0.8;
}

.header__top-menu li p:hover, .header_links .language p:hover{
    color: var(--primary-solid);
    opacity: 1;
}

.header_middle{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 20px;
    
}

.header_logo{
    height: 100%;
    display: flex;
    align-items: center;
    gap: 100px
}

.header_logo img {
    width: 100px;
}

.burger_btn {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transform: translateY(3px);
}

.burger_btn span,
.burger_btn::before,
.burger_btn::after {
    position: absolute;
    height: 15%;
    width: 150%;
    transition: all 0.3s ease 0s;
    background-color: var(--primary-solid);
    border-radius: 20px;
}

.burger_btn::before,
.burger_btn::after {
    content: "";
}

.burger_btn::before {
    top: 0;
}

.burger_btn::after {
    bottom: 0;
}

.burger_btn span {
    top: 50%;
    transform: scale(1) translate(0px, -50%);
}

.burger_btn._active span {
    transform: scale(0) translate(0px, -50%);
}

.burger_btn._active::before {
    top: 50%;
    transform: rotate(45deg) translate(0px, -50%);
}

.burger_btn._active::after {
    bottom: 50%;
    transform: rotate(-45deg) translate(0px, 50%);
}

.sub_menu-btn {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transform: translateY(3px);
}

.sub_menu-btn span,
.sub_menu-btn::before,
.sub_menu-btn::after {
    position: absolute;
    height: 15%;
    width: 150%;
    transition: all 0.3s ease 0s;
    background-color: var(--primary-solid);
    border-radius: 20px;
}

.sub_menu-btn::before,
.sub_menu-btn::after {
    content: "";
}

.sub_menu-btn::before {
    top: 0;
}

.sub_menu-btn::after {
    bottom: 0;
}

.sub_menu-btn span {
    top: 50%;
    transform: scale(1) translate(0px, -50%);
}

.sub_menu-btn._active span {
    transform: scale(0) translate(0px, -50%);
}

.sub_menu-btn._active::before {
    top: 50%;
    transform: rotate(45deg) translate(0px, -50%);
}

.sub_menu-btn._active::after {
    bottom: 50%;
    transform: rotate(-45deg) translate(0px, 50%);
}

.sub_menu{
    display: none;
    position: absolute;
    left: 250px;
    top: 61%;
    border-left: 5px solid #00b574;
    border-right: 1px solid #00b574;
}

.sub_menu._active{
    display: block;
}

.sub_menu li {
    list-style-type: none;
    height: 60px;
    width: 180px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10px 20px 20px;
    border-top: 1px solid #00b574;
    color: #fff;
    font-size: 14px;
    background: linear-gradient(180deg,#208868 0%,#2d735d 100%)
}

.sub_menu li img {
    width: 30px;
}


.header_btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header_btns svg {
    width: 30px;
}

.header_btns a{
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    color: #000;
    width: auto;
    height: 32px;
    border-radius: 10px;
    font-family: 'Source Sans Pro',sans-serif;
    padding: 0 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
}

.header_btns a.sign_up{
    background-color: var(--primary-solid);
}

.header_btns a img {
    width: 22px;
}

.header_btns a.sign_in img {
    width: 25px;
}
.header_btns a.sign_in{
    color: #fff;
}

.header_btns a.sign_in:hover{
    color: var(--primary-solid);
}

.header_bottom{
    width: 100%;
    height: 70px;
    border-top: 1px solid #00b574;
    padding: 0 40px;
    display: flex;
    justify-content: flex-start;
    gap: 70px;
    align-items: center;
}

.header_bonus {
    width: 176px;
    height: 50px;
}

.header_bottom ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.header_bottom ul li {
    list-style-type: none;
}

.header_bottom ul li a:hover{
    color: var(--primary-solid)
}

.header_bottom ul li a {
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.header_bottom ul li a img {
    width: 30px;
}

.main__slider{ 
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    margin-top: 180px;
}

.main__slider img {
    width: 100%;
}

.game_section{
    width: 100%;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.all_games {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.all_games img {
    width: 25px;
}

.all_games a {
    text-decoration: none;
    color: var(--primary-solid)
}

.game_section .wrapper {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
}

.game_section  .wrapper::after {
    content: '';
    position: absolute;
    bottom:-5%;
    left: -5%;
    width: 107%;
    height: 120px;
    box-shadow: inset 0px 10px 10px 100px #222222;
    filter: blur(20px);
}

.game_section .wrapper .img_item {
    width: 260px;
    position: relative;
    cursor: pointer;
}

.game_section .wrapper .img_item img {
    width: 100%;
}

.game_section .wrapper .img_item .game_active{
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 98%;
    background-color: rgba(0, 181, 116, 0.5);
    overflow-wrap: break-word;
    padding-top: 20px;

}

.game_section .wrapper .img_item .title{
    font-size: 24px;
    color: #fff;
    font-weight: 700;
}

.game_section .wrapper .img_item .btn{
    background-color: var(--primary-solid);
    color: #000
}

.game_section .wrapper .img_item .game_active._active{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game_section .wrapper .img_item .game_active .title{
    text-align: center;
}

.game_section .wrapper .img_item .btn:hover{
    color: #000;
    border-color: var(--primary-solid)
}

.btn {
    border: 2px solid;
    border-color: #fde410;
    color: #fde410;
    margin: 30px auto;
    text-align: center;
    text-decoration: none;
    padding: 10px 50px;
    border-radius: 10px;
}

.btn:hover{
    color: #fff;
    border-color: #fff;
}

.text_section{
    width: 100%;
    padding: 20px 50px;
}

.text_section .container{
    padding: 40px;
    background-color: #3a3a3a;
}

.text_section{
    color: #fff;
}

h1, h2, h3, h4, h5 {
    line-height: normal;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 25px;
    font-family: 'Source Sans Pro',sans-serif;
}

h1 {
    font-size: 3rem;
}

h2{
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}

.text_section p{
    word-break: break-word;
    line-height:  1.5rem;
    margin-bottom: 20px;
}

.text_section a {
    color: var(--primary-solid);
}

.text_section ul, .text_section ol {
    line-height: 1.5rem;
    margin-left: 20px;
    margin-bottom: 25px;
}

.text_section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
}

th,
td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

th {
    color: #fff;
}


tr:nth-child(even) {
}

tr:hover {
    color: #fff;
}

td p{
    font-size: 14px;
}

.txt_btn{
    width: 100%;
    margin: 60px auto;
    margin-bottom: 0;
    text-align: center;
}

.provider_section{
    width: 100%;
    padding: 50px;
}

.provider_section ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.provider_section ul li {
    list-style-type: none;
    width: 80px;
}

.provider_section ul li img {
    width: 100%;
}

.payment_method {
    width: 100%;
    padding: 20px 50px 20px 50px;
}

.payment_method .wrapper{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #2f735e;
    padding: 20px 0;
}

.payment_method .wrapper img {
    width: 130px;
}

footer{
    width: 100%;
    padding: 20px 50px;
}

footer .wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer .wrapper img {
    width: 120px;
}

footer .footer_links{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    width: 100%;
}

footer .footer_links ul li {
   list-style-type: none;
   margin-bottom: 10px;
    color: #a6a6a6
}

footer .footer_links ul li:hover{
    color: #fff;
}

footer .footer_links ul li.title{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px
}

.footer_social-links .links{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.footer_social-links svg{
    width: 25px;
    height: 25px;
}

.footer_social-links svg:hover path{
    fill: var(--primary-solid);
}

.copyright{
    text-align: center;
    width: 85%;
    color: #8c8c8c;
    line-height: 1.5rem;
    margin-top: 40px;
}

.mobile_menu{
    display: none;
}


@media(min-width: 1200px){
    .game_section{
        width: 1710px !important;
        margin: 0 auto;
    }

}



@media(max-width: 1200px) {
    .header__top-menu li {
        font-size: 10px;
    }

    .game_section .wrapper .img_item {
        width: 220px;
        position: relative;
        cursor: pointer;
    }
    
    .game_section .wrapper .img_item img {
        width: 100%;
    }
    
    footer .footer_links ul li {
        font-size: 14px;
     }
}

@media(max-width: 900px){
    .pc{
        display: none !important;
    }

    .burger_menu.mob{
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .burger_menu p{
        color: var(--primary-solid);
        font-weight: 700;
        transform: translateY(5px);
    }

    .header__top-menu, .header_links{
        display: none;
    }

    
    .header__top{
        height: 60px;
        align-items: center;
        justify-content: flex-end;
    }

    .header__top a.mob svg {
        width: 30px;
    }
    
    .header__top a.mob{
        display: flex;
        align-items: center;
        text-decoration: none;
        gap: 10px;
        color: #000;
        width: auto;
        height: 32px;
        border-radius: 10px;
        font-family: 'Source Sans Pro',sans-serif;
        padding: 0 15px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        font-size: 13px;
    }
    
    .header__top a.mob.sign_up{
        background-color: var(--primary-solid);
    }
    
    .header__top a.mob img {
        width: 22px;
    }
    
    .header__tops a.sign_in img {
        width: 25px;
    }
    .header__top a.sign_in{
        color: #fff;
    }
    
    .header__top a.sign_in:hover{
        color: var(--primary-solid);
    }

    .header_logo{
        width: 57.5%;
        flex-direction: row-reverse;
        justify-content: space-between;
        gap: 100px
    }

    .header_middle{
        height: 60px;
    }

    .main__slider{ 
        margin-top: 120px;
    }

    .game_section{
        padding: 40px 80px;
    }

    .game_section .wrapper .img_item {
        width: 298px;
    }

    .game_section  .wrapper::after {
        bottom:-2%;
    }

    .text_section{
        width: 100%;
        padding: 20px 0px;
    }

    .text_section .container{
        padding: 25px;
    }

    .provider_section{
        padding: 30px;
    }

    .provider_section ul {
        justify-content: center;
    }

    .payment_method {
        padding: 20px 30px 20px 30px;
    }

    footer{
        width: 100%;
        padding: 20px 30px;
    }

    footer .footer_links{
        flex-wrap: wrap;
        gap: 20px;
    }

    footer .footer_links ul {
        width: 215px;
    }

    footer .footer_links ul li {
        font-size: 14px;
    }

    .copyright{
        width: 100%;
    }

    .mobile_menu{
        display: block;
        background-color:#222;
         position: fixed;
        top: 0%;
        left: -100%;
        width: 100%;
        height: 100%;
        transition: all .5s ease;
        z-index: 101;
    }

    .mobile_menu._active{
        left: 0%
    }

    .mobile_menu .wrapper{
        height: 100%;
        width: 100%;
        max-width: 350px;
        padding-bottom: 50px;
        background: linear-gradient(180deg,#40a384 0%,#202020 93.83%);
        box-shadow: 0 0 15px rgba(0,0,0,0.5);
        overflow: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
    }

    .mobile_menu-header {
        position: relative;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 55px !important;
        width: 100%;
        background: #2f735e;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 0 20px;
    }

    .mobile_menu-header img {
        width: 120px;
        position: absolute;
        left: 35%;
    }

    .burger_btn-close {
        position: relative;
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .burger_btn-close span,
    .burger_btn-close::before,
    .burger_btn-close::after {
        position: absolute;
        height: 15%;
        width: 150%;
        transition: all 0.3s ease 0s;
        background-color: #c3c3c3;
        border-radius: 20px;
    }

    .burger_btn-close::before,
    .burger_btn-close::after {
        content: "";
    }

    .burger_btn-close::before {
        top: 0;
    }

    .burger_btn-close::after {
        bottom: 0;
    }

    .burger_btn-close span {
        transform: scale(0) translate(0px, -10%);
    }

    .burger_btn-close::before {
        top: 50%;
        transform: rotate(45deg) translate(0px, -70%);
    }

    .burger_btn-close::after {
        bottom: 50%;
        transform: rotate(-45deg) translate(0px, 50%);
    }

    .mob_nav {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding: 0 20px;
        gap: 20px;
        margin-bottom: 20px;
    }

    .mob_nav li {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        list-style-type: none;
        gap: 5px;
        width: 86px;
        height: 62px;
        border: 1px solid #fff;
        border-radius: 2px;
    }

    .mob_nav li img {
        width: 30px;
    }

    .mob_nav li p {
        font-size: 10px;
        color: #fff;
    }

    .mob_nav li a{
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .quick_links {
        padding: 0 20px;
    }

    .quick_links ul {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .quick_links ul li {
        list-style-type: none;
        color: #fff;
    }

}

@media(max-width: 600px){

    .header_logo{
        width: 66%;
        justify-content: flex-start;
        gap: 80px;
    }
    
    .game_section, .payment_method, footer {
        padding: 20px;
    }

    .game_section .wrapper .img_item {
        width: 180px;
    }

    .payment_method{
        padding:20px 0px;
    }
    
    .payment_method .wrapper {
        flex-wrap: wrap;
        gap: 20px;
    }
    .game_section .wrapper .img_item .title{
        font-size: 18px;
    }

   footer .footer_links {
        justify-content: center;
        text-align: center;
    }

    footer .footer_links ul {
        width: 100%;
    }

    .footer_social-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media(max-width: 400px){
    .header_logo{
        gap: 50px;
    }

    .game_section, .payment_method, footer {
        padding: 10px;
    }

    .game_section .wrapper .img_item {
        width: 170px;
    }
}

@media(max-width: 374px){
    .header_logo{
        gap: 50px;
    }

    .header_middle {
        justify-content: flex-end;
        gap: 20px;
    }

    .game_section, .payment_method, footer {
        padding: 10px;
    }

    .game_section .wrapper .img_item {
        width: 140px;
    }

    .mob_nav {
        gap: 10px;
    }
}