@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz@6..12&family=Open+Sans:wght@300&family=Quicksand:wght@300;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&family=Nunito+Sans:opsz,wght@6..12,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-size: var(--white-color);
}

:root {
    --bg-body-color: linear-gradient(to bottom, #533FCA, #000746);
    --items-bg: linear-gradient(to bottom right, #6800ED, #2A004B);
    --header-bg: #171717;
    --elements-bg: #324064;
    --white: #ffffff;
    --main-accent: #FF3939;
    --secondary-accent: #01239C;
    --text-secondary: #bfc6e1;
    --devider: #6070AB;
    --secondary-font-family: 'Montserrat', sans-serif;
}


body {
    background: linear-gradient(to bottom, #533FCA, #000746);
    width: 100%;
    height: 100%;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

.container {
    padding: 0px 60px;
}

header {
    width: 100%;
    background-color: var(--header-bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 80px;
}

header .container {
    padding-top: 0px;
    padding-bottom: 0px;
    height: 100%;
}

header .wrapper {
    display: none;
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px
}

header ul li {
    display: flex;
    align-items: center;
    list-style-type: none;
    height: 100%;
    padding: 0 10px;
    transition: all .5s;
}

header ul li:hover {
    background-color: var(--main-accent)
}

header ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 100;
}

header ul li a img {
    width: 30px;
}

.logo {
    display: block;
    margin: 120px auto 0px auto;
    width: 10%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    box-sizing: border-box;
    color: #fff;
    user-select: none;
    white-space: nowrap;
    font-weight: 600;
    font-size: .775rem;
    text-decoration: none;
    transition: all .5s;
    cursor: pointer;
    font-family: var(--primary-font-family);
    border-radius: 35px;
    background-color: var(--main-accent);
    border: 2px solid var(--main-accent);
    padding: 0 30px;
}

.btn:hover {
    background-color: transparent;
    border: 2px solid var(--main-accent)
}

.banner_section {
    margin-top: 40px;
}

.banner_item {
    background: linear-gradient(to bottom right, #6800ED, #2A004B);
    padding: 16px;
    padding-bottom: 40px;
    border-radius: 35px
}

.banner_section .wrapper {
    display: grid;
    gap: 30px;
    position: relative;
}


.banner_item:nth-child(1) {
    grid-column-start: 0;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 1;
}

.banner_item:nth-child(2) {
    grid-column-start: 0;
    grid-column-end: 1;
    grid-row-start: 2;
    grid-row-end: 2;
}

.banner_item:nth-child(3) {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 1;
    grid-row-end: span 1;
    /* Оставляем 1 строку */
    margin-bottom: -100px;
    /* Увеличиваем нижний отступ на 50 пикселей */
    position: relative;
    -webkit-box-shadow: 0px -6px 34px 4px rgba(0, 133, 255, 1);
    -moz-box-shadow: 0px -6px 34px 4px rgba(0, 133, 255, 1);
    box-shadow: 0px 0px 34px 10px rgba(0, 133, 255, 1);
}

.banner_item:nth-child(4) {
    grid-column-start: 9;
    grid-column-end: 10;
    grid-row-start: 1;
    grid-row-end: 1;
}

.banner_item:nth-child(5) {
    grid-column-start: 9;
    grid-column-end: 10;
    grid-row-start: 2;
    grid-row-end: 2;
}

.banner_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.banner_title {
    font-size: 66px;
    color: var(--white);
    text-align: center;
    line-height: 2rem;
    font-family: var(--secondary-font-family);
}

.banner_title span {
    font-size: 32px;
    font-family: var(--secondary-font-family);
}

.banner_item {
    min-width: 200px;
    border: 1px solid #6501E5;
}

.banner_item img {
    width: 150px;
}

.main_banner {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    box-sizing: border-box;
    overflow: hidden;
}

.main_banner img {
    width: 60%;
    position: absolute;
    left: -15%;
    bottom: 0%;
}

.main_banner .banner_wrapper {
    justify-content: center;
    width: 60%;
}

.main_banner .banner_title {
    line-height: 3rem;
}

.main_banner .banner_title span {
    font-size: 50px;
}

.main_banner .banner_title span:last-child {
    line-height: 5rem;
    font-size: 90px;
}

.main_banner .banner_title span:last-child span {
    color: var(--main-accent)
}

.main_banner .btn {
    padding: 25px 50px;
    font-size: 1.5rem;
}

.game_list {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 50%);
    display: flex;
    justify-content: center;
    gap: 40px;
}

.game_list img {
    max-width: 250px;
}

.content_section {
    width: 60%;
    margin: 0 auto;
    margin-top: 150px;
    color: var(--white);
}

.content_section a {
    color: #FFC700;
    text-decoration: underline;
}

.content_section h1 {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.content_section h2 {
    font-size: 32px;
    margin: 20px 0px;
    text-align: center;
}

.content_section h3 {
    font-size: 26px;
    margin: 20px 0px;
    text-align: center;
}

.content_section p {
    font-size: 1rem;
    font-style: normal;
    line-height: 30px;
}


.content_section ul {
    list-style: none;
    margin: 20px;
}

.content_section ul,
.content_section ol {
    margin: 20px;
}


.content_section ul li,
.content_section ol li {
    line-height: 30px;
}


.content_section ul li::before {
    content: "\2022";
    color: var(--main-accent);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.text-img {
    width: 100%;
    display: block;
    border-radius: 5px;
    margin: 40px auto;
}

.txt_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 60px 0;
}

.txt_btn .btn {
    text-decoration: none;
    color: var(--white);
    padding: 40px 50px;
    font-size: 1.875rem;
    border-radius: 50px
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
}

th,
td {
    border: 1px solid var(--secondary-accent);
    padding: 8px;
    text-align: left;
}

th {
    background-color: #6070AB;
    color: #fff;
}


tr:nth-child(even) {
    background-color: var(--elements-bg);
}

tr:hover {
    background-color: var(--main-accent);
    color: #fff;
}

.flex_wrapper {
    display: flex;
}

.flex_wrapper h2 {
    text-align: left;
}

.flex_wrapper .txt_content {
    width: 60%;
}

.flex_wrapper .img_content {
    display: flex;
    align-items: center
}

.flex_wrapper .img_content img {
    width: 100%;
}

.games_footer {
    margin: 60px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

footer {
    background-color: var(--header-bg);
}

footer .container {
    padding-top: 40px;
    padding-bottom: 40px;
}

footer .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer img {
    width: 10%;
    margin-bottom: 20px;
}

footer p {
    color: var(--white);
}

footer .copyright {
    opacity: .8;
    font-size: .875rem;
    margin-top: 20px;
}

.mobile_menu{
    display: none;
}

@media(max-width: 1600px) {
    .banner_title {
        font-size: 46px;
    }

    .main_banner .banner_title span {
        font-size: 36px;
    }

    .main_banner .banner_title span:last-child {
        line-height: 5rem;
        font-size: 70px;
    }

    .banner_item:nth-child(3) {
        margin-bottom: -50px;
    }

    .game_list {
        gap: 20px;
    }

    .game_list img {
        max-width: 140px;
    }

    .content_section {
        width: 80%;
    }
}

@media(max-width: 1200px) {
    .banner_item:nth-child(1) {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 2;
        grid-row-end: 2;
    }

    .banner_item:nth-child(2) {
        grid-column-start: 2;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 2;
    }

    .banner_item:nth-child(3) {
        grid-column-start: 1;
        grid-column-end: 3;
        margin-bottom: 0px;
        /* Увеличиваем нижний отступ на 50 пикселей */
        position: relative;
    }

    .banner_item:nth-child(4) {
        grid-column-start: 1;
        grid-column-end: 1;
        grid-row-start: 3;
        grid-row-end: 3;
    }

    .banner_item:nth-child(5) {
        grid-column-start: 2;
        grid-column-end: 2;
        grid-row-start: 3;
        grid-row-end: 3;
    }

    .game_list {
        position: relative;
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 4;
        grid-row-end: 4;
        transform: translate(-50%, 10%);
    }

    .content_section {
        margin-top: 40px;
    }
}


@media(max-width: 900px) {
    .container {
        padding: 0px 30px;
    }

    header {
        background: linear-gradient(180deg, rgba(83,63,201,1) 59%, rgba(0,133,255,1) 100%);

    }

    header ul {
        display: none;
    }

    header .wrapper {
        display: flex;
        align-items: center;
        height: 100%;
        width: 100%;
    }

    .brgr {
        background-color: var(--main-accent);
        padding: 10px 5px;
        padding-right: -20px;
        border-radius: 0 0 0 5px;
        position: absolute;
        right: 0%;
        top: 0%;
    }

    .burger__menu {
        display: block;
        position: relative;
        width: 65px;
        height: 45px;
        cursor: pointer;
        margin: 0px 10px;
        margin-right: 0px;
        padding-right: 0px;
    }

    .burger__menu span,
    .burger__menu::before,
    .burger__menu::after {
        position: absolute;
        height: 6px;
        width: 65px;
        transition: all 0.3s ease 0s;
        background-color: var(--white);
        border-radius: 50px;
    }

    .burger__menu::before,
    .burger__menu::after {
        content: "";
    }

    .burger__menu::before {
        top: 0;
    }

    .burger__menu::after {
        bottom: 0;
    }

    .burger__menu span {
        top: 50%;
        transform: scale(1) translate(0px, -50%);
    }

    .burger__menu._active span {
        transform: scale(0) translate(0px, -50%);
    }

    .burger__menu._active::before {
        top: 50%;
        transform: rotate(45deg) translate(0px, -50%);
    }

    .burger__menu._active::after {
        bottom: 50%;
        transform: rotate(-45deg) translate(0px, 50%);
    }

    .mobile_menu{
        display: block;
        position: fixed;
        top: 0%;
        left: -100%;
        width: 200px;
        height: 100%;
        background: linear-gradient(0deg, rgba(83,63,201,1) 72%, rgba(0,133,255,1) 100%);
        transition: all .5s;
    }

    .mobile_menu._active{
        left: 0;
    }

    .mobile_menu .container{
        margin-top: 60px;
        height: 70%;
    }

    .mobile_menu .wrapper{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: flex-start;
        gap: 40px;

        margin-top: 100px;
    }

    .mobile_menu ul {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        gap: 40px;
    }

    .mobile_menu ul li {
        list-style-type: none;
        font-size: 1rem;
    }

    .mobile_menu ul li a {
        color: var(--white);
        text-decoration: none;
    }

    .mobile_menu-btns{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .mobile_menu-btns .btn:first-child{
        background-color: transparent;
    }

    .mobile_menu-btns div{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .game_list{
        flex-wrap: wrap;
    }

    .flex_wrapper {
        flex-direction: column;
    }

    .flex_wrapper .txt_content {
        width: 100%;
    }

    .games_footer {
        gap: 40px;
    }

    .games_footer img {
        width: 30%;
    }

    .logo {
        width: 30%;
    }

    .main_banner .banner_title {
        line-height: 2rem;
    }

    .content_section {
        width: 90%;
    }

}

@media(max-width: 600px) {
    .container {
        padding: 0px 20px;
    }

    header .wrapper img{
        width: 50%;
    }

    .logo {
       display: none;
    }

    .banner_section{
        margin-top: 80px;
    }

    .banner_section .container{
        padding: 0px;
    }

    .banner_section .wrapper{
        gap: 10px;
    }

    .banner_item {
        min-width: 120px;
        border-radius: 15px;
        padding-bottom: 20px
    }

    .banner_item .btn{
        padding: 15px 20px;
    }

    .banner_wrapper {
        gap: 10px;
    }

    .banner_item img {
        width: 100px;
    }

    .banner_title {
        font-size: 36px;
    }

    .main_banner .banner_title span {
        font-size: 26px;
    }

    .main_banner .banner_title span:last-child {
        line-height: 5rem;
        font-size: 50px;
    }


    .main_banner .banner_wrapper {
        justify-content: center;
        width: 100%;
    }

    .banner_item:nth-child(1),
    .banner_item:nth-child(4) {
        margin-left: 10px;
    }

    .banner_item:nth-child(2),
    .banner_item:nth-child(5) {
       margin-right: 10px;
    }

    .banner_item:nth-child(3){
        border-radius: 0;
    }

    .main_banner .banner_wrapper{
       width: 60%;
    }

    .main_banner img {
        width: 50%;
    }

    .main_banner .banner_title {
        font-size: 26px;
        line-height: 1.2rem;
    }

    .main_banner .banner_title span {
        font-size: 20px;
    }
    
    .main_banner .banner_title span:last-child {
        line-height: 2rem;
        font-size: 40px;
    }

    .game_list img {
        max-width: 180px;
    }

    .content_section {
        width: 100%;
    }

    .txt_btn{
        margin: 40px auto;
    }

    .text-img{
        margin: 20px auto;
    }

    .games_footer{
        margin: 10px auto;
        flex-wrap: wrap;
    }

    .games_footer img{
        width: 100%;
    }

    footer p {
        text-align: center;
    }

}

@media(max-width: 400px){
    td p {
        font-size: .825rem !important;
    }
}

@media(max-width: 375px){

    .banner_item {
        padding: 10px;
        padding-bottom: 20px;
    }

    .banner_item img {
        width: 80px;
    }

    .banner_item .btn {
        padding: 5px 10px;
        font-size: .625rem;
        min-width: 112px
    }

    .game_list img {
        max-width: 135px;
    }

    .main_banner .banner_title {
        font-size: 20px;
        line-height: 1.2rem;
    }

    .txt_btn .btn {
        padding: 25px 40px;
        font-size: 1rem;
    }

    .main_banner .banner_title span:last-child {
        line-height: 2rem;
        font-size: 30px;
    }

    .main_banner img {
        width: 60%;
    }

    .main_banner .banner_title span {
        font-size: 18px;
    }

    .mobile_menu ul {
        gap: 15px;
    }

    .mobile_menu-btns div{
        gap: 20px;
    }

    td p {
        font-size: .6725rem !important;
    }
}