/* ОБЩИЕ СТИЛИ */
.title{
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
}
.text{
    color: #e5e7eb;
    font-family: 'Montserrat';
    font-weight: 400;
}
/* АНМАЦИЯ ДЛЯ ВСЕХ КНОПОК */
button{
    -webkit-transition: .2s;
    transition: .2s;
}
button:hover{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    filter: brightness(0.91);
}
button:active{
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
/* НАСЛЕДОВАЯНИЕ АНИМАЦИИ ДЛЯ СЫЛОК */
a{
    display: inline-block;
}
/* УВЕЛИЧЕНИЕ БЛОКА ПРИ НАВЕДЕНИИ */
.scale_block{
    transition: .2s;
    -webkit-transition: .2s;
}
.scale_block:hover{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}
/* ДИНАМИЧНЫЙ ФОН */
.bubblesContainer{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Чтобы пузырьки находились позади основного контента */
    pointer-events: none; /* Чтобы пузырьки не реагировали на клик или наведение */
}
canvas{
    display: block;
}
.frostedGlass{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.3); /* Полупрозрачный черный фон */
    -webkit-backdrop-filter: blur(10px); /* Эффект "матового стекла" */
    backdrop-filter: blur(10px); /* Эффект "матового стекла" */
    z-index: 1; /* Чтобы фон находился над основным холстом */
}
/* HEADER */
.header{
    width: 100%;
    height: 100px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: fixed;
    transform: 0.3s ease;
    z-index: 1;
}
.logo_link{
    background: linear-gradient(#9333ea, #ec4899);
    font-size: 28px;
    font-family: 'Montserrat';
    font-weight: 800;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.header_list{
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.header_item{
    margin-left: 16px;
    padding: 5px;
    position: relative;
    transition: .2s;
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    opacity: 0.8;
}
.header_item::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 4px;
            background-image: linear-gradient(to right, magenta, purple);
            border-radius: 2px;
            transition: .2s;
}
.header_item:hover::after {
            width: 100%;
}
.header_item.active::after {
        width: 100%; /* Постоянная ширина для активного пункта */
}
.header_item:hover {
        background-color: rgba(255, 255, 255, 0.1); /* Полупрозрачный белый фон */
        opacity: 1;
}
.header_link{
    font-size: 18px;
    color: white;
    opacity: 80%;
    transition: .2s;
}
/* СКРЫТОЕ МЕНЮ! */
.menu_icon {
    cursor: pointer;
    display: none;
    width: 100px;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
    width: 100%;
    height: 50px;
    opacity: 0.5;
}
.menu_icon:hover{
    opacity: 1;
}
.close_menu_icon{
    display: none;
    width: 120px;
    height: 50px;
    margin-top: 30px;
    align-items: center;
    margin-bottom: 50px;
    width: 100%;
    height: 50px;
    opacity: 0.5;

}
.close_menu_icon:hover{
    opacity: 1;
}
/* HOME PAGE */
.home{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 150px;
}
.home_content{
    flex-direction: column;
}
.welcome{
    text-align: center;
    max-width: 1000px;
}
.welcome_title{
    font-size: 100px;
    font-family: 'Montserrat';
    font-weight: 900;
}
.welcome_text{
    font-size: 32px;
}
.welcome_button{
    width: 250px;
    height: 60px;
    background: linear-gradient(#ec38d1, #f70d4f);
    border-radius: 20px;
}
.welcome_button_text{
    font-size: 22px;
    font-weight: 500;
    transition: inherit;
    -webkit-transition: inherit;
}
.welcome>h1,p,button{
    margin-top: 25px;
}
.adv{
    margin-top: 48px;
}
.adv_block{
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(50, 50, 50, 0.1);
    width: 300px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin-left: 15px;
    transition: .2s;
}
.adv_block:hover{
    transform: scale(1.1);
}
.adv_img{
    width: 50px;
    height: 100%;
}
.adv_text{
    margin-left: 15px;
    font-size: 18px;
    font-weight: 500;
}
/* HELP CENTER */
.help_block{
    margin: 30px 0px 30px 0px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(10, 10, 10, 0.4);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    height: 12vw;
}
.question{
    font-size: 24px;
    font-weight: bold;
}
.help_block>p{
    background-color: rgba(95, 95, 95, 0.3);
    border-radius: 10px;
    padding: 25px 25px 25px 15px;
    font-size: 20px;
    align-items: center;
}
.question_in_telegram_link{
    display: flex;
    justify-content: center;
    align-items: center;
}
.question_in_telegram_button{
    background: linear-gradient(to right, #508ffc, #347efe);
    border-radius: 50px;
    width: 400px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.question_in_telegram_button_text{
    font-size: 18px;
    font-weight: bold;
}
.question_in_telegram_icon{
    width: 36px;
    height: 36px;
    margin-right: 10px;
}
/* CONNECT SECTION */
.connect_title{
    font-size: 30px;
    font-weight: bold;
}
.connect_block{
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 18vw;
    padding: 30px;
    margin-left: 30px;
    border-radius: 20px;
    background-color: rgba(50, 50, 50, 0.3);
}
.connect_block>p{
    font-size: 20px;
    font-weight:500;
    color: #dcdcdc;
}
.server_ip{
    background-color: rgba(10, 10, 10, 0.6);
    border-radius: 10px;
    padding: 15px 15px 15px 15px;
    margin: 10px 0 0 0;
}
.server_ip_text{
    color: #f378c0;
    font-weight: bold;
    font-size: 20px;
    font-family: 'Space Mono';
}
.copy_icon{
    display: inline-block;
    width: 36px;
    height: 36px;
    vertical-align: middle;
    cursor: pointer;
    opacity: 0.8;
}
.copied-icon {
    filter: invert(30%); /* Например, инвертируем цвет */
    -webkit-filter: invert(30%);
}
/* FOOTER */
.footer{
    padding: 20px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(30, 30, 30, 0.3);
}
.footer_content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social{
    display: flex;
}
.social_links{
    margin-left: 10px;
}
.social_icons{
    width: 50px;
    height: 50px;
    opacity: 0.5;
    transition: .2s;
}
.social_icons:hover{
    opacity: 1;
    /* transition: .3s; */
}
.copyright{
    color: white;
    font-size: 20px;
    opacity: 0.5;
}
.copyright:hover{
    opacity: 1;
    transition: .3s;
}
@media (min-width: 768px) {
            .menu_icon {
                display: none;
            }
        }

        /* Показать кнопку меню на маленьких экранах */
        @media (max-width: 768px) {
            .menu_icon {
                display: block;
            }
            .close_menu_icon{
                display: block;
            }
            .header_list {
                position: fixed;
                top: 0;
                right: 0;
                width: 200px;
                height: 100vh;
                display: flex;
                background: rgba(10, 10, 10, 0.8);
                flex-direction: column;
                align-items: center;
                text-align: center;
                justify-content:start;
                transform: translateX(100%);
                transition: transform 0.3s ease;
                border-radius: 20px;
            }
            .header_item {
                margin-bottom: 50px;
                text-align: center;
                margin-left: 0px;
            }
            .header_link{
                text-align: center;
            }
            .logo_link{
                font-size: 24px;
            }
            .header_list.active {
                transform: translateX(0);
            }
            .welcome_title{
                text-align: center;
                font-size: 48px;
            }
            .welcome>p{
                font-size: 24px;
                max-width: 300px;
                text-align: justify;
            }
            .welcome_button_text{
                font-size: 18px;
                font-weight: 500;
            }
            .welcome>h1,p,button{
                margin-top: 18px;
            }
            .adv{
                margin-top: 18px;
                flex-direction: column;
            }
            .adv_block{
                margin-top: 14px;
                margin-left: 0px;
                width: 100%;
                justify-content: space-between;
                transition: none;
            }
            .adv_block:hover{
                transform: none;
            }
            .title{
                font-size: 32px;
            }
            .connect_blocks{
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-top: 15px;
                flex-direction: column;
            }
            .connect_title{
                font-size: 24px;
                font-weight: bold;
            }
            .connect_block{
                -webkit-backdrop-filter: blur(10px);
                backdrop-filter: blur(10px);
                /* background-color: azure; */
                width: 100%;
                height: 150%;
                /* background-color: black; */
                padding: 20px;
                margin: 20px;
                border-radius: 20px;
                background-color: rgba(50, 50, 50, 0.3);
            }
            .server_ip{
                width: 100%;
                margin-right: 0;
                margin-left: 0;
                flex-direction: column;
            }
            .server_ip_text{
                font-size: 16px;
                margin-bottom: 5px;
            }
            .connect_block>p{
                font-size: 18px;
                font-weight: 500;
            }
            /* HELP CENTER */
            .help_block{
                margin: 30px 0px 30px 0px;
                -webkit-backdrop-filter: blur(5px);
                backdrop-filter: blur(5px);
                background-color: rgba(10, 10, 10, 0.4);
                border-radius: 20px;
                width: 100%;
                padding: 20px;
                height: 300%;
            }
            .help_block>p{
                background-color: rgba(95, 95, 95, 0.3);
                /* backdrop-filter: blur(50px); */
                border-radius: 10px;
                /* padding: 20px; */
                /* margin-left: 5px; */
                font-size: 18px;
                padding-top: 10px;
                align-items: center;
            }
            .help_block>span{
                font-size: 20px;
                font-weight: 400;
            }
            .question_in_telegram_link{
                display: flex;
                justify-content: center;
                align-items: center;
            }
            .question_in_telegram{
                background: linear-gradient(#6299f9, #397ff5);
                border-radius: 20px;
                width: 300px;
                height: 60px;
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 20px;
            }
            .question_in_telegram_button_text{
                font-size: 18px;
                font-weight: 600;
            }
            .question_in_telegram_icon{
                width: 36px;
                height: 36px;
                margin-right: 10px;
            }
            /* FOOTER */
            .footer{
                padding: 20px;
                -webkit-backdrop-filter: blur(10px);
                backdrop-filter: blur(10px);
                background: rgba(30, 30, 30, 0.3);
            }
            .footer_content{
                justify-content: center;
                flex-direction: column;
            }
            .social_links{
                margin-left: 10px;
                margin-bottom: 20px;
            }
            .copyright{
                font-size: 20px;
                text-align: center;
            }
        }
