.navbar {
    position: fixed;
    top: 0;

    width: 100%;

    z-index: 1000;

    backdrop-filter: blur(24px);

    background:
        linear-gradient(
            to bottom,
            rgba(5,5,5,0.88),
            rgba(5,5,5,0.72)
        );

    border-bottom:
        1px solid rgba(255,255,255,0.06);
}

.navbar::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(139,92,246,0.35),
            transparent
        );
}

.navbar-container {
    max-width: 1500px;

    height: 86px;

    margin: auto;

    padding: 0 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-left {
    display: flex;
    align-items: center;

    gap: 45px;
}

.navbar-logo {
    display: flex;
    align-items: center;

    gap: 16px;

    text-decoration: none;
}

.navbar-logo img {
    width: 48px;

    filter:
        drop-shadow(
            0 0 18px rgba(139,92,246,0.45)
        );
}

.navbar-logo-text {
    display: flex;
    flex-direction: column;
}

.navbar-title {
    color: white;

    font-size: 21px;
    font-weight: 800;

    line-height: 1;
}

.navbar-subtitle {
    color: #8b8b8b;

    font-size: 12px;
    font-weight: 600;

    margin-top: 4px;
}

.navbar-links {
    display: flex;
    align-items: center;

    gap: 8px;
}

.nav-link {
    position: relative;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 13px 18px;

    border-radius: 16px;

    color: #b5b5b5;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: 0.22s;
}

.nav-link i {
    font-size: 14px;

    color: #9f7aea;
}

.nav-link:hover {
    color: white;

    background:
        rgba(255,255,255,0.04);
}

.nav-link.active {
    color: white;

    background:
        linear-gradient(
            135deg,
            rgba(139,92,246,0.14),
            rgba(59,130,246,0.12)
        );

    border:
        1px solid rgba(139,92,246,0.16);
}

.nav-link.active::before {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    box-shadow:
        inset 0 0 18px rgba(139,92,246,0.12);

    pointer-events: none;
}

.navbar-right {
    display: flex;
    align-items: center;

    gap: 14px;
}

.search-btn {
    width: 48px;
    height: 48px;

    border: none;

    border-radius: 16px;

    background:
        rgba(255,255,255,0.04);

    border:
        1px solid rgba(255,255,255,0.06);

    color: white;

    cursor: pointer;

    transition: 0.22s;
}

.search-btn:hover {
    transform: translateY(-2px);

    background:
        rgba(255,255,255,0.07);
}

.login-btn {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 14px 22px;

    border-radius: 16px;

    text-decoration: none;

    color: white;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #3b82f6
        );

    box-shadow:
        0 0 30px rgba(139,92,246,0.18);

    transition: 0.22s;
}

.login-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 36px rgba(139,92,246,0.34);
}

.mobile-menu-btn {
    position: relative;

    width: 48px;
    height: 48px;

    display: none;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 16px;

    cursor: pointer;

    background:
        rgba(255,255,255,0.04);

    border:
        1px solid rgba(255,255,255,0.06);

    transition: 0.25s;
}

.mobile-menu-btn span {
    position: absolute;

    width: 18px;
    height: 2px;

    border-radius: 999px;

    background: white;

    transition: 0.25s;
}

.mobile-menu-btn span:first-child {
    transform: translateY(-4px);
}

.mobile-menu-btn span:last-child {
    transform: translateY(4px);
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu-btn:hover {
    background:
        rgba(255,255,255,0.07);
}

.mobile-menu {
    position: fixed;

    top: 96px;
    left: 16px;
    right: 16px;

    padding: 14px;

    border-radius: 24px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-10px)
        scale(0.98);

    transition: 0.25s;

    background:
        rgba(10,10,10,0.92);

    backdrop-filter: blur(24px);

    border:
        1px solid rgba(255,255,255,0.06);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.45);

    z-index: 999;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}

.mobile-menu::before {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    box-shadow:
        inset 0 0 30px rgba(139,92,246,0.08);

    pointer-events: none;
}

.mobile-link {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 16px 18px;

    border-radius: 16px;

    color: #c8c8c8;

    text-decoration: none;

    font-weight: 600;

    transition: 0.2s;
}

.mobile-link i {
    color: #9f7aea;
}

.mobile-link:hover,
.mobile-link.active {
    background:
        rgba(255,255,255,0.05);

    color: white;
}

@media (max-width: 900px) {

    .navbar-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

}

@media (max-width: 600px) {

    .navbar-subtitle {
        display: none;
    }

    .search-btn {
        display: none;
    }

    .login-btn span {
        display: none;
    }

    .navbar-container {
        padding: 0 16px;
    }

}