/* header */
.top_bar__left {
    display: none;
}
.top_bar {
    padding: 6px 80px;
    display: flex;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(9px);
    align-items: center;
}
.mini-icon {
    width: 20px;
    height: 20px;
    fill: white;
    transition: fill 0.2s ease;
}
.mini-icon:hover {
    fill: #39EA5D;
    cursor: pointer;
}
.top_bar img {
    display: none;
}
.top_bar__left {
    display: flex;
    grid-gap: 12px;
}
/* .top_bar__left:hover path{
    fill: #00E37B;
    cursor: pointer;
} */
.top_bar__right {
    color: #FFF;
    font-family: "ALS Sirius";
    font-size: 14px;
    
    font-weight: 400;
    line-height: 27px;
}

.types_list {
    display: none;
}

.old_header {
    margin: 24px 80px;
    display: flex;
    padding: 8px 16px;
    justify-content: space-between;
    align-items: center;

    border-image: linear-gradient(to right, #3acfd5 0%, #3a4ed5 100%) 1;
    border-width: 2px;
    border-style: solid;
    border-radius: 100px;

    background: var(--Surface-Surface-light, rgba(255, 255, 255, 0.05));
    background-blend-mode: luminosity;
    backdrop-filter: blur(9px);
}

.header {
    color: white;
    padding: 0px 16px;
    display: inline-block;
    margin: 24px 80px 0;
    position: relative;
    z-index: 0;
    width: calc(100% - 32px - 160px);

    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    backdrop-filter: blur(9px);
}
.header:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1px;
    border-radius: 100px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.5) 76.5%, rgba(255, 255, 255, 0.1) 100%);
    mask: 
        linear-gradient(rgba(27, 27, 35, 1) 0 0) exclude, 
        linear-gradient(rgba(27, 27, 35, 1) 0 0) content-box;
}
.header_left {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 64px;
}
.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__logo {
    position: relative;
    display: flex;
}
.header__logo a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.header__menu {
    display: flex;
    gap: 24px;
    /* display: none; */
}
.header__menu__elem {
    font-family: "ALS Sirius";
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    cursor: pointer;
    transition: color 0.2s ease;

    text-decoration: none;
    outline: none;
    background-color: transparent;
    -webkit-tap-highlight-color: transparent;
    padding: 22px 0;

    color: rgba(255, 255, 255, 0.70);
}

/* header new */
.header__menu__elem > a, .types_list__elem > a  {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    color: inherit;
}
.header__menu__elem:hover {
    color: rgba(57, 234, 93, 1);
}
.header__menu__elem_active {
    color: rgba(57, 234, 93, 1);
}

.header__menu__section {
    /* display: none; */
    position: relative;
    color: rgba(255, 255, 255, 0.70);
}
.header__menu__section .header__menu__elem, .header__menu__section .types_list__elem {
    color: rgba(255, 255, 255, 0.70);
    fill: rgba(255, 255, 255, 0.70);

    transition: color, fill 0.2s ease;
}
.header__menu__section:hover .header__menu__elem,  .header__menu__section:hover .types_list__elem {
    color: rgba(57, 234, 93, 1);
    fill: rgba(57, 234, 93, 1);
}
.header__menu__section svg {
    min-height: 12px;
    min-width: 12px;
    transition: all 0.2s ease;
}
.header__menu__section:hover svg {
    transform: rotate(180deg)
}

.menu-container {
    background: #2c3e50;
    padding: 1rem 0;
}
.menu-wrapper {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section_menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 34, 1);
    width: fit-content;

    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    backdrop-filter: blur(5px);
    
    transition: all 0.2s ease;
    border-radius: 10px;
    padding: 6px 8px;
    z-index: 1000;
    
    font-family: "ALS Sirius";
    font-size: 12px;
    max-width: 300px;
    box-sizing: border-box;
}
.section_menu-link {
    color: rgba(255, 255, 255, 0.70);
    padding: 12px;
    display: block;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;

    max-width: 200px;
    white-space: normal;
}
.section_menu-link:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.section_menu-link:hover {
    color: rgba(57, 234, 93, 1);
}
.header__menu__section:hover > .section_menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* header new -- END*/
.header__buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}
.burger_button_old {
    background: 
        linear-gradient(rgba(27, 27, 35, 1) 0 0) padding-box,
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.8) 76.5%, rgba(255, 255, 255, 0.1) 100%) border-box;
    padding: 13px;
    border: 1px solid transparent;
    border-radius: 65.104px;
    cursor: pointer;

    position: relative;
    display: none;
}
.burger_button {
    display: none;
    padding: 14px;

    border-radius: 65.104px;
    border: none;

    color: white;
    position: relative;
    z-index: 0;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(9px);

    cursor: pointer;

    transition: background 0.2s ease;
}
.burger_button:hover {
    background: none;
}
.burger_button:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1px;
    border-radius: 65.104px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.5) 76.5%, rgba(255, 255, 255, 0.1) 100%);
    mask: 
        linear-gradient(rgba(27, 27, 35, 1) 0 0) exclude, 
        linear-gradient(rgba(27, 27, 35, 1) 0 0) content-box;
}
.burger_button:after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    padding: 1px;
    border-radius: 65.104px;

    background: linear-gradient(91deg, rgba(123, 32, 230, 0.00) 33.59%, rgba(123, 32, 230, 0.20) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.burger_button:hover:after {
    opacity: 1;
}

.burger_button a{
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    width: 100%;
    height: 100%;

    z-index: 10;
}
.burger_button img {
    display: block;
    margin: 0 auto;
}
.chat_bot_button {
    min-height: 52px;
    width: fit-content;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0px 28px 0px 32px;
    gap: 8px;

    border-radius: 69px;
    border: 1px solid rgba(255, 255, 255, 0);

    background: 
        linear-gradient(93deg, #D270F3 0%, #6F6BEE 39.5%, #4F8BFE 62%, #00E37B 100%) padding-box,
        linear-gradient(90deg, rgba(0, 227, 123, 0.2) 0%, rgba(255, 255, 255, 1) 76.5%, rgba(0, 227, 123, 0.1) 100%) border-box;
    box-shadow: 0px 0px 8px -2px #D270F3;

    color: #FFF;
    text-align: center;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "ALS Sirius";
    font-size: 14px;
    font-weight: bold;

    fill: white;
    transition: background 0.5s ease-in-out;
}
.chat_bot_button#chat_bot_button_header {
    min-height: 42px !important;
    font-size: 12px;
}
.chat_bot_button::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;

    border-radius: 69px;
    border: none;
    
    background: 
        linear-gradient(93deg, #00E37B 0%, #4F8BFE 39.5%, #6F6BEE 62%, #D270F3 100%) padding-box,
        linear-gradient(90deg, rgba(0, 227, 123, 0.2) 0%, rgba(255, 255, 255, 1) 76.5%, rgba(0, 227, 123, 0.1) 100%) border-box;
    box-shadow: 0px 0px 13.7px -2px #00E37B;
    transition: opacity 0.5s ease-in-out;

    opacity: 0;
}
.chat_bot_button:hover {
    border: 1px solid white;
}
.chat_bot_button:hover::before {
    opacity: 1;
    cursor: pointer;
}
.chat_bot_button * {
    z-index: 2;
    user-select: none;
    cursor: pointer;
	line-height: 14px;
}
.chat_bot_button a {
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    width: 100%;
    height: 100%;
    z-index: 3;

    user-select: none;
    cursor: pointer;
}
.chat_bot_button__disable {
    display: inline-flex;
    padding: 16px 28px 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;

    border-radius: 69px;
    border: none;
    width: fit-content;
    backdrop-filter: blur(9px);
}
.chat_bot_button__disable::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1px;
    border-radius: 100px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.5) 76.5%, rgba(255, 255, 255, 0.1) 100%);
    mask: linear-gradient(rgba(27, 27, 35, 1) 0 0) exclude, linear-gradient(rgba(27, 27, 35, 1) 0 0) content-box;
}
.chat_bot_button__disable p {
    color: rgba(255, 255, 255, 0.40);
    text-align: center;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "ALS Sirius";
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .top_bar {
        display: none;
    }
    .header {
        margin: 0;
        border: none;
        border-radius: 0px;

        width: calc(100% - 32px);

        background: #0E0E15;

        padding: 8px 16px;
    }
    .header:before {
            background: none;
    }
    .header__menu {
        display: none;
    }
    #chat_bot_button_header {
        padding: 10px 24px 10px 28px;
        display: none;
    }
    #chat_bot_button_header > p {
        font-size: 12px;
    }
    .types_list {
        display: flex;
        padding: 12px 12px 0px 12px;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 12px;
        align-self: stretch;

        background: #1A1A22;
        backdrop-filter: blur(9px);
    }
    .types_list__elem {
        text-align: center;
  
        font-family: "ALS Sirius";
        font-size: 12px;
        
        line-height: 16px;

        padding: 0px 0px 12px 0px;

        color: rgba(255, 255, 255, 0.70);
        cursor: pointer;
    }
    .types_list__elem > a {
        color: inherit;
        text-decoration: none; 
        outline: none;
        background-color: transparent;
        -webkit-tap-highlight-color: transparent;
    }
    .types_list__elem__active {
        color: #39EA5D;
        border-bottom: 1px solid #39EA5D;
    }
}
@media (max-width: 600px) {
    .types_list {
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
    }
    .types_list__elem {
        max-width: 100px;
    }
}