.header-btn-text {
    font-family: "SF", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
}

.header-free {
    font-family: "SF", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;

    color: #FFB932;
}

.header-tech-btn,
.header-auth-btn {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.header-tech-btn {
    font-family: "SF", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 13px 0px;
    color: #7793A1;
    border: 2px solid #0B090BF2;
    border-radius: 13px;
    transition: all 0.3s ease;
}

.header-tech-btn:hover {
    background: #111111;
    /*border: 2px solid #151515;*/
    color: #27CA8E;
    transform: scale(97%);
}


.header-user {
    position: relative;
}


.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 50px;
    background: #0B090BF2;
    border-bottom: 1px solid #121618;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backdrop-filter: blur(10px);
}

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

.nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
    max-width: 100%;
}

.header-center {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    margin: 0 15px;
}

.header-center-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #687894;
    background: #111111;
    border: 2px solid #151515;
    border-radius: 13px;
    padding: 13px 23px;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.header-btn:hover {
    color: #fff;
    transform: scale(97%);
    background: #151515;
}

.header-btn:hover .header-btn-icon {
    color: #27CA8E;
}

.header-btn-icon {
    color: #687894;
    margin-right: 15px;
    transition: color 0.3s ease;
    width: 20px;
    height: 20px;
}

.header-free {
    color: #FFB932;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-right-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.header-tech-btn,
.header-auth-btn {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.header-tech-btn {
    padding: 13px 23px;
    color: #7793A1;
    border: 2px solid #0B090BF2;
    border-radius: 13px;
    transition: all 0.3s ease;
}

.header-tech-btn:hover {
    background: #111111;
    border: 2px solid #151515;
    color: #27CA8E;
    transform: scale(97%);
}

.header-auth-btn {
    padding: 13px 23px;
    color: #fff;
    background: linear-gradient(90deg, rgb(8, 187, 166) 0%, rgba(15,158,84,1) 100%);
    border-radius: 13px;
    border: 2px solid #0B090BF2;
    transition: all 0.3s ease;
}

.header-auth-btn:hover {
    transform: scale(97%);
}

.user-dropdown {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 13px;
    padding: 13px 23px;
    transition: 400ms;
}

.user-info:hover {
    background: #111111;
}

.user-name {
    font-family: "SF", sans-serif;
    font-weight: 400;
    line-height: 29px;
    font-size: 17px;
    color: #fff;

    margin-right: 8px;
    margin-left: 5px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0px 0px 15px #27ca8e3a;
}

.user-arrow {
    color: #fff;
    margin-bottom: 5px;
    transition: 300ms;
}

.user-dropdown.open .user-arrow {
    transform: rotate(-180deg);
    margin-top: 10px;
}

.dropdown-menu {
    display: block;
    position: absolute;
    justify-content: center;
    top: 88px;
    right: 0;
    background: #0A090A;
    border-radius: 0 0 13px 13px;
    padding: 3px 0;
    list-style: none;
    margin: 0;
    margin-right: 10px;
    min-width: 190px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10%);
    transition: transform .3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.user-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-btn-container {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    transition: 400ms;
}

.dropdown-btn-container:hover {
    background: #11111170;
}


.dropdown-item {
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 8px 15px;
    transition: color 0.3s ease;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    top: 27px;
    right: 30px;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.burger-menu.open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


#header-down-btn {
    border-radius: 0px 0px 13px 13px;
}

#header-btn-active {
    background: #111111;
    transition: 400ms;
}

#header-btn-active:hover {
    background: #11111170;
}

#header-icon-1 {
    color: #27CA8E;
}

#header-icon-2 {
    color: #7793A1;
}

#header-icon-3 {
    color: #C63D3D;
}

#header-leave {
    color: #C63D3D;
}


@media (max-width: 1575px) {
    .header-btn-text,
    .header-tech-btn,
    .user-name {
        font-size: 14px;
    }

    .logo {
        width: 200px;
        height: auto;
    }

    .header-center {
        padding-left: 30px;
    }
}

@media (max-width: 1460px) {
    .burger-menu {
        display: flex;
    }

    .header-center,
    .header-right {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }
}

.header-center {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    margin: 0 15px;
}

.header-center-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.header-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #687894;
    background: #111111;
    border: 2px solid #151515;
    border-radius: 13px;
    padding: 13px 23px;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.header-button:hover {
    color: #fff;
    transform: scale(97%);
    background: #151515;
}

.header-button:hover .header-btn-icon {
    color: #27CA8E;
}

.header-btn-icon {
    color: #687894;
    margin-right: 15px;
    transition: color 0.3s ease;
    width: 20px;
    height: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-right-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}


@media (max-width: 1575px) {
    .header-btn-text,
    .header-tech-btn,
    .user-name {
        font-size: 14px;
    }

    .logo {
        width: 200px;
        height: auto;
    }

    .header-center {
        padding-left: 30px;
    }
}

@media (max-width: 1460px) {
    .burger-menu {
        display: flex;
    }

    .header-center,
    .header-right {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }
}

.header-user-unique {
    position: relative;
    display: inline-block;
}

.user-dropdown-unique {
    cursor: pointer;
}

.dropdown-menu-unique {
    position: absolute;
    top: 144%;
    right: 0;
    background: #0A090A;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    min-width: 245px;
    z-index: 9999;
    overflow: hidden;

    max-height: 0; /* скрыто */
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu-unique.active {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}


.dropdown-btn-unique {
    padding: 12px 16px;
    display: flex;
}

.dropdown-item-unique {
    padding-left: 19px;
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;

    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.dropdown-item-unique:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #ffffff, 0 0 16px #ffffff;
}

.logo {
    transition: transform 0.25s cubic-bezier(0.25, 1.5, 0.5, 1);
}
.logo:hover {
    transform: scale(1.1);
    cursor: pointer;
}