/* =========================
   FLOATING NAVBAR
========================= */

.navbar {
    position: fixed;

    top: 18px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: calc(100% - 48px);
    max-width: 1400px;

    padding: 4px 28px;

    background: rgba(255, 255, 255, 0.25);

    backdrop-filter: blur(12px);

    border-radius: 999px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

    z-index: 1000;
}

/* =========================
   LOGO
========================= */

.logo {
    margin: 0;

    display: flex;
    align-items: center;
}

.logo img {
    width: 42px;
    height: 42px;

    object-fit: contain;

    border-radius: 50%;

    background: transparent;
    padding: 0;

    box-shadow: none;
}

/* =========================
   NAV LINKS
========================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 26px;
}

.nav-links a {
    position: relative;

    text-decoration: none;

    color: #222;

    font-size: 0.95rem;
    font-weight: 600;

    transition: 0.3s ease;
}

/* Underline hover */

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 2px;

    background: #4B4BED;

    border-radius: 20px;

    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #4B4BED;
}

.nav-links a:hover::after {
    width: 100%;
}