/**
 * Menu bar
 */

.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    height: 32px;
    gap: 0.5rem;
}

.menu-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-logo {
    color: var(--matrix-green);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    margin-right: 0.25rem;
    transition: all 0.2s ease;
    opacity: 0.9;
    flex-shrink: 0;
}

.menu-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px var(--glow-color));
}

.menu-bar-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    margin-left: auto;
}

.menu-item {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
        sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item:hover {
    color: var(--matrix-green);
    background: rgba(0, 255, 136, 0.1);
}

.menu-item.active {
    color: var(--matrix-green);
    background: rgba(0, 255, 136, 0.08);
}

.menu-icon {
    color: var(--text-grey);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    padding: 0.25rem;
}

.menu-icon:hover {
    color: var(--matrix-green);
    background: rgba(0, 255, 136, 0.1);
}
