/*
PuntVault Enterprise UI Framework
Phase 5.3A - Navigation System V2
*/

.pv-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 64px;
    background: linear-gradient(180deg, rgba(3, 8, 14, 0.98), rgba(3, 8, 14, 0.94));
    border-bottom: 1px solid rgba(255,255,255,.105);
    box-shadow: 0 10px 45px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}

.pv-topbar-inner {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.pv-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 29px;
    font-weight: 950;
    letter-spacing: -0.055em;
    white-space: nowrap;
    color: var(--pv-text);
    text-decoration: none;
}

.pv-brand-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 2px solid var(--pv-green);
    border-radius: 9px;
    color: transparent;
    box-shadow: 0 0 20px rgba(0, 224, 131, 0.20);
    position: relative;
}

.pv-brand-icon::before {
    content: "+";
    position: absolute;
    font-size: 17px;
    font-weight: 900;
    color: var(--pv-green);
}

.pv-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1;
}

.pv-nav-link {
    position: relative;
    height: 64px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: rgba(244,247,251,.92);
    font-size: 15px;
    font-weight: 760;
    text-decoration: none;
}

.pv-nav-link:hover,
.pv-nav-link.active {
    color: var(--pv-green);
}

.pv-nav-link:hover::after,
.pv-nav-link.active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--pv-green);
    box-shadow: 0 0 16px rgba(0,224,131,.75);
}

.pv-nav-link.pv-vip-link,
.pv-vip-link {
    color: var(--pv-gold);
}

.pv-nav-link.pv-vip-link:hover,
.pv-vip-link:hover {
    color: var(--pv-gold);
}

.pv-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pv-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--pv-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--pv-text);
    font-size: 22px;
}

.pv-mobile-menu {
    display: none;
    border-top: 1px solid var(--pv-border);
    background: rgba(2, 7, 13, 0.98);
    padding: 10px 24px 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,.42);
}

.pv-mobile-menu a {
    display: block;
    padding: 14px 0;
    color: var(--pv-text);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-weight: 700;
    text-decoration: none;
}

.pv-nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.pv-nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(6,16,25,.98);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 22px 70px rgba(0,0,0,.45);
    z-index: 99999;
}

.pv-nav-dropdown:hover > .pv-nav-dropdown-menu,
.pv-nav-dropdown:focus-within > .pv-nav-dropdown-menu {
    display: grid;
    gap: 4px;
}

.pv-nav-dropdown-menu a {
    display: block;
    white-space: nowrap;
    padding: 10px 12px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.pv-nav-dropdown-menu a:hover {
    background: rgba(0,224,131,.14);
    color: var(--pv-green);
}

@media (min-width: 1200px) {
    .pv-topbar .pv-shell {
        width: min(100% - 56px, 1760px);
    }
}

@media (max-width: 1100px) {
    .pv-topbar {
        height: 60px;
    }

    .pv-topbar-inner {
        height: 60px;
    }

    .pv-nav,
    .pv-top-actions {
        display: none;
    }

    .pv-mobile-toggle {
        display: inline-grid;
        place-items: center;
        margin-left: auto;
    }

    .pv-mobile-menu.is-open {
        display: block;
    }
}
