
.vsx-floating-navbar-wrap {
    --vsx-nav-white: #ffffff;
    --vsx-nav-text: #f5f2ef;

    --vsx-nav-top: 16px;
    --vsx-nav-width: 700px !important;
    --vsx-nav-height: 64px;
    --vsx-nav-gap: 24px;
    --vsx-nav-radius: 100px;

    --vsx-nav-bg: rgba(255, 255, 255, 0.055);
    --vsx-nav-border: rgba(255, 255, 255, 0.075);
    --vsx-nav-blur: 12px;

    --vsx-logo-width: 48px;
    --vsx-logo-max-height: 31px;

    --vsx-menu-gap: 28px;
    --vsx-menu-color: rgba(252, 253, 242, 0.82);
    --vsx-menu-hover-color: #ffffff;

    --vsx-button-bg: #ffffff;
    --vsx-button-color: #080808;
    --vsx-button-height: 32px ;
    --vsx-button-radius: 58px;

    --vsx-mobile-shell-width: min(calc(100vw - 32px), 700px);
    --vsx-mobile-color: rgba(252, 253, 242, 0.88);
    --vsx-mobile-hover-color: #ffffff;

    position: relative;
    z-index: 9999;
    font-family: Gilroy !important;
}

/* ================================
   Desktop Navbar
================================ */

.vsx-floating-navbar {
    position: fixed;
    top: var(--vsx-nav-top);
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    width: calc(100vw - 32px);
    max-width: var(--vsx-nav-width);
    height: var(--vsx-nav-height);
    min-height: var(--vsx-nav-height);

    padding: 9px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--vsx-nav-gap);

    box-sizing: border-box;
    background:
        radial-gradient(
            230px circle at 50% 50%,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.055) 42%,
            transparent 78%
        ),
        var(--vsx-nav-bg);

    border: 1px solid var(--vsx-nav-border);
    border-radius: var(--vsx-nav-radius);

    box-shadow:
        inset 0 0 3px rgba(255, 255, 255, 0.12),
        0 18px 46px rgba(0, 0, 0, 0.36);

    backdrop-filter: blur(var(--vsx-nav-blur));
    -webkit-backdrop-filter: blur(var(--vsx-nav-blur));
}

body.admin-bar .vsx-floating-navbar {
    top: calc(var(--vsx-nav-top) + 32px);
}

/* ================================
   Logo
================================ */

.vsx-floating-navbar__logo-area {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.vsx-floating-navbar__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
}

.vsx-floating-navbar__logo {
    display: block;
    width: var(--vsx-logo-width) !important;
    height: auto !important;
    max-height: var(--vsx-logo-max-height) !important;
    object-fit: contain;
}

.vsx-floating-navbar__logo-text {
    width: var(--vsx-logo-width);
    height: var(--vsx-logo-max-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: oklch(70.5% 0.213 47.604);
    font-family: Gilroy !important;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

/* ================================
   Desktop Menu
================================ */

.vsx-floating-navbar__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--vsx-menu-gap);
    flex: 1;
}

.vsx-floating-navbar__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 5px 4px;

    color: var(--vsx-menu-color);
    text-decoration: none;

    font-family: Gilroy !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;

    transition:
        color 0.22s ease,
        opacity 0.22s ease,
        transform 0.22s ease,
        text-shadow 0.22s ease;
}

.vsx-floating-navbar__link:hover,
.vsx-floating-navbar__link.vsx-is-active {
    color: var(--vsx-menu-hover-color);
    opacity: 1;
    transform: scale(1.04);
    text-shadow: 0 0 8px rgba(252, 253, 242, 0.30);
}

/* ================================
   Desktop Button
================================ */

.vsx-floating-navbar__button {
    min-width: 148px;
    height: var(--vsx-button-height);
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-shrink: 0;

    background: var(--vsx-button-bg);
    color: var(--vsx-button-color);
    text-decoration: none;

    border: 1px solid #ffffff;
    border-radius: var(--vsx-button-radius);

    font-family: Gilroy !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;

    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.vsx-floating-navbar__button:hover {
    color: var(--vsx-button-color);
    opacity: 0.94;
    transform: translateY(-1px);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}

.vsx-floating-navbar__button-icon {
    width: 14px;
    height: 14px;
    color: var(--vsx-button-color);
    flex-shrink: 0;
}

/* ================================
   Toggle Icon
================================ */

.vsx-floating-navbar__toggle {
    display: none;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 999px;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    -webkit-appearance: none;
}

.vsx-floating-navbar__toggle:hover,
.vsx-floating-navbar__toggle:focus,
.vsx-floating-navbar__toggle:focus-visible,
.vsx-floating-navbar__toggle:active {
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.vsx-floating-navbar__toggle span {
    display: block;
    width: 24px;
    height: 2.4px;
    margin: 5px auto;
    background: #ffffff !important;
    border-radius: 99px;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.vsx-floating-navbar-wrap.vsx-is-open .vsx-floating-navbar__toggle span:nth-child(1) {
    transform: translateY(7.4px) rotate(45deg);
}

.vsx-floating-navbar-wrap.vsx-is-open .vsx-floating-navbar__toggle span:nth-child(2) {
    opacity: 0;
}

.vsx-floating-navbar-wrap.vsx-is-open .vsx-floating-navbar__toggle span:nth-child(3) {
    transform: translateY(-7.4px) rotate(-45deg);
}

/* ================================fo
   Mobile Panel Default
================================ */

.vsx-floating-navbar__mobile-panel {
    display: none !important;
}

@media (min-width: 921px) {
    .vsx-floating-navbar__mobile-panel {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* ================================
   Responsive Desktop
================================ */

@media (max-width: 1180px) {
    .vsx-floating-navbar {
        max-width: 680px;
        gap: 20px;
        padding: 9px 17px;
    }

    .vsx-floating-navbar__menu {
        gap: 24px;
    }
}

/* ================================
   Tablet / Mobile Navbar
================================ */

@media (max-width: 920px) {
    .vsx-floating-navbar-wrap {
        --vsx-nav-top: 16px;
        --vsx-nav-height: 60px;
        --vsx-mobile-shell-width: min(calc(100vw - 32px), 700px);
    }

    .vsx-floating-navbar {
        width: var(--vsx-mobile-shell-width);
        max-width: var(--vsx-mobile-shell-width);
        height: var(--vsx-nav-height);
        min-height: var(--vsx-nav-height);
        padding: 8px 18px;
        gap: 16px;
    }

    .vsx-floating-navbar__menu,
    .vsx-floating-navbar__button {
        display: none !important;
    }

    .vsx-floating-navbar__toggle {
        display: block;
    }

    .vsx-floating-navbar__logo {
        width: 48px !important;
        max-height: 30px !important;
    }

    .vsx-floating-navbar__mobile-panel {
        position: fixed;
        top: calc(var(--vsx-nav-top) + var(--vsx-nav-height) + 20px);
        left: 50%;
        transform: translateX(-50%);
        z-index: 9998;

        width: var(--vsx-mobile-shell-width);
        max-width: var(--vsx-mobile-shell-width);

        padding: 18px;
        display: none;
        flex-direction: column;
        gap: 10px;
        box-sizing: border-box;

        visibility: visible !important;
        pointer-events: auto !important;

        background: rgba(255, 255, 255, 0.055);
        border: 1px solid rgba(255, 255, 255, 0.075);
        border-radius: 22px;

        box-shadow:
            inset 0 0 3px rgba(255, 255, 255, 0.12),
            0 24px 64px rgba(0, 0, 0, 0.42);

        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .vsx-floating-navbar-wrap.vsx-is-open .vsx-floating-navbar__mobile-panel {
        display: flex !important;
    }

    body.admin-bar .vsx-floating-navbar__mobile-panel {
        top: calc(var(--vsx-nav-top) + var(--vsx-nav-height) + 56px);
    }

    .vsx-floating-navbar__mobile-link {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 0 14px;

        color: var(--vsx-mobile-color);
        text-decoration: none;

        border-radius: 10px;
        font-family: Gilroy !important;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.25;

        transition:
            background 0.22s ease,
            color 0.22s ease,
            transform 0.22s ease,
            text-shadow 0.22s ease;
    }

    .vsx-floating-navbar__mobile-link:hover,
    .vsx-floating-navbar__mobile-link.vsx-is-active {
        color: var(--vsx-mobile-hover-color);
        background: rgba(255, 255, 255, 0.10);
        transform: translateX(2px);
        text-shadow: 0 0 8px rgba(252, 253, 242, 0.30);
    }

    .vsx-floating-navbar__mobile-button {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 50px;
        margin-top: 10px;
        padding: 0 18px;

        background: #ffffff;
        color: #080808;
        text-decoration: none;
        border-radius: 58px;

        font-family: Gilroy !important;
        font-size: 16px;
        font-weight: 800;
        line-height: 1;

        transition:
            transform 0.22s ease,
            opacity 0.22s ease,
            box-shadow 0.22s ease;
    }

    .vsx-floating-navbar__mobile-button::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -10px;
        height: 1px;
        background: rgba(255, 255, 255, 0.10);
    }

    .vsx-floating-navbar__mobile-button:hover {
        color: #080808;
        opacity: 0.96;
        transform: translateY(-1px);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.18);
    }
}

/* ================================
   Small Mobile
================================ */

@media (max-width: 480px) {
    .vsx-floating-navbar-wrap {
        --vsx-nav-top: 14px;
        --vsx-nav-height: 58px;
        --vsx-mobile-shell-width: calc(100vw - 24px);
    }

    .vsx-floating-navbar {
        width: var(--vsx-mobile-shell-width);
        max-width: var(--vsx-mobile-shell-width);
        height: var(--vsx-nav-height);
        min-height: var(--vsx-nav-height);
        padding: 8px 16px;
    }

    body.admin-bar .vsx-floating-navbar {
        top: calc(var(--vsx-nav-top) + 46px);
    }

    .vsx-floating-navbar__logo {
        width: 46px !important;
        max-height: 28px !important;
    }

    .vsx-floating-navbar__toggle {
        width: 36px;
        height: 36px;
    }

    .vsx-floating-navbar__toggle span {
        width: 22px;
        height: 2.3px;
    }

    .vsx-floating-navbar__mobile-panel {
        top: calc(var(--vsx-nav-top) + var(--vsx-nav-height) + 18px);
        width: var(--vsx-mobile-shell-width);
        max-width: var(--vsx-mobile-shell-width);
        padding: 16px;
        border-radius: 20px;
    }

    body.admin-bar .vsx-floating-navbar__mobile-panel {
        top: calc(var(--vsx-nav-top) + var(--vsx-nav-height) + 58px);
    }

    .vsx-floating-navbar__mobile-link {
        min-height: 44px;
        padding: 0 13px;
        font-size: 15.5px;
    }

    .vsx-floating-navbar__mobile-button {
        min-height: 48px;
        margin-top: 10px;
        font-size: 15.5px;
    }
}